[24] | 1 | <!-- <TMPL_VAR NAME=sid> -->
|
---|
| 2 | <table class="wholepage"><tr>
|
---|
| 3 | <TMPL_INCLUDE NAME="menu.tmpl">
|
---|
| 4 |
|
---|
| 5 | <td align="center">
|
---|
| 6 | <TMPL_IF add_failed><span class="errmsg">Error adding user <TMPL_VAR NAME=username>: <TMPL_VAR
|
---|
| 7 | NAME=errmsg></span></TMPL_IF>
|
---|
| 8 | <form action="dns.cgi">
|
---|
| 9 |
|
---|
| 10 | <input type="hidden" name="sid" value="<TMPL_VAR NAME=sid>">
|
---|
| 11 | <input type="hidden" name="page" value="adduser">
|
---|
| 12 | <input type="hidden" name="newuser" value="yes">
|
---|
| 13 |
|
---|
| 14 | <table border=0 width="450" bgcolor="white">
|
---|
| 15 | <tr><td>
|
---|
| 16 | <table border=0 cellspacing=2 cellpadding=2 width="100%">
|
---|
| 17 | <tr bgcolor="#cccccc"><td colspan=2 align="center">Add User</td></tr>
|
---|
| 18 |
|
---|
| 19 | <tr bgcolor="#eeeeee">
|
---|
| 20 | <td width="50%">Username:</td>
|
---|
| 21 | <td align="left"><input type="text" name="username" value="<TMPL_VAR NAME=username>"></td>
|
---|
| 22 | </tr>
|
---|
| 23 | <tr bgcolor="#eeeeee">
|
---|
| 24 | <td>First Name:</td>
|
---|
| 25 | <td align="left"><input type="text" name="fname" value="<TMPL_VAR NAME=fname>"></td>
|
---|
| 26 | </tr>
|
---|
| 27 | <tr bgcolor="#eeeeee">
|
---|
| 28 | <td>Last Name:</td>
|
---|
| 29 | <td align="left"><input type="text" name="lname" value="<TMPL_VAR NAME=lname>"></td>
|
---|
| 30 | </tr>
|
---|
| 31 | <tr bgcolor="#eeeeee">
|
---|
| 32 | <td>Password:</td>
|
---|
| 33 | <td align="left"><input type="password" name="pass1" value="<TMPL_VAR NAME=pass1>"></td>
|
---|
| 34 | </tr>
|
---|
| 35 | <tr bgcolor="#eeeeee">
|
---|
| 36 | <td>Confirm Password:</td>
|
---|
| 37 | <td align="left"><input type="password" name="pass2" value="<TMPL_VAR NAME=pass2>"></td>
|
---|
| 38 | </tr>
|
---|
| 39 | <tr bgcolor="#eeeeee">
|
---|
| 40 | <td>Account Type:</td>
|
---|
| 41 | <td align="left"><select name=accttype>
|
---|
| 42 | <TMPL_LOOP name=actypelist> <option value="<TMPL_VAR NAME=actypeval>"<TMPL_IF typesel> selected</TMPL_IF>><TMPL_VAR NAME=actypename></option>
|
---|
| 43 | </TMPL_LOOP> </select></td>
|
---|
| 44 | </tr>
|
---|
| 45 | <tr bgcolor="#eeeeee">
|
---|
| 46 | <td>Add user in group:</td>
|
---|
| 47 | <td><select name=group>
|
---|
| 48 | <TMPL_LOOP name=grouplist> <option value="<TMPL_VAR NAME=groupval>"<TMPL_IF groupactive> selected</TMPL_IF>><TMPL_VAR name=groupname></option>
|
---|
| 49 | </TMPL_LOOP> </select></td>
|
---|
| 50 | </tr>
|
---|
| 51 | <tr bgcolor="#eeeeee">
|
---|
| 52 | <td>Create as active user</td><td><input type=checkbox name=makeactive checked></td>
|
---|
| 53 | </tr>
|
---|
| 54 | <tr><td colspan=2 align="center"><input type="submit" value="Add user"></td></tr>
|
---|
| 55 | <tr><td>tmp note: radio button select "group template" vs "clone user"?</td></tr>
|
---|
| 56 | </table>
|
---|
| 57 | </td>
|
---|
| 58 | </tr>
|
---|
| 59 | </table>
|
---|
| 60 |
|
---|
| 61 | </form>
|
---|
| 62 |
|
---|
| 63 | </td></tr>
|
---|
| 64 | </table>
|
---|