Re: php-master-web /entry user-note.php /include note-reasons.inc /manage user-notes.php

From: Date: Sat, 25 Feb 2006 19:32:35 +0000
Subject: Re: php-master-web /entry user-note.php /include note-reasons.inc /manage user-notes.php
References: 1  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-30665@lists.php.net to get a copy of this message
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

« previous php.mirrors (#30665) next »