Location: PHPKode > projects > Simple Way to Usenet > swun/docs/themes/swun/templates/pages/search/searchbar.tpl
<form method="post" target="_self" action="">
<table>
<tr>
	<td id="search_engine">
		<select name="search_engine" ONCHANGE="xajax_swapsearchengine(this.value);">
			<optgroup label="{--LANG=W=search;sengine--}">
			{--ARRAY=eng; $engines --}
				<option value="$engine"{--LOGIC=isactive; $isactive istrue --} selected{--END-LOGIC=isactive--} >$desc</option>
			{--ARRAY-ELSE=eng--}
				<option value="">{--LANG=W=search;noengine--}</option>
			{--END-ARRAY=eng--}
			</optgroup>
		</select>
	</td>
	<td id="search_types">{--INC=stype; $types ; pages/search/types.tpl --}</td>
	<td id="search_categories">{--INC=scats; $cats ; pages/search/cats.tpl --}</td>
	<td>
		{--LANG=W=search;filter--} : <input type="text" name="search_filter" value="$filter" />
		<input type="submit" name="search_search" value="{--LANG=W=search;search--}" />
	</td>
</tr>
</table>
</form>
Return current item: Simple Way to Usenet