This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
khosb/themes/default/blocks/log_error/search_form.tpl

131 lines
4.8 KiB
Smarty
Raw Normal View History

{ $method->exe("log_error","search_form") }
{ if ($method->result == FALSE) }
{ $block->display("core:method_error") }
{else}
<form name="search_form" method="post" action="">
<table width=100% border="0" cellspacing="0" cellpadding="0" class="table_background">
<tr>
<td>
<table width="100%" border="0" cellspacing="1" cellpadding="0">
<tr valign="top">
<td width="65%" class="table_heading">
<div align="center">
{translate module=log_error}
title_search
{/translate}
</div>
</td>
</tr>
<tr valign="top">
<td width="65%" class="row1">
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
<tr class="row1" valign="top">
<td width="35%">
{translate module=log_error}
field_message
{/translate}
</td>
<td width="65%">
<input type="text" value="{$VAR.log_error_message}" name="log_error_message">
{translate}
search_partial
{/translate}
</td>
</tr>
<tr class="row1" valign="top">
<td width="35%">
{translate module=log_error}
field_module
{/translate}
</td>
<td width="65%">
<input type="text" value="{$VAR.log_error_module}" name="log_error_module">
{translate}
search_partial
{/translate}
</td>
</tr>
<!-- Define the results per page -->
<tr class="row1" valign="top">
<td width="35%">
{translate module=log_error}
field_method
{/translate}
</td>
<td width="65%">
<input type="text" value="{$VAR.log_error_method}" name="log_error_method">
{translate}
search_partial
{/translate}
</td>
</tr>
<!-- Define the order by field per page -->
<tr class="row1" valign="top">
<td width="35%">
{translate module=log_error}
field_date_orig
{/translate}
</td>
<td width="65%">
{ $list->calender_search("log_error_date_orig", $VAR.log_error_date_orig, "form_field", "") }
</td>
</tr>
<tr class="row1" valign="top">
<td width="35%">
{translate module=log_error}
field_account_id
{/translate}
</td>
<td width="65%">
{html_select_account name="log_error_account_id" default=$VAR.log_error_account_id}
</td>
</tr>
<tr class="row1" valign="top">
<td width="35%">
{translate}
search_results_per
{/translate}
</td>
<td width="65%">
<input type="text" name="limit" size="5" value="{$log_error_limit}">
</td>
</tr>
<tr class="row1" valign="top">
<td width="35%">
{translate}
search_order_by
{/translate}
</td>
<td width="65%">
<select name="order_by">
{foreach from=$log_error item=record}
<option value="{$record.field}">
{$record.translate}
</option>
{/foreach}
</select>
</td>
</tr>
<tr class="row1" valign="top">
<td width="35%"></td>
<td width="65%">
<input type="submit" name="Submit" value="{translate}search{/translate}" class="form_button">
<input type="hidden" name="_page" value="core:search">
<input type="hidden" name="_escape" value="Y">
<input type="hidden" name="module" value="log_error">
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
{ $block->display("core:saved_searches") }
{ $block->display("core:recent_searches") }
{/if}