From fbd3ae774dbdaa08ce8505f0c17d32136642bcef Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 29 May 2007 09:34:08 +0000 Subject: [PATCH] Updated logging git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6505 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/addons/logview/class_gosa_logview.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/addons/logview/class_gosa_logview.inc b/plugins/addons/logview/class_gosa_logview.inc index 62092ec01..0e84cbcb8 100644 --- a/plugins/addons/logview/class_gosa_logview.inc +++ b/plugins/addons/logview/class_gosa_logview.inc @@ -77,8 +77,8 @@ class gosa_logview extends plugin $smarty->assign("ruleset_image", get_template_path('images/edit.png')); $smarty->assign("launchimage", get_template_path('images/launch.png')); $smarty->assign("date_select", $date_select); - $smarty->assign("servers", array()); $smarty->assign("actions", array()); + $smarty->assign("direction", "up"); $smarty->assign("mode0", ""); $smarty->assign("mode1", ""); $smarty->assign("mode2", ""); @@ -111,6 +111,7 @@ class gosa_logview extends plugin foreach($list_of_servers as $servername => $data){ $servers[$servername] = $servername; } + $smarty->assign("servers", $servers); /* Set a default server, if there is currently no valid server selected */ if(empty($this->server) || !in_array($this->server,$servers)){ @@ -155,7 +156,7 @@ class gosa_logview extends plugin $ui = get_userinfo(); $dn = $list_of_servers[$this->server]['DN']; $acls = $ui->get_permissions($dn,"server/gosaLogServer","viewEntries"); - + if(!preg_match("/r/",$acls)){ $res = " -- 2.30.2