
Updated calls to current Smarty API (register_function()/register_modifier()/register_block() -> registerPlugin(); assign_by_ref() -> assignByRef()). Fixed file includes in templates with quotes. Removed SmartyValidate.class.php includes. Still work in progress as some errors still appear!
27 lines
1.1 KiB
Smarty
Executable File
27 lines
1.1 KiB
Smarty
Executable File
{include file="shared:errorlist.tpl"}
|
|
<form id="search" method="get" action="{$smarty.const.BLOG_BASEURL}search.php" enctype="multipart/form-data">
|
|
|
|
<fieldset><legend>{$lang.search.fset1}</legend>
|
|
<p><label for="keywords">{$lang.search.keywords}</label><br />
|
|
<input type="text" name="q" id="keywords" />
|
|
<label><input type="radio" name="stype" value="titles" id="onlytitles" checked="checked" />{$lang.search.onlytitles}</label>
|
|
<label><input type="radio" name="stype" value="full" id="fulltext" />{$lang.search.fulltext}</label></p>
|
|
</fieldset>
|
|
|
|
<fieldset><legend>{$lang.search.fset2}</legend>
|
|
<p>{html_select_date start_year=2000 end_year=$smarty.now|date_format:"%Y" field_separator=" - " field_order="DMY" time="0000-00-00" all_empty="--"}</p>
|
|
<p>{$lang.search.datedescr}</p>
|
|
</fieldset>
|
|
|
|
<fieldset><legend>{$lang.search.fset3}</legend>
|
|
{if !isset($categories)} {assign var=categories value=""} {/if}
|
|
{list_categories type="radio" selected=$categories}
|
|
<p>{$lang.search.catdescr}</p>
|
|
</fieldset>
|
|
|
|
|
|
<div class="buttonbar">
|
|
<input type="submit" name="submit" id="submit" value="{$lang.search.submit}" />
|
|
</div>
|
|
</form>
|