cvs: phpweb /include shared-manual.inc
| From: | jim winstead | Date: | Sun, 02 Jun 2002 03:55:51 +0000 |
| Subject: | cvs: phpweb /include shared-manual.inc | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-10610@lists.php.net to get a copy of this message | ||
jimw Sat Jun 1 23:55:51 2002 EDT
Modified files:
/phpweb/include shared-manual.inc
Log:
$HTDIG is never being set, so stop trying to use it. clear out a couple of other unused global
declarations, too.
Index: phpweb/include/shared-manual.inc
diff -u phpweb/include/shared-manual.inc:1.131 phpweb/include/shared-manual.inc:1.132
--- phpweb/include/shared-manual.inc:1.131 Sat Jun 1 23:45:35 2002
+++ phpweb/include/shared-manual.inc Sat Jun 1 23:55:51 2002
@@ -175,7 +175,7 @@
};
function manualGetUserNotes($title, $id) {
- global $MYSITE, $DOCUMENT_ROOT;
+ global $DOCUMENT_ROOT;
$notes = array();
$hash = substr(md5($id),0,16);
@@ -200,7 +200,7 @@
}
function manualUserNotes($title, $id) {
- global $PHP_SELF, $SERVER_NAME, $SERVER_PORT, $LANG, $MYSITE;
+ global $PHP_SELF, $SERVER_NAME, $SERVER_PORT;
$cur = substr(dirname($PHP_SELF),-2);
if($cur=='al') $cur='en';
@@ -265,23 +265,16 @@
}
function manualHeader($title,$id="") {
- global $HTDIG, $LANGUAGES, $LANG, $SIDEBAR_DATA;
makeBorderTOC($title);
commonHeader($title. " - Manual");
# create links to plain html and other languages
- if (!$HTDIG) {
- navigationBar($title, $id, "top");
- }
+ navigationBar($title, $id, "top");
echo "<!--/UdmComment-->";
}
function manualFooter($title,$id="") {
- global $HTDIG;
- if (!$HTDIG) {
- manualUserNotes($title,$id);
- navigationBar($title, $id, "bottom");
- }
+ manualUserNotes($title,$id);
+ navigationBar($title, $id, "bottom");
commonFooter();
-
}
?>