Changeset 858 in ExiteCMS for trunk/includes/templates/main.edit_profile.tpl
- Timestamp:
- 09/29/07 21:51:40 (5 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
includes/templates/main.edit_profile.tpl (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:ignore
-
old new 1 1 Copy of config.php 2 config.backup.php 2 3 config.php
-
- Property svn:ignore
-
trunk/includes/templates/main.edit_profile.tpl
r843 r858 84 84 </td> 85 85 <td class='tbl'> 86 <input type='radio' name='user_hide_email' value='1' {if $this_userdata.user_hide_email == "1"}checked {/if} />{$locale.u007}87 <input type='radio' name='user_hide_email' value='0' {if $this_userdata.user_hide_email == "0"}checked {/if} />{$locale.u008}86 <input type='radio' name='user_hide_email' value='1' {if $this_userdata.user_hide_email == "1"}checked="checked"{/if} />{$locale.u007} 87 <input type='radio' name='user_hide_email' value='0' {if $this_userdata.user_hide_email == "0"}checked="checked"{/if} />{$locale.u008} 88 88 </td> 89 89 </tr> … … 93 93 </td> 94 94 <td class='tbl'> 95 <input type='radio' name='user_newsletters' value='1' {if $this_userdata.user_newsletters == "1"}checked {/if} />{$locale.u037}96 <input type='radio' name='user_newsletters' value='2' {if $this_userdata.user_newsletters == "2"}checked {/if} />{$locale.u038}97 <input type='radio' name='user_newsletters' value='0' {if $this_userdata.user_newsletters == "0"}checked {/if} />{$locale.u039}95 <input type='radio' name='user_newsletters' value='1' {if $this_userdata.user_newsletters == "1"}checked="checked"{/if} />{$locale.u037} 96 <input type='radio' name='user_newsletters' value='2' {if $this_userdata.user_newsletters == "2"}checked="checked"{/if} />{$locale.u038} 97 <input type='radio' name='user_newsletters' value='0' {if $this_userdata.user_newsletters == "0"}checked="checked"{/if} />{$locale.u039} 98 98 </td> 99 99 </tr> … … 103 103 </td> 104 104 <td class='tbl'> 105 <input type='radio' name='user_forum_fullscreen' value='1' {if $this_userdata.user_forum_fullscreen == "1"}checked {/if} />{$locale.u007}106 <input type='radio' name='user_forum_fullscreen' value='0' {if $this_userdata.user_forum_fullscreen == "0"}checked {/if} />{$locale.u008}105 <input type='radio' name='user_forum_fullscreen' value='1' {if $this_userdata.user_forum_fullscreen == "1"}checked="checked"{/if} />{$locale.u007} 106 <input type='radio' name='user_forum_fullscreen' value='0' {if $this_userdata.user_forum_fullscreen == "0"}checked="checked"{/if} />{$locale.u008} 107 107 </td> 108 108 </tr> … … 123 123 {if $field == "D"} 124 124 <select name='user_day' class='textbox'> 125 <option> </option>125 <option> </option> 126 126 {section name=d start=1 loop=32} 127 <option{if $smarty.section.d.index == $user_day} selected {/if}>{$smarty.section.d.index}</option>127 <option{if $smarty.section.d.index == $user_day} selected="selected"{/if}>{$smarty.section.d.index}</option> 128 128 {/section} 129 129 </select> 130 130 {elseif $field == "M"} 131 131 <select name='user_month' class='textbox'> 132 <option> </option>132 <option> </option> 133 133 {section name=m start=1 loop=13} 134 <option{if $smarty.section.m.index == $user_month} selected {/if}>{$smarty.section.m.index}</option>134 <option{if $smarty.section.m.index == $user_month} selected="selected"{/if}>{$smarty.section.m.index}</option> 135 135 {/section} 136 136 </select> 137 137 {elseif $field == "Y"} 138 138 <select name='user_year' class='textbox'> 139 <option> </option>139 <option> </option> 140 140 {section name=y start=1900 loop=$smarty.now|date_format:"%Y"} 141 <option{if $smarty.section.y.index == $user_year} selected {/if}>{$smarty.section.y.index}</option>141 <option{if $smarty.section.y.index == $user_year} selected="selected"{/if}>{$smarty.section.y.index}</option> 142 142 {/section} 143 143 </select> … … 185 185 <td class='tbl'> 186 186 <input type='text' name='user_web' value='{$this_userdata.user_web}' maxlength='100' class='textbox' style='width:200px;' /> 187 </td> 188 </tr> 189 <tr> 190 <td class='tbl'> 191 {$locale.u028} 192 </td> 193 <td class='tbl'> 194 <select name='user_locale' class='textbox' style='width:200px;'> 195 {section name=locales loop=$locales} 196 <option value='{$locales[locales].locale_id}'{if $locales[locales].selected} selected="selected"{/if}>{$locales[locales].locale_name}</option> 197 {/section} 198 </select> 187 199 </td> 188 200 </tr> … … 206 218 <select name='user_offset' class='textbox'> 207 219 {section name=offset loop=$settings.timezones} 208 <option{if $this_userdata.user_offset == $settings.timezones[offset]} selected {/if}>{$settings.timezones[offset]}</option>220 <option{if $this_userdata.user_offset == $settings.timezones[offset]} selected="selected"{/if}>{$settings.timezones[offset]}</option> 209 221 {/section} 210 222 </select> … … 234 246 </td> 235 247 <td class='tbl'> 236 <textarea name='user_sig' rows='5' c lass='textbox' style='width:295px'>{$this_userdata.user_sig}</textarea><br>237 <input type='button' value='b' class='button' style='font-weight:bold;width:25px;' on Click="addText('user_sig', '[b]', '[/b]');">238 <input type='button' value='i' class='button' style='font-style:italic;width:25px;' on Click="addText('user_sig', '[i]', '[/i]');">239 <input type='button' value='u' class='button' style='text-decoration:underline;width:25px;' on Click="addText('user_sig', '[u]', '[/u]');">240 <input type='button' value='url' class='button' style='width:30px;' on Click="addText('user_sig', '[url]', '[/url]');">241 <input type='button' value='mail' class='button' style='width:35px;' on Click="addText('user_sig', '[mail]', '[/mail]');">242 <input type='button' value='img' class='button' style='width:30px;' on Click="addText('user_sig', '[img]', '[/img]');">243 <input type='button' value='center' class='button' style='width:45px;' on Click="addText('user_sig', '[center]', '[/center]');">244 <input type='button' value='small' class='button' style='width:40px;' on Click="addText('user_sig', '[small]', '[/small]');">248 <textarea name='user_sig' rows='5' cols='80' class='textbox' style='width:295px'>{$this_userdata.user_sig}</textarea><br /> 249 <input type='button' value='b' class='button' style='font-weight:bold;width:25px;' onclick="addText('user_sig', '[b]', '[/b]');" /> 250 <input type='button' value='i' class='button' style='font-style:italic;width:25px;' onclick="addText('user_sig', '[i]', '[/i]');" /> 251 <input type='button' value='u' class='button' style='text-decoration:underline;width:25px;' onclick="addText('user_sig', '[u]', '[/u]');" /> 252 <input type='button' value='url' class='button' style='width:30px;' onclick="addText('user_sig', '[url]', '[/url]');" /> 253 <input type='button' value='mail' class='button' style='width:35px;' onclick="addText('user_sig', '[mail]', '[/mail]');" /> 254 <input type='button' value='img' class='button' style='width:30px;' onclick="addText('user_sig', '[img]', '[/img]');" /> 255 <input type='button' value='center' class='button' style='width:45px;' onclick="addText('user_sig', '[center]', '[/center]');" /> 256 <input type='button' value='small' class='button' style='width:40px;' onclick="addText('user_sig', '[small]', '[/small]');" /> 245 257 </td> 246 258 </tr> … … 264 276 </form> 265 277 {/if} 266 {literal}<script language='JavaScript'>278 {literal}<script type='text/javascript'> 267 279 // 268 280 // calculate the offset between browser and server time
Note: See TracChangeset
for help on using the changeset viewer.
