source: trunk/templates/newgrp.tmpl@ 418

Last change on this file since 418 was 394, checked in by Kris Deugau, 12 years ago

/trunk

Fix a minor XHTMLism missed when adding the location management
link in the menu
Fix a layout glitch on the "New group" page caused by the layout
for the new permission types in the permission list subtemplate

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="2">Error adding group <TMPL_VAR NAME=newgroup>: <TMPL_VAR NAME=errmsg></td></tr></TMPL_IF>
18 <tr class="darkrowheader"><td colspan="2" align="center">Add Group</td></tr>
19
20 <tr class="datalinelight">
21 <td>Group Name:</td>
22 <td align="left"><input type="text" name="newgroup" value="<TMPL_VAR NAME=newgroup>" /></td>
23 </tr>
24 <tr class="datalinelight">
25 <td>Add as subgroup of:</td>
26 <td><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="2" align="center">Default permissions for users created in this group:</td>
33 </tr>
34 <tr><td colspan="2"><table>
35<TMPL_INCLUDE name="permlist.tmpl">
36 </table></td></tr>
37 <tr class="darkrowheader">
38 <td colspan="2" align="center"><input type="submit" value="Add group" /></td>
39 </tr>
40 </table>
41 </td>
42</tr>
43</table>
44
45</fieldset>
46</form>
47
48</td></tr>
49</table>
Note: See TracBrowser for help on using the repository browser.