]> mop.ddnsfree.com - git repositories - brisk.git/commitdiff
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 4657e048c95298a2d05910204e6f38c46dacbb77..75df65cf201a517b1a569ce1a49634120c985399 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'));