source: extensions/posted_date_changer/change_posted_date.tpl @ 23761

Last change on this file since 23761 was 10356, checked in by patdenice, 14 years ago

Add Posted Date Changer plugin.

File size: 1.0 KB
Line 
1{footer_script}{literal}
2  pwg_initialization_datepicker("#date_available_day", "#date_available_month", "#date_available_year", "#date_available_linked_date", "#date_available_action_set");
3{/literal}{/footer_script}
4
5<div id="set_date_available">
6    <select id="date_available_day" name="date_available_day">
7       <option value="0">--</option>
8      {section name=day start=1 loop=32}
9        <option value="{$smarty.section.day.index}" {if $smarty.section.day.index==$DATE_AVAILABLE_DAY}selected="selected"{/if}>{$smarty.section.day.index}</option>
10      {/section}
11    </select>
12    <select id="date_available_month" name="date_available_month">
13      {html_options options=$month_list selected=$DATE_AVAILABLE_MONTH}
14    </select>
15    <input id="date_available_year"
16           name="date_available_year"
17           type="text"
18           size="4"
19           maxlength="4"
20           value="{$DATE_AVAILABLE_YEAR}">
21    <input id="date_available_linked_date" name="date_available_linked_date" type="hidden" size="10" disabled="disabled">
22</div>
Note: See TracBrowser for help on using the repository browser.