cvs: php-gtk-web /manual add-note.php

From: Date: Thu, 13 Jul 2006 06:28:03 +0000
Subject: cvs: php-gtk-web /manual add-note.php
Groups: php.gtk.webmaster 
Request: Send a blank email to php-gtk-webmaster+get-3253@lists.php.net to get a copy of this message
sfox Thu Jul 13 06:28:03 2006 UTC Modified files: /php-gtk-web/manual add-note.php Log: Prettification before I sleep http://cvs.php.net/viewvc.cgi/php-gtk-web/manual/add-note.php?r1=1.32&r2=1.33&diff_format=u Index: php-gtk-web/manual/add-note.php diff -u php-gtk-web/manual/add-note.php:1.32 php-gtk-web/manual/add-note.php:1.33 --- php-gtk-web/manual/add-note.php:1.32 Thu Jul 13 06:00:12 2006 +++ php-gtk-web/manual/add-note.php Thu Jul 13 06:28:03 2006 @@ -250,7 +250,8 @@ } print stretchPage(22); print "<p>\n$errmsg\n</p>\n"; - print "<p><a href = '$referrer'>Back</a></p>"; + print "<p><a href = '$referrer'>Back</a></p>\n"; + print "</div>\n"; commonFooter(); exit; } @@ -279,8 +280,8 @@ /* Check and secure contents */ if (strlen($content) > 4096) { print stretchPage(22); - print "<p>Your note is too long to fit on the manual pages! Please review it and try to make it less verbose.</p>"; - print "</div>"; + print "<p>Your note is too long to fit on the manual pages! Please review it and try to make it less verbose.</p>\n"; + print "</div>\n"; commonFooter(); exit; } @@ -290,7 +291,7 @@ if (!$lastid = file_get_contents($last_id)) { print stretchPage(22); print "Could not obtain note ID<br />\n<br />\n"; - print "</div>"; + print "</div>\n"; commonFooter(); exit; } @@ -309,7 +310,7 @@ if (!file_put_contents($last_id, $id)) { print stretchPage(22); print "New note ID not saved<br />\n<br />\n"; - print "</div>"; + print "</div>\n"; commonFooter(); exit; } @@ -318,10 +319,11 @@ if (!strstr($email, 'GTK_000')) { $printmsg .= ", and you will be notified by email when it goes live"; } - $printmsg .= ".</p>"; + $printmsg .= ".</p>\n"; print stretchPage(20); print $printmsg; - print "<p><a href = '$referrer'>Back</a></p>"; + print "<p><a href = '$referrer'>Back</a></p>\n"; + print "</div>\n"; commonFooter(); if (!$result) { @@ -569,9 +571,9 @@ } else { /* hide everything if the notes mechanism is down */ print stretchPage(22); - print "<p>The PHP-GTK manual notes system is off-line at present. Please try again later!</p>"; - print "<p><a href = '$referrer'>Back</a></p>"; - print "</div>"; + print "<p>The PHP-GTK manual notes system is off-line at present. Please try again later!</p>\n"; + print "<p><a href = '$referrer'>Back</a></p>\n"; + print "</div>\n"; } commonFooter();

« previous php.gtk.webmaster (#3253) next »