webui fixes

This commit is contained in:
SJ 2012-09-14 11:05:42 +02:00
parent 9e868f2ccd
commit 6e8f451e52
3 changed files with 4 additions and 2 deletions

View File

@ -23,7 +23,7 @@
<div id="auditresultscontainer"<?php if($n <= 0) { ?> class="empty"<?php } ?> style="border: 3px solid red;">
<div id="auditresultscontainer"<?php if($n <= 0) { ?> class="empty"<?php } ?> style="border: 0px solid red;">
<div id="results">

View File

@ -29,7 +29,7 @@
</head>
<body<?php if($this->request->get['route'] == 'health/health') { ?> onload="loadHealth(); setInterval('loadHealth()', <?php print HEALTH_REFRESH; ?> * 1000)" style="cursor: wait"<?php } ?>>
<body<?php if(isset($this->request->get['route']) && $this->request->get['route'] == 'health/health') { ?> onload="loadHealth(); setInterval('loadHealth()', <?php print HEALTH_REFRESH; ?> * 1000)" style="cursor: wait"<?php } ?>>
<div id="fuku1">

View File

@ -14,7 +14,9 @@
<ul class="sub_menu">
<li><a href="index.php?route=stat/stat&timespan=daily"><?php print $text_statistics; ?></a></li>
<li><a href="index.php?route=health/health"><?php print $text_health; ?></a></li>
<?php if(ENABLE_AUDIT == 1) { ?>
<li><a href="index.php?route=audit/audit"><?php print $text_audit; ?></a></li>
<?php } ?>
</ul>
</li>