cvs: php-gtk-web /manual add-note.php
[email protected] ("Steph Fox") Thu, 13 Jul 2006 02:57:22 -0000
| Newsgroups | php.gtk.webmaster |
|---|---|
| Message-ID | <cvssfox1152759442@cvsserver> |
sfox Thu Jul 13 02:57:22 2006 UTC
Modified files:
/php-gtk-web/manual add-note.php
Log:
wtf?
http://cvs.php.net/viewvc.cgi/php-gtk-web/manual/add-note.php?r1=1.28&r2=1.29&diff_format=u
Index: php-gtk-web/manual/add-note.php
diff -u php-gtk-web/manual/add-note.php:1.28 php-gtk-web/manual/add-note.php:1.29
--- php-gtk-web/manual/add-note.php:1.28 Thu Jul 13 01:49:03 2006
+++ php-gtk-web/manual/add-note.php Thu Jul 13 02:57:22 2006
@@ -165,10 +165,12 @@
print "<br />\n<p>\nThis is what your entry will look like, roughly:\n</p>\n";
if (file_exists($last_id)) {
print "<br />\n<p>\nId: ".file_get_contents($last_id)."\n</p>\n";
- } else {
- print "<br />\n<p>\n***Id file not generated***\n</p>\n";
print "<br />\n<p>\n***estimate: $estimate setid: $setid rowid: $rowid ***\n</p>\n";
}
+ print file_exists($last_id) ? "last_id exists OK<br />" : "last_id not created<br />";
+ print file_exists($queuefile) ? "queuefile exists OK<br />" : "queuefile not created<br />";
+ print file_exists($notesfile) ? "notesfile found OK<br />" : "notesfile not found<br />";
+
print "<table border='0' cellpadding='0' cellspacing='0' width='100%' align = 'center'>\n";
$temp = array('display' => $display, 'comment' => htmlentities($content), 'date' => time());
makeEntry($temp, false);