|
Revision 10356, 1.0 KB
(checked in by patdenice, 2 years ago)
|
|
Add Posted Date Changer plugin.
|
| 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> |
|---|