sean Sat Feb 25 17:46:13 2006 UTC
Added files:
/php-master-web/include note-reasons.inc
Modified files:
/php-master-web/entry user-note.php
/php-master-web/manage user-notes.php
Log:
consolidate note del reasons && use new short URLs
it isn't working..
This needs tweaking in .htaccess, was this done already?
+ foreach ($note_del_reasons AS $reason) {
+ $msg .= "Del: "
+ . str_pad($reason, $note_del_reasons_pad)
+ . "-- http://master.php.net/note/delete/$new_id/" . urlencode($reason) ."\n";
+ }
+ $msg .= "Reject -- http://master.php.net/reject/$new_id&report=yes\n";
there should be /note/reject/ isn't it?
@@ -395,6 +393,7 @@
// Send out a mail to the note submitter, with an envelope sender ignoring bounces
function note_mail_user($mailto, $subject, $message)
{
+return;
$mailto = clean_antispam($mailto);
if (is_emailable_address($mailto)) {
mail(
@@ -423,6 +422,7 @@
// some action is performed on a user note.
function note_mail_on_action($user, $id, $subject, $body)
{
+return;
mail(NOTES_MAIL, $subject, $body, "From: $user@php.net\r\nIn-Reply-To: <note-$id@php.net>");
}
ups, debug stuff :)
Nuno