From 39edfec85487f7de81fbade3c31bf2de4fabff9f Mon Sep 17 00:00:00 2001
From: redray <redray@ispconfig3>
Date: Mon, 15 Dec 2008 13:04:21 -0500
Subject: [PATCH] removed "options indexes"

---
 interface/web/monitor/show_log.php |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/interface/web/monitor/show_log.php b/interface/web/monitor/show_log.php
index b657307..c00b7b4 100644
--- a/interface/web/monitor/show_log.php
+++ b/interface/web/monitor/show_log.php
@@ -30,6 +30,7 @@
 
 require_once('../../lib/config.inc.php');
 require_once('../../lib/app.inc.php');
+require_once('tools.inc.php');
 
 //* Check permissions for module
 $app->auth->check_module_permissions('monitor');
@@ -42,7 +43,6 @@
 // Importing the GET values
 $refresh = (isset($_GET["refresh"]))?intval($_GET["refresh"]):0;
 $logParam = $_GET["log"];
-
 
 /*
  Setting the db-type and the caption
@@ -62,7 +62,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 +88,7 @@
  Attention: the core-moule ist triggered every 5 minutes, 
             so reload every 2 minutes is impossible!
 */
-$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"));
+$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) {
@@ -115,8 +115,8 @@
 
 $app->tpl->setVar("title", $title);
 $app->tpl->setVar("log_id",$logId);
-
+$app->tpl->setVar("time", getDataTime($logId));
 
 $app->tpl_defaults();
 $app->tpl->pparse();
-?>
\ No newline at end of file
+?>

--
Gitblit v1.9.1