source: trunk/template/yoga/search.tpl @ 2114

Last change on this file since 2114 was 1964, checked in by rvelices, 18 years ago
  • added rel nofollow for help link in search.tpl
  • added {PLUGIN_PICTURE_ACTIONS} in picture.tpl
  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 4.6 KB
Line 
1<!-- $Id: search.tpl 1964 2007-04-20 01:41:29Z rvelices $ -->
2<div id="content">
3
4  <div class="titrePage">
5    <ul class="categoryActions">
6      <li><a href="{U_HELP}" onclick="popuphelp(this.href); return false;" title="{lang:Help}" rel="nofollow"><img src="{themeconf:icon_dir}/help.png" class="button" alt="(?)"></a></li>
7      <li><a href="{U_HOME}" title="{lang:return to homepage}" rel="home"><img src="{themeconf:icon_dir}/home.png" class="button" alt="{lang:home}"/></a></li>
8    </ul>
9    <h2>{lang:Search}</h2>
10  </div>
11
12<form class="filter" method="post" name="search" action="{S_SEARCH_ACTION}">
13<!-- BEGIN errors -->
14<div class="errors">
15  <ul>
16    <!-- BEGIN error -->
17    <li>{errors.error.ERROR}</li>
18    <!-- END error -->
19  </ul>
20</div>
21<!-- END errors -->
22<fieldset>
23  <legend>{lang:Filter}</legend>
24  <label>{lang:search_keywords}
25    <input type="text" style="width: 300px" name="search_allwords" size="30"  />
26  </label>
27  <ul>
28    <li><label>
29      <input type="radio" name="mode" value="AND" checked="checked" />{lang:search_mode_and}
30    </label></li>
31    <li><label>
32      <input type="radio" name="mode" value="OR" />{lang:search_mode_or}
33    </label></li>
34  </ul>
35  <label>{lang:search_author}
36    <input type="text" style="width: 300px" name="search_author" size="30"  />
37  </label>
38</fieldset>
39
40<!-- BEGIN tags -->
41<fieldset>
42  <legend>{lang:Search tags}</legend>
43  {TAG_SELECTION}
44  <label><span><input type="radio" name="tag_mode" value="AND" checked="checked" /> {lang:All tags}</span></label>
45  <label><span><input type="radio" name="tag_mode" value="OR" /> {lang:Any tag}</span></label>
46</fieldset>
47<!-- END tags -->
48
49<fieldset>
50  <legend>{lang:search_date}</legend>
51  <ul>
52    <li><label>{lang:search_date_type}</label></li>
53    <li><label>
54      <input type="radio" name="date_type" value="date_creation" checked="checked" />{lang:Creation date}
55    </label></li>
56    <li><label>
57      <input type="radio" name="date_type" value="date_available" />{lang:Post date}
58    </label></li>
59  </ul>
60  <ul>
61    <li><label>{lang:search_date_from}</label></li>
62    <li>
63      <select name="start_day">
64        <!-- BEGIN start_day -->
65        <option {start_day.SELECTED} value="{start_day.VALUE}">{start_day.OPTION}</option>
66        <!-- END start_day -->
67      </select>
68      <select name="start_month">
69        <!-- BEGIN start_month -->
70        <option {start_month.SELECTED} value="{start_month.VALUE}">{start_month.OPTION}</option>
71        <!-- END start_month -->
72      </select>
73      <input name="start_year" type="text" size="4" maxlength="4" >
74    </li>
75    <li>
76      <a href="#" onClick="document.search.start_day.value={TODAY_DAY};document.search.start_month.value={TODAY_MONTH};document.search.start_year.value={TODAY_YEAR};return false;">{lang:today}</a>
77    </li>
78  </ul>
79  <ul>
80    <li><label>{lang:search_date_to}</label></li>
81    <li>
82      <select name="end_day">
83        <!-- BEGIN end_day -->
84        <option {end_day.SELECTED} value="{end_day.VALUE}">{end_day.OPTION}</option>
85        <!-- END end_day -->
86      </select>
87      <select name="end_month">
88        <!-- BEGIN end_month -->
89        <option {end_month.SELECTED} value="{end_month.VALUE}">{end_month.OPTION}</option>
90        <!-- END end_month -->
91      </select>
92      <input name="end_year" type="text" size="4" maxlength="4" >
93    </li>
94    <li>
95      <a href="#" onClick="document.search.end_day.value={TODAY_DAY};document.search.end_month.value={TODAY_MONTH};document.search.end_year.value={TODAY_YEAR};return false;">{lang:today}</a>
96    </li>
97  </ul>
98</fieldset>
99
100<fieldset>
101  <legend>{lang:search_options}</legend>
102  <label>{lang:search_categories}
103    <select class="categoryList" name="cat[]" multiple="multiple" >
104      <!-- BEGIN category_option -->
105      <option value="{category_option.VALUE}">{category_option.OPTION}</option>
106      <!-- END category_option -->
107    </select>
108  </label>
109  <ul>
110    <li><label>{lang:search_subcats_included}</label></li>
111    <li><label>
112      <input type="radio" name="subcats-included" value="1" checked="checked" />{lang:yes}
113    </label></li>
114    <li><label>
115      <input type="radio" name="subcats-included" value="0" />{lang:no}
116    </label></li>
117  </ul>
118  <ul>
119    <li><label>{lang:search_sort}</label></li>
120    <li><label>
121      <input type="radio" name="sd" value="AND" />{lang:search_ascending}
122    </label></li>
123    <li><label>
124      <input type="radio" name="sd" value="d" checked="checked" />{lang:search_descending}
125    </label></li>
126  </ul>
127</fieldset>
128<p>
129  <input class="submit" type="submit" name="submit" value="{lang:submit}" />
130  <input class="submit" type="reset" value="{lang:reset}" />
131</p>
132</form>
133
134<script type="text/javascript"><!--
135document.search.search_allwords.focus();
136//--></script>
137
138</div> <!-- content -->
Note: See TracBrowser for help on using the repository browser.