aboutsummaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2008-10-08 19:54:57 +0000
committerrub <rub@piwigo.org>2008-10-08 19:54:57 +0000
commitda3c67cea834cd9f4909b792cb95e54598fd944d (patch)
treebb7ccfb650c029f8821c5b99a69cffea0307fa29 /template
parentd376ff3129214813fa791a54ed45905266773c49 (diff)
Add id to date controls in order to prepare Datepicker
git-svn-id: http://piwigo.org/svn/trunk@2690 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--template/yoga/search.tpl16
1 files changed, 8 insertions, 8 deletions
diff --git a/template/yoga/search.tpl b/template/yoga/search.tpl
index 2bc548123..4f6ba4455 100644
--- a/template/yoga/search.tpl
+++ b/template/yoga/search.tpl
@@ -61,17 +61,17 @@
<ul>
<li><label>{'search_date_from'|@translate}</label></li>
<li>
- <select name="start_day">
+ <select id="start_day" name="start_day">
<option value="0">--</option>
{section name=day start=1 loop=32}
<option value="{$smarty.section.day.index}" {if $smarty.section.day.index==$START_DAY_SELECTED}selected="selected"{/if}>{$smarty.section.day.index}</option>
{/section}
</select>
- <select name="start_month">
+ <select id="start_month" name="start_month">
{html_options options=$month_list selected=$START_MONTH_SELECTED}
</select>
- <input name="start_year" type="text" size="4" maxlength="4" >
- <input name="start_linked_dates" type="hidden" size="10" disabled="disabled"/>
+ <input id="start_year" name="start_year" type="text" size="4" maxlength="4" >
+ <input id="start_linked_date" name="start_linked_date" type="hidden" size="10" disabled="disabled"/>
</li>
<li>
<a 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>
@@ -80,17 +80,17 @@
<ul>
<li><label>{'search_date_to'|@translate}</label></li>
<li>
- <select name="end_day">
+ <select id="end_day" name="end_day">
<option value="0">--</option>
{section name=day start=1 loop=32}
<option value="{$smarty.section.day.index}" {if $smarty.section.day.index==$END_DAY_SELECTED}selected="selected"{/if}>{$smarty.section.day.index}</option>
{/section}
</select>
- <select name="end_month">
+ <select id="end_month" name="end_month">
{html_options options=$month_list selected=$END_MONTH_SELECTED}
</select>
- <input name="end_year" type="text" size="4" maxlength="4" >
- <input name="end_linked_dates" type="hidden" size="10" disabled="disabled"/>
+ <input id="end_year" name="end_year" type="text" size="4" maxlength="4" >
+ <input id="end_linked_date" name="end_linked_date" type="hidden" size="10" disabled="disabled"/>
</li>
<li>
<a 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>