<td><input type="checkbox" name="verified" value="1" checked="checked"></td> </tr> <tr> <td>', WT_I18N::translate('Password'), help_link('password'), '</td> <td><input type="password" name="pass1" style="width:95%;" value="', WT_Filter::escapeHtml($pass1), '" required placeholder="', WT_I18N::plural('Use at least %s character.', 'Use at least %s characters.', WT_MINIMUM_PASSWORD_LENGTH, WT_I18N::number(WT_MINIMUM_PASSWORD_LENGTH)), '" pattern="', WT_REGEX_PASSWORD, '" onchange="form.pass2.pattern = regex_quote(this.value);"></td> <td>', WT_I18N::translate('Automatically approve changes made by this user'), help_link('useradmin_auto_accept'), '</td> <td><input type="checkbox" name="new_auto_accept" value="1"></td> </tr> <td>', WT_I18N::translate('Confirm password'), help_link('password_confirm'), '</td> <td><input type="password" name="pass2" style="width:95%;" value="', WT_Filter::escapeHtml($pass2), '" required placeholder="', WT_I18N::translate('Type the password again.'), '" pattern="', WT_REGEX_PASSWORD, '"></td> <td>', WT_I18N::translate('Allow this user to edit his account information'), help_link('useradmin_editaccount'), '</td> <td><input type="checkbox" name="editaccount" value="1" checked="checked"></td> <tr> <td>', WT_I18N::translate('Preferred contact method'), '</td> <td>'; echo edit_field_contact('new_contact_method', $new_contact_method); echo '</td> <td>', WT_I18N::translate('Visible to other users when online'), help_link('useradmin_visibleonline'), '</td> <td><input type="checkbox" name="visibleonline" value="1" checked="checked"></td> </tr> <tr> </tr> <tr> <td>', WT_I18N::translate('Language'), '</td> <td>', edit_field_language('user_language', $user_language), '</td>'; if (WT_Site::preference('ALLOW_USER_THEMES')) { echo '<td>', WT_I18N::translate('Theme'), help_link('THEME'), '</td> <td> <select name="new_user_theme"> <option value="" selected="selected">', WT_Filter::escapeHtml(WT_I18N::translate('<default theme>')), '</option>'; foreach (get_theme_names() as $themename => $themedir) {
<div class="label">', WT_I18N::translate('Password'), help_link('password'), '</div> <div class="value"><input type="password" name="form_pass1"> ', WT_I18N::translate('Leave password blank if you want to keep the current password.'), '</div> <div class="label">', WT_I18N::translate('Confirm password'), help_link('password_confirm'), '</div> <div class="value"><input type="password" name="form_pass2"></div> <div class="label">', WT_I18N::translate('Language'), '</div> <div class="value">', edit_field_language('form_language', Auth::user()->getSetting('language')), '</div> <div class="label">', WT_I18N::translate('Email address'), help_link('email'), '</div> <div class="value"><input type="email" name="form_email" value="', WT_Filter::escapeHtml(Auth::user()->getEmail()), '" size="50"></div> <div class="label">', WT_I18N::translate('Theme'), help_link('THEME'), '</div> <div class="value"> <select name="form_theme"> <option value="">', WT_Filter::escapeHtml(WT_I18N::translate('<default theme>')), '</option>'; foreach (get_theme_names() as $themename => $themedir) { echo '<option value="', $themedir, '"'; if ($themedir == Auth::user()->getSetting('theme')) { echo ' selected="selected"'; } echo '>', $themename, '</option>'; } echo '</select> </div> <div class="label">', WT_I18N::translate('Preferred contact method'), help_link('edituser_contact_meth'), '</div> <div class="value">', edit_field_contact('form_contact_method', Auth::user()->getSetting('contactmethod')), '</div> <div class="label">', WT_I18N::translate('Visible to other users when online'), help_link('useradmin_visibleonline'), '</div> <div class="value">', checkbox('form_visible_online', Auth::user()->getSetting('visibleonline')), '</div> </div>'; // close edituser-table echo '<div id="edituser_submit"><input type="submit" value="', WT_I18N::translate('save'), '"></div>'; echo '</form> </div>'; // close edituser-page