From e65b04a9bf37a5aa108d8b2e9d5b42c3edc7f952 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Wed, 10 Feb 2010 08:25:34 -0500
Subject: [PATCH] Fixed general utf8 encoding problems when data is passed from frontend to server, this fixes also bug FS#1065 - Special characters in autoresponder subject may break the autoresponder 

---
 interface/web/monitor/lib/module.conf.php |   19 ++++++++++++++++---
 1 files changed, 16 insertions(+), 3 deletions(-)

diff --git a/interface/web/monitor/lib/module.conf.php b/interface/web/monitor/lib/module.conf.php
index c39234f..7d75816 100644
--- a/interface/web/monitor/lib/module.conf.php
+++ b/interface/web/monitor/lib/module.conf.php
@@ -4,7 +4,7 @@
  Config of the Module
  */
 $module["name"] 		= "monitor";
-$module["title"] 		= "Monitor";
+$module["title"] 		= "top_menu_monitor";
 $module["template"] 	= "module.tpl.htm";
 $module["tab_width"]    = '';
 $module["startpage"] 	= "monitor/show_sys_state.php?state=system";
@@ -13,6 +13,14 @@
 $items[] = array( 'title' 	=> "Show Overview",
                   'target' 	=> 'content',
                   'link'	=> 'monitor/show_sys_state.php?state=system');
+
+$items[] = array( 'title' 	=> "Show System-Log",
+                  'target' 	=> 'content',
+                  'link'	=> 'monitor/log_list.php');
+
+$items[] = array( 'title' 	=> 'Show Jobqueue',
+				  'target' 	=> 'content',
+				  'link'	=> 'monitor/datalog_list.php');
 
 $module["nav"][] = array(	'title'	=> 'System State (All Servers)',
                             'open' 	=> 1,
@@ -23,6 +31,7 @@
  We need all the available servers on the left navigation.
  So fetch them from the database and add then to the navigation as dropdown-list
 */
+
 $servers = $app->db->queryAllRecords("SELECT server_id, server_name FROM server order by server_name");
 
 $dropDown = "<select id='server_id' onchange=\"loadContent('monitor/show_sys_state.php?state=server&server=' + document.getElementById('server_id').value);\">";
@@ -125,6 +134,10 @@
                   'target' 	=> 'content',
                   'link'	=> 'monitor/show_log.php?log=log_messages');
 
+$items[] = array( 'title' 	=> "Show ISPC Cron-Log",
+                  'target' 	=> 'content',
+                  'link'	=> 'monitor/show_log.php?log=log_ispc_cron');
+
 $items[] = array( 'title' 	=> "Show Freshclam-Log",
                   'target' 	=> 'content',
                   'link'	=> 'monitor/show_log.php?log=log_freshclam');
@@ -137,9 +150,9 @@
                   'target' 	=> 'content',
                   'link'	=> 'monitor/show_data.php?type=rkhunter');
 
-$items[] = array( 'title' 	=> "Show ISPConfig-Log",
+$items[] = array( 'title' 	=> "Show fail2ban-Log",
                   'target' 	=> 'content',
-                  'link'	=> 'monitor/show_log.php?log=log_ispconfig');
+                  'link'	=> 'monitor/show_data.php?type=fail2ban');
 
 $module["nav"][] = array(	'title'	=> 'Logfiles',
                             'open' 	=> 1,

--
Gitblit v1.9.1