[2718] | 1 | {* Example of resizeable *} |
---|
[8076] | 2 | {* |
---|
[2718] | 3 | {include file='include/resize.inc.tpl'} |
---|
[8076] | 4 | *} |
---|
[2718] | 5 | |
---|
[10812] | 6 | {if isset($MENUBAR)}{$MENUBAR}{/if} |
---|
[12878] | 7 | <div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}"> |
---|
[859] | 8 | |
---|
[8076] | 9 | <div class="titrePage"> |
---|
| 10 | <ul class="categoryActions"> |
---|
[7975] | 11 | {combine_script id='core.scripts' load='async' path='themes/default/js/scripts.js'} |
---|
[8076] | 12 | <li><a href="{$U_HELP}" onclick="popuphelp(this.href); return false;" title="{'Help'|@translate}" class="pwg-state-default pwg-button"> |
---|
[24981] | 13 | <span class="pwg-icon pwg-icon-help"></span><span class="pwg-button-text">{'Help'|@translate}</span> |
---|
[8076] | 14 | </a></li> |
---|
| 15 | </ul> |
---|
[14240] | 16 | <h2><a href="{$U_HOME}">{'Home'|@translate}</a>{$LEVEL_SEPARATOR}{'Search'|@translate}</h2> |
---|
[8076] | 17 | </div> |
---|
[859] | 18 | |
---|
[12764] | 19 | {include file='infos_errors.tpl'} |
---|
[2223] | 20 | |
---|
| 21 | <form class="filter" method="post" name="search" action="{$F_SEARCH_ACTION}"> |
---|
[1255] | 22 | <fieldset> |
---|
[2223] | 23 | <legend>{'Filter'|@translate}</legend> |
---|
[5021] | 24 | <label>{'Search for words'|@translate} |
---|
[24981] | 25 | <input type="text" name="search_allwords" size="35"> |
---|
[1257] | 26 | </label> |
---|
[1268] | 27 | <ul> |
---|
| 28 | <li><label> |
---|
[5178] | 29 | <input type="radio" name="mode" value="AND" checked="checked">{'Search for all terms'|@translate} |
---|
[1268] | 30 | </label></li> |
---|
| 31 | <li><label> |
---|
[12693] | 32 | <input type="radio" name="mode" value="OR">{'Search for any term'|@translate} |
---|
[1268] | 33 | </label></li> |
---|
| 34 | </ul> |
---|
[5021] | 35 | <label>{'Search for Author'|@translate} |
---|
[24981] | 36 | <input type="text" name="search_author" size="35"> |
---|
[1257] | 37 | </label> |
---|
[1255] | 38 | </fieldset> |
---|
[1314] | 39 | |
---|
[2223] | 40 | {if isset($TAG_SELECTION)} |
---|
[1255] | 41 | <fieldset> |
---|
[2223] | 42 | <legend>{'Search tags'|@translate}</legend> |
---|
| 43 | {$TAG_SELECTION} |
---|
[3185] | 44 | <label><span><input type="radio" name="tag_mode" value="AND" checked="checked"> {'All tags'|@translate}</span></label> |
---|
| 45 | <label><span><input type="radio" name="tag_mode" value="OR"> {'Any tag'|@translate}</span></label> |
---|
[1255] | 46 | </fieldset> |
---|
[2223] | 47 | {/if} |
---|
[1125] | 48 | |
---|
[1255] | 49 | <fieldset> |
---|
[12693] | 50 | <legend>{'Search by date'|@translate}</legend> |
---|
[1268] | 51 | <ul> |
---|
[5021] | 52 | <li><label>{'Kind of date'|@translate}</label></li> |
---|
[1268] | 53 | <li><label> |
---|
[3185] | 54 | <input type="radio" name="date_type" value="date_creation" checked="checked">{'Creation date'|@translate} |
---|
[1268] | 55 | </label></li> |
---|
| 56 | <li><label> |
---|
[3185] | 57 | <input type="radio" name="date_type" value="date_available">{'Post date'|@translate} |
---|
[1337] | 58 | </label></li> |
---|
[1268] | 59 | </ul> |
---|
| 60 | <ul> |
---|
[5021] | 61 | <li><label>{'Date'|@translate}</label></li> |
---|
[1268] | 62 | <li> |
---|
[2690] | 63 | <select id="start_day" name="start_day"> |
---|
[2223] | 64 | <option value="0">--</option> |
---|
[2294] | 65 | {section name=day start=1 loop=32} |
---|
[2223] | 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} |
---|
[1255] | 68 | </select> |
---|
[2690] | 69 | <select id="start_month" name="start_month"> |
---|
[2223] | 70 | {html_options options=$month_list selected=$START_MONTH_SELECTED} |
---|
[1255] | 71 | </select> |
---|
[2690] | 72 | <input id="start_year" name="start_year" type="text" size="4" maxlength="4" > |
---|
[3185] | 73 | <input id="start_linked_date" name="start_linked_date" type="hidden" size="10" disabled="disabled"> |
---|
[1268] | 74 | </li> |
---|
| 75 | <li> |
---|
[2704] | 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> |
---|
[1268] | 77 | </li> |
---|
| 78 | </ul> |
---|
| 79 | <ul> |
---|
[5021] | 80 | <li><label>{'End-Date'|@translate}</label></li> |
---|
[1268] | 81 | <li> |
---|
[2690] | 82 | <select id="end_day" name="end_day"> |
---|
[2223] | 83 | <option value="0">--</option> |
---|
[2294] | 84 | {section name=day start=1 loop=32} |
---|
[2223] | 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} |
---|
[1255] | 87 | </select> |
---|
[2690] | 88 | <select id="end_month" name="end_month"> |
---|
[2223] | 89 | {html_options options=$month_list selected=$END_MONTH_SELECTED} |
---|
[1255] | 90 | </select> |
---|
[2690] | 91 | <input id="end_year" name="end_year" type="text" size="4" maxlength="4" > |
---|
[3185] | 92 | <input id="end_linked_date" name="end_linked_date" type="hidden" size="10" disabled="disabled"> |
---|
[1268] | 93 | </li> |
---|
| 94 | <li> |
---|
[2704] | 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> |
---|
[1268] | 96 | </li> |
---|
| 97 | </ul> |
---|
[1255] | 98 | </fieldset> |
---|
[1125] | 99 | |
---|
[1255] | 100 | <fieldset> |
---|
[12693] | 101 | <legend>{'Search in albums'|@translate}</legend> |
---|
| 102 | <label>{'Albums'|@translate} |
---|
[24981] | 103 | <select class="categoryList" name="cat[]" multiple="multiple" size="15"> |
---|
[2223] | 104 | {html_options options=$category_options selected=$category_options_selected} |
---|
[1255] | 105 | </select> |
---|
| 106 | </label> |
---|
[1268] | 107 | <ul> |
---|
[6951] | 108 | <li><label>{'Search in sub-albums'|@translate}</label></li> |
---|
[1268] | 109 | <li><label> |
---|
[3185] | 110 | <input type="radio" name="subcats-included" value="1" checked="checked">{'Yes'|@translate} |
---|
[1268] | 111 | </label></li> |
---|
| 112 | <li><label> |
---|
[3185] | 113 | <input type="radio" name="subcats-included" value="0">{'No'|@translate} |
---|
[1268] | 114 | </label></li> |
---|
| 115 | </ul> |
---|
[1255] | 116 | </fieldset> |
---|
| 117 | <p> |
---|
[3185] | 118 | <input class="submit" type="submit" name="submit" value="{'Submit'|@translate}"> |
---|
| 119 | <input class="submit" type="reset" value="{'Reset'|@translate}"> |
---|
[1255] | 120 | </p> |
---|
[859] | 121 | </form> |
---|
| 122 | |
---|
[1143] | 123 | <script type="text/javascript"><!-- |
---|
[1268] | 124 | document.search.search_allwords.focus(); |
---|
[1131] | 125 | //--></script> |
---|
| 126 | |
---|
[859] | 127 | </div> <!-- content --> |
---|