8396782b1ea00e21775db892b3cb47a6dfb59bb7
[citadel.git] / webcit / static / t / aide / edituser / detailview.html
1 <?=("head")>
2 <?=("important_msg")><?%("COND:LOGGEDIN", 1, 1, 1, "", ="paging")>
3 <div id="banner">
4   <h1><?_("Edit user account: ")><?USERLIST:USERNAME("X")></h1>
5 </div>
6 <div id="content" class="service">
7 <table class="useredit_background"><tr><td>
8 <form method="POST" action="edituser">
9 <input type="hidden" name="username" value="<?USERLIST:USERNAME("X")>">
10 <input type="hidden" name="is_new" value="<?BSTR("is_new")>">
11 <input type="hidden" name="usernum" value="<?USERLIST:UID>">
12 <input type="hidden" name="nonce" value="<?NONCE>"> 
13 <input type="hidden" name="flags" value="<?USERLIST:FLAGS>">
14 <center><table>
15 <tr><td><?_("User name:")></td><td><input type="text" name="newname" value="<?USERLIST:USERNAME("X")>" maxlength="63"></td></tr>
16 <tr><td><?_("Password")></td><td><input type="password" name="password" value="<?USERLIST:PASSWD("X")>" maxlength="20"></td></tr>
17 <tr><td><?_("Permission to send Internet mail")></td><td><input type="checkbox" name="inetmail" value="yes" <?%("COND:USERLIST:FLAG:USE_INTERNET", 1, 1, 1, "checked", "")>></td></tr>
18 <tr><td><?_("Number of logins")></td><td><input type="text" name="timescalled" value="<?USERLIST:NLOGONS>" maxlength="6"></td></tr>
19 <tr><td><?_("Messages submitted")></td><td><input type="text" name="msgsposted" value="<?USERLIST:NPOSTS>" maxlength="6"></td></tr>
20 <tr><td><?_("Access level")></td><td><select name="axlevel">
21         <option <?%("COND:USERACCESS", 1, 1, #"AxDeleted", 'selected="selected"', "")> value="0">0 - <?_("Deleted")></option>
22         <option <?%("COND:USERACCESS", 1, 1, #"AxNewU", 'selected="selected"', "")> value="1">1 - <?_("New User")></option>
23         <option <?%("COND:USERACCESS", 1, 1, #"AxProbU", 'selected="selected"', "")> value="2">2 - <?_("Problem User")></option>
24         <option <?%("COND:USERACCESS", 1, 1, #"AxLocU", 'selected="selected"', "")> value="3">3 - <?_("Local User")></option>
25         <option <?%("COND:USERACCESS", 1, 1, #"AxNetU", 'selected="selected"', "")> value="4">4 - <?_("Network User")></option>
26         <option <?%("COND:USERACCESS", 1, 1, #"AxPrefU", 'selected="selected"', "")> value="5">5 - <?_("Preferred User")></option>
27         <option <?%("COND:USERACCESS", 1, 1, #"AxAideU", 'selected="selected"', "")> value="6">6 - <?_("Aide")></option>
28 </select></td></tr>
29 <tr><td><?_("User ID number")></td><td><input type="text" name="usernum" value="<?USERLIST:UID>" maxlength="7"></td></tr>
30 <tr><td><?_("Date and time of last login")></td><td><select name="lastcall">
31   <option selected value="<?USERLIST:LASTLOGON:NO>"><?USERLIST:LASTLOGON:STR></option>
32   <option value="<?DATE:NOW:NO>"><?DATE:NOW:STR></option>
33 </select></td></tr>
34  
35 <tr><td><?_("Auto-purge after this many days")></td><td><input type="text" name="purgedays" value="<?USERLIST:DAYSTILLPURGE>" maxlength="5"></td></tr>
36 </table>
37 <input type="submit" name="ok_button" value="<?_("Save changes")>">&nbsp; <input type="submit" name="cancel" value="<?_("Cancel")>"><br /><br /></form>
38 </center>
39 </td></tr></table>
40 <?=("trailing")>