Update of /cvsroot/meshdb/www/db2
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31904
Modified Files:
footer.inc
Log Message:
change $this to $me ($this is a reserved name in php5)
Index: footer.inc
===================================================================
RCS file: /cvsroot/meshdb/www/db2/footer.inc,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- footer.inc 18 Sep 2004 01:31:45 -0000 1.3
+++ footer.inc 13 Apr 2006 11:50:24 -0000 1.4
@@ -1,19 +1,19 @@
-<?
-global $PREF;
-
-$this = basename($HTTP_SERVER_VARS['PHP_SELF']);
-if ($PREF["myid"] != 0) {
- $n = $PREF["myid"];
- if ($this != "view.php")
- echo "<a href=\"view.php?nodeid=$n\">View #$n</a> | ";
- if ($this != "edit.php")
- echo "<a href=\"edit.php?nodeid=$n\">Edit #$n</a> | ";
-}
-if ($this != "cookies.php")
- echo "<a href=\"cookies.php\">Preferences</a> | ";
-if ($this != "index.php")
- echo "<a href=\".\">Database index</a> | ";
-?>
-<a href="../">Brisbane Mesh home</a>
-<br>
-<a href="../copyright.html">© 2002-2004</a>
+<?
+global $PREF;
+
+$me = basename($HTTP_SERVER_VARS['PHP_SELF']);
+if ($PREF["myid"] != 0) {
+ $n = $PREF["myid"];
+ if ($me != "view.php")
+ echo "<a href=\"view.php?nodeid=$n\">View #$n</a> | ";
+ if ($me != "edit.php")
+ echo "<a href=\"edit.php?nodeid=$n\">Edit #$n</a> | ";
+}
+if ($me != "cookies.php")
+ echo "<a href=\"cookies.php\">Preferences</a> | ";
+if ($me != "index.php")
+ echo "<a href=\".\">Database index</a> | ";
+?>
+<a href="../">Brisbane Mesh home</a>
+<br>
+<a href="../copyright.html">© 2002-2004</a>
|