Location: PHPKode > projects > Simple Way to Usenet > swun/docs/themes/swun/templates/pages/search/cats.tpl
{--LOGIC= $showcat istrue --}
<select name="search_cat" ONCHANGE="xajax_swapsearchcat(this.value);">
	<optgroup label="{--LANG=W=search;scat--}">
	{--ARRAY= $cats --}
		<option value="$cat"{--LOGIC= $isactive istrue --} selected{--LOGIC-END--} >$desc</option>
	{--ARRAY-ELSE--}
		<option value="">None available</option>
	{--ARRAY-END--}
	</optgroup>
</select>
{--LOGIC-END--}
Return current item: Simple Way to Usenet