blob: 7c648ab1aedbbbb95d8300fe5a8a2785aec4a1a9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
{include file='infos_errors.tpl'}
<div data-role="content">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">{'Search'|@translate}</li>
</ul>
<form class="filter" method="post" name="search" action="{$F_SEARCH_ACTION}">
<fieldset data-role="controlgroup">
<legend>{'Filter'|@translate}</legend>
<div data-role="fieldcontain">
<label for="search_allwords">{'Search for words'|@translate}</label>
<input type="text" id="search_allwords" style="width: 300px" name="search_allwords" size="30">
</div>
<input type="radio" name="mode" id="mode_and" value="AND" checked="checked">
<label for="mode_and">{'Search for all terms'|@translate}</label>
<input type="radio" name="mode" id="mode_or" value="OR">
<label for="mode_or">{'Search for any term'|@translate}</label>
<div data-role="fieldcontain">
<label for="search_author">{'Search for Author'|@translate}</label>
<input type="text" style="width: 300px" name="search_author" id="search_author" size="30">
</div>
</fieldset>
{if isset($TAG_SELECTION)}
<fieldset data-role="controlgroup">
<legend>{'Search tags'|@translate}</legend>
{$TAG_SELECTION}
</fieldset>
<fieldset data-role="controlgroup">
<input type="radio" name="tag_mode" id="tag_mode_and" value="AND" checked="checked">
<label for="tag_mode_and">{'All tags'|@translate}</label>
<input type="radio" name="tag_mode" id="tag_mode_or" value="OR">
<label for="tag_mode_or">{'Any tag'|@translate}</label>
</fieldset>
{/if}
<div data-role="fieldcontain">
<legend>{'Search in albums'|@translate}</legend>
<label for="categoryList">{'Albums'|@translate}
<select class="categoryList" id="categoryList" name="cat[]" multiple="multiple" data-native-menu="false">
{html_options options=$category_options selected=$category_options_selected}
</select>
</label>
<fieldset data-role="controlgroup">
<legend>{'Search in sub-albums'|@translate}</legend>
<input type="radio" name="subcats-included" value="1" id="subcats-included-yes" checked="checked">
<label for="subcats-included-yes">{'Yes'|@translate}</label>
<input type="radio" name="subcats-included" id="subcats-included-no" value="0">
<label for="subcats-included-no">{'No'|@translate}</label>
</fieldset>
</div>
<p>
<input class="submit" type="submit" name="submit" value="{'Submit'|@translate}">
<input class="submit" type="reset" value="{'Reset'|@translate}">
</p>
</form>
<script type="text/javascript"><!--
document.search.search_allwords.focus();
//--></script>
</div> <!-- content -->
|