summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/search.tpl41
1 files changed, 30 insertions, 11 deletions
diff --git a/templates/search.tpl b/templates/search.tpl
index 51c1877..f0f8c0d 100644
--- a/templates/search.tpl
+++ b/templates/search.tpl
@@ -6,17 +6,36 @@
</tr>
<tr>
<td class="searchfor">
- <form action="" onsubmit="startTagSearch(document.getElementsByName('searchfor')[0].value); return false;">
- Tag: <input type="text" name="searchfor" value="{$searchfor}" size="15" />
- <input type="image" src="resources/doit.png" alt="Tag-Search" />
- </form>
- <form action="" onsubmit="startDateSearch(); return false;">
- Date:<br />
- {$from_date} <a href="javascript:showCalendar('from');"><img src="resources/date.png" id="frompic"/></a><br />
- {$to_date} <a href="javascript:showCalendar('to');"><img src="resources/date.png" id="topic" /></a><br />
- <input type="image" src="resources/doit.png" alt="Tag-Search" />
- <div id='calendar'></div>
- </form>
+ <table>
+ <form action="" onsubmit="startTagSearch(document.getElementsByName('searchfor')[0].value); return false;">
+ <tr>
+ <td>Tag:</td>
+ <td>
+ <input type="text" name="searchfor" value="{$searchfor}" size="15" />
+ </td>
+ <td>
+ <input type="image" src="resources/doit.png" alt="Tag-Search" />
+ </td>
+ </tr>
+ </form>
+ <form action="" onsubmit="startDateSearch(); return false;">
+ <tr>
+ <td>Date:</td>
+ <td>{$from_date} <a href="javascript:showCalendar('from');"><img src="resources/date.png" id="frompic"/></a></td>
+ <td>&nbsp;</td>
+ </tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td>
+ {$to_date} <a href="javascript:showCalendar('to');"><img src="resources/date.png" id="topic" /></a>
+ </td>
+ <td>
+ <input type="image" src="resources/doit.png" alt="Tag-Search" />
+ </td>
+ </tr>
+ </form>
+ </table>
+ <div id='calendar'></div>
</td>
</tr>
</table>