1<form id="updateuser" name="updateuser" method="post" action="<?php echo Horde::selfUrl() ?>"> 2<?php Horde_Util::pformInput() ?> 3<input type="hidden" name="form" value="update" /> 4<input type="hidden" name="user_name" value="<?php echo htmlspecialchars($f_user_name) ?>" /> 5<h1 class="header"> 6 <?php printf(_("Update %s"), htmlspecialchars($f_user_name)) ?> 7</h1> 8<table class="striped nowrap" cellspacing="0" width="100%"> 9<?php if ($auth->hasCapability('update')): ?> 10 <tr> 11 <td width="1%" class="light rightAlign"> 12 <?php echo Horde::label('user_name2', _("New Username (optional)")) ?> 13 </td> 14 <td> 15 <input type="text" id="user_name2" name="user_name2" value="<?php echo htmlspecialchars($f_user_name) ?>" /> 16 </td> 17 </tr> 18 <tr> 19 <td class="rightAlign"> 20 <?php echo Horde::label('user_pass_1', _("Password")) ?> 21 </td> 22 <td> 23 <input type="password" id="user_pass_1" name="user_pass_1" /> 24 </td> 25 </tr> 26 <tr> 27 <td class="rightAlign"> 28 <?php echo Horde::label('user_pass_2', _("Confirm Password")) ?> 29 </td> 30 <td> 31 <input type="password" id="user_pass_2" name="user_pass_2" /> 32 </td> 33 </tr> 34<?php endif; ?> 35 <tr> 36 <td class="rightAlign"> 37 <?php echo Horde::label('user_fullname', _("Full Name")) ?> 38 </td> 39 <td> 40 <input type="text" id="user_fullname" name="user_fullname" value="<?php echo htmlspecialchars($identity->getValue('fullname')) ?>" /> 41 </td> 42 </tr> 43 <tr> 44 <td class="rightAlign"> 45 <?php echo Horde::label('user_email', _("Email Address")) ?> 46 </td> 47 <td> 48 <input type="text" id="user_email" name="user_email" value="<?php echo htmlspecialchars($identity->getValue('from_addr')) ?>" /> 49 </td> 50 </tr> 51 <?php if ($auth->hasCapability('lock')): ?> 52 <tr> 53 <td class="rightAlign"> 54 <?php echo Horde::label('user_locked', _("Lock User")) ?> 55 </td> 56 <td> 57 <input type="checkbox" id="user_locked" name="user_locked" value="1"<?php if ($auth->isLocked($f_user_name)) echo ' checked="checked"' ?> /> 58 </td> 59 </tr> 60 <?php endif; ?> 61</table> 62<p class="horde-form-buttons"> 63 <input type="submit" class="horde-default" name="submit" value="<?php echo _("Update user") ?>" /> 64 <input type="reset" name="reset" value="<?php echo _("Reset") ?>" /> 65</p> 66</form> 67