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