Changeset 1082 in ExiteCMS for trunk/includes/templates/main.register.tpl
- Timestamp:
- 11/07/07 18:09:49 (5 years ago)
- File:
-
- 1 edited
-
trunk/includes/templates/main.register.tpl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/templates/main.register.tpl
r1081 r1082 122 122 <td class='tbl'> 123 123 {$locale.u010} 124 <span class='small2'>( {$settings.dateformat})</span>124 <span class='small2'>( yyyy/mm/dd )</span> 125 125 </td> 126 126 <td class='tbl'>} 127 {foreach from=$settings.datesequence item=field} 128 {if $field == "D"} 127 <select name='user_year' class='textbox'> 128 <option> </option> 129 {section name=y start=1900 loop=$smarty.now|date_format:"%Y"} 130 <option{if $smarty.section.y.index == $user_year} selected{/if}>{$smarty.section.y.index}</option> 131 {/section} 132 </select> 133 <select name='user_month' class='textbox'> 134 <option> </option> 135 {section name=m start=1 loop=13} 136 <option{if $smarty.section.m.index == $user_month} selected{/if}>{$smarty.section.m.index}</option> 137 {/section} 138 </select> 129 139 <select name='user_day' class='textbox'> 130 140 <option> </option> … … 133 143 {/section} 134 144 </select> 135 {elseif $field == "M"}136 <select name='user_month' class='textbox'>137 <option> </option>138 {section name=m start=1 loop=13}139 <option{if $smarty.section.m.index == $user_month} selected{/if}>{$smarty.section.m.index}</option>140 {/section}141 </select>142 {elseif $field == "Y"}143 <select name='user_year' class='textbox'>144 <option> </option>145 {section name=y start=1900 loop=$smarty.now|date_format:"%Y"}146 <option{if $smarty.section.y.index == $user_year} selected{/if}>{$smarty.section.y.index}</option>147 {/section}148 </select>149 {/if}150 {/foreach}151 145 </td> 152 146 </tr>
Note: See TracChangeset
for help on using the changeset viewer.
