Changeset 20 for trunk/templates


Ignore:
Timestamp:
10/15/09 13:23:51 (15 years ago)
Author:
Kris Deugau
Message:

/trunk

checkpoint, group mangling almost complete
also normalized *most* group* refs to use "group*" vs "grp*"

Location:
trunk/templates
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/grpman.tmpl

    r19 r20  
    3131        <td class="underline" width="1%">Delete</td>
    3232</tr>
    33 <TMPL_IF name=grptable>
    34 <TMPL_LOOP name=grptable>
     33<TMPL_IF name=grouptable>
     34<TMPL_LOOP name=grouptable>
    3535<tr class="row<TMPL_VAR name=bg>">
    36         <td><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=grpman&id=<TMPL_VAR NAME=grpid>"><TMPL_VAR NAME=grpname></a></td>
    37         <td width="5%" nowrap><TMPL_VAR name=pgrp></td>
     36        <td><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=grpman&id=<TMPL_VAR NAME=groupid>"><TMPL_VAR NAME=groupname></a></td>
     37        <td width="5%" nowrap><TMPL_VAR name=pgroup></td>
    3838        <td width="5%" nowrap><TMPL_VAR name=nusers></td>
    3939        <td width="5%" nowrap><TMPL_VAR name=ndomains></td>
    40         <td width="1%" nowrap align=center><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=delgrp&id=<TMPL_VAR NAME=grpid>"><img src="images/trash2.png" border=0></a></td>
     40        <td width="1%" nowrap align=center><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=delgrp&id=<TMPL_VAR NAME=groupid>"><img src="images/trash2.png" border=0></a></td>
    4141</tr>
    4242</TMPL_LOOP>
  • trunk/templates/menu.tmpl

    r18 r20  
    33<a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=useradmin">Users</a><br />
    44<a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=log">Log</a><br />
    5 <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=reclist&id=<TMPL_VAR NAME=grp>&defrec=y">Default Records</a><br />
     5<a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=reclist&id=<TMPL_VAR NAME=group>&defrec=y">Default Records</a><br />
    66<a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=axfr">AXFR Import</a><br />
    77<hr>
    88Current group:
     9<form action="<TMPL_VAR NAME=whereami>" method="POST">
    910<select name="group">
    10         <TMPL_LOOP NAME=grplist><option value="<TMPL_VAR NAME=grpval>"<TMPL_IF NAME=grpactive> selected</TMPL_IF>><TMPL_VAR NAME=grpname></option>
     11        <TMPL_LOOP NAME=grouplist><option value="<TMPL_VAR NAME=groupval>"<TMPL_IF NAME=groupactive> selected</TMPL_IF>><TMPL_VAR NAME=groupname></option>
    1112        </TMPL_LOOP>
    1213</select>
     14<input type=hidden name=action value="chgroup">
     15<input type=submit value="Change group">
     16</form>
    1317<hr>
    1418<a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=grpman">Manage groups</a><br />
    15  <TMPL_VAR NAME=grpname>
     19 <TMPL_VAR NAME=groupname>
    1620<hr>
    1721<a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=dnsq">DNS Query</a><br />
  • trunk/templates/newdomain.tmpl

    r2 r20  
    2424                <td>Add domain to group:</td>
    2525                <td><select name=group>
    26 <TMPL_LOOP name=grplist>                <option value="<TMPL_VAR NAME=grpval>" <TMPL_VAR name=defgrp>><TMPL_VAR name=grpname></option>
     26<TMPL_LOOP name=grouplist>              <option value="<TMPL_VAR NAME=groupval>"<TMPL_IF groupactive> selected</TMPL_IF>><TMPL_VAR name=groupname></option>
    2727</TMPL_LOOP>
    2828                </select></td>
  • trunk/templates/newgrp.tmpl

    r19 r20  
    2424                <td>Add as subgroup of:</td>
    2525                <td><select name=pargroup>
    26 <TMPL_LOOP name=pargroup>               <option value="<TMPL_VAR NAME=grpval>"<TMPL_IF grpactive> selected</TMPL_IF>><TMPL_VAR name=grpname></option>
     26<TMPL_LOOP name=pargroup>               <option value="<TMPL_VAR NAME=groupval>"<TMPL_IF groupactive> selected</TMPL_IF>><TMPL_VAR name=groupname></option>
    2727</TMPL_LOOP>
    2828                </select></td>
Note: See TracChangeset for help on using the changeset viewer.