diff options
author | rub <rub@piwigo.org> | 2008-03-31 05:42:14 +0000 |
---|---|---|
committer | rub <rub@piwigo.org> | 2008-03-31 05:42:14 +0000 |
commit | 118e0ac6e29fa296c4bd6cff6ee291221d1928df (patch) | |
tree | 2c1d1ad59adb7d8e2ad84df4109f32ce1c7cd5c7 /template/yoga | |
parent | 5cdf987baf1f671fe7be0d864c4a8b7df88085a1 (diff) |
Fix day 31 not listed on smarty list
git-svn-id: http://piwigo.org/svn/trunk@2294 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/yoga')
-rw-r--r-- | template/yoga/admin/element_set_global.tpl | 2 | ||||
-rw-r--r-- | template/yoga/admin/element_set_unit.tpl | 2 | ||||
-rw-r--r-- | template/yoga/admin/history.tpl | 64 | ||||
-rw-r--r-- | template/yoga/admin/picture_modify.tpl | 2 | ||||
-rw-r--r-- | template/yoga/search.tpl | 4 |
5 files changed, 37 insertions, 37 deletions
diff --git a/template/yoga/admin/element_set_global.tpl b/template/yoga/admin/element_set_global.tpl index 7a21c0073..ae5c7b2e1 100644 --- a/template/yoga/admin/element_set_global.tpl +++ b/template/yoga/admin/element_set_global.tpl @@ -122,7 +122,7 @@ <label><input type="radio" name="date_creation_action" value="set" id="date_creation_action_set" /> {'set to'|@translate}</label> <select onchange="document.getElementById('date_creation_action_set').checked = true;" name="date_creation_day"> <option value="0">--</option> - {section name=day start=1 loop=31} + {section name=day start=1 loop=32} <option value="{$smarty.section.day.index}" {if $smarty.section.day.index==$DATE_CREATION_DAY}selected="selected"{/if}>{$smarty.section.day.index}</option> {/section} </select> diff --git a/template/yoga/admin/element_set_unit.tpl b/template/yoga/admin/element_set_unit.tpl index 11fb54470..34366fada 100644 --- a/template/yoga/admin/element_set_unit.tpl +++ b/template/yoga/admin/element_set_unit.tpl @@ -53,7 +53,7 @@ <select onmousedown="document.getElementById('date_creation_action_set-{$element.ID}').checked = true;" name="date_creation_day-{$element.ID}"> <option value="0">--</option> - {section name=day start=1 loop=31} + {section name=day start=1 loop=32} <option value="{$smarty.section.day.index}" {if $smarty.section.day.index==$element.DATE_CREATION_DAY}selected="selected"{/if}>{$smarty.section.day.index}</option> {/section} </select> diff --git a/template/yoga/admin/history.tpl b/template/yoga/admin/history.tpl index 3ed4c94b3..db503b32f 100644 --- a/template/yoga/admin/history.tpl +++ b/template/yoga/admin/history.tpl @@ -22,13 +22,13 @@ <li><label>{'search_date_from'|@translate}</label></li> <li> <select name="start_day"> - <option value="0">--</option>
- {section name=day start=1 loop=31}
- <option value="{$smarty.section.day.index}" {if $smarty.section.day.index==$START_DAY_SELECTED}selected="selected"{/if}>{$smarty.section.day.index}</option>
+ <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"> - {html_options options=$month_list selected=$START_MONTH_SELECTED}
+ {html_options options=$month_list selected=$START_MONTH_SELECTED}
</select> <input name="start_year" value="{$START_YEAR}" type="text" size="4" maxlength="4" > </li> @@ -37,13 +37,13 @@ <li><label>{'search_date_to'|@translate}</label></li> <li> <select name="end_day"> - <option value="0">--</option>
- {section name=day start=1 loop=31}
- <option value="{$smarty.section.day.index}" {if $smarty.section.day.index==$END_DAY_SELECTED}selected="selected"{/if}>{$smarty.section.day.index}</option>
+ <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"> - {html_options options=$month_list selected=$END_MONTH_SELECTED}
+ {html_options options=$month_list selected=$END_MONTH_SELECTED}
</select> <input name="end_year" value="{$END_YEAR}" type="text" size="4" maxlength="4" > </li> @@ -52,15 +52,15 @@ <label> {'Element type'|@translate} <select name="types[]" multiple="multiple" size="4"> - {html_options values=$type_option_values output=$type_option_values|translate selected=$type_option_selected}
+ {html_options values=$type_option_values output=$type_option_values|translate selected=$type_option_selected}
</select> </label> <label> {'User'|@translate} <select name="user"> - <option value="-1">------------</option>
- {html_options options=$user_options selected=$user_options_selected}
+ <option value="-1">------------</option>
+ {html_options options=$user_options selected=$user_options_selected}
</select> </label> @@ -82,7 +82,7 @@ <li>
{'Thumbnails'|@translate}
<select name="display_thumbnail">
- {html_options values=$display_thumbnail_values output=$display_thumbnail_values|translate selected=$display_thumbnail_selected}
+ {html_options values=$display_thumbnail_values output=$display_thumbnail_values|translate selected=$display_thumbnail_selected}
</select>
</li>
</ul>
@@ -109,35 +109,35 @@ {if !empty($NAV_BAR)}
<div class="navigationBar">
- {$NAV_BAR}
+ {$NAV_BAR}
</div>
{/if}
<table class="table2" id="detailedStats"> <tr class="throw"> - <th>{'Date'|@translate}</th> - <th>{'time'|@translate}</th> - <th>{'user'|@translate}</th> - <th>{'IP'|@translate}</th> - <th>{'image'|@translate}</th> - <th>{'Element type'|@translate}</th> - <th>{'section'|@translate}</th> - <th>{'category'|@translate}</th> - <th>{'tags'|@translate}</th> + <th>{'Date'|@translate}</th> + <th>{'time'|@translate}</th> + <th>{'user'|@translate}</th> + <th>{'IP'|@translate}</th> + <th>{'image'|@translate}</th> + <th>{'Element type'|@translate}</th> + <th>{'section'|@translate}</th> + <th>{'category'|@translate}</th> + <th>{'tags'|@translate}</th> </tr> {if !empty($search_results) } {foreach from=$search_results item=detail name=res_loop}
<tr class="{if $smarty.foreach.res_loop.index is odd}row1{else}row2{/if}"> - <td class="hour">{$detail.DATE}</td> - <td class="hour">{$detail.TIME}</td> - <td>{$detail.USER}</td> - <td>{$detail.IP}</td> - <td>{$detail.IMAGE}</td> - <td>{$detail.TYPE}</td> - <td>{$detail.SECTION}</td> - <td>{$detail.CATEGORY}</td> - <td>{$detail.TAGS}</td> + <td class="hour">{$detail.DATE}</td> + <td class="hour">{$detail.TIME}</td> + <td>{$detail.USER}</td> + <td>{$detail.IP}</td> + <td>{$detail.IMAGE}</td> + <td>{$detail.TYPE}</td> + <td>{$detail.SECTION}</td> + <td>{$detail.CATEGORY}</td> + <td>{$detail.TAGS}</td> </tr> {/foreach}
{/if} @@ -146,6 +146,6 @@ {if !empty($NAV_BAR)}
<div class="navigationBar">
- {$NAV_BAR}
+ {$NAV_BAR}
</div>
{/if}
diff --git a/template/yoga/admin/picture_modify.tpl b/template/yoga/admin/picture_modify.tpl index 2dada069f..a48773e35 100644 --- a/template/yoga/admin/picture_modify.tpl +++ b/template/yoga/admin/picture_modify.tpl @@ -88,7 +88,7 @@ <input type="radio" name="date_creation_action" value="set" id="date_creation_action_set" /> {'set to'|@translate} <select onmousedown="document.getElementById('date_creation_action_set').checked = true;" name="date_creation_day"> <option value="0">--</option> - {section name=day start=1 loop=31} + {section name=day start=1 loop=32} <option value="{$smarty.section.day.index}" {if $smarty.section.day.index==$DATE_CREATION_DAY_VALUE}selected="selected"{/if}>{$smarty.section.day.index}</option> {/section} </select> diff --git a/template/yoga/search.tpl b/template/yoga/search.tpl index 90fe76420..fadf6f9c8 100644 --- a/template/yoga/search.tpl +++ b/template/yoga/search.tpl @@ -63,7 +63,7 @@ <li> <select name="start_day"> <option value="0">--</option> - {section name=day start=1 loop=31} + {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> @@ -81,7 +81,7 @@ <li> <select name="end_day"> <option value="0">--</option> - {section name=day start=1 loop=31} + {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> |