From: hickert Date: Tue, 31 May 2005 05:29:03 +0000 (+0000) Subject: Log free from SELECT_ X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b45e0dfbb6f73cc7dd01463fc199b7cd71cf4a86;p=gosa.git Log free from SELECT_ git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@506 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/addons/logview/class_logview.inc b/plugins/addons/logview/class_logview.inc index db979b13a..c378c4114 100644 --- a/plugins/addons/logview/class_logview.inc +++ b/plugins/addons/logview/class_logview.inc @@ -243,28 +243,10 @@ class logview extends plugin $smarty->assign("hostlist", $this->hostlist); - if(count ($this->hostlist)){ - $smarty->assign("SELECT_hostlist",TRUE); - }else{ - $smarty->assign("SELECT_hostlist",FALSE); - } - $smarty->assign("loglevellist", $this->loglevellist); - - if(count ($this->loglevellist)){ - $smarty->assign("SELECT_loglevellist",TRUE); - }else{ - $smarty->assign("SELECT_loglevellist",FALSE); - } $smarty->assign("tilist", $this->tilist); - if(count ($this->tilist)){ - $smarty->assign("SELECT_tilist",TRUE); - }else{ - $smarty->assign("SELECT_tilist",FALSE); - } - $logfilter['regex']= preg_replace('/\%/', '*', $logfilter['regex']); foreach( array("host", "log_level", "time", "regex") as $type){ $smarty->assign("$type", $logfilter[$type]); diff --git a/plugins/addons/logview/contents.tpl b/plugins/addons/logview/contents.tpl index e6e73d558..8b746ccc7 100644 --- a/plugins/addons/logview/contents.tpl +++ b/plugins/addons/logview/contents.tpl @@ -11,11 +11,8 @@  {t}Show hosts{/t} @@ -23,11 +20,8 @@  {t}Log level{/t} @@ -44,11 +38,8 @@  {t}Time interval{/t}