svn: /pear/packages/Bugtracker/trunk/ include/functions.php site/patch-add.php site/report.php

From: Date: Wed, 03 Mar 2010 09:43:16 +0000
Subject: svn: /pear/packages/Bugtracker/trunk/ include/functions.php site/patch-add.php site/report.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-core+get-9244@lists.php.net to get a copy of this message
derick Wed, 03 Mar 2010 09:43:16 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=295774 Log: - Get rid of the "extra" [PHP-BUG] bit, as it decreased the amount of title that was visible. This makes skimming over mails easier again. Changed paths: U pear/packages/Bugtracker/trunk/include/functions.php U pear/packages/Bugtracker/trunk/site/patch-add.php U pear/packages/Bugtracker/trunk/site/report.php Modified: pear/packages/Bugtracker/trunk/include/functions.php =================================================================== --- pear/packages/Bugtracker/trunk/include/functions.php 2010-03-03 09:25:50 UTC (rev 295773) +++ pear/packages/Bugtracker/trunk/include/functions.php 2010-03-03 09:43:16 UTC (rev 295774) @@ -883,11 +883,12 @@ // the user gets sent mail with an envelope sender that ignores bounces bugs_mail( $bug['email'], - "[{$siteBig}-BUG] {$subj}: {$sdesc}", + "{$subj}: {$sdesc}", $user_text, "From: {$siteBig} Bug Database <{$mailfrom}>\n" . "Bcc: {$Bcc}\n" . "X-PHP-Bug: {$bug['id']}\n" . + "X-PHP-Site: {$siteBig}\n" . "In-Reply-To: <bug-{$bug['id']}@{$site_url}>" ); @@ -902,10 +903,11 @@ // but we go ahead and let the default sender get used for the list bugs_mail( $mailto, - "[{$siteBig}-BUG] {$subj}: {$sdesc}", + "{$subj}: {$sdesc}", $dev_text, "From: {$from}\n". "X-PHP-Bug: {$bug['id']}\n" . + "X-PHP-Site: {$siteBig}\n" . "X-PHP-Type: {$tmp['bug_type']}\n" . "X-PHP-Version: {$tmp['php_version']}\n" . "X-PHP-Category: {$tmp['package_name']}\n" . Modified: pear/packages/Bugtracker/trunk/site/patch-add.php =================================================================== --- pear/packages/Bugtracker/trunk/site/patch-add.php 2010-03-03 09:25:50 UTC (rev 295773) +++ pear/packages/Bugtracker/trunk/site/patch-add.php 2010-03-03 09:43:16 UTC (rev 295774) @@ -148,11 +148,12 @@ $protected_email = '"' . spam_protect($email, 'text') . '"' . "<{$mailfrom}>"; $extra_headers = "From: {$protected_email}\n"; - $extra_headers.= "Message-ID: <bug-{$bug_id}@{$site_url}>"; + $extra_headers.= "Message-ID: <bug-{$bug_id}@{$site_url}>\n"; + $extra_headers.= "X-PHP-Site: {$siteBig}"; bugs_mail( $mailto, - "[$siteBig-BUG] {$buginfo['bug_type']} #{$bug_id} [PATCH]: {$buginfo['sdesc']}", + "{$buginfo['bug_type']} #{$bug_id} [PATCH]: {$buginfo['sdesc']}", $text, $extra_headers ); Modified: pear/packages/Bugtracker/trunk/site/report.php =================================================================== --- pear/packages/Bugtracker/trunk/site/report.php 2010-03-03 09:25:50 UTC (rev 295773) +++ pear/packages/Bugtracker/trunk/site/report.php 2010-03-03 09:43:16 UTC (rev 295774) @@ -255,10 +255,11 @@ // mail to reporter bugs_mail( $_POST['in']['email'], - "[$siteBig-BUG] $type #$cid: {$_POST['in']['sdesc']}", + "$type #$cid: {$_POST['in']['sdesc']}", "{$ascii_report}2\n", "From: $siteBig Bug Database <$mailfrom>\n" . "X-PHP-Bug: $cid\n" . + "X-PHP-Site: {$siteBig}\n" . "Message-ID: <bug-$cid@{$site_url}>" );

« previous php.pear.core (#9244) next »