cvs: pearweb /public_html/bugs bug.php patch-add.php patch-display.php /public_html/bugs/include functions.inc /public_html/bugs/rss bug.php
search.php

From: Date: Sun, 13 Jan 2008 16:34:32 +0000
Subject: cvs: pearweb /public_html/bugs bug.php patch-add.php patch-display.php /public_html/bugs/include functions.inc /public_html/bugs/rss bug.php
search.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-cvs+get-50269@lists.php.net to get a copy of this message
dufuz Sun Jan 13 16:34:32 2008 UTC Modified files: /pearweb/public_html/bugs bug.php patch-add.php patch-display.php /pearweb/public_html/bugs/include functions.inc /pearweb/public_html/bugs/rss bug.php search.php Log: all static emails now have constant so we can alter them more easily from one config file

http://cvs.php.net/viewvc.cgi/pearweb/public_html/bugs/bug.php?r1=1.181&r2=1.182&diff_format=u Index: pearweb/public_html/bugs/bug.php diff -u pearweb/public_html/bugs/bug.php:1.181 pearweb/public_html/bugs/bug.php:1.182 --- pearweb/public_html/bugs/bug.php:1.181 Sat Dec 29 00:31:46 2007 +++ pearweb/public_html/bugs/bug.php Sun Jan 13 16:34:31 2008 @@ -15,7 +15,7 @@ * @package Bugs * @copyright Copyright (c) 1997-2005 The PHP Group * @license http://www.php.net/license/3_0.txt PHP License - * @version $Id: bug.php,v 1.181 2007/12/29 00:31:46 dufuz Exp $ + * @version $Id: bug.php,v 1.182 2008/01/13 16:34:31 dufuz Exp $ */ /* @@ -1280,7 +1280,7 @@ echo '<pre class="note">If you submitted this note, check your email.'; echo 'If you do not have a message, <a href="resend-request-email.php?' . 'handle=' . urlencode($handle) . "\">click here to re-send</a>\n", - "MANUAL CONFIRMATION IS NOT POSSIBLE. Write a message to <a href=\"mailto:pear-dev@lists.php.net\">pear-dev@lists.php.net</a>\n", + 'MANUAL CONFIRMATION IS NOT POSSIBLE. Write a message to <a href="mailto:' . PEAR_DEV_LIST . '">' . PEAR_DEV_LIST . '</a>' . "\n", "to request the confirmation link. All bugs/comments/patches associated with this \nemail address will be deleted within 48 hours if the account request is not confirmed!"; echo "</pre>\n</div>"; http://cvs.php.net/viewvc.cgi/pearweb/public_html/bugs/patch-add.php?r1=1.15&r2=1.16&diff_format=u Index: pearweb/public_html/bugs/patch-add.php diff -u pearweb/public_html/bugs/patch-add.php:1.15 pearweb/public_html/bugs/patch-add.php:1.16 --- pearweb/public_html/bugs/patch-add.php:1.15 Wed Dec 5 22:01:32 2007 +++ pearweb/public_html/bugs/patch-add.php Sun Jan 13 16:34:31 2008 @@ -125,7 +125,7 @@ $buggie->sendEmail(); } catch (Exception $e) { response_header('Error sending confirmation email'); - report_error(array('Patch was successfully attached, but account confirmation email not sent, please report to pear-core@lists.php.net', $e)); + report_error(array('Patch was successfully attached, but account confirmation email not sent, please report to ' . PEAR_DEV_EMAIL, $e)); response_footer(); exit; } http://cvs.php.net/viewvc.cgi/pearweb/public_html/bugs/patch-display.php?r1=1.10&r2=1.11&diff_format=u Index: pearweb/public_html/bugs/patch-display.php diff -u pearweb/public_html/bugs/patch-display.php:1.10 pearweb/public_html/bugs/patch-display.php:1.11 --- pearweb/public_html/bugs/patch-display.php:1.10 Sun May 6 19:23:13 2007 +++ pearweb/public_html/bugs/patch-display.php Sun Jan 13 16:34:31 2008 @@ -36,7 +36,7 @@ '<p><strong>If you do not have a confirmation message</strong>, <a href="resend-request-email.php?' . 'handle=' . urlencode($patchinfo->getDeveloper($_GET['bug'], $_GET['patch'], $_GET['revision'])) . '">click here to re-send</a> or write a message to' . - ' <a href="mailto:pear-dev@lists.php.net">pear-dev@lists.php.net</a> asking for manual approval of your account.</p>'; + ' <a href="mailto:' . PEAR_DEV_LIST . '">' . PEAR_DEV_LIST . '</a> asking for manual approval of your account.</p>'; response_footer(); exit; } http://cvs.php.net/viewvc.cgi/pearweb/public_html/bugs/include/functions.inc?r1=1.162&r2=1.163&diff_format=u Index: pearweb/public_html/bugs/include/functions.inc diff -u pearweb/public_html/bugs/include/functions.inc:1.162 pearweb/public_html/bugs/include/functions.inc:1.163 --- pearweb/public_html/bugs/include/functions.inc:1.162 Wed Jan 9 19:58:00 2008 +++ pearweb/public_html/bugs/include/functions.inc Sun Jan 13 16:34:32 2008 @@ -15,7 +15,7 @@ * @package Bugs * @copyright Copyright (c) 1997-2005 The PHP Group * @license http://www.php.net/license/3_0.txt PHP License - * @version $Id: functions.inc,v 1.162 2008/01/09 19:58:00 dufuz Exp $ + * @version $Id: functions.inc,v 1.163 2008/01/13 16:34:32 dufuz Exp $ */ @@ -28,7 +28,7 @@ // For distinguishing this site from PECL $site = 'pear'; $siteBig = 'PEAR'; -$bugEmail = 'pear-qa@lists.php.net'; +$bugEmail = PEAR_QA_EMAIL; /* update include/bugs/pear-bug-accountrequest.php if these change! */ // used in mail_bug_updates(), below, and class for search results @@ -1001,7 +1001,7 @@ { global $site, $bugEmail, $dbh; // XXX Change to pear-bugs when it gets opened - //$to[] = "pear-dev@lists.php.net"; + //$to[] = PEAR_DEV_EMAIL; switch ($package_name) { case 'Bug System': http://cvs.php.net/viewvc.cgi/pearweb/public_html/bugs/rss/bug.php?r1=1.5&r2=1.6&diff_format=u Index: pearweb/public_html/bugs/rss/bug.php diff -u pearweb/public_html/bugs/rss/bug.php:1.5 pearweb/public_html/bugs/rss/bug.php:1.6 --- pearweb/public_html/bugs/rss/bug.php:1.5 Wed May 9 12:59:39 2007 +++ pearweb/public_html/bugs/rss/bug.php Sun Jan 13 16:34:32 2008 @@ -47,7 +47,7 @@ header('Content-type: text/xml; charset=utf-8'); switch ($format) { case 'xml': - echo "<pearbug>\n"; + echo "<pearbug>\n"; foreach($bug as $key => $value) echo " <$key>" . htmlspecialchars($value) . "</$key>\n"; break; @@ -61,7 +61,7 @@ ORDER BY c.ts DESC'; $res = $GLOBALS['dbh']->getAll($query, array($bug['id'])); echo '<?xml version="1.0"?> -<?xml-stylesheet +<?xml-stylesheet href="http://www.w3.org/2000/08/w3c-synd/style.css" type="text/css" ?> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:content="http://purl.org/rss/1.0/modules/content/">'; @@ -70,8 +70,8 @@ echo ' <link>http://' . urlencode($_SERVER['HTTP_HOST']) . '/bugs/' . intval($bug['id']) . "</link>\n"; echo " <description>" . utf8_encode(htmlspecialchars("[{$bug['status']}] {$bug['sdesc']}")) . "</description>\n"; echo " <dc:language>en-us</dc:language>\n"; - echo " <dc:creator>pear-webmaster@lists.php.net</dc:creator>\n"; - echo " <dc:publisher>pear-webmaster@lists.php.net</dc:publisher>\n"; + echo " <dc:creator>" . PEAR_WEBMASTER_EMAIL . "</dc:creator>\n"; + echo " <dc:publisher>" . PEAR_WEBMASTER_EMAIL . "</dc:publisher>\n"; echo " <admin:generatorAgent rdf:resource=\"http://pear.php.net/bugs\"/>\n"; echo " <sy:updatePeriod>hourly</sy:updatePeriod>\n"; echo " <sy:updateFrequency>1</sy:updateFrequency>\n"; http://cvs.php.net/viewvc.cgi/pearweb/public_html/bugs/rss/search.php?r1=1.4&r2=1.5&diff_format=u Index: pearweb/public_html/bugs/rss/search.php diff -u pearweb/public_html/bugs/rss/search.php:1.4 pearweb/public_html/bugs/rss/search.php:1.5 --- pearweb/public_html/bugs/rss/search.php:1.4 Sun May 6 21:49:13 2007 +++ pearweb/public_html/bugs/rss/search.php Sun Jan 13 16:34:32 2008 @@ -356,7 +356,7 @@ header('Content-type: text/xml'); echo '<?xml version="1.0"?> -<?xml-stylesheet +<?xml-stylesheet href="http://www.w3.org/2000/08/w3c-synd/style.css" type="text/css" ?> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:content="http://purl.org/rss/1.0/modules/content/">'; @@ -366,8 +366,8 @@ http_build_query($_GET)) . "</link>\n"; echo " <description>Search Results</description>\n"; echo " <dc:language>en-us</dc:language>\n"; -echo " <dc:creator>pear-webmaster@lists.php.net</dc:creator>\n"; -echo " <dc:publisher>pear-webmaster@lists.php.net</dc:publisher>\n"; +echo " <dc:creator>" . PEAR_WEBMASTER_EMAIL . "</dc:creator>\n"; +echo " <dc:publisher>" . PEAR_WEBMASTER_EMAIL . "</dc:publisher>\n"; echo " <admin:generatorAgent rdf:resource=\"http://" . $_SERVER['HTTP_HOST'] . "/bugs\"/>\n"; echo " <sy:updatePeriod>hourly</sy:updatePeriod>\n"; echo " <sy:updateFrequency>1</sy:updateFrequency>\n";
« previous php.pear.cvs (#50269) next »