summaryrefslogtreecommitdiffstats
path: root/themes/default/templates
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2008-01-01 12:06:46 +0100
committerAndreas Unterkircher <unki@netshadow.at>2008-01-01 12:06:46 +0100
commit5bc350814a9426a89e8ab06728badad9430d4015 (patch)
treef8d053012af162c18beb14b51b4dcda86b55b0dd /themes/default/templates
parentbb3bcfbb5f2627788d4ee498ddbd3b7024a2d326 (diff)
sort-order is now set via AJAX, not while submit a search-query
Diffstat (limited to 'themes/default/templates')
-rw-r--r--themes/default/templates/search.tpl14
1 files changed, 8 insertions, 6 deletions
diff --git a/themes/default/templates/search.tpl b/themes/default/templates/search.tpl
index e12a099..cd2a93b 100644
--- a/themes/default/templates/search.tpl
+++ b/themes/default/templates/search.tpl
@@ -14,12 +14,12 @@
<input type="text" name="searchfor" value="{$searchfor}" size="15" />
</td>
<td>
- <input type="image" src="resources/doit.png" alt="Tag-Search" onclick="click(this);" />
+ <input type="image" class="submit" src="resources/doit.png" alt="start search" title="start search" onclick="click(this);" />
</td>
</tr>
<tr>
<td>Date:</td>
- <td>
+ <td style="white-space: nowrap;">
{ if ! $date_search_enabled }
<input type="checkbox" name="consider_date" value="Y" onclick="datesearch();">
{ else }
@@ -38,18 +38,20 @@
{$to_date} <a href="javascript:showCalendar('to');" onclick="click(this);"><img src="resources/date.png" id="topic" /></a>
</td>
<td>
- <input type="image" src="resources/doit.png" alt="Tag-Search" onclick="click(this);" />
+ <input type="image" class="submit" src="resources/doit.png" alt="start search" title="start search" onclick="click(this);" />
</td>
</tr>
<tr>
<td>
- Sort-Order:
+ Sort-Order:&nbsp;
</td>
<td>
- { sort_select_list }
+ <select name="sort_order" onchange="update_sort_order(this);">
+ { sort_select_list }
+ </select>
</td>
<td>
- <input type="image" src="resources/doit.png" alt="Tag-Search" onclick="click(this);" />
+ &nbsp;
</td>
</tr>
</form>