source: extensions/stripped_responsive/template/search.tpl @ 29910

Last change on this file since 29910 was 29910, checked in by JanisV, 10 years ago

Fixed pages

  • Property svn:executable set to *
File size: 5.5 KB
Line 
1<div class="titrePage">
2        <div class="browsePath">
3                <h2>
4                        <a href="{$U_HOME}">{'Home'|@translate}</a>
5                        {$LEVEL_SEPARATOR}{'Search'|@translate}
6                </h2>
7        </div>
8        <div class="categoryActionsContainer">
9                <ul class="categoryActions">
10                        <li><a href="{$U_HELP}" onclick="popuphelp(this.href); return false;" title="{'Help'|@translate}" class="pwg-state-default pwg-button">
11                                <span class="pwg-icon pwg-icon-help">&nbsp;</span><span class="pwg-button-text">{'Help'|@translate}</span>
12                        </a></li>
13                </ul>
14        </div>
15</div>
16<div id="content">
17    {if !$stripped_responsive.menuOnRight}
18          {if isset($MENUBAR)}{$MENUBAR}{/if}
19    {/if}
20        <div id="content_cell">
21                <div class="content_block">
22                        {include file='infos_errors.tpl'}
23                        <form class="filter" method="post" name="search" action="{$F_SEARCH_ACTION}">
24                                <fieldset>
25                                        <legend>{'Filter'|@translate}</legend>
26                                        <label>{'Search for words'|@translate}
27                                                <input type="text" style="width: 300px" name="search_allwords" size="30"  />
28                                        </label>
29                                        <ul>
30                                                <li><label>
31                                                        <input type="radio" name="mode" value="AND" checked="checked" />{'Search for all terms'|@translate}
32                                                </label></li>
33                                                <li><label>
34                                                        <input type="radio" name="mode" value="OR" />{'Search for any terms'|@translate}
35                                                </label></li>
36                                        </ul>
37                                        <label>{'Search for Author'|@translate}
38                                                <input type="text" style="width: 300px" name="search_author" size="30"  />
39                                        </label>
40                                </fieldset>
41                                {if isset($TAG_SELECTION)}
42                                        <fieldset>
43                                                <legend>{'Search tags'|@translate}</legend>
44                                                {$TAG_SELECTION}
45                                                <label><span><input type="radio" name="tag_mode" value="AND" checked="checked" /> {'All tags'|@translate}</span></label>
46                                                <label><span><input type="radio" name="tag_mode" value="OR" /> {'Any tag'|@translate}</span></label>
47                                        </fieldset>
48                                {/if}
49                                <fieldset>
50                                        <legend>{'Search by date'|@translate}</legend>
51                                        <ul>
52                                                <li><label>{'Kind of date'|@translate}</label></li>
53                                                <li><label>
54                                                        <input type="radio" name="date_type" value="date_creation" checked="checked" />{'Creation date'|@translate}
55                                                </label></li>
56                                                <li><label>
57                                                        <input type="radio" name="date_type" value="date_available" />{'Post date'|@translate}
58                                                </label></li>
59                                        </ul>
60                                        <ul>
61                                                <li><label>{'Date'|@translate}</label></li>
62                                                <li>
63                                                        <select id="start_day" name="start_day">
64                                                                <option value="0">--</option>
65                                                                {section name=day start=1 loop=32}
66                                                                        <option value="{$smarty.section.day.index}" {if $smarty.section.day.index==$START_DAY_SELECTED}selected="selected"{/if}>{$smarty.section.day.index}</option>
67                                                                {/section}
68                                                        </select>
69                                                        <select id="start_month" name="start_month">
70                                                                {html_options options=$month_list selected=$START_MONTH_SELECTED}
71                                                        </select>
72                                                        <input id="start_year" name="start_year" type="text" size="4" maxlength="4" >
73                                                        <input id="start_linked_date" name="start_linked_date" type="hidden" size="10" disabled="disabled">
74                                                </li>
75                                                <li>
76                                                        <a class="date_today" href="#" onClick="document.search.start_day.value={$smarty.now|date_format:"%d"};document.search.start_month.value={$smarty.now|date_format:"%m"};document.search.start_year.value={$smarty.now|date_format:"%Y"};return false;">{'today'|@translate}</a>
77                                                </li>
78                                        </ul>
79                                        <ul>
80                                                <li><label>{'End-Date'|@translate}</label></li>
81                                                <li>
82                                                        <select id="end_day" name="end_day">
83                                                                <option value="0">--</option>
84                                                                {section name=day start=1 loop=32}
85                                                                        <option value="{$smarty.section.day.index}" {if $smarty.section.day.index==$END_DAY_SELECTED}selected="selected"{/if}>{$smarty.section.day.index}</option>
86                                                                {/section}
87                                                        </select>
88                                                        <select id="end_month" name="end_month">
89                                                                {html_options options=$month_list selected=$END_MONTH_SELECTED}
90                                                        </select>
91                                                        <input id="end_year" name="end_year" type="text" size="4" maxlength="4" >
92                                                        <input id="end_linked_date" name="end_linked_date" type="hidden" size="10" disabled="disabled">
93                                                </li>
94                                                <li>
95                                                        <a class="date_today" href="#" onClick="document.search.end_day.value={$smarty.now|date_format:"%d"};document.search.end_month.value={$smarty.now|date_format:"%m"};document.search.end_year.value={$smarty.now|date_format:"%Y"};return false;">{'today'|@translate}</a>
96                                                </li>
97                                        </ul>
98                                </fieldset>
99                                <fieldset>
100                                        <legend>{'Search in albums'|@translate}</legend>
101                                        <label>
102                                                <select class="categoryList" name="cat[]" multiple="multiple" >
103                                                        {html_options options=$category_options selected=$category_options_selected}
104                                                </select>
105                                        </label>
106                                        <ul>
107                                                <li><label>{'Search in sub-albums'|@translate}</label></li>
108                                                <li><label>
109                                                        <input type="radio" name="subcats-included" value="1" checked="checked" />{'Yes'|@translate}
110                                                </label></li>
111                                                <li><label>
112                                                        <input type="radio" name="subcats-included" value="0" />{'No'|@translate}
113                                                </label></li>
114                                        </ul>
115                                </fieldset>
116                                <p>
117                                        <input class="submit" type="submit" name="submit" value="{'Submit'|@translate}" />
118                                        <input class="submit" type="reset" value="{'Reset'|@translate}" />
119                                </p>
120                        </form>
121                        <script type="text/javascript">
122                                <!--
123                                document.search.search_allwords.focus();
124                                //-->
125                        </script>
126                </div>
127        </div>
128    {if $stripped_responsive.menuOnRight}
129          {if isset($MENUBAR)}{$MENUBAR}{/if}
130    {/if}
131    <div style="clear: both;"></div>
132</div> <!-- content -->
Note: See TracBrowser for help on using the repository browser.