fantu
2008-11-30 07cdaafc715bf55126959f93bd79b51b3cadddce
interface/web/monitor/show_log.php
@@ -43,7 +43,6 @@
$refresh = (isset($_GET["refresh"]))?intval($_GET["refresh"]):0;
$logParam = $_GET["log"];
/*
 Setting the db-type and the caption
 */
@@ -62,7 +61,7 @@
      break;
   case 'log_messages':
      $logId = 'log_messages';
      $title = 'Messages (Server: ' . $_SESSION['monitor']['server_name'] . ')';
      $title = 'System (Server: ' . $_SESSION['monitor']['server_name'] . ')';
      break;
   case 'log_freshclam':
      $logId = 'log_freshclam';
@@ -88,7 +87,7 @@
 Attention: the core-moule ist triggered every 5 minutes, 
            so reload every 2 minutes is impossible!
*/
$refresh_values = array('0' => '- No Refresh -','5' => '5','10' => '10','15' => '15','30' => '30','60' => '60');
$refresh_values = array('0' => '- '.$app->lng("No Refresh").' -','5' => '5 '.$app->lng("minutes"),'10' => '10 '.$app->lng("minutes"),'15' => '15 '.$app->lng("minutes"),'30' => '30 '.$app->lng("minutes"),'60' => '60 '.$app->lng("minutes"));
$tmp = '';
foreach($refresh_values as $key => $val) {
   if($key == $refresh) {
@@ -119,4 +118,4 @@
$app->tpl_defaults();
$app->tpl->pparse();
?>
?>