101 lines
3.7 KiB
Smarty
101 lines
3.7 KiB
Smarty
|
|
{ $method->exe("blocked_email","search_form") }
|
|
{ if ($method->result == FALSE) }
|
|
{ $block->display("core:method_error") }
|
|
{else}
|
|
|
|
<form name="blocked_email_search" 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=blocked_email}
|
|
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 valign="top">
|
|
<td width="35%">
|
|
{translate module=blocked_email}
|
|
field_email
|
|
{/translate}
|
|
</td>
|
|
<td width="65%">
|
|
<input type="text" name="blocked_email_email" value="{$VAR.blocked_email_email}" {if $blocked_email_email == true}class="form_field_error"{/if}>
|
|
|
|
{translate}
|
|
search_partial
|
|
{/translate}
|
|
</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td width="35%">
|
|
{translate module=blocked_email}
|
|
field_notes
|
|
{/translate}
|
|
</td>
|
|
<td width="65%">
|
|
<input type="text" name="blocked_email_notes" value="{$VAR.blocked_email_notes}" {if $blocked_email_notes == true}class="form_field_error"{/if}>
|
|
|
|
{translate}
|
|
search_partial
|
|
{/translate}
|
|
</td>
|
|
</tr>
|
|
<!-- Define the results per page -->
|
|
<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="{$blocked_email_limit}">
|
|
</td>
|
|
</tr>
|
|
<!-- Define the order by field per page -->
|
|
<tr class="row1" valign="top">
|
|
<td width="35%">
|
|
{translate}
|
|
search_order_by
|
|
{/translate}
|
|
</td>
|
|
<td width="65%">
|
|
<select name="order_by">
|
|
{foreach from=$blocked_email 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="blocked_email">
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
{ $block->display("core:saved_searches") }
|
|
{ $block->display("core:recent_searches") }
|
|
{/if}
|