variable enable topbanner
authorMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Wed, 3 Dec 2008 22:59:07 +0000 (22:59 +0000)
committerMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Wed, 3 Dec 2008 22:59:07 +0000 (22:59 +0000)
web/index.php

index 4657e04..75df65c 100644 (file)
@@ -367,6 +367,11 @@ supported by:<br><br>
      // alert(window.onbeforeunload);
 
      login_init();
+<?php
+     if ($G_with_topbanner) {
+       printf("     topbanner_init();\n");
+    }
+?>
 
      g_withflash = DetectFlashVer(6,0,0);
      if (g_withflash == false) {
@@ -461,9 +466,13 @@ if ($BRISK_SHOWHTML == "debugtable") {
 }
 else {
 ?>
-     // alert("INDEX START");
+    // alert("INDEX START");
      menu_init();
-     topbanner_init();
+<?php
+     if ($G_with_topbanner) {
+       printf("     topbanner_init();\n");
+    }
+?>
      xhr_rd = createXMLHttpRequest();
      sess = "<?php echo "$sess"; ?>";
      tra = new train($('room_tit'));