cvs: phpweb /include shared-manual.inc
| From: | Gabor Hojtsy | Date: | Wed, 23 Jul 2003 18:36:10 +0000 |
| Subject: | cvs: phpweb /include shared-manual.inc | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-19508@lists.php.net to get a copy of this message | ||
goba Wed Jul 23 14:36:10 2003 EDT
Modified files:
/phpweb/include shared-manual.inc
Log:
Don't display edit options, when there is no ID [ie.
when previewing a note]
Index: phpweb/include/shared-manual.inc
diff -u phpweb/include/shared-manual.inc:1.202 phpweb/include/shared-manual.inc:1.203
--- phpweb/include/shared-manual.inc:1.202 Wed Jul 23 10:14:51 2003
+++ phpweb/include/shared-manual.inc Wed Jul 23 14:36:10 2003
@@ -1,6 +1,6 @@
<?php // -*- C++ -*-
-// $Id: shared-manual.inc,v 1.202 2003/07/23 14:14:51 alindeman Exp $
+// $Id: shared-manual.inc,v 1.203 2003/07/23 18:36:10 goba Exp $
/*
@@ -329,7 +329,7 @@
"</td>\n<td align=\"right\">\n";
// If the viewer is logged in, show admin options
- if (isset($_COOKIE['MAGIC_COOKIE'])) {
+ if (isset($_COOKIE['MAGIC_COOKIE']) && $id) {
print_popup_link(
'http://master.php.net/manage/user-notes.php?action=edit+'
. $id,