Page MenuHomeIn-Portal Phabricator

form_advanced_search.tpl
No OneTemporary

File Metadata

Created
Sun, Mar 9, 4:50 PM

form_advanced_search.tpl

<table border="0" cellspacing="0" cellpadding="0" class="block-no-border">
<tr>
<td class="block-header"><inp2:m_Phrase label="lu_comm_AdvancedSearch"/></td>
</tr>
<tr>
<td class="block-data">
<form method="POST" enctype="multipart/form-data" action="<inp2:m_link template="in-commerce/store/search_results" search_type="advanced" />">
<table class="adv-search-form">
<inp2:m_DefineElement name="adv_search_text">
<tr>
<td>
<strong><inp2:m_param name="caption" /></strong>
</td>
<td style="text-align: center">
<nobr>
<select name="verb[<inp2:m_param name="field" />]">
<option value="contains"><inp2:m_Phrase label="lu_comm_Contains"/></option>
<option value="notcontains"><inp2:m_Phrase label="lu_comm_DoesntContain"/></option>
<option value="is"><inp2:m_Phrase label="lu_comm_ExactlyIs"/></option>
<option value="isnot"><inp2:m_Phrase label="lu_comm_IsNot"/></option>
</select>
&nbsp;&nbsp;
<input type="text" name="value[<inp2:m_param name="field" />]">
</nobr>
</td>
<td style="text-align: right">
&nbsp;<inp2:m_param name="andor" />&nbsp;
</td>
</tr>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="adv_search_boolean">
<tr>
<td>
<strong><inp2:m_param name="caption" /></strong>
</td>
<td style="text-align: center">
<input type="radio" name="value[<inp2:m_param name="field" />]" id="value[<inp2:m_param name="field" />]_true" value="1">
<label for="value[<inp2:m_param name="field" />]_true"><inp2:m_Phrase label="lu_comm_Yes"/></label>
&nbsp;
<input type="radio" name="value[<inp2:m_param name="field" />]" id="value[<inp2:m_param name="field" />]_false" value="0">
<label for="value[<inp2:m_param name="field" />]_false"><inp2:m_Phrase label="lu_comm_No"/></label>
&nbsp;
<input type="radio" name="value[<inp2:m_param name="field" />]" id="value[<inp2:m_param name="field" />]_any" value="-1" checked>
<label for="value[<inp2:m_param name="field" />]_any"><inp2:m_Phrase label="lu_comm_Both"/></label>
</td>
<td style="text-align: right">
&nbsp;<inp2:m_param name="andor" />&nbsp;
</td>
</tr>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="adv_search_range">
<tr>
<td>
<strong><inp2:m_param name="caption" /></strong>
</td>
<td style="text-align: center">
<nobr><inp2:m_Phrase label="lu_comm_From"/>: <input type="text" name="value[<inp2:m_param name="field" />_from]" style="width:60px">&nbsp;&nbsp;
<inp2:m_Phrase label="lu_comm_To"/>: <input type="text" name="value[<inp2:m_param name="field" />_to]" style="width:60px"></nobr>
</td>
<td style="text-align: right">
&nbsp;<inp2:m_param name="andor" />&nbsp;
</td>
</tr>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="adv_search_date">
<tr>
<td>
<strong><inp2:m_param name="caption" /></strong>
</td>
<td style="text-align: center">
<select name="value[<inp2:m_param name="field" />]">
<option value="0" selected><inp2:m_Phrase label="lu_comm_Any"/></option>
<option value="today"><inp2:m_Phrase label="lu_comm_Today"/></option>
<option value="yesterday"><inp2:m_Phrase label="lu_comm_Yesterday"/></option>
<option value="last_week"><inp2:m_Phrase label="lu_comm_LastWeek"/></option>
<option value="last_month"><inp2:m_Phrase label="lu_comm_LastMonth"/></option>
<option value="last_3_months"><inp2:m_Phrase label="lu_comm_Last3Months"/></option>
<option value="last_6_months"><inp2:m_Phrase label="lu_comm_Last6Months"/></option>
<option value="last_year"><inp2:m_Phrase label="lu_comm_LastYear"/></option>
</select>
</td>
<td style="text-align: right">
&nbsp;<inp2:m_param name="andor" />&nbsp;
</td>
</tr>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="adv_search_andor">
<span style="color: #555">
<nobr><input type="radio" id="andor[<inp2:m_param name="field" />]_1" name="andor[<inp2:m_param name="field" />]" value="1" checked>
<label for="andor[<inp2:m_param name="field" />]_1"><inp2:m_Phrase label="lu_comm_And"/></label>
&nbsp;
<input type="radio" id="andor[<inp2:m_param name="field" />]_0" name="andor[<inp2:m_param name="field" />]" value="0">
<label for="andor[<inp2:m_param name="field" />]_0"><inp2:m_Phrase label="lu_comm_Or"/></label></nobr>
</span>
</inp2:m_DefineElement>
<inp2:p_AdvancedSearchForm text_render_as="adv_search_text" boolean_render_as="adv_search_boolean" range_render_as="adv_search_range" date_render_as="adv_search_date" and_or_render_as="adv_search_andor" />
<tr>
<td colspan="3" style="text-align: center">
<input type="submit" value="<inp2:m_Phrase label="lu_comm_Go" no_editing="1"/>!" class="button"><br />
<br />
</td>
</tr>
</table>
</form>
</td>
</tr>
</table>

Event Timeline