[24] | 1 | <!-- <TMPL_VAR NAME=sid> -->
|
---|
| 2 | <table class="wholepage"><tr>
|
---|
| 3 | <TMPL_INCLUDE NAME="menu.tmpl">
|
---|
| 4 |
|
---|
[100] | 5 | <td align="center" valign="top">
|
---|
[24] | 6 |
|
---|
[38] | 7 | <form action="dns.cgi" method="post">
|
---|
| 8 | <fieldset>
|
---|
[24] | 9 |
|
---|
[38] | 10 | <input type="hidden" name="sid" value="<TMPL_VAR NAME=sid>" />
|
---|
[67] | 11 | <input type="hidden" name="page" value="user" />
|
---|
[207] | 12 | <input type="hidden" name="useraction" value="<TMPL_VAR NAME=action>" />
|
---|
[82] | 13 | <TMPL_IF uid><input type="hidden" name="uid" value="<TMPL_VAR NAME=uid>" /></TMPL_IF>
|
---|
| 14 | <TMPL_IF gid><input type="hidden" name="gid" value="<TMPL_VAR NAME=gid>" /></TMPL_IF>
|
---|
[38] | 15 |
|
---|
[65] | 16 | <table border="0" cellspacing="2" cellpadding="2" width="450">
|
---|
| 17 | <TMPL_IF add_failed> <tr>
|
---|
[545] | 18 | <td class="errhead" colspan="2"><TMPL_VAR NAME=errmsg></td>
|
---|
[65] | 19 | </tr></TMPL_IF>
|
---|
[82] | 20 | <tr class="darkrowheader"><td colspan="2" align="center"><TMPL_IF add>Add<TMPL_ELSE>Edit</TMPL_IF> User</td></tr>
|
---|
[24] | 21 |
|
---|
[38] | 22 | <tr class="datalinelight">
|
---|
| 23 | <td>Username:</td>
|
---|
| 24 | <td align="left"><input type="text" name="uname" value="<TMPL_VAR NAME=uname>" /></td>
|
---|
[24] | 25 | </tr>
|
---|
[38] | 26 | <tr class="datalinelight">
|
---|
[24] | 27 | <td>First Name:</td>
|
---|
[38] | 28 | <td align="left"><input type="text" name="fname" value="<TMPL_VAR NAME=fname>" /></td>
|
---|
[24] | 29 | </tr>
|
---|
[38] | 30 | <tr class="datalinelight">
|
---|
[24] | 31 | <td>Last Name:</td>
|
---|
[38] | 32 | <td align="left"><input type="text" name="lname" value="<TMPL_VAR NAME=lname>" /></td>
|
---|
[24] | 33 | </tr>
|
---|
[38] | 34 | <tr class="datalinelight">
|
---|
[24] | 35 | <td>Password:</td>
|
---|
[38] | 36 | <td align="left"><input type="password" name="pass1" value="<TMPL_VAR NAME=pass1>" /></td>
|
---|
[24] | 37 | </tr>
|
---|
[38] | 38 | <tr class="datalinelight">
|
---|
[24] | 39 | <td>Confirm Password:</td>
|
---|
[38] | 40 | <td align="left"><input type="password" name="pass2" value="<TMPL_VAR NAME=pass2>" /></td>
|
---|
[24] | 41 | </tr>
|
---|
[38] | 42 | <tr class="datalinelight">
|
---|
[24] | 43 | <td>Account Type:</td>
|
---|
[67] | 44 | <TMPL_IF is_admin>
|
---|
[38] | 45 | <td align="left"><select name="accttype">
|
---|
| 46 | <TMPL_LOOP name=actypelist> <option value="<TMPL_VAR NAME=actypeval>"<TMPL_IF typesel> selected="selected"</TMPL_IF>><TMPL_VAR NAME=actypename></option>
|
---|
[24] | 47 | </TMPL_LOOP> </select></td>
|
---|
[67] | 48 | <TMPL_ELSE>
|
---|
| 49 | <td>User</td>
|
---|
| 50 | </TMPL_IF>
|
---|
[24] | 51 | </tr>
|
---|
[38] | 52 | <tr class="datalinelight">
|
---|
[82] | 53 | <td><TMPL_IF add>Create as active user<TMPL_ELSE>User is active</TMPL_IF></td>
|
---|
| 54 | <td><input type="checkbox" name="makeactive" checked="checked" /></td>
|
---|
[24] | 55 | </tr>
|
---|
[65] | 56 |
|
---|
| 57 | <tr>
|
---|
| 58 | <td colspan="2">
|
---|
| 59 |
|
---|
| 60 | <table style="border: thin solid #000000;" border="0" cellspacing="5" cellpadding="0" width="100%">
|
---|
| 61 | <tr class="tableheader">
|
---|
| 62 | <td align="center" colspan="5">
|
---|
[82] | 63 | <input type="radio" name="perms_type" value="inherit" <TMPL_IF set_permgroup><TMPL_IF perm_inherit>checked="checked"</TMPL_IF><TMPL_ELSE>checked="checked"</TMPL_IF>/> Use permissions from group
|
---|
[65] | 64 | </td>
|
---|
| 65 | </tr>
|
---|
[67] | 66 | <TMPL_VAR NAME=grpperms>
|
---|
[65] | 67 |
|
---|
[67] | 68 | <TMPL_IF is_admin>
|
---|
[65] | 69 | <tr class="tableheader">
|
---|
| 70 | <td align="center" colspan="5">
|
---|
[82] | 71 | <input type="radio" name="perms_type" value="clone" <TMPL_IF set_permgroup><TMPL_IF perm_clone> checked="checked"</TMPL_IF></TMPL_IF>/> Clone permissions from an existing user
|
---|
[65] | 72 | </td>
|
---|
| 73 | </tr>
|
---|
| 74 | <tr>
|
---|
| 75 | <td align="center" colspan="5">
|
---|
| 76 | Note: Only users in the current group may be cloned<br>
|
---|
| 77 | <select name="clonesrc">
|
---|
[143] | 78 | <option value="0">-</option>
|
---|
[65] | 79 | <TMPL_LOOP name=clonesrc><option value="<TMPL_VAR NAME=uid>"<TMPL_IF selected> selected</TMPL_IF>><TMPL_VAR NAME=username></option>
|
---|
| 80 | </TMPL_LOOP></select>
|
---|
| 81 | </td>
|
---|
| 82 | </tr>
|
---|
[67] | 83 | </TMPL_IF>
|
---|
| 84 |
|
---|
[65] | 85 | <tr class="tableheader">
|
---|
| 86 | <td align="center" colspan="5">
|
---|
[82] | 87 | <input type="radio" name="perms_type" value="custom" <TMPL_IF set_permgroup><TMPL_IF perm_custom> checked="checked"</TMPL_IF></TMPL_IF>/> Specify permissions
|
---|
[65] | 88 | </td>
|
---|
| 89 | </tr>
|
---|
[67] | 90 | <TMPL_INCLUDE name="permlist.tmpl">
|
---|
[65] | 91 |
|
---|
| 92 | </table>
|
---|
| 93 |
|
---|
| 94 | </td>
|
---|
| 95 | </tr>
|
---|
| 96 |
|
---|
[82] | 97 | <tr><td colspan="2" class="tblsubmit"><input type="submit" value="<TMPL_IF add>Add<TMPL_ELSE>Update</TMPL_IF> user" /></td></tr>
|
---|
[65] | 98 |
|
---|
[24] | 99 | </table>
|
---|
| 100 |
|
---|
[38] | 101 | </fieldset>
|
---|
[24] | 102 | </form>
|
---|
| 103 |
|
---|
| 104 | </td></tr>
|
---|
| 105 | </table>
|
---|