[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 |
|
---|
[65] | 14 | <table border="0" cellspacing="2" cellpadding="2" width="450">
|
---|
| 15 | <TMPL_IF add_failed> <tr>
|
---|
| 16 | <td class="errhead" colspan="2">Error adding user <TMPL_VAR NAME=uname>: <TMPL_VAR NAME=errmsg></td>
|
---|
| 17 | </tr></TMPL_IF>
|
---|
[38] | 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>
|
---|
[65] | 55 |
|
---|
| 56 | <tr>
|
---|
| 57 | <td colspan="2">
|
---|
| 58 |
|
---|
| 59 | <table style="border: thin solid #000000;" border="0" cellspacing="5" cellpadding="0" width="100%">
|
---|
| 60 | <tr class="tableheader">
|
---|
| 61 | <td align="center" colspan="5">
|
---|
| 62 | <input type="radio" name="perms_type" value="inherit" <TMPL_IF add_failed><TMPL_IF perm_inherit>checked="checked"</TMPL_IF><TMPL_ELSE>checked="checked"</TMPL_IF>/> Inherit permissions from group
|
---|
| 63 | </td>
|
---|
| 64 | </tr>
|
---|
| 65 | <tr>
|
---|
| 66 | <td align="right">Group:</td>
|
---|
| 67 | <td><input type="checkbox"<TMPL_IF i_grped> checked="checked"</TMPL_IF> disabled="disabled" /> Edit</td>
|
---|
| 68 | <td><input type="checkbox"<TMPL_IF i_grpcreate> checked="checked"</TMPL_IF> disabled="disabled" /> Create</td>
|
---|
| 69 | <td><input type="checkbox"<TMPL_IF i_grpdel> checked="checked"</TMPL_IF> disabled="disabled" /> Delete</td>
|
---|
| 70 | </tr>
|
---|
| 71 | <tr>
|
---|
| 72 | <td align="right">User:</td>
|
---|
| 73 | <td><input type="checkbox"<TMPL_IF i_usered> checked="checked"</TMPL_IF> disabled="disabled" /> Edit</td>
|
---|
| 74 | <td><input type="checkbox"<TMPL_IF i_usercreate> checked="checked"</TMPL_IF> disabled="disabled" /> Create</td>
|
---|
| 75 | <td><input type="checkbox"<TMPL_IF i_userdel> checked="checked"</TMPL_IF> disabled="disabled" /> Delete</td>
|
---|
| 76 | </tr>
|
---|
| 77 | <tr>
|
---|
| 78 | <td align="right">Domain:</td>
|
---|
| 79 | <td><input type="checkbox"<TMPL_IF i_domed> checked="checked"</TMPL_IF> disabled="disabled" /> Edit</td>
|
---|
| 80 | <td><input type="checkbox"<TMPL_IF i_domcreate> checked="checked"</TMPL_IF> disabled="disabled" /> Create</td>
|
---|
| 81 | <td><input type="checkbox"<TMPL_IF i_domdel> checked="checked"</TMPL_IF> disabled="disabled" /> Delete</td>
|
---|
| 82 | <!-- td>+ Delegate</td -->
|
---|
| 83 | </tr>
|
---|
| 84 | <tr>
|
---|
| 85 | <td align="right">Domain Record:</td>
|
---|
| 86 | <td><input type="checkbox"<TMPL_IF i_reced> checked="checked"</TMPL_IF> disabled="disabled" /> Edit</td>
|
---|
| 87 | <td><input type="checkbox"<TMPL_IF i_reccreate> checked="checked"</TMPL_IF> disabled="disabled" /> Create</td>
|
---|
| 88 | <td><input type="checkbox"<TMPL_IF i_recdel> checked="checked"</TMPL_IF> disabled="disabled" /> Delete</td>
|
---|
| 89 | <!-- td>+ Delegate</td -->
|
---|
| 90 | </tr>
|
---|
| 91 | <tr>
|
---|
| 92 | <td align="right">Self:</td>
|
---|
| 93 | <td><input type="checkbox"<TMPL_IF i_edself> checked="checked"</TMPL_IF> disabled="disabled" /> Edit</td>
|
---|
| 94 | </tr>
|
---|
| 95 |
|
---|
| 96 | <tr class="tableheader">
|
---|
| 97 | <td align="center" colspan="5">
|
---|
| 98 | <input type="radio" name="perms_type" value="clone" <TMPL_IF add_failed><TMPL_IF perm_clone> checked="checked"</TMPL_IF></TMPL_IF>/> Clone permissions from an existing user
|
---|
| 99 | </td>
|
---|
| 100 | </tr>
|
---|
| 101 | <tr>
|
---|
| 102 | <td align="center" colspan="5">
|
---|
| 103 | Note: Only users in the current group may be cloned<br>
|
---|
| 104 | <select name="clonesrc">
|
---|
| 105 | <option>-</option>
|
---|
| 106 | <TMPL_LOOP name=clonesrc><option value="<TMPL_VAR NAME=uid>"<TMPL_IF selected> selected</TMPL_IF>><TMPL_VAR NAME=username></option>
|
---|
| 107 | </TMPL_LOOP></select>
|
---|
| 108 | </td>
|
---|
| 109 | </tr>
|
---|
| 110 | <tr class="tableheader">
|
---|
| 111 | <td align="center" colspan="5">
|
---|
| 112 | <input type="radio" name="perms_type" value="custom" <TMPL_IF add_failed><TMPL_IF perm_custom> checked="checked"</TMPL_IF></TMPL_IF>/> Specify permissions
|
---|
| 113 | </td>
|
---|
| 114 | </tr>
|
---|
| 115 | <TMPL_INCLUDE name="permlist_enabled.tmpl">
|
---|
| 116 |
|
---|
| 117 | </table>
|
---|
| 118 |
|
---|
| 119 | </td>
|
---|
| 120 | </tr>
|
---|
| 121 |
|
---|
[38] | 122 | <tr><td colspan="2" class="tblsubmit"><input type="submit" value="Add user" /></td></tr>
|
---|
[65] | 123 |
|
---|
[38] | 124 | <tr><td colspan="2">tmp note: radio button select "group template" vs "clone user"?</td></tr>
|
---|
[24] | 125 | </table>
|
---|
| 126 |
|
---|
[38] | 127 | </fieldset>
|
---|
[24] | 128 | </form>
|
---|
| 129 |
|
---|
| 130 | </td></tr>
|
---|
| 131 | </table>
|
---|