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