source: trunk/templates/newgrp.tmpl@ 625

Last change on this file since 625 was 589, checked in by Kris Deugau, 11 years ago

/trunk

Le sigh. Move a small fragment of HTML from the header back to all the
individual pages that need it, so we can selectively load and use
Javascript, and do some initial tweaking with body.onload.

File size: 1.4 KB
RevLine 
[589]1<body>
2<div id="main">
3
[19]4<table class="wholepage"><tr>
5<TMPL_INCLUDE NAME="menu.tmpl">
6
[100]7<td align="center" valign="top">
[38]8
[493]9<form action="<TMPL_VAR NAME=script_self>">
[38]10<fieldset>
[19]11
[38]12<input type="hidden" name="page" value="newgrp" />
[207]13<input type="hidden" name="grpaction" value="add" />
[19]14
[38]15<table class="container" width="450">
[19]16<tr><td>
[38]17 <table border="0" cellspacing="2" cellpadding="2" width="100%">
[394]18<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>
19 <tr class="darkrowheader"><td colspan="2" align="center">Add Group</td></tr>
[19]20
[38]21 <tr class="datalinelight">
[394]22 <td>Group Name:</td>
23 <td align="left"><input type="text" name="newgroup" value="<TMPL_VAR NAME=newgroup>" /></td>
[19]24 </tr>
[38]25 <tr class="datalinelight">
[394]26 <td>Add as subgroup of:</td>
27 <td><select name="pargroup">
[38]28<TMPL_LOOP name=pargroup> <option value="<TMPL_VAR NAME=groupval>"<TMPL_IF groupactive> selected="selected"</TMPL_IF>><TMPL_VAR name=groupname></option>
[19]29</TMPL_LOOP>
30 </select></td>
31 </tr>
[66]32 <tr class="darkrowheader border">
[394]33 <td colspan="2" align="center">Default permissions for users created in this group:</td>
[66]34 </tr>
[394]35 <tr><td colspan="2"><table>
[66]36<TMPL_INCLUDE name="permlist.tmpl">
[394]37 </table></td></tr>
[66]38 <tr class="darkrowheader">
[394]39 <td colspan="2" align="center"><input type="submit" value="Add group" /></td>
[66]40 </tr>
[19]41 </table>
42 </td>
43</tr>
44</table>
45
[38]46</fieldset>
[19]47</form>
48
49</td></tr>
50</table>
Note: See TracBrowser for help on using the repository browser.