cvs: phpweb /manual admin-notes.php

From: Date: Sun, 28 Jan 2001 01:58:37 +0000
Subject: cvs: phpweb /manual admin-notes.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-3644@lists.php.net to get a copy of this message
zak Sat Jan 27 17:58:37 2001 EDT Modified files: /phpweb/manual admin-notes.php Log: The note rejection message contained several literal \n's - corrected the problem. Index: phpweb/manual/admin-notes.php diff -u phpweb/manual/admin-notes.php:1.33 phpweb/manual/admin-notes.php:1.34 --- phpweb/manual/admin-notes.php:1.33 Thu Jan 11 12:31:03 2001 +++ phpweb/manual/admin-notes.php Sat Jan 27 17:58:37 2001 @@ -68,7 +68,7 @@ </TD> <TD ALIGN=left bgcolor='#ffffff'><? spc(18,18);?><BR></TD> -</TR> +</TR> <? }; @@ -119,14 +119,14 @@ case 'reject': $reject_text = "The user contributed notes are not an appropriate place to\n"; $reject_text .= "ask questions, report bugs or suggest new features; please\n"; - $reject_text .= 'use the resources listed in <http://www.php.net/support.php>\n'; + $reject_text .= "use the resources listed in <http://www.php.net/support.php>\n"; $reject_text .= "for those purposes. This was clearly stated in the page\n"; $reject_text .= "you used to submit your note, please carefully re-read\n"; $reject_text .= "those instructions before submitting future contributions.\n\n"; - $reject_text .= 'Bug Submissions should be entered at <http://bugs.php.net/>\n'; - $reject_text .= 'Feature Requests should also be entered at <http://bugs.php.net/>\n'; - $reject_text .= 'Support and ways to find answers to your guestions can be found\n'; - $reject_text .= 'at <http://www.php.net/support.php>\n\n'; + $reject_text .= "Bug Submissions should be entered at <http://bugs.php.net/>\n"; + $reject_text .= "Feature Requests should also be entered at <http://bugs.php.net/>\n"; + $reject_text .= "Support and ways to find answers to your guestions can be found\n"; + $reject_text .= "at <http://www.php.net/support.php>\n\n"; $reject_text .= "Your note has been removed from the on-line manual.\n\n"; $query = 'SELECT *,UNIX_TIMESTAMP(ts) AS xwhen FROM note WHERE id='.$id; if ($result = mysql_query($query)) { @@ -138,7 +138,7 @@ if (is_emailable_address($submitter)) mail($submitter,"note ".$row['id']." rejected and deleted from ".$row['sect']." by notes editor $u",$reject_text."----- Copy of your note below -----\n\n".stripslashes($row['note']),"From: ".$u."@php.net"); //mail($submitter,"note ".$row['id']." rejected and deleted from ".$row['sect']." by notes editor $u",$reject_text."----- Copy of your note below -----\n\n".stripslashes($row['note']),"From: php-notes@lists.php.net"); - // email to the php-notes list + // email to the php-notes list mail("php-notes@lists.php.net","note ".$row['id']." rejected and deleted from ".$row['sect']." by $u",stripslashes($row['note']),"From: ".$u."@php.net"); $query = 'DELETE FROM note WHERE id=' . $id; if (mysql_query($query)) { @@ -174,7 +174,7 @@ $query = 'SELECT *,UNIX_TIMESTAMP(ts) AS xwhen FROM note WHERE id='.$id; if ($result = mysql_query($query)) { $row = mysql_fetch_array($result); - } + } $add_url = "\n\nhttp://www.php.net/manual/".sect_to_file($row['sect'])."\n"; $query = "UPDATE note SET user='$nuser',note='$note' WHERE id=$id"; if (mysql_query($query)) { @@ -224,7 +224,7 @@ } makeEntry($row['xwhen'],$row['user'],htmlspecialchars($row['note']),$row['id']); } - makeTitle(""); + makeTitle(""); echo '</TABLE>'; echo '</FORM>'; echo "<a href=\"/manual/admin-notes.php?last_entry=$last_entry\">Next $num_entries_per_page entries</a><P>\n";

« previous php.mirrors (#3644) next »