2008-10-11 20:18:49 +00:00
|
|
|
{* Example of resizeable *}
|
2010-12-11 13:42:19 +00:00
|
|
|
{*
|
2008-10-11 20:18:49 +00:00
|
|
|
{include file='include/resize.inc.tpl'}
|
2010-12-11 13:42:19 +00:00
|
|
|
*}
|
2008-10-11 20:18:49 +00:00
|
|
|
|
|
|
|
{* Example of datepicker *}
|
2010-12-11 13:42:19 +00:00
|
|
|
{*
|
2008-10-10 21:41:07 +00:00
|
|
|
{include file='include/datepicker.inc.tpl'}
|
|
|
|
|
2010-12-02 19:46:30 +00:00
|
|
|
{footer_script}{literal}
|
2008-10-10 21:41:07 +00:00
|
|
|
pwg_initialization_datepicker("#start_day", "#start_month", "#start_year", "#start_linked_date", null, null, "#end_linked_date");
|
|
|
|
pwg_initialization_datepicker("#end_day", "#end_month", "#end_year", "#end_linked_date", null, "#start_linked_date", null);
|
|
|
|
jQuery().ready(function(){ $(".date_today").hide(); });
|
2010-12-02 19:46:30 +00:00
|
|
|
{/literal}{/footer_script}
|
2010-12-11 13:42:19 +00:00
|
|
|
*}
|
2008-10-10 21:41:07 +00:00
|
|
|
|
2008-05-20 00:27:26 +00:00
|
|
|
<div id="content" class="content">
|
- new : HTML BODY identifier to let CSS stylesheets manage specific
behaviour.
- deletion : admin/search useless
- improvement : in admin/user_list, special behaviour for true/false fields
(expand, show_comments)
- new : gallery_title and gallery_description are displayed at the top of
each page.
- improvement : simplification in HTML for categories menu.
- improvement : standardization of presentation in all public pages
(identification, registration, search, profile, notification, comments,
etc.)
(not in ChangeLog, below this line)
- add forgotten notification.php (should have been added in a previous
commit)
- [template cclear] deletion of useless class .bouton
- [template cclear] for test purpose, new presentation of register page
(using FORM.filter)
- [template cclear] adaptation of admin/group_list from template default
- [template cclear] deletion of obsolete admin/infos_images
- [template cclear] deletion of obsolete admin/search_username
- [template cclear] new icon register.png
git-svn-id: http://piwigo.org/svn/trunk@850 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-08-25 22:43:47 +00:00
|
|
|
|
2010-12-11 13:42:19 +00:00
|
|
|
<div class="titrePage">
|
|
|
|
<ul class="categoryActions">
|
2010-12-02 19:46:30 +00:00
|
|
|
{combine_script id='core.scripts' load='async' path='themes/default/js/scripts.js'}
|
2010-12-11 13:42:19 +00:00
|
|
|
<li><a href="{$U_HELP}" onclick="popuphelp(this.href); return false;" title="{'Help'|@translate}" class="pwg-state-default pwg-button">
|
|
|
|
<span class="pwg-icon pwg-icon-help"> </span><span class="pwg-button-text">{'Help'|@translate}</span>
|
|
|
|
</a></li>
|
|
|
|
<li><a href="{$U_HOME}" title="{'Home'|@translate}" class="pwg-state-default pwg-button">
|
|
|
|
<span class="pwg-icon pwg-icon-home"> </span><span class="pwg-button-text">{'Home'|@translate}</span>
|
|
|
|
</a></li>
|
|
|
|
</ul>
|
|
|
|
<h2>{'Search'|@translate}</h2>
|
|
|
|
</div>
|
- new : HTML BODY identifier to let CSS stylesheets manage specific
behaviour.
- deletion : admin/search useless
- improvement : in admin/user_list, special behaviour for true/false fields
(expand, show_comments)
- new : gallery_title and gallery_description are displayed at the top of
each page.
- improvement : simplification in HTML for categories menu.
- improvement : standardization of presentation in all public pages
(identification, registration, search, profile, notification, comments,
etc.)
(not in ChangeLog, below this line)
- add forgotten notification.php (should have been added in a previous
commit)
- [template cclear] deletion of useless class .bouton
- [template cclear] for test purpose, new presentation of register page
(using FORM.filter)
- [template cclear] adaptation of admin/group_list from template default
- [template cclear] deletion of obsolete admin/infos_images
- [template cclear] deletion of obsolete admin/search_username
- [template cclear] new icon register.png
git-svn-id: http://piwigo.org/svn/trunk@850 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-08-25 22:43:47 +00:00
|
|
|
|
2008-02-28 02:41:48 +00:00
|
|
|
{if isset($errors) }
|
2005-08-18 07:04:05 +00:00
|
|
|
<div class="errors">
|
|
|
|
<ul>
|
2008-02-28 02:41:48 +00:00
|
|
|
{foreach from=$errors item=error}
|
|
|
|
<li>{$error}</li>
|
|
|
|
{/foreach}
|
2005-08-18 07:04:05 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
2008-02-28 02:41:48 +00:00
|
|
|
{/if}
|
|
|
|
|
|
|
|
<form class="filter" method="post" name="search" action="{$F_SEARCH_ACTION}">
|
2006-04-22 14:06:25 +00:00
|
|
|
<fieldset>
|
2008-02-28 02:41:48 +00:00
|
|
|
<legend>{'Filter'|@translate}</legend>
|
2010-03-02 14:54:22 +00:00
|
|
|
<label>{'Search for words'|@translate}
|
2009-03-09 19:41:45 +00:00
|
|
|
<input type="text" style="width: 300px" name="search_allwords" size="30">
|
2006-04-22 14:27:36 +00:00
|
|
|
</label>
|
2006-04-25 19:25:43 +00:00
|
|
|
<ul>
|
|
|
|
<li><label>
|
2010-03-18 19:21:17 +00:00
|
|
|
<input type="radio" name="mode" value="AND" checked="checked">{'Search for all terms'|@translate}
|
2006-04-25 19:25:43 +00:00
|
|
|
</label></li>
|
|
|
|
<li><label>
|
2010-03-02 14:54:22 +00:00
|
|
|
<input type="radio" name="mode" value="OR">{'Search for any terms'|@translate}
|
2006-04-25 19:25:43 +00:00
|
|
|
</label></li>
|
|
|
|
</ul>
|
2010-03-02 14:54:22 +00:00
|
|
|
<label>{'Search for Author'|@translate}
|
2009-03-09 19:41:45 +00:00
|
|
|
<input type="text" style="width: 300px" name="search_author" size="30">
|
2006-04-22 14:27:36 +00:00
|
|
|
</label>
|
2006-04-22 14:06:25 +00:00
|
|
|
</fieldset>
|
2006-05-15 22:21:08 +00:00
|
|
|
|
2008-02-28 02:41:48 +00:00
|
|
|
{if isset($TAG_SELECTION)}
|
2006-04-22 14:06:25 +00:00
|
|
|
<fieldset>
|
2008-02-28 02:41:48 +00:00
|
|
|
<legend>{'Search tags'|@translate}</legend>
|
|
|
|
{$TAG_SELECTION}
|
2009-03-09 19:41:45 +00:00
|
|
|
<label><span><input type="radio" name="tag_mode" value="AND" checked="checked"> {'All tags'|@translate}</span></label>
|
|
|
|
<label><span><input type="radio" name="tag_mode" value="OR"> {'Any tag'|@translate}</span></label>
|
2006-04-22 14:06:25 +00:00
|
|
|
</fieldset>
|
2008-02-28 02:41:48 +00:00
|
|
|
{/if}
|
2006-04-05 02:01:36 +00:00
|
|
|
|
2006-04-22 14:06:25 +00:00
|
|
|
<fieldset>
|
2010-03-02 14:54:22 +00:00
|
|
|
<legend>{'Search by Date'|@translate}</legend>
|
2006-04-25 19:25:43 +00:00
|
|
|
<ul>
|
2010-03-02 14:54:22 +00:00
|
|
|
<li><label>{'Kind of date'|@translate}</label></li>
|
2006-04-25 19:25:43 +00:00
|
|
|
<li><label>
|
2009-03-09 19:41:45 +00:00
|
|
|
<input type="radio" name="date_type" value="date_creation" checked="checked">{'Creation date'|@translate}
|
2006-04-25 19:25:43 +00:00
|
|
|
</label></li>
|
|
|
|
<li><label>
|
2009-03-09 19:41:45 +00:00
|
|
|
<input type="radio" name="date_type" value="date_available">{'Post date'|@translate}
|
2006-06-03 16:29:30 +00:00
|
|
|
</label></li>
|
2006-04-25 19:25:43 +00:00
|
|
|
</ul>
|
|
|
|
<ul>
|
2010-03-02 14:54:22 +00:00
|
|
|
<li><label>{'Date'|@translate}</label></li>
|
2006-04-25 19:25:43 +00:00
|
|
|
<li>
|
2008-10-08 19:54:57 +00:00
|
|
|
<select id="start_day" name="start_day">
|
2008-02-28 02:41:48 +00:00
|
|
|
<option value="0">--</option>
|
2008-03-31 05:42:14 +00:00
|
|
|
{section name=day start=1 loop=32}
|
2008-02-28 02:41:48 +00:00
|
|
|
<option value="{$smarty.section.day.index}" {if $smarty.section.day.index==$START_DAY_SELECTED}selected="selected"{/if}>{$smarty.section.day.index}</option>
|
|
|
|
{/section}
|
2006-04-22 14:06:25 +00:00
|
|
|
</select>
|
2008-10-08 19:54:57 +00:00
|
|
|
<select id="start_month" name="start_month">
|
2008-02-28 02:41:48 +00:00
|
|
|
{html_options options=$month_list selected=$START_MONTH_SELECTED}
|
2006-04-22 14:06:25 +00:00
|
|
|
</select>
|
2008-10-08 19:54:57 +00:00
|
|
|
<input id="start_year" name="start_year" type="text" size="4" maxlength="4" >
|
2009-03-09 19:41:45 +00:00
|
|
|
<input id="start_linked_date" name="start_linked_date" type="hidden" size="10" disabled="disabled">
|
2006-04-25 19:25:43 +00:00
|
|
|
</li>
|
|
|
|
<li>
|
2008-10-10 21:41:07 +00:00
|
|
|
<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>
|
2006-04-25 19:25:43 +00:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<ul>
|
2010-03-02 14:54:22 +00:00
|
|
|
<li><label>{'End-Date'|@translate}</label></li>
|
2006-04-25 19:25:43 +00:00
|
|
|
<li>
|
2008-10-08 19:54:57 +00:00
|
|
|
<select id="end_day" name="end_day">
|
2008-02-28 02:41:48 +00:00
|
|
|
<option value="0">--</option>
|
2008-03-31 05:42:14 +00:00
|
|
|
{section name=day start=1 loop=32}
|
2008-02-28 02:41:48 +00:00
|
|
|
<option value="{$smarty.section.day.index}" {if $smarty.section.day.index==$END_DAY_SELECTED}selected="selected"{/if}>{$smarty.section.day.index}</option>
|
|
|
|
{/section}
|
2006-04-22 14:06:25 +00:00
|
|
|
</select>
|
2008-10-08 19:54:57 +00:00
|
|
|
<select id="end_month" name="end_month">
|
2008-02-28 02:41:48 +00:00
|
|
|
{html_options options=$month_list selected=$END_MONTH_SELECTED}
|
2006-04-22 14:06:25 +00:00
|
|
|
</select>
|
2008-10-08 19:54:57 +00:00
|
|
|
<input id="end_year" name="end_year" type="text" size="4" maxlength="4" >
|
2009-03-09 19:41:45 +00:00
|
|
|
<input id="end_linked_date" name="end_linked_date" type="hidden" size="10" disabled="disabled">
|
2006-04-25 19:25:43 +00:00
|
|
|
</li>
|
|
|
|
<li>
|
2008-10-10 21:41:07 +00:00
|
|
|
<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>
|
2006-04-25 19:25:43 +00:00
|
|
|
</li>
|
|
|
|
</ul>
|
2006-04-22 14:06:25 +00:00
|
|
|
</fieldset>
|
2006-04-05 02:01:36 +00:00
|
|
|
|
2006-04-22 14:06:25 +00:00
|
|
|
<fieldset>
|
2010-03-02 14:54:22 +00:00
|
|
|
<legend>{'Search Options'|@translate}</legend>
|
2010-09-16 19:03:56 +00:00
|
|
|
<label>{'Search in albums'|@translate}
|
2006-07-22 09:21:40 +00:00
|
|
|
<select class="categoryList" name="cat[]" multiple="multiple" >
|
2008-02-28 02:41:48 +00:00
|
|
|
{html_options options=$category_options selected=$category_options_selected}
|
2006-04-22 14:06:25 +00:00
|
|
|
</select>
|
|
|
|
</label>
|
2006-04-25 19:25:43 +00:00
|
|
|
<ul>
|
2010-09-16 19:03:56 +00:00
|
|
|
<li><label>{'Search in sub-albums'|@translate}</label></li>
|
2006-04-25 19:25:43 +00:00
|
|
|
<li><label>
|
2009-03-09 19:41:45 +00:00
|
|
|
<input type="radio" name="subcats-included" value="1" checked="checked">{'Yes'|@translate}
|
2006-04-25 19:25:43 +00:00
|
|
|
</label></li>
|
|
|
|
<li><label>
|
2009-03-09 19:41:45 +00:00
|
|
|
<input type="radio" name="subcats-included" value="0">{'No'|@translate}
|
2006-04-25 19:25:43 +00:00
|
|
|
</label></li>
|
|
|
|
</ul>
|
2006-04-22 14:06:25 +00:00
|
|
|
</fieldset>
|
|
|
|
<p>
|
2009-03-09 19:41:45 +00:00
|
|
|
<input class="submit" type="submit" name="submit" value="{'Submit'|@translate}">
|
|
|
|
<input class="submit" type="reset" value="{'Reset'|@translate}">
|
2006-04-22 14:06:25 +00:00
|
|
|
</p>
|
2005-08-18 07:04:05 +00:00
|
|
|
</form>
|
- new : HTML BODY identifier to let CSS stylesheets manage specific
behaviour.
- deletion : admin/search useless
- improvement : in admin/user_list, special behaviour for true/false fields
(expand, show_comments)
- new : gallery_title and gallery_description are displayed at the top of
each page.
- improvement : simplification in HTML for categories menu.
- improvement : standardization of presentation in all public pages
(identification, registration, search, profile, notification, comments,
etc.)
(not in ChangeLog, below this line)
- add forgotten notification.php (should have been added in a previous
commit)
- [template cclear] deletion of useless class .bouton
- [template cclear] for test purpose, new presentation of register page
(using FORM.filter)
- [template cclear] adaptation of admin/group_list from template default
- [template cclear] deletion of obsolete admin/infos_images
- [template cclear] deletion of obsolete admin/search_username
- [template cclear] new icon register.png
git-svn-id: http://piwigo.org/svn/trunk@850 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-08-25 22:43:47 +00:00
|
|
|
|
2006-04-09 14:50:14 +00:00
|
|
|
<script type="text/javascript"><!--
|
2006-04-25 19:25:43 +00:00
|
|
|
document.search.search_allwords.focus();
|
2006-04-06 02:23:54 +00:00
|
|
|
//--></script>
|
|
|
|
|
- new : HTML BODY identifier to let CSS stylesheets manage specific
behaviour.
- deletion : admin/search useless
- improvement : in admin/user_list, special behaviour for true/false fields
(expand, show_comments)
- new : gallery_title and gallery_description are displayed at the top of
each page.
- improvement : simplification in HTML for categories menu.
- improvement : standardization of presentation in all public pages
(identification, registration, search, profile, notification, comments,
etc.)
(not in ChangeLog, below this line)
- add forgotten notification.php (should have been added in a previous
commit)
- [template cclear] deletion of useless class .bouton
- [template cclear] for test purpose, new presentation of register page
(using FORM.filter)
- [template cclear] adaptation of admin/group_list from template default
- [template cclear] deletion of obsolete admin/infos_images
- [template cclear] deletion of obsolete admin/search_username
- [template cclear] new icon register.png
git-svn-id: http://piwigo.org/svn/trunk@850 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-08-25 22:43:47 +00:00
|
|
|
</div> <!-- content -->
|