Code: Select all
{$startform}
<label for="{$search_actionid}searchinput">{$searchprompt}: </label><input type="text" class="search-input" id="{$search_actionid}searchinput" name="{$search_actionid}searchinput" size="20" maxlength="50" placeholder="{$searchtext}"/>
{*
<br/>
<input type="checkbox" name="{$search_actionid}use_or" value="1"/>
*}
<input class="search-button" name="submit" value="{$submittext}" type="submit" />
{if isset($hidden)}{$hidden}{/if}
{$endform}
Code: Select all
{$startform}
<div class="form-group headSearch">
<input type="text" class="search-input" id="{$search_actionid}searchinput" name="{$search_actionid}searchinput" size="20" maxlength="50" placeholder="{$searchtext}"/>
</div>
<button name="submit" value="{$submittext}" type="submit" class="btn btn-default headSearch">Submit</button>
{if isset($hidden)}{$hidden}{/if}
{$endform}
Code: Select all
{search inline="false" resultpage="search" submit="Search" formtemplate="search_top"}
Code: Select all
<form id="cntnt01moduleform_1" method="get" action="http://localhost:8888/foundation/" class="cms_form">
<div class="hidden">
<input type="hidden" name="mact" value="Search,cntnt01,dosearch,0" />
<input type="hidden" name="cntnt01returnid" value="34" />
</div>
<div class="form-group headSearch">
<input type="text" class="search-input" id="cntnt01searchinput" name="cntnt01searchinput" size="20" maxlength="50" placeholder="Enter Search..."/>
</div>
<button name="submit" value="Search" type="submit" class="btn btn-default headSearch">Submit</button>
</form>
Any help pointers would be much appreciated. I can hack my way around this, but I would prefer to be able to tackle it at the root code generation.
Thanks