cvs: php-bugs-web / bugstats.php

From: Date: Mon, 30 Jun 2003 18:11:18 +0000
Subject: cvs: php-bugs-web / bugstats.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-19060@lists.php.net to get a copy of this message
sniper Mon Jun 30 14:11:18 2003 EDT Modified files: /php-bugs-web bugstats.php Log: No need for PHP 3 here anymore. Added php 5 link. Index: php-bugs-web/bugstats.php diff -u php-bugs-web/bugstats.php:1.14 php-bugs-web/bugstats.php:1.15 --- php-bugs-web/bugstats.php:1.14 Sat Dec 7 08:05:07 2002 +++ php-bugs-web/bugstats.php Mon Jun 30 14:11:18 2003 @@ -38,12 +38,11 @@ } if ($phpver > 0) { - $other = ($phpver == 4 ? 3 : 4); - echo '<p>Currently displaying PHP '. $phpver . ' bugs only. Display <a href="bugstats.php">all bugs</a> or <a href="bugstats.php?phpver=' . $other . '">only PHP ' . $other . ' bugs</a>.</p>' . "\n"; -} -else { - echo '<p>Currently displaying all bugs. Display <a href="bugstats.php?phpver=3">PHP 3 bugs only</a> or <a href="bugstats.php?phpver=4">PHP 4 bugs only</a>.</p>' . "\n"; + echo "<p>Currently displaying PHP {$phpver} bugs only."; +} else { + echo "<p>Currently displaying all bugs."; } +echo "Display <a href=\"bugstats.php?phpver=4\">PHP 4 bugs only</a> or <a href=\"bugstats.php?phpver=5\">PHP 5 bugs only</a>.</p>\n"; function bugstats($status, $type) { global $bug_type, $phpver;

« previous php.mirrors (#19060) next »