fix conflicts in single_photo.tpl
[phpfspot.git] / themes / default / templates / search.tpl
1 <span style="vertical-align: middle; text-decoration: underline;">
2  <img src="{$web_path}/resources/loupe.png" alt="loupe" />Search:
3 </span>
4 <form action="" onsubmit="startSearch(); return false;">
5 <div class="searchfor">
6 <table>
7  <tr>
8   <td>Tag:</td>
9   <td>
10    { if $use_autocomplete }
11    <input type="text" name="searchfor_tag" id="searchfor_tag" value="{$searchfor_tag}" size="15" acdropdown="true" autocomplete_list="url:rpc.php?action=getxmltaglist&amp;search=[S]&amp;length=10" />
12    { literal }
13    <script type="text/javascript">
14       var options = {
15          script: "rpc.php?action=getxmltaglist&",
16          varname: "search",
17          json: false,
18          maxresults: 15
19       };
20       var as = new bsn.AutoSuggest('searchfor_tag', options);
21    </script>
22    { /literal }
23    { else }
24    <input type="text" name="searchfor_tag" value="{$searchfor_tag}" size="15" />
25    { /if }
26   </td>
27   <td>
28    <input type="image" class="submit" src="{$web_path}/resources/doit.png" alt="start search" title="start search" onclick="click(this);" />
29   </td>
30  </tr>
31  <tr>
32   <td>Name:</td>
33   <td>
34    <input type="text" name="searchfor_name" value="{$searchfor_name}" size="15" />
35   </td>
36   <td>
37    <input type="image" class="submit" src="{$web_path}/resources/doit.png" alt="start search" title="start search" onclick="click(this);" />
38   </td>
39  </tr>
40  <tr>
41   <td>Date:</td>
42   <td style="white-space: nowrap;">
43    { if ! $date_search_enabled }
44     <input type="checkbox" class="checkbox" name="consider_date" value="Y" onclick="datesearch();">
45    { else }
46     <input type="checkbox" class="checkbox" name="consider_date" value="Y" onclick="datesearch();" checked="checked">
47    { /if }
48    consider date-range
49   </td>
50   <td>&nbsp;</td>
51  </tr>
52  <tr>
53   <td>&nbsp;</td>
54   <td>{$from_date} <a href="javascript:showCalendar('from');" onclick="click(this);"><img src="{$web_path}/resources/date.png" id="frompic"/></a></td>
55  </tr>
56  <tr>
57   <td>&nbsp;</td>
58   <td>
59    {$to_date} <a href="javascript:showCalendar('to');" onclick="click(this);"><img src="{$web_path}/resources/date.png" id="topic" /></a>
60   </td>
61   <td>
62    <input type="image" class="submit" src="{$web_path}/resources/doit.png" alt="start search" title="start search" onclick="click(this);" />
63   </td>
64  </tr>
65  <tr>
66   <td>
67    Sort-Order:&nbsp;
68   </td>
69   <td>
70    <select name="sort_order" onchange="update_sort_order(this);">
71     { sort_select_list }
72    </select>
73   </td>
74   <td>
75    &nbsp;
76   </td>
77  </tr>
78 </table>
79 </div>
80 </form>
81 <div id='calendar'></div>