From: <ch...@us...> - 2010-11-01 22:09:04
|
Revision: 30457 http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=30457&view=rev Author: chealer Date: 2010-11-01 22:08:58 +0000 (Mon, 01 Nov 2010) Log Message: ----------- remove some useless/confusing label elements or convert to span Ref: 16723 Modified Paths: -------------- trunk/templates/find.tpl Modified: trunk/templates/find.tpl =================================================================== --- trunk/templates/find.tpl 2010-11-01 20:55:46 UTC (rev 30456) +++ trunk/templates/find.tpl 2010-11-01 22:08:58 UTC (rev 30457) @@ -58,33 +58,29 @@ {/if} {if !empty($types) and ( !isset($types_tag) or $types_tag eq 'select' ) } - <label class="findtypes"> - <select name="type"> - <option value='' {if $find_type eq ''}selected="selected"{/if}>{tr}any type{/tr}</option> - {section name=t loop=$types} - <option value="{$types[t].type|escape}" {if $find_type eq $types[t].type}selected="selected"{/if}> - {capture}{tr}{$types[t].type}{/tr}{/capture}{$smarty.capture.default|escape} - </option> - {/section} - </select> - </label> + <select name="type" class="findtypes"> + <option value='' {if $find_type eq ''}selected="selected"{/if}>{tr}any type{/tr}</option> + {section name=t loop=$types} + <option value="{$types[t].type|escape}" {if $find_type eq $types[t].type}selected="selected"{/if}> + {capture}{tr}{$types[t].type}{/tr}{/capture}{$smarty.capture.default|escape} + </option> + {/section} + </select> {/if} {if !empty($topics)} - <label class="findtopics"> - <select name="topic"> - <option value='' {if $find_topic eq ''}selected="selected"{/if}>{tr}all topic{/tr}</option> - {section name=ix loop=$topics} - <option value="{$topics[ix].topicId|escape}" {if $find_topic eq $topics[ix].topicId}selected="selected"{/if}> - {capture}{tr}{$topics[ix].name}{/tr}{/capture}{$smarty.capture.default|escape} - </option> - {/section} - </select> - </label> + <select name="topic" class="findtopics"> + <option value='' {if $find_topic eq ''}selected="selected"{/if}>{tr}all topic{/tr}</option> + {section name=ix loop=$topics} + <option value="{$topics[ix].topicId|escape}" {if $find_topic eq $topics[ix].topicId}selected="selected"{/if}> + {capture}{tr}{$topics[ix].name}{/tr}{/capture}{$smarty.capture.default|escape} + </option> + {/section} + </select> {/if} {if $find_show_languages eq 'y' and $prefs.feature_multilingual eq 'y'} - <label class="findlang"> + <span class="findlang"> <select name="lang" class="in"> <option value='' {if $find_lang eq ''}selected="selected"{/if}>{tr}any language{/tr}</option> {section name=ix loop=$languages} @@ -107,7 +103,7 @@ {/section} </select> </label> - </label> + </span> {/if} {if $find_show_date_range eq 'y'} @@ -126,16 +122,14 @@ {if ($find_show_categories eq 'y' or $find_show_categories_multi eq 'y') and $prefs.feature_categories eq 'y' and !empty($categories)} <div class="category_find"> <div id="category_singleselect_find" style="display: {if $find_show_categories_multi eq 'y' && $find_cat_categories|@count > 1}none{else}block{/if};"> - <label class="findcateg"> - <select name="categId"> - <option value='' {if $find_categId eq ''}selected="selected"{/if}>{tr}any category{/tr}</option> - {section name=ix loop=$categories} - <option value="{$categories[ix].categId|escape}" {if $find_categId eq $categories[ix].categId}selected="selected"{/if}> - {capture}{tr}{$categories[ix].categpath}{/tr}{/capture}{$smarty.capture.default|escape} - </option> - {/section} - </select> - </label> + <select name="categId" class="findcateg"> + <option value='' {if $find_categId eq ''}selected="selected"{/if}>{tr}any category{/tr}</option> + {section name=ix loop=$categories} + <option value="{$categories[ix].categId|escape}" {if $find_categId eq $categories[ix].categId}selected="selected"{/if}> + {capture}{tr}{$categories[ix].categpath}{/tr}{/capture}{$smarty.capture.default|escape} + </option> + {/section} + </select> {if $prefs.javascript_enabled eq 'y' && $find_show_categories_multi eq 'y'}<a href="#" onclick="show('category_multiselect_find');hide('category_singleselect_find');">{tr}Multiple select{/tr}</a>{/if} </div> <div id="category_multiselect_find" style="display: {if $find_show_categories_multi eq 'y' && $find_cat_categories|@count > 1}block{else}none{/if};"> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |