From f45df9e458ddc2243a189aa805dc32cf05fedbfe Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 27 Jun 2005 11:53:46 +0000 Subject: [PATCH] logview links fixed ... search ends in 404 ... git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@876 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/addons/logview/class_logview.inc | 2 +- plugins/addons/logview/contents.tpl | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) 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}
-- 2.30.2