From: hickert Date: Mon, 27 Jun 2005 11:53:46 +0000 (+0000) Subject: logview links fixed ... search ends in 404 ... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f45df9e458ddc2243a189aa805dc32cf05fedbfe;p=gosa.git logview links fixed ... search ends in 404 ... git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@876 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/addons/logview/class_logview.inc b/plugins/addons/logview/class_logview.inc index c378c4114..59c588480 100644 --- a/plugins/addons/logview/class_logview.inc +++ b/plugins/addons/logview/class_logview.inc @@ -232,7 +232,7 @@ class logview extends plugin /* Show main page */ $smarty->assign("search_result", $res); - $smarty->assign("plug", validate($_GET['plug'])); + $smarty->assign("plug", "?plug=".validate($_GET['plug'])); $smarty->assign("search_image", get_template_path('images/search.png')); $smarty->assign("time_image", get_template_path('images/time.png')); $smarty->assign("server_image", get_template_path('images/server.png')); diff --git a/plugins/addons/logview/contents.tpl b/plugins/addons/logview/contents.tpl index 471f14de5..d1ae26ccf 100644 --- a/plugins/addons/logview/contents.tpl +++ b/plugins/addons/logview/contents.tpl @@ -79,10 +79,10 @@ {if $search_result ne ""} - - - - + + + + {$search_result}
{t}Level{/t} {$mode0}{t}Hostname{/t} {$mode1}{t}Date{/t} {$mode2}{t}Message{/t} {$mode3}{t}Level{/t} {$mode0}{t}Hostname{/t} {$mode1}{t}Date{/t} {$mode2}{t}Message{/t} {$mode3}