cvs: phpweb /include shared-manual.inc
| From: | Jim Winstead | Date: | Mon, 26 Feb 2001 23:11:40 +0000 |
| Subject: | cvs: phpweb /include shared-manual.inc | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-4053@lists.php.net to get a copy of this message | ||
jimw Mon Feb 26 15:11:40 2001 EDT
Modified files:
/phpweb/include shared-manual.inc
Log:
don't show magic editing stuff when no id is available
Index: phpweb/include/shared-manual.inc
diff -u phpweb/include/shared-manual.inc:1.91 phpweb/include/shared-manual.inc:1.92
--- phpweb/include/shared-manual.inc:1.91 Mon Feb 26 15:08:03 2001
+++ phpweb/include/shared-manual.inc Mon Feb 26 15:11:40 2001
@@ -172,7 +172,7 @@
</TD></TR>
<TR BGCOLOR="#F0F0F0"><TD>
<?echo clean_note($blurb);?><BR>
-<?if (isset($MAGIC_COOKIE)):?>
+<?if (isset($MAGIC_COOKIE) && $id):?>
<hr noshade size=1>
<A href="/manual/admin-notes.php?action=delete+<?echo
$id?>&brief=1&popup=1" target="admin">delete</A> |
<A href="/manual/admin-notes.php?action=reject+<?echo
$id?>&brief=1&popup=1" target="admin">reject</A> |