91 lines
4.1 KiB
Smarty
91 lines
4.1 KiB
Smarty
{assign var=meth value=':'|explode:$VAR._page}
|
|
<!-- {$meth.0}:{$meth.1} -->
|
|
|
|
{$method->exe($meth.0,$meth.1)}
|
|
{if ($method->result == false)}
|
|
{$block->display('core:method_error')}
|
|
{else}
|
|
|
|
<form id="search_form" method="post" action="" enctype="multipart/form-data">
|
|
|
|
<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 class="table_heading">{osb f=tt}</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td class="row1">
|
|
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
|
|
<tr valign="top">
|
|
<td style="width: 35%;">{osb f=tf field=date_start}</td>
|
|
<td style="width: 65%;">{$list->calender_search('task_date_start',$VAR.task_date_start,'form_field','')}</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td style="width: 35%;">{osb f=tf field=date_expire}</td>
|
|
<td style="width: 65%;">{$list->calender_search('task_date_expire',$VAR.task_date_expire,'form_field','')}</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td style="width: 35%;">{osb f=tf field=date_last}</td>
|
|
<td style="width: 65%;">{$list->calender_search('task_date_last',$VAR.task_date_last,'form_field','')}</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td style="width: 35%;">{osb f=tf field=date_run}</td>
|
|
<td style="width: 65%;">{$list->calender_search('task_date_run',$VAR.task_date_run,'form_field','')}</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td style="width: 35%;">{osb f=tf field=name}</td>
|
|
<td style="width: 65%;"><input type="text" name="task_name" value="{$VAR.task_name}" {if $task_name == true}class="form_field_error"{/if}/> {t}"%" for partial match{/t}</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td style="width: 35%;">{osb f=tf field=description}</td>
|
|
<td style="width: 65%;"><input type="text" name="task_description" value="{$VAR.task_description}" {if $task_description == true}class="form_field_error"{/if}/> {t}"%" for partial match{/t}</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td style="width: 35%;">{osb f=tf field=log}</td>
|
|
<td style="width: 65%;">{$list->bool('task_log','all')}</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td style="width: 35%;">{osb f=tf field=type}</td>
|
|
<td style="width: 65%;">{$list->bool('task_type','all','form_menu')}</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td style="width: 35%;">{osb f=tf field=command}</td>
|
|
<td style="width: 65%;">
|
|
<input type="text" name="task_command" value="{$VAR.task_command}" {if $task_command == true}class="form_field_error"{/if}/> {t}"%" for partial match{/t}
|
|
</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td style="width: 35%;">{osb f=tf field=int_hour}</td>
|
|
<td style="width: 65%;">
|
|
<input type="text" name="task_int_hour" value="{$VAR.task_int_hour}" {if $task_int_hour == true}class="form_field_error"{/if}/> {t}"%" for partial match{/t}
|
|
</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td style="width: 35%;">{osb f=tf field=int_month_day}</td>
|
|
<td style="width: 65%;">
|
|
<input type="text" name="task_int_month_day" value="{$VAR.task_int_month_day}" {if $task_int_month_day == true}class="form_field_error"{/if}/> {t}"%" for partial match{/t}
|
|
</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td style="width: 35%;">{osb f=tf field=int_week_day}</td>
|
|
<td style="width: 65%;">
|
|
<input type="text" name="task_int_week_day" value="{$VAR.task_int_week_day}" {if $task_int_week_day == true}class="form_field_error"{/if}/> {t}"%" for partial match{/t}
|
|
</td>
|
|
</tr>
|
|
{include file='file:../core/search_post.tpl'}
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</form>
|
|
|
|
{$block->display('core:saved_searches')}
|
|
{$block->display('core:recent_searches')}
|
|
{/if}
|