summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b8364b4)
raw | patch | inline | side by side (parent: b8364b4)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 27 Jun 2005 11:53:46 +0000 (11:53 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 27 Jun 2005 11:53:46 +0000 (11:53 +0000) |
plugins/addons/logview/class_logview.inc | patch | blob | history | |
plugins/addons/logview/contents.tpl | patch | blob | history |
index c378c411409c131be8dc8a840e97d0887771d9c0..59c5884800b36c22099be079f2b471dd8fea4048 100644 (file)
/* 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'));
index 471f14de55d70f7b8334718cc94ef946ddc9e5cd..d1ae26ccfceeddd59e97f226661d8f33340f01b4 100644 (file)
{if $search_result ne ""}
<table summary="" style="width:100%; vertical-align:top; text-align:left; border:1px solid #B0B0B0;" cellpadding=2 cellspacing=1 rules="cols">
<tr style="background-color: #E8E8E8; height:26px; font-weight:bold">
- <td><a href=main.php?plug={$plug}&sort=0>{t}Level{/t} {$mode0}</a></td>
- <td><a href=main.php?plug={$plug}&sort=1>{t}Hostname{/t} {$mode1}</a></td>
- <td width=15%><a href=main.php?plug={$plug}&sort=2>{t}Date{/t} {$mode2}</a></td>
- <td><a href=main.php?plug={$plug}&sort=3>{t}Message{/t} {$mode3}</a></td>
+ <td><a href=main.php{$plug}&sort=0>{t}Level{/t} {$mode0}</a></td>
+ <td><a href=main.php{$plug}&sort=1>{t}Hostname{/t} {$mode1}</a></td>
+ <td width=15%><a href=main.php{$plug}&sort=2>{t}Date{/t} {$mode2}</a></td>
+ <td><a href=main.php{$plug}&sort=3>{t}Message{/t} {$mode3}</a></td>
</tr>
{$search_result}
</table>