For Programmers: Free Programming Magazines  


Home > Archive > PHP Questions and Answers > February 2007 > cvs: qaweb /include release-qa.php









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author cvs: qaweb /include release-qa.php
Antony Dovgal

2007-02-23, 7:00 pm

tony2001 Fri Feb 23 16:19:26 2007 UTC

Modified files:
/qaweb/include release-qa.php
Log:
add link to rc.php


http://cvs.php.net/viewvc.cgi/qaweb...7&diff_format=u
Index: qaweb/include/release-qa.php
diff -u qaweb/include/release-qa.php:1.76 qaweb/include/release-qa.php:1.77
--- qaweb/include/release-qa.php:1.76 Thu Feb 22 15:19:03 2007
+++ qaweb/include/release-qa.php Fri Feb 23 16:19:26 2007
@@ -1,4 +1,4 @@
-<?php /* $Id: release-qa.php,v 1.76 2007/02/22 15:19:03 tony2001 Exp $ */
+<?php /* $Id: release-qa.php,v 1.77 2007/02/23 16:19:26 tony2001 Exp $ */

/*
* This file generates the "Providing QA for PHP x.x.x.." task item
@@ -99,10 +99,18 @@
/* Content */
function show_release_qa() {
global $CURRENT_QA_RELEASE_5, $CURRENT_QA_RELEASE, $FILES, $MD5SUM;
-
+
+ $text = "PHP";
+
+ if ($CURRENT_QA_RELEASE && $CURRENT_QA_RELEASE_5) {
+ $text = "these <a href='http://qa.php.net/rc.php'>release candidates</a>: ";
+ } else if ($CURRENT_QA_RELEASE || $CURRENT_QA_RELEASE_5) {
+ $text = "this <a href='http://qa.php.net/rc.php'>release candidate</a>: ";
+ }
+
echo "
<!-- RELEASE QA -->
-<span class='lihack'>Providing QA for PHP {$CURRENT_QA_RELEASE} {$CURRENT_QA_RELEASE_5}
+<span class='lihack'>Providing QA for {$text} {$CURRENT_QA_RELEASE} {$CURRENT_QA_RELEASE_5}
<ul>
";

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com