cvs: phpweb / bugstats.php
| From: | Jim Winstead | Date: | Sat, 07 Jul 2001 06:28:34 +0000 |
| Subject: | cvs: phpweb / bugstats.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-5259@lists.php.net to get a copy of this message | ||
jimw Sat Jul 7 02:28:34 2001 EDT
Modified files:
/phpweb bugstats.php
Log:
phpver is 3, 4, or 0
Index: phpweb/bugstats.php
diff -u phpweb/bugstats.php:1.25 phpweb/bugstats.php:1.26
--- phpweb/bugstats.php:1.25 Fri Jul 6 21:17:33 2001
+++ phpweb/bugstats.php Sat Jul 7 02:28:33 2001
@@ -113,11 +113,11 @@
function bugstats($status, $type) {
global $bug_type, $phpver;
if ($bug_type[$status][$type] > 0) {
- if ($phpver == 4) {
- $page = "bugs.php";
+ if ($phpver == 3) {
+ $page = "bugs-php3.php";
}
else {
- $page = "bugs-php3.php";
+ $page = "bugs.php";
}
return '<A href="/' . $page . '?cmd=Display+Bugs&status=' .
ucfirst($status) . '&bug_type=' . ($type == 'all' ? 'Any' :
urlencode($type)) . '&by=Any">' . $bug_type[$status][$type] .
"</A>\n";
}