-<form action="{?URL?}/modules.php?module=admin&what=edit_user&uid=$content" method="post">
-<table border="0" cellspacing="0" cellpadding="0" width="400"
- class="admin_table dashed" align="center">
+<div align="center">
+<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=edit_user&userid=$content[userid]%}" method="post">
+<table border="0" cellspacing="0" cellpadding="0" class="table dashed" align="center">
<tr>
- <td colspan="3" align="center" class="admin_title bottom2" height="30">
- <strong>{--ADMIN_EDIT_USER_PROFILE--}: ($content)</strong></td>
+ <td colspan="2" align="center" class="table_header bottom">
+ <strong>{--ADMIN_EDIT_USER_PROFILE--}: ($content)</strong>
+ </td>
</tr>
<tr>
<td width="195" align="right" height="21">{--GENDER--}:</td>
- <td class="seperator" width="10"> </td>
- <td width="195"><select name="gender" class="admin_select"
- size="1">
- <option value="M"{!_GENDER_M!}">{--GENDER_M--}</option>
- <option value="F"{!_GENDER_F!}">{--GENDER_F--}</option>
- <option value="C"{!_GENDER_C!}">{--GENDER_C--}</option>
- </select></td>
+ <td width="195">
+ {%pipe,generateGenderSelectionBox=$content[gender]%}
+ </td>
</tr>
<tr>
<td align="right">{--SURNAME--}:</td>
- <td class="seperator" width="10"> </td>
- <td><input type="text" name="surname" class="admin_normal"
- size="15" maxlength="255" value="{!_SURNAME!}"></td>
+ <td>
+ <input type="text" class="form_field" name="surname" size="15" maxlength="255" value="{%user,surname=$content[userid]%}" />
+ </td>
</tr>
<tr>
- <td align="right">{--FAMILY_NAME--}:</td>
- <td class="seperator" width="10"> </td>
- <td><input type="text" name="family" class="admin_normal"
- size="15" maxlength="255" value="{!_FAMILY!}"></td>
+ <td align="right">{--FAMILY--}:</td>
+ <td>
+ <input type="text" class="form_field" name="family" size="15" maxlength="255" value="{%user,family=$content[userid]%}" />
+ </td>
</tr>
<tr>
<td align="right">{--STREET_NR--}:</td>
- <td class="seperator" width="10"> </td>
- <td><input type="text" name="street_nr" class="admin_normal"
- size="20" maxlength="255" value="{!_STREET!}"></td>
+ <td>
+ <input type="text" class="form_field" name="street_nr" size="20" maxlength="255" value="$content[street_nr]" />
+ </td>
</tr>
<tr>
<td align="right">{--COUNTRY--}:</td>
- <td class="seperator" width="10"> </td>
- <td><input type="text" name="country" class="admin_normal"
- size="2" maxlength="3" value="{!_COUNTRY!}"></td>
+ <td>
+ <input type="text" class="form_field" name="country" size="2" maxlength="3" value="$content[country]" />
+ </td>
</tr>
<tr>
<td align="right">{--ZIP--}:</td>
- <td class="seperator" width="10"> </td>
- <td><input type="text" name="zip" class="admin_normal" size="5"
- maxlength="6" value="{!_ZIP!}"></td>
+ <td>
+ <input type="text" class="form_field" name="zip" size="5" maxlength="6" value="$content[zip]" />
+ </td>
</tr>
<tr>
<td align="right">{--CITY--}:</td>
- <td class="seperator" width="10"> </td>
- <td><input type="text" name="city" class="admin_normal" size="15"
- maxlength="255" value="{!_CITY!}"></td>
+ <td>
+ <input type="text" class="form_field" name="city" size="15" maxlength="255" value="$content[city]" />
+ </td>
</tr>
<tr>
- <td class="bottom2" align="right">{--ADDY--}:</td>
- <td class="bottom2 seperator" width="10"> </td>
- <td class="bottom2"><input type="text" name="email"
- class="admin_normal" size="20" maxlength="255" value="{!_EMAIL!}">
+ <td class="bottom" align="right">{--EMAIL--}:</td>
+ <td class="bottom">
+ <input type="text" class="form_field" name="email" size="20" maxlength="255" value="$content[email]" />
</td>
</tr>
<tr>
- <td colspan="3" align="center" class="admin_footer bottom2"><div class="tiny">{--ADMIN_EDIT_USER_PASSWORD_NOTE--}</div></td>
+ <td colspan="2" align="center" class="table_footer bottom">
+ <div class="tiny">{--ADMIN_EDIT_USER_PASSWORD_NOTE--}</div>
+ </td>
</tr>
<tr>
- <td align="right">{--ADMIN_PASS1--}:</td>
- <td class="seperator" width="10"> </td>
- <td><input type="password" name="pass1" class="admin_normal"
- size="5" maxlength="255"></td>
+ <td align="right">{--ADMIN_ENTER_PASSWORD1--}:</td>
+ <td>
+ <input type="password" class="form_field" name="pass1" size="5" maxlength="255" />
+ </td>
</tr>
<tr>
- <td class="bottom2" align="right">{--ADMIN_PASS2--}:</td>
- <td class="bottom2 seperator" width="10"> </td>
- <td class="bottom2"><input type="password" name="pass2"
- class="admin_normal" size="5" maxlength="255"></td>
+ <td class="bottom" align="right">{--ADMIN_ENTER_PASSWORD2--}:</td>
+ <td class="bottom">
+ <input type="password" class="form_field" name="pass2" size="5" maxlength="255" />
+ </td>
</tr>
<tr>
- <td colspan="3" class="admin_footer"><input
- type="reset" class="admin_reset" value="{--CLEAR_FORM--}" /> <input
- type="submit" name="edit" class="admin_submit"
- value="{--CHANGE_PROFILE--}" /></td>
+ <td colspan="2" class="table_footer">
+ <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
+ <input type="submit" class="form_submit" name="edit" value="{--ADMIN_CHANGE_PROFILE--}" />
+ </td>
</tr>
</table>
</form>
+</div>