Last change
on this file since 411 was 207, checked in by Kris Deugau, 13 years ago |
/trunk
Fix overloaded-$webvar{action}-related buglet - changing the default
group can cause the page to mutate due to template/page overloading.
Reported by Reid Sutherland on the "Edit user" page, when clicking
a group to change the default group.
Group edit and bulk domain change pages tweaked although the impact
is limited to changing the starting data, not the page operation.
|
File size:
1.5 KB
|
Line | |
---|
1 | <!-- <TMPL_VAR NAME=sid> -->
|
---|
2 | <table class="wholepage"><tr>
|
---|
3 | <TMPL_INCLUDE NAME="menu.tmpl">
|
---|
4 |
|
---|
5 | <td align="center" valign="top">
|
---|
6 |
|
---|
7 | <form action="dns.cgi">
|
---|
8 | <fieldset>
|
---|
9 |
|
---|
10 | <input type="hidden" name="sid" value="<TMPL_VAR NAME=sid>" />
|
---|
11 | <input type="hidden" name="page" value="newgrp" />
|
---|
12 | <input type="hidden" name="grpaction" value="add" />
|
---|
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="4">Error adding group <TMPL_VAR NAME=newgroup>: <TMPL_VAR NAME=errmsg></td></tr></TMPL_IF>
|
---|
18 | <tr class="darkrowheader"><td colspan="4" align="center">Add Group</td></tr>
|
---|
19 |
|
---|
20 | <tr class="datalinelight">
|
---|
21 | <td colspan=2>Group Name:</td>
|
---|
22 | <td align="left" colspan=2><input type="text" name="newgroup" value="<TMPL_VAR NAME=newgroup>" /></td>
|
---|
23 | </tr>
|
---|
24 | <tr class="datalinelight">
|
---|
25 | <td colspan=2>Add as subgroup of:</td>
|
---|
26 | <td colspan=2><select name="pargroup">
|
---|
27 | <TMPL_LOOP name=pargroup> <option value="<TMPL_VAR NAME=groupval>"<TMPL_IF groupactive> selected="selected"</TMPL_IF>><TMPL_VAR name=groupname></option>
|
---|
28 | </TMPL_LOOP>
|
---|
29 | </select></td>
|
---|
30 | </tr>
|
---|
31 | <tr class="darkrowheader border">
|
---|
32 | <td colspan="4" align="center">Default permissions for users created in this group:</td>
|
---|
33 | </tr>
|
---|
34 | <TMPL_INCLUDE name="permlist.tmpl">
|
---|
35 | <tr class="darkrowheader">
|
---|
36 | <td colspan="4" align="center"><input type="submit" value="Add group" /></td>
|
---|
37 | </tr>
|
---|
38 | </table>
|
---|
39 | </td>
|
---|
40 | </tr>
|
---|
41 | </table>
|
---|
42 |
|
---|
43 | </fieldset>
|
---|
44 | </form>
|
---|
45 |
|
---|
46 | </td></tr>
|
---|
47 | </table>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.