1 | <!-- <TMPL_VAR NAME=sid> -->
|
---|
2 | <table class="wholepage"><tr>
|
---|
3 | <TMPL_INCLUDE NAME="menu.tmpl">
|
---|
4 |
|
---|
5 | <td align="center">
|
---|
6 |
|
---|
7 | <form action="dns.cgi" method="post">
|
---|
8 | <fieldset>
|
---|
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 class="container" width="450">
|
---|
15 | <tr><td>
|
---|
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>
|
---|
19 |
|
---|
20 | <tr class="datalinelight">
|
---|
21 | <td>Username:</td>
|
---|
22 | <td align="left"><input type="text" name="uname" value="<TMPL_VAR NAME=uname>" /></td>
|
---|
23 | </tr>
|
---|
24 | <tr class="datalinelight">
|
---|
25 | <td>First Name:</td>
|
---|
26 | <td align="left"><input type="text" name="fname" value="<TMPL_VAR NAME=fname>" /></td>
|
---|
27 | </tr>
|
---|
28 | <tr class="datalinelight">
|
---|
29 | <td>Last Name:</td>
|
---|
30 | <td align="left"><input type="text" name="lname" value="<TMPL_VAR NAME=lname>" /></td>
|
---|
31 | </tr>
|
---|
32 | <tr class="datalinelight">
|
---|
33 | <td>Password:</td>
|
---|
34 | <td align="left"><input type="password" name="pass1" value="<TMPL_VAR NAME=pass1>" /></td>
|
---|
35 | </tr>
|
---|
36 | <tr class="datalinelight">
|
---|
37 | <td>Confirm Password:</td>
|
---|
38 | <td align="left"><input type="password" name="pass2" value="<TMPL_VAR NAME=pass2>" /></td>
|
---|
39 | </tr>
|
---|
40 | <tr class="datalinelight">
|
---|
41 | <td>Account Type:</td>
|
---|
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>
|
---|
44 | </TMPL_LOOP> </select></td>
|
---|
45 | </tr>
|
---|
46 | <tr class="datalinelight">
|
---|
47 | <td>Add user in group:</td>
|
---|
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>
|
---|
50 | </TMPL_LOOP> </select></td>
|
---|
51 | </tr>
|
---|
52 | <tr class="datalinelight">
|
---|
53 | <td>Create as active user</td><td><input type="checkbox" name="makeactive" checked="checked" /></td>
|
---|
54 | </tr>
|
---|
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>
|
---|
57 | </table>
|
---|
58 | </td>
|
---|
59 | </tr>
|
---|
60 | </table>
|
---|
61 |
|
---|
62 | </fieldset>
|
---|
63 | </form>
|
---|
64 |
|
---|
65 | </td></tr>
|
---|
66 | </table>
|
---|