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