cvs: pearweb /public_html/bugs bug.php /public_html/bugs/include functions.inc prepend.inc resolve.inc

From: Date: Mon, 07 Jun 2004 19:06:16 +0000
Subject: cvs: pearweb /public_html/bugs bug.php /public_html/bugs/include functions.inc prepend.inc resolve.inc
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-20323@lists.php.net to get a copy of this message
mj Mon Jun 7 15:06:16 2004 EDT Modified files: /pearweb/public_html/bugs bug.php /pearweb/public_html/bugs/include functions.inc prepend.inc resolve.inc Log: * Use /get/<package> rather than generic package.php for link in "fixed in release" message. Patch by: danielc http://cvs.php.net/diff.php/pearweb/public_html/bugs/bug.php?r1=1.34&r2=1.35&ty=u Index: pearweb/public_html/bugs/bug.php diff -u pearweb/public_html/bugs/bug.php:1.34 pearweb/public_html/bugs/bug.php:1.35 --- pearweb/public_html/bugs/bug.php:1.34 Mon Jun 7 15:01:44 2004 +++ pearweb/public_html/bugs/bug.php Mon Jun 7 15:06:16 2004 @@ -1,10 +1,15 @@ <?php /* vim: set noet ts=4 sw=4: : */ -// $Id: bug.php,v 1.34 2004/06/07 19:01:44 mj Exp $ +// $Id: bug.php,v 1.35 2004/06/07 19:06:16 mj Exp $ require_once './include/prepend.inc'; require_once './include/cvs-auth.inc'; require_once './include/trusted-devs.inc'; +/* + * NOTE: another require exists in the code below, so if changing + * the include path, make sure to change it too. + */ + error_reporting(E_ALL ^ E_NOTICE); @@ -203,6 +208,7 @@ if ($_POST['in']['status'] == $bug['status']) { $_POST['in']['status'] = $RESOLVE_REASONS[$_POST['in']['resolve']]['status']; } + require './include/resolve.inc'; $ncomment = addslashes($RESOLVE_REASONS[$_POST['in']['resolve']]['message']) . "\n\n$ncomment"; } http://cvs.php.net/diff.php/pearweb/public_html/bugs/include/functions.inc?r1=1.35&r2=1.36&ty=u Index: pearweb/public_html/bugs/include/functions.inc diff -u pearweb/public_html/bugs/include/functions.inc:1.35 pearweb/public_html/bugs/include/functions.inc:1.36 --- pearweb/public_html/bugs/include/functions.inc:1.35 Thu May 20 10:36:16 2004 +++ pearweb/public_html/bugs/include/functions.inc Mon Jun 7 15:06:16 2004 @@ -1,6 +1,6 @@ <?php /* vim: set noet ts=4 sw=4 ft=php : */ -// $Id: functions.inc,v 1.35 2004/05/20 14:36:16 dufuz Exp $ +// $Id: functions.inc,v 1.36 2004/06/07 19:06:16 mj Exp $ /* Email spam protection */ function spam_protect($txt) @@ -661,6 +661,15 @@ echo "\n</td></tr></table>\n"; echo '<hr />'; echo "\n\n<!-- END BUG NAV -->\n\n"; +} + +function show_reason_types($current="", $expanded=0) +{ + if ($expanded) echo "<option value=\"\"></option>\n"; + while (list($k,$v) = each($GLOBALS['RESOLVE_REASONS'])) { + echo "<option value=\"$k\"", ($current==$k ? " selected" : ""), + ">$v[desc]",($expanded?" ($v[status])":""),"</option>\n"; + } } ?> http://cvs.php.net/diff.php/pearweb/public_html/bugs/include/prepend.inc?r1=1.2&r2=1.3&ty=u Index: pearweb/public_html/bugs/include/prepend.inc diff -u pearweb/public_html/bugs/include/prepend.inc:1.2 pearweb/public_html/bugs/include/prepend.inc:1.3 --- pearweb/public_html/bugs/include/prepend.inc:1.2 Wed May 19 09:28:01 2004 +++ pearweb/public_html/bugs/include/prepend.inc Mon Jun 7 15:06:16 2004 @@ -4,4 +4,4 @@ //require_once './include/layout.inc'; require_once './include/functions.inc'; -require_once './include/resolve.inc'; +require './include/resolve.inc'; http://cvs.php.net/diff.php/pearweb/public_html/bugs/include/resolve.inc?r1=1.3&r2=1.4&ty=u Index: pearweb/public_html/bugs/include/resolve.inc diff -u pearweb/public_html/bugs/include/resolve.inc:1.3 pearweb/public_html/bugs/include/resolve.inc:1.4 --- pearweb/public_html/bugs/include/resolve.inc:1.3 Tue Apr 27 00:26:09 2004 +++ pearweb/public_html/bugs/include/resolve.inc Mon Jun 7 15:06:16 2004 @@ -47,8 +47,8 @@ 'desc' => 'Fixed in release', 'message' => 'Thank you for your bug report. This issue has been fixed -in the latest released version of the package, which you can download at -http://pear.php.net/packages.php', +in the latest released version of the package, which you can download at +http://pear.php.net/get/' . @txfield('package_name'), ), 'needtrace' => array( 'status' => 'Feedback', @@ -133,12 +133,3 @@ Thank you for your interest in PEAR.', ) ); - -function show_reason_types($current="", $expanded=0) -{ - if ($expanded) echo "<option value=\"\"></option>\n"; - while (list($k,$v) = each($GLOBALS['RESOLVE_REASONS'])) { - echo "<option value=\"$k\"", ($current==$k ? " selected" : ""), - ">$v[desc]",($expanded?" ($v[status])":""),"</option>\n"; - } -}

« previous php.pear.cvs (#20323) next »