1 | <!-- tags --> |
---|
2 | <div id="filter_tags"> |
---|
3 | <li id="filter_iiii" class="filter_tags"> |
---|
4 | <span class="filter-title"> |
---|
5 | <a href="#" class="removeFilter" title="{'remove this filter'|translate}"><span>[x]</span></a> |
---|
6 | <input type="hidden" name="filters[iiii][type]" value="tags"/> |
---|
7 | {$options.tags.name} |
---|
8 | </span> |
---|
9 | |
---|
10 | <span class="filter-cond"> |
---|
11 | <select name="filters[iiii][cond]"> |
---|
12 | {html_options options=$options.tags.options} |
---|
13 | </select> |
---|
14 | </span> |
---|
15 | |
---|
16 | <span class="filter-value"> |
---|
17 | <select name="filters[iiii][value]" class="tagSelect"> |
---|
18 | </select> |
---|
19 | </span> |
---|
20 | </li> |
---|
21 | </div> |
---|
22 | |
---|
23 | <!-- date --> |
---|
24 | <div id="filter_date"> |
---|
25 | <li id="filter_iiii" class="filter_date"> |
---|
26 | <span class="filter-title"> |
---|
27 | <a href="#" class="removeFilter" title="{'remove this filter'|translate}"><span>[x]</span></a> |
---|
28 | <input type="hidden" name="filters[iiii][type]" value="date"/> |
---|
29 | {$options.date.name} |
---|
30 | </span> |
---|
31 | |
---|
32 | <span class="filter-cond"> |
---|
33 | <select name="filters[iiii][cond]"> |
---|
34 | {html_options options=$options.date.options} |
---|
35 | </select> |
---|
36 | </span> |
---|
37 | |
---|
38 | <span class="filter-value"> |
---|
39 | <input type="text" name="filters[iiii][value]" size="30"/> |
---|
40 | </span> |
---|
41 | </li> |
---|
42 | </div> |
---|
43 | |
---|
44 | <!-- name --> |
---|
45 | <div id="filter_name"> |
---|
46 | <li id="filter_iiii" class="filter_name"> |
---|
47 | <span class="filter-title"> |
---|
48 | <a href="#" class="removeFilter" title="{'remove this filter'|translate}"><span>[x]</span></a> |
---|
49 | <input type="hidden" name="filters[iiii][type]" value="name"/> |
---|
50 | {$options.name.name} |
---|
51 | </span> |
---|
52 | |
---|
53 | <span class="filter-cond"> |
---|
54 | <select name="filters[iiii][cond]"> |
---|
55 | {html_options options=$options.name.options} |
---|
56 | </select> |
---|
57 | </span> |
---|
58 | |
---|
59 | <span class="filter-value"> |
---|
60 | <input type="text" name="filters[iiii][value]" size="30"/> |
---|
61 | </span> |
---|
62 | </li> |
---|
63 | </div> |
---|
64 | |
---|
65 | <!-- album --> |
---|
66 | <div id="filter_album"> |
---|
67 | <li id="filter_iiii" class="filter_album"> |
---|
68 | <span class="filter-title"> |
---|
69 | <a href="#" class="removeFilter" title="{'remove this filter'|translate}"><span>[x]</span></a> |
---|
70 | <input type="hidden" name="filters[iiii][type]" value="album"/> |
---|
71 | {$options.album.name} |
---|
72 | </span> |
---|
73 | |
---|
74 | <span class="filter-cond"> |
---|
75 | <select name="filters[iiii][cond]"> |
---|
76 | {html_options options=$options.album.options} |
---|
77 | </select> |
---|
78 | </span> |
---|
79 | |
---|
80 | <span class="filter-value"> |
---|
81 | <select name="filters[iiii][value][]" class="albumSelect" multiple="multiple" data-placeholder="{'Select albums...'|translate}"> |
---|
82 | {html_options options=$all_albums} |
---|
83 | </select> |
---|
84 | |
---|
85 | <label><input type="checkbox" name="filters[iiii][recursive]"> {'include child albums'|translate}</label> |
---|
86 | </span> |
---|
87 | </li> |
---|
88 | </div> |
---|
89 | |
---|
90 | <!-- dimensions --> |
---|
91 | <div id="filter_dimensions"> |
---|
92 | <li id="filter_iiii" class="filter_dimensions"> |
---|
93 | <span class="filter-title"> |
---|
94 | <a href="#" class="removeFilter" title="{'remove this filter'|translate}"><span>[x]</span></a> |
---|
95 | <input type="hidden" name="filters[iiii][type]" value="dimensions"/> |
---|
96 | {$options.dimensions.name} |
---|
97 | </span> |
---|
98 | |
---|
99 | <span class="filter-cond"> |
---|
100 | <select name="filters[iiii][cond]"> |
---|
101 | {html_options options=$options.dimensions.options} |
---|
102 | </select> |
---|
103 | </span> |
---|
104 | |
---|
105 | <span class="filter-value"> |
---|
106 | <span class="dimension_width"> |
---|
107 | <span class="filter_dimension_info"></span> |
---|
108 | | <a class="dimensions-choice" data-type="width" data-min="{$dimensions.bounds.min_width}" data-max="{$dimensions.bounds.max_width}">{'Reset'|translate}</a> |
---|
109 | <div class="filter_dimension_width_slider"></div> |
---|
110 | </span> |
---|
111 | |
---|
112 | <span class="dimension_height"> |
---|
113 | <span class="filter_dimension_info"></span> |
---|
114 | | <a class="dimensions-choice" data-type="height" data-min="{$dimensions.bounds.min_height}" data-max="{$dimensions.bounds.max_height}">{'Reset'|translate}</a> |
---|
115 | <div class="filter_dimension_height_slider"></div> |
---|
116 | </span> |
---|
117 | |
---|
118 | <span class="dimension_ratio"> |
---|
119 | <span class="filter_dimension_info"></span> |
---|
120 | {if isset($dimensions.ratio_portrait)} |
---|
121 | | <a class="dimensions-choice" data-type="ratio" data-min="{$dimensions.ratio_portrait.min}" data-max="{$dimensions.ratio_portrait.max}">{'Portrait'|translate}</a> |
---|
122 | {/if} |
---|
123 | {if isset($dimensions.ratio_square)} |
---|
124 | | <a class="dimensions-choice" data-type="ratio" data-min="{$dimensions.ratio_square.min}" data-max="{$dimensions.ratio_square.max}">{'square'|translate}</a> |
---|
125 | {/if} |
---|
126 | {if isset($dimensions.ratio_landscape)} |
---|
127 | | <a class="dimensions-choice" data-type="ratio" data-min="{$dimensions.ratio_landscape.min}" data-max="{$dimensions.ratio_landscape.max}">{'Landscape'|translate}</a> |
---|
128 | {/if} |
---|
129 | {if isset($dimensions.ratio_panorama)} |
---|
130 | | <a class="dimensions-choice" data-type="ratio" data-min="{$dimensions.ratio_panorama.min}" data-max="{$dimensions.ratio_panorama.max}">{'Panorama'|translate}</a> |
---|
131 | {/if} |
---|
132 | | <a class="dimensions-choice" data-type="ratio" data-min="{$dimensions.bounds.min_ratio}" data-max="{$dimensions.bounds.max_ratio}">{'Reset'|translate}</a> |
---|
133 | <div class="filter_dimension_ratio_slider"></div> |
---|
134 | </span> |
---|
135 | </span> |
---|
136 | |
---|
137 | <input type="hidden" name="filters[iiii][value][min]" value=""> |
---|
138 | <input type="hidden" name="filters[iiii][value][max]" value=""> |
---|
139 | </li> |
---|
140 | </div> |
---|
141 | |
---|
142 | <!-- author --> |
---|
143 | <div id="filter_author"> |
---|
144 | <li id="filter_iiii" class="filter_author"> |
---|
145 | <span class="filter-title"> |
---|
146 | <a href="#" class="removeFilter" title="{'remove this filter'|translate}"><span>[x]</span></a> |
---|
147 | <input type="hidden" name="filters[iiii][type]" value="author"/> |
---|
148 | {$options.author.name} |
---|
149 | </span> |
---|
150 | |
---|
151 | <span class="filter-cond"> |
---|
152 | <select name="filters[iiii][cond]"> |
---|
153 | {html_options options=$options.author.options} |
---|
154 | </select> |
---|
155 | </span> |
---|
156 | |
---|
157 | <span class="filter-value"> |
---|
158 | <input type="text" name="filters[iiii][value]" size="30"/> |
---|
159 | <br><i>{'For "Is (not) in", separate each author by a comma'|translate}</i> |
---|
160 | </span> |
---|
161 | </li> |
---|
162 | </div> |
---|
163 | |
---|
164 | <!-- hit --> |
---|
165 | <div id="filter_hit"> |
---|
166 | <li id="filter_iiii" class="filter_hit"> |
---|
167 | <span class="filter-title"> |
---|
168 | <a href="#" class="removeFilter" title="{'remove this filter'|translate}"><span>[x]</span></a> |
---|
169 | <input type="hidden" name="filters[iiii][type]" value="hit"/> |
---|
170 | {$options.hit.name} |
---|
171 | </span> |
---|
172 | |
---|
173 | <span class="filter-cond"> |
---|
174 | <select name="filters[iiii][cond]"> |
---|
175 | {html_options options=$options.hit.options} |
---|
176 | </select> |
---|
177 | </span> |
---|
178 | |
---|
179 | <span class="filter-value"> |
---|
180 | <input type="number" name="filters[iiii][value]" size="5"/> |
---|
181 | </span> |
---|
182 | </li> |
---|
183 | </div> |
---|
184 | |
---|
185 | <!-- rating_score --> |
---|
186 | <div id="filter_rating_score"> |
---|
187 | <li id="filter_iiii" class="filter_rating_score"> |
---|
188 | <span class="filter-title"> |
---|
189 | <a href="#" class="removeFilter" title="{'remove this filter'|translate}"><span>[x]</span></a> |
---|
190 | <input type="hidden" name="filters[iiii][type]" value="rating_score"/> |
---|
191 | {$options.rating_score.name} |
---|
192 | </span> |
---|
193 | |
---|
194 | <span class="filter-cond"> |
---|
195 | <select name="filters[iiii][cond]"> |
---|
196 | {html_options options=$options.rating_score.options} |
---|
197 | </select> |
---|
198 | </span> |
---|
199 | |
---|
200 | <span class="filter-value"> |
---|
201 | <input type="number" name="filters[iiii][value]" size="5"/> |
---|
202 | </span> |
---|
203 | </li> |
---|
204 | </div> |
---|
205 | |
---|
206 | <!-- level --> |
---|
207 | <div id="filter_level"> |
---|
208 | <li id="filter_iiii" class="filter_level"> |
---|
209 | <span class="filter-title"> |
---|
210 | <a href="#" class="removeFilter" title="{'remove this filter'|translate}"><span>[x]</span></a> |
---|
211 | <input type="hidden" name="filters[iiii][type]" value="level"/> |
---|
212 | {$options.level.name} |
---|
213 | </span> |
---|
214 | |
---|
215 | <input type="hidden" name="filters[iiii][cond]" value="level"/> |
---|
216 | |
---|
217 | <span class="filter-value"> |
---|
218 | <select name="filters[iiii][value]"> |
---|
219 | {html_options options=$level_options} |
---|
220 | </select> |
---|
221 | </span> |
---|
222 | </li> |
---|
223 | </div> |
---|
224 | |
---|
225 | <!-- limit --> |
---|
226 | <div id="filter_limit"> |
---|
227 | <li id="filter_iiii" class="filter_limit"> |
---|
228 | <span class="filter-title"> |
---|
229 | <a href="#" class="removeFilter" title="{'remove this filter'|translate}"><span>[x]</span></a> |
---|
230 | <input type="hidden" name="filters[iiii][type]" value="limit"/> |
---|
231 | {$options.limit.name} |
---|
232 | </span> |
---|
233 | |
---|
234 | <input type="hidden" name="filters[iiii][cond]" value="limit"/> |
---|
235 | |
---|
236 | <span class="filter-value" style="width:200px;"> |
---|
237 | <input type="number" name="filters[iiii][value]" size="5"/> |
---|
238 | </span> |
---|
239 | |
---|
240 | <span class="filter-cond" style="width:auto;"> |
---|
241 | <b>{'Sort order'|translate}</b> |
---|
242 | <select name="filters[iiii][cond]"> |
---|
243 | {html_options options=$options.limit.options} |
---|
244 | </select> |
---|
245 | <br><i>{'The sort order is only used in addition to the limit filter, it does not impact the final display order'|translate}</i> |
---|
246 | </span> |
---|
247 | </li> |
---|
248 | </div> |
---|