You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
970 B
34 lines
970 B
<h1>{$page->title}</h1>
|
|
<br /><br />
|
|
{if $data}
|
|
{$pager}
|
|
<table style="width:100%;margin-top:10px;" class="data highlight">
|
|
<tr>
|
|
<th>
|
|
<select name="logtype" id="logtype" onchange="window.location='{$smarty.const.WWW_TOP}/view-logs.php?t=' + this.value;">
|
|
{foreach $types as $newtype}
|
|
<option {if $type == $newtype}selected="selected"{/if} value="{$newtype}">
|
|
{$newtype}
|
|
</option>
|
|
{/foreach}
|
|
</select>
|
|
</th>
|
|
</tr>
|
|
{foreach from=$data item=log}
|
|
<tr class="{cycle values=",alt"}">
|
|
<td>{$log}</td>
|
|
</tr>
|
|
{/foreach}
|
|
</table>
|
|
<br />
|
|
{$pager}
|
|
{else}
|
|
<h3>Nothing found, maybe you need to turn on logging in : {$path}</h3>
|
|
<select name="logtype" id="logtype" onchange="window.location='{$smarty.const.WWW_TOP}/view-logs.php?t=' + this.value;">
|
|
{foreach $types as $newtype}
|
|
<option {if $type == $newtype}selected="selected"{/if} value="{$newtype}">
|
|
{$newtype}
|
|
</option>
|
|
{/foreach}
|
|
</select>
|
|
{/if}
|
|
|