Search topics by default, instead of posts
parent
94c52e19d6
commit
0e693c0a9b
|
@ -114,6 +114,7 @@
|
|||
<form action="{U_SEARCH}" method="get" id="search">
|
||||
<fieldset>
|
||||
<input name="keywords" id="keywords" type="text" maxlength="128" title="{L_SEARCH_KEYWORDS}" class="inputbox search" value="<!-- IF SEARCH_WORDS-->{SEARCH_WORDS}<!-- ELSE -->{L_SEARCH_MINI}<!-- ENDIF -->" onclick="if(this.value=='{LA_SEARCH_MINI}')this.value='';" onblur="if(this.value=='')this.value='{LA_SEARCH_MINI}';" />
|
||||
<input name="sr" value="topics" type="hidden" />
|
||||
<input class="button2" value="{L_SEARCH}" type="submit" /><br />
|
||||
<a href="{U_SEARCH}" title="{L_SEARCH_ADV_EXPLAIN}">{L_SEARCH_ADV}</a> {S_SEARCH_HIDDEN_FIELDS}
|
||||
</fieldset>
|
||||
|
@ -173,4 +174,4 @@
|
|||
|
||||
</div>
|
||||
|
||||
<!-- ENDIF -->
|
||||
<!-- ENDIF -->
|
||||
|
|
|
@ -60,8 +60,8 @@
|
|||
<dl>
|
||||
<dt><label for="show_results1">{L_DISPLAY_RESULTS}:</label></dt>
|
||||
<dd>
|
||||
<label for="show_results1"><input type="radio" name="sr" id="show_results1" value="posts" checked="checked" /> {L_POSTS}</label>
|
||||
<label for="show_results2"><input type="radio" name="sr" id="show_results2" value="topics" /> {L_TOPICS}</label>
|
||||
<label for="show_results1"><input type="radio" name="sr" id="show_results1" value="posts" /> {L_POSTS}</label>
|
||||
<label for="show_results2"><input type="radio" name="sr" id="show_results2" value="topics" checked="checked" /> {L_TOPICS}</label>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
|
|
Loading…
Reference in New Issue