cvs: php-bugs-web / bug.php quick-fix-desc.php /include functions.inc resolve.inc
| From: | Derick Rethans | Date: | Tue, 01 Oct 2002 17:05:17 +0000 |
| Subject: | cvs: php-bugs-web / bug.php quick-fix-desc.php /include functions.inc resolve.inc | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-12886@lists.php.net to get a copy of this message | ||
derick Tue Oct 1 13:05:17 2002 EDT
Modified files:
/php-bugs-web bug.php quick-fix-desc.php
/php-bugs-web/include functions.inc resolve.inc
Log:
- Added daylight savings quickfix, fix Won't fix progblems
Index: php-bugs-web/bug.php
diff -u php-bugs-web/bug.php:1.39 php-bugs-web/bug.php:1.40
--- php-bugs-web/bug.php:1.39 Fri Jul 26 15:50:35 2002
+++ php-bugs-web/bug.php Tue Oct 1 13:05:16 2002
@@ -50,6 +50,11 @@
$success = !isset($in);
$errors = array();
+if ($in) {
+ /* Escape the status (needed for Won't fix) */
+ $in['status'] = addslashes($in['status']);
+}
+
if ($in && $edit == 3) {
if (!preg_match("/[.\\w+-]+@[.\\w-]+\\.\\w{2,}/i",$in['commentemail'])) {
$errors[] = "You must provide a valid email address.";
Index: php-bugs-web/quick-fix-desc.php
diff -u php-bugs-web/quick-fix-desc.php:1.2 php-bugs-web/quick-fix-desc.php:1.3
--- php-bugs-web/quick-fix-desc.php:1.2 Mon Jul 8 01:21:45 2002
+++ php-bugs-web/quick-fix-desc.php Tue Oct 1 13:05:16 2002
@@ -123,6 +123,26 @@
part of our efforts to make PHP scripting more secure and portable.
</td>
</tr>
+ <tr>
+ <td>php3</td>
+ <td>Status: Bogus</td>
+ <td>
+ We are sorry, but can not support PHP 3 related problems anymore.
+ Momentum is gathering for PHP 5, and we think supporting PHP 3 will
+ lead to a waste of resources which we want to put into getting PHP 5
+ ready. Ofcourse PHP 4 will will continue to be supported for the
+ forseeable future.
+ </td>
+ </tr>
+ <tr>
+ <td>dst</td>
+ <td>Status: Bogus</td>
+ <td>
+ We are happy to tell you that you just discovered Daylight Savings
+ Time. For more information see:
+ http://webexhibits.org/daylightsaving/b.html
+ </td>
+ </tr>
</table>
<?php
commonFooter();
Index: php-bugs-web/include/functions.inc
diff -u php-bugs-web/include/functions.inc:1.48 php-bugs-web/include/functions.inc:1.49
--- php-bugs-web/include/functions.inc:1.48 Wed Sep 25 11:33:19 2002
+++ php-bugs-web/include/functions.inc Tue Oct 1 13:05:16 2002
@@ -179,6 +179,9 @@
$text = array();
$headers = array();
+ /* Get rid of slashes in bug status */
+ $bug['status'] = stripslashes($bug['status']);
+
$tla = array(
'Open' => 'Opn',
'Bogus' => 'Bgs',
Index: php-bugs-web/include/resolve.inc
diff -u php-bugs-web/include/resolve.inc:1.20 php-bugs-web/include/resolve.inc:1.21
--- php-bugs-web/include/resolve.inc:1.20 Tue Oct 1 10:14:06 2002
+++ php-bugs-web/include/resolve.inc Tue Oct 1 13:05:16 2002
@@ -136,10 +136,19 @@
'status' => 'Won\'t Fix',
'desc' => 'PHP 3 support discontinued',
'message' =>
-'We are sorry, but can not support PHP 3 related problems anymore. Momentum is
-gathering for PHP 5, and we think supporting PHP 3 will lead to a waste of
-resources which we want to put into getting PHP 5 ready. Ofcourse PHP 4 will
-will continue to be supported for the forseeable future.',
+'We are sorry, but can not support PHP 3 related problems anymore.
+Momentum is gathering for PHP 5, and we think supporting PHP 3 will
+lead to a waste of resources which we want to put into getting PHP 5
+ready. Ofcourse PHP 4 will will continue to be supported for the
+forseeable future.',
+ ),
+ 'dst' => array(
+ 'status' => 'Bogus',
+ 'desc' => 'Daylight Savings',
+ 'message' =>
+'We are happy to tell you that you just discovered Daylight Savings
+Time. For more information see:
+http://webexhibits.org/daylightsaving/b.html',
),
);