Changeset 38 for trunk/templates
- Timestamp:
- 11/20/09 17:32:04 (15 years ago)
- Location:
- trunk/templates
- Files:
-
- 1 deleted
- 24 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/templates/axfr.tmpl
r35 r38 5 5 <td align="center" valign="top"> 6 6 7 <form action="dns.cgi" method="POST"> 8 <input type=hidden name="sid" value="<TMPL_VAR NAME=sid>"> 9 <input type=hidden name="page" value="axfr"> 10 <input type=hidden name="doit" value="y"> 7 <form action="dns.cgi" method="post"> 8 <fieldset> 9 <input type="hidden" name="sid" value="<TMPL_VAR NAME=sid>" /> 10 <input type="hidden" name="page" value="axfr" /> 11 <input type="hidden" name="doit" value="y" /> 11 12 12 13 <table> 13 <TMPL_IF errmsg><tr><td class="errhead" colspan= 2>Error: <TMPL_VARNAME=errmsg></td></tr></TMPL_IF>14 <tr class="tableheader"><td align="center" colspan= 2>Import domains via AXFR</td></tr>14 <TMPL_IF errmsg><tr><td class="errhead" colspan="2">Error: <TMPL_VARNAME=errmsg></td></tr></TMPL_IF> 15 <tr class="tableheader"><td align="center" colspan="2">Import domains via AXFR</td></tr> 15 16 <tr class="datalinelight"> 16 17 <td>Import from host:</td> 17 <td><input name="ifrom"<TMPL_IF ifrom> value="<TMPL_VAR NAME=ifrom>"</TMPL_IF> ></td>18 <td><input name="ifrom"<TMPL_IF ifrom> value="<TMPL_VAR NAME=ifrom>"</TMPL_IF> /></td> 18 19 </tr> 19 20 <tr class="datalinelight"> … … 21 22 <td> 22 23 <select name="group"> 23 <TMPL_LOOP NAME=grouplist><option value="<TMPL_VAR NAME=groupval>"<TMPL_IF NAME=groupactive> selected </TMPL_IF>><TMPL_VAR NAME=groupname></option>24 <TMPL_LOOP NAME=grouplist><option value="<TMPL_VAR NAME=groupval>"<TMPL_IF NAME=groupactive> selected="selected"</TMPL_IF>><TMPL_VAR NAME=groupname></option> 24 25 </TMPL_LOOP></select> 25 26 </td> … … 27 28 <tr class="datalinelight"> 28 29 <td>Rewrite SOA to group default?</td> 29 <td><input type= checkbox name="rwsoa"<TMPL_IF rwsoa> checked</TMPL_IF>></td>30 <td><input type="checkbox" name="rwsoa"<TMPL_IF rwsoa> checked="checked"</TMPL_IF> /></td> 30 31 </tr> 31 32 <tr class="datalinelight"> 32 33 <td>Rewrite NS to group default?</td> 33 <td><input type= checkbox name="rwns"<TMPL_IF rwns> checked</TMPL_IF>></td>34 <td><input type="checkbox" name="rwns"<TMPL_IF rwns> checked="checked"</TMPL_IF> /></td> 34 35 </tr> 35 36 <tr class="datalinelight"> 36 37 <td>Import as active?</td> 37 <td><input type= checkbox name="domactive"<TMPL_UNLESS dominactive> checked</TMPL_UNLESS>></td>38 <td><input type="checkbox" name="domactive"<TMPL_UNLESS dominactive> checked="checked"</TMPL_UNLESS> /></td> 38 39 </tr> 39 40 <tr class="datalinelight"> 40 41 <td valign="top">Domains to import:<br />(one per line)</td> 41 <td><textarea name="importdoms" rows= 10><TMPL_IF importdoms><TMPL_VAR NAME=importdoms></TMPL_IF></textarea></td>42 <td><textarea name="importdoms" rows="10" cols="25"><TMPL_IF importdoms><TMPL_VAR NAME=importdoms></TMPL_IF></textarea></td> 42 43 </tr> 43 44 <tr class="datalinelight"> 44 <td colspan= 2 align="center"><input type=submit value=" Import domains "></td>45 <td colspan="2" align="center"><input type="submit" value=" Import domains " /></td> 45 46 </tr> 46 47 </table> 47 48 49 </fieldset> 48 50 </form> 49 51 … … 51 53 <br /> 52 54 <table> 53 <tr class="tableheader"><td colspan= 2>AXFR Import Results</td></tr>55 <tr class="tableheader"><td colspan="2">AXFR Import Results</td></tr> 54 56 <TMPL_LOOP NAME=axfrresults> 55 57 <tr class="datalinelight"> -
trunk/templates/conf_del.tmpl
r2 r38 4 4 <td align="center"> 5 5 <h3>Are you really sure you want to delete <TMPL_VAR NAME=ftype> record <TMPL_VAR NAME=recval>?</h3> 6 <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>& page=delrec&del=cancel&id=<TMPL_VAR NAME=id>&defrec=<TMPL_VAR NAME=defrec>">cancel</a> | <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=delrec&del=ok&id=<TMPL_VAR NAME=id>&defrec=<TMPL_VAR NAME=defrec>">confirm</a>6 <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=delrec&del=cancel&id=<TMPL_VAR NAME=id>&defrec=<TMPL_VAR NAME=defrec>">cancel</a> | <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=delrec&del=ok&id=<TMPL_VAR NAME=id>&defrec=<TMPL_VAR NAME=defrec>">confirm</a> 7 7 </td> 8 8 -
trunk/templates/deldom.tmpl
r22 r38 5 5 <td align="center"> 6 6 <h3>Are you really sure you want to delete domain <TMPL_VAR NAME=domain>?</h3> 7 <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>& page=deldom&del=cancel&id=<TMPL_VAR NAME=id>">cancel</a> | <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=deldom&del=ok&id=<TMPL_VAR NAME=id>">confirm</a>7 <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=deldom&del=cancel&id=<TMPL_VAR NAME=id>">cancel</a> | <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=deldom&del=ok&id=<TMPL_VAR NAME=id>">confirm</a> 8 8 </td></tr></table> 9 9 -
trunk/templates/delgrp.tmpl
r23 r38 5 5 <td align="center"> 6 6 <h3>Are you really sure you want to delete group <TMPL_VAR NAME=delgroupname>?</h3> 7 <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>& page=delgrp&del=cancel&id=<TMPL_VAR NAME=id>">cancel</a> | 8 <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>& page=delgrp&del=ok&id=<TMPL_VAR NAME=id>">confirm</a>7 <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=delgrp&del=cancel&id=<TMPL_VAR NAME=id>">cancel</a> | 8 <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=delgrp&del=ok&id=<TMPL_VAR NAME=id>">confirm</a> 9 9 </td></tr></table> 10 10 -
trunk/templates/delrec.tmpl
r3 r38 4 4 5 5 <td align="center"> 6 <h3>Are you really sure you want to delete record:<br >6 <h3>Are you really sure you want to delete record:<br /> 7 7 <TMPL_VAR NAME=host> <TMPL_VAR NAME=ftype> <TMPL_VAR NAME=recval></h3> 8 <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>& page=delrec&del=cancel&id=<TMPL_VAR NAME=id>&defrec=<TMPL_VAR NAME=defrec>">cancel</a> | <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=delrec&del=ok&id=<TMPL_VAR NAME=id>&defrec=<TMPL_VAR NAME=defrec>">confirm</a>8 <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=delrec&del=cancel&id=<TMPL_VAR NAME=id>&defrec=<TMPL_VAR NAME=defrec>">cancel</a> | <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=delrec&del=ok&id=<TMPL_VAR NAME=id>&defrec=<TMPL_VAR NAME=defrec>">confirm</a> 9 9 </td></tr></table> 10 10 -
trunk/templates/deluser.tmpl
r28 r38 4 4 5 5 <td align="center"> 6 <h3>Are you really sure you want to delete user <TMPL_VAR NAME=user>?</h3><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=deluser&del=cancel&id=<TMPL_VAR NAME=id>">cancel</a> | <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=deluser&del=ok&id=<TMPL_VAR NAME=id>">confirm</a> 6 <h3>Are you really sure you want to delete user <TMPL_VAR NAME=user>?</h3> 7 <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=deluser&del=cancel&id=<TMPL_VAR NAME=id>">cancel</a> | <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=deluser&del=ok&id=<TMPL_VAR NAME=id>">confirm</a> 7 8 </td></tr></table> 8 9 -
trunk/templates/dns.css
r34 r38 18 18 border: 0; 19 19 } 20 img { 21 border: 0px; 22 } 23 fieldset { 24 border: none; 25 padding: 0px; 26 margin: 0px; 27 } 20 28 21 29 table.login { … … 27 35 background-color: #F0F0F0; 28 36 } 37 table.container { 38 background-color: #FFFFFF; 39 border: none; 40 } 29 41 table.wholepage { 30 42 width: 100%; 31 43 } 44 32 45 tr.row0 { 33 46 background-color: #FFFFFF; … … 47 60 background-color: #F0F0F0; 48 61 } 62 49 63 td.tblsubmit { 64 background-color: #F0F0F0; 50 65 text-align: center; 51 66 } -
trunk/templates/dnsq.tmpl
r31 r38 7 7 <TMPL_IF errmsg><div class="errmsg">Query error: <TMPL_VARNAME=errmsg></div></TMPL_IF> 8 8 9 <form action="dns.cgi" method="POST"> 10 <input type=hidden name="sid" value="<TMPL_VAR NAME=sid>"> 11 <input type=hidden name="page" value="dnsq"> 9 <form action="dns.cgi" method="post"> 10 <fieldset> 11 <input type="hidden" name="sid" value="<TMPL_VAR NAME=sid>" /> 12 <input type="hidden" name="page" value="dnsq" /> 12 13 13 14 <table> 14 <tr class="tableheader"><td align="center" colspan= 2>DNS Query</td></tr>15 <tr class="tableheader"><td align="center" colspan="2">DNS Query</td></tr> 15 16 <tr class="datalinelight"> 16 17 <td>Host/Name:</td> 17 <td><input name="qfor" value="<TMPL_VAR NAME=qfor>" ></td>18 <td><input name="qfor" value="<TMPL_VAR NAME=qfor>" /></td> 18 19 </tr> 19 20 <tr class="datalinelight"> … … 22 23 <select name="type"> 23 24 <TMPL_LOOP NAME=typelist> 24 <option value="<TMPL_VAR NAME=recval>"<TMPL_IF NAME=tselect> selected </TMPL_IF>><TMPL_VAR NAME=recname></option>25 <option value="<TMPL_VAR NAME=recval>"<TMPL_IF NAME=tselect> selected="selected"</TMPL_IF>><TMPL_VAR NAME=recname></option> 25 26 </TMPL_LOOP> 26 27 </select> … … 29 30 <tr class="datalinelight"> 30 31 <td>Non-recursive query:</td> 31 <td><input type= checkbox name="nrecurse"<TMPL_IF nrecurse> checked</TMPL_IF>></td>32 <td><input type="checkbox" name="nrecurse"<TMPL_IF nrecurse> checked="checked"</TMPL_IF> /></td> 32 33 </tr> 33 34 <tr class="datalinelight"> 34 35 <td>Use this server:</td> 35 <td><input name="resolver" value="<TMPL_VAR NAME=resolver>" ></td>36 <td><input name="resolver" value="<TMPL_VAR NAME=resolver>" /></td> 36 37 </tr> 37 <tr class="datalinelight"><td align="center" colspan= 2><input type=submit value=" Query DNS "></td></tr>38 <tr class="datalinelight"><td align="center" colspan="2"><input type="submit" value=" Query DNS " /></td></tr> 38 39 </table> 39 40 41 </fieldset> 40 42 </form> 41 43 … … 43 45 <TMPL_IF NAME=showresults> 44 46 <table width="350px"> 45 <tr class="tableheader"><td colspan= 3>Query:</td></tr>47 <tr class="tableheader"><td colspan="3">Query:</td></tr> 46 48 <tr class="datalinelight"> 47 49 <td> 48 50 <TMPL_VAR NAME=qfor> 49 51 </td> 50 <td colspan= 2>52 <td colspan="2"> 51 53 <TMPL_VAR NAME=frtype> 52 54 </td> 53 55 </tr> 54 <tr class="tableheader"><td colspan= 3>Response from <TMPL_VAR NAME=usedresolver>:</td></tr>56 <tr class="tableheader"><td colspan="3">Response from <TMPL_VAR NAME=usedresolver>:</td></tr> 55 57 <TMPL_LOOP NAME=answer><tr class="datalinelight" valign="top"> 56 58 <td><TMPL_VAR NAME=host></td> … … 59 61 </TMPL_LOOP> 60 62 <TMPL_IF authority> 61 <tr class="tableheader"><td colspan= 3>Authority:</td></tr>63 <tr class="tableheader"><td colspan="3">Authority:</td></tr> 62 64 <TMPL_LOOP NAME=authority><tr class="datalinelight"> 63 65 <td><TMPL_VAR NAME=host></td> … … 67 69 </TMPL_IF> 68 70 <TMPL_IF additional> 69 <tr class="tableheader"><td colspan= 3>Additional information:</td></tr>71 <tr class="tableheader"><td colspan="3">Additional information:</td></tr> 70 72 <TMPL_LOOP NAME=additional><tr class="datalinelight"> 71 73 <td><TMPL_VAR NAME=host></td> -
trunk/templates/domlist.tmpl
r30 r38 10 10 11 11 <table width="98%"> 12 <tr><td colspan= 3 align=center>Domain list</td></tr>12 <tr><td colspan="3" align="center">Domain list</td></tr> 13 13 <tr><td><TMPL_INCLUDE NAME="pgcount.tmpl"></td> 14 14 <td> 15 15 <TMPL_INCLUDE NAME="fpnla.tmpl"> 16 </td><td align= right>insert search box here</td></tr>16 </td><td align="right">insert search box here</td></tr> 17 17 18 <tr><td colspan= 3 align=center>insert letter search here</td></tr>18 <tr><td colspan="3" align="center">insert letter search here</td></tr> 19 19 20 <tr><td colspan= 3 align=right><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=newdomain">New Domain</a></td></tr>20 <tr><td colspan="3" align="right"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=newdomain">New Domain</a></td></tr> 21 21 </table> 22 22 23 <table border= 0cellspacing="5" cellpadding="3">23 <table border="0" cellspacing="5" cellpadding="3"> 24 24 <tr> 25 25 <TMPL_IF NAME=foobarbaz> 26 26 <!-- This block to be un-TMPL_IF'ed once we care about sort order - by default, we sort by domain, ascending --> 27 <td class="underline" nowrap><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=domlist&offset=<TMPL_VAR NAME=offset>">Domain<TMPL_IF NAME=sortdomain> <img border=0 alt='<TMPL_VAR NAME=sortorder>' src="images/<TMPL_VAR NAME=sortorder>.png"></TMPL_IF></a></td>28 <td class="underline" nowrap><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=domlist&offset=<TMPL_VAR NAME=offset>">Status<TMPL_IF NAME=sortstatus> <img border=0 alt='<TMPL_VAR NAME=sortorder>' src="images/<TMPL_VAR NAME=sortorder>.png"></TMPL_IF></a></td>29 <td class="underline" align="center" nowrap><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=domlist&offset=<TMPL_VAR NAME=offset>">Group<TMPL_IF NAME=sortgroup> <img border=0 alt='<TMPL_VAR NAME=sortorder>' src="images/<TMPL_VAR NAME=sortorder>.png"></TMPL_IF></a></td>27 <td><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=domlist&offset=<TMPL_VAR NAME=offset>">Domain<TMPL_IF NAME=sortdomain> <img border="0" alt='<TMPL_VAR NAME=sortorder>' src="images/<TMPL_VAR NAME=sortorder>.png" /></TMPL_IF></a></td> 28 <td><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=domlist&offset=<TMPL_VAR NAME=offset>">Status<TMPL_IF NAME=sortstatus> <img border="0" alt='<TMPL_VAR NAME=sortorder>' src="images/<TMPL_VAR NAME=sortorder>.png" /></TMPL_IF></a></td> 29 <td align="center"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=domlist&offset=<TMPL_VAR NAME=offset>">Group<TMPL_IF NAME=sortgroup> <img border="0" alt='<TMPL_VAR NAME=sortorder>' src="images/<TMPL_VAR NAME=sortorder>.png" /></TMPL_IF></a></td> 30 30 <TMPL_ELSE> 31 <td class="underline" nowrap>Domain</td>32 <td class="underline" nowrap>Status</td>33 <td class="underline" align="center" nowrap>Group</td>31 <td>Domain</td> 32 <td>Status</td> 33 <td align="center">Group</td> 34 34 </TMPL_IF> 35 <td class="underline" align="center" nowrap>Change Status</td>36 <td class="underline" width="1%">Delete</td>35 <td align="center">Change Status</td> 36 <td>Delete</td> 37 37 </tr> 38 38 <TMPL_IF name=domtable> 39 39 <TMPL_LOOP name=domtable> 40 40 <tr class="row<TMPL_VAR name=bg>"> 41 <td><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>& page=reclist&id=<TMPL_VAR NAME=domainid>&defrec=n"><TMPL_VAR NAME=domain></a></td>42 <td width="1%" nowrap><TMPL_VAR name=status></td>43 <td width="1%" nowrap><TMPL_VAR name=group></td>44 <td width="1%" nowrap align=center><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=domlist<TMPL_IF NAME=offset>&offset=<TMPL_VAR NAME=offset></TMPL_IF>&id=<TMPL_VAR NAME=domainid>&action=<TMPL_IF NAME=mkactive>domon<TMPL_ELSE>domoff</TMPL_IF>"><TMPL_IF NAME=mkactive>activate<TMPL_ELSE>deactivate</TMPL_IF></a></td>45 <td width="1%" nowrap align=center><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=deldom&id=<TMPL_VAR NAME=domainid>"><img src="images/trash2.png" border=0></a></td>41 <td><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=reclist&id=<TMPL_VAR NAME=domainid>&defrec=n"><TMPL_VAR NAME=domain></a></td> 42 <td><TMPL_VAR name=status></td> 43 <td><TMPL_VAR name=group></td> 44 <td align="center"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=domlist<TMPL_IF NAME=offset>&offset=<TMPL_VAR NAME=offset></TMPL_IF>&id=<TMPL_VAR NAME=domainid>&action=<TMPL_IF NAME=mkactive>domon<TMPL_ELSE>domoff</TMPL_IF>"><TMPL_IF NAME=mkactive>activate<TMPL_ELSE>deactivate</TMPL_IF></a></td> 45 <td align="center"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=deldom&id=<TMPL_VAR NAME=domainid>"><img src="images/trash2.png" alt="[ Delete ]" /></a></td> 46 46 </tr> 47 47 </TMPL_LOOP> 48 48 <TMPL_ELSE> 49 <tr><td colspan= 5>No domains found</td></tr>49 <tr><td colspan="5">No domains found</td></tr> 50 50 </TMPL_IF> 51 51 </table> -
trunk/templates/editsoa.tmpl
r2 r38 66 66 </table> 67 67 68 <hr ><hr>68 <hr /><hr /> 69 69 70 70 -
trunk/templates/footer.tmpl
r2 r38 3 3 4 4 <div id="footer"> 5 <div id="contact">contact: <a href="mailto:kdeugau@deepnet.cx">Kris Deugau</a> (c) 2008 - <a href="http://www.deepnet.cx">deepnet</a><br />5 <div id="contact">contact: <a href="mailto:kdeugau@deepnet.cx">Kris Deugau</a> (c) 2008-2009 - <a href="http://www.deepnet.cx">deepnet</a><br /> 6 6 Get a real browser: <a href="http://www.firefox.com">FireFox</a>/<a href="http://www.mozilla.org">Mozilla</a> 7 7 </div> -
trunk/templates/fpnla.tmpl
r4 r38 1 <TMPL_IF navfirst><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>& page=<TMPL_VAR NAME=curpage>&offset=0<TMPL_IF id>&id=<TMPL_VAR NAME=id></TMPL_IF><TMPL_IF defrec>&defrec=<TMPL_VAR NAME=defrec></TMPL_IF>"><img src="images/frev.png" border=0>first</a><TMPL_ELSE><img src="images/frev.png" border=0>first</TMPL_IF> 2 <TMPL_IF navprev><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>& page=<TMPL_VAR NAME=curpage>&offset=<TMPL_VAR NAME=prevoffs><TMPL_IF id>&id=<TMPL_VAR NAME=id></TMPL_IF><TMPL_IF defrec>&defrec=<TMPL_VAR NAME=defrec></TMPL_IF>"><img src="images/rev.png" border=0>previous</a><TMPL_ELSE><img src="images/rev.png" border=0>previous</TMPL_IF> 3 <TMPL_IF navnext><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>& page=<TMPL_VAR NAME=curpage>&offset=<TMPL_VAR NAME=nextoffs><TMPL_IF id>&id=<TMPL_VAR NAME=id></TMPL_IF><TMPL_IF defrec>&defrec=<TMPL_VAR NAME=defrec></TMPL_IF>">next<img src="images/fwd.png" border=0></a><TMPL_ELSE>next<img src="images/fwd.png" border=0></TMPL_IF> 4 <TMPL_IF navlast><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>& page=<TMPL_VAR NAME=curpage>&offset=<TMPL_VAR NAME=lastoffs><TMPL_IF id>&id=<TMPL_VAR NAME=id></TMPL_IF><TMPL_IF defrec>&defrec=<TMPL_VAR NAME=defrec></TMPL_IF>">last<img src="images/ffwd.png" border=0></a><TMPL_ELSE>last<img src="images/ffwd.png" border=0></TMPL_IF> 5 <TMPL_IF navall><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>& page=<TMPL_VAR NAME=curpage>&offset=all<TMPL_IF id>&id=<TMPL_VAR NAME=id></TMPL_IF><TMPL_IF defrec>&defrec=<TMPL_VAR NAME=defrec></TMPL_IF>">all</a><TMPL_ELSE>all</TMPL_IF>1 <TMPL_IF navfirst><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=<TMPL_VAR NAME=curpage>&offset=0<TMPL_IF id>&id=<TMPL_VAR NAME=id></TMPL_IF><TMPL_IF defrec>&defrec=<TMPL_VAR NAME=defrec></TMPL_IF>"><img src="images/frev.png" alt="[ First ]" />first</a><TMPL_ELSE><img src="images/frev.png" alt="[ First ]" />first</TMPL_IF> 2 <TMPL_IF navprev><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=<TMPL_VAR NAME=curpage>&offset=<TMPL_VAR NAME=prevoffs><TMPL_IF id>&id=<TMPL_VAR NAME=id></TMPL_IF><TMPL_IF defrec>&defrec=<TMPL_VAR NAME=defrec></TMPL_IF>"><img src="images/rev.png" alt="[ Previous ]" />previous</a><TMPL_ELSE><img src="images/rev.png" alt="[ Previous ]" />previous</TMPL_IF> 3 <TMPL_IF navnext><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=<TMPL_VAR NAME=curpage>&offset=<TMPL_VAR NAME=nextoffs><TMPL_IF id>&id=<TMPL_VAR NAME=id></TMPL_IF><TMPL_IF defrec>&defrec=<TMPL_VAR NAME=defrec></TMPL_IF>">next<img src="images/fwd.png" alt="[ Next ]" /></a><TMPL_ELSE>next<img src="images/fwd.png" alt="[ Next ]" /></TMPL_IF> 4 <TMPL_IF navlast><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=<TMPL_VAR NAME=curpage>&offset=<TMPL_VAR NAME=lastoffs><TMPL_IF id>&id=<TMPL_VAR NAME=id></TMPL_IF><TMPL_IF defrec>&defrec=<TMPL_VAR NAME=defrec></TMPL_IF>">last<img src="images/ffwd.png" alt="[ Last ]" /></a><TMPL_ELSE>last<img src="images/ffwd.png" alt="[ Last ]" /></TMPL_IF> 5 <TMPL_IF navall><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=<TMPL_VAR NAME=curpage>&offset=all<TMPL_IF id>&id=<TMPL_VAR NAME=id></TMPL_IF><TMPL_IF defrec>&defrec=<TMPL_VAR NAME=defrec></TMPL_IF>">all</a><TMPL_ELSE>all</TMPL_IF> -
trunk/templates/grpman.tmpl
r23 r38 10 10 11 11 <table width="98%"> 12 <tr><td colspan= 3 align=center><span class="pgtitle">Manage groups</span></td></tr>12 <tr><td colspan="3" align="center"><span class="pgtitle">Manage groups</span></td></tr> 13 13 <tr><td><TMPL_INCLUDE NAME="pgcount.tmpl"></td> 14 14 <td> 15 15 <TMPL_INCLUDE NAME="fpnla.tmpl"> 16 </td><td align= right>insert search box here</td></tr>16 </td><td align="right">insert search box here</td></tr> 17 17 18 <tr><td colspan= 3 align=center>insert letter search here</td></tr>18 <tr><td colspan="3" align="center">insert letter search here</td></tr> 19 19 20 <tr><td colspan= 3 align=right><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=newgrp">New Group</a></td></tr>20 <tr><td colspan="3" align="right"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=newgrp">New Group</a></td></tr> 21 21 </table> 22 22 23 <table border= 0cellspacing="5" cellpadding="3">23 <table border="0" cellspacing="5" cellpadding="3"> 24 24 <tr> 25 25 <TMPL_IF NAME=foobarbaz> 26 26 <!-- This block to be un-TMPL_IF'ed once we care about sort order - by default, we sort by domain, ascending --> 27 <td class="underline" nowrap><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=domlist&offset=<TMPL_VAR NAME=offset>">Domain<TMPL_IF NAME=sortdomain> <img border=0 alt='<TMPL_VAR NAME=sortorder>' src="images/<TMPL_VAR NAME=sortorder>.png"></TMPL_IF></a></td> 28 <td class="underline" nowrap><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=domlist&offset=<TMPL_VAR NAME=offset>">Status<TMPL_IF NAME=sortstatus> <img border=0 alt='<TMPL_VAR NAME=sortorder>' src="images/<TMPL_VAR NAME=sortorder>.png"></TMPL_IF></a></td> 29 <td class="underline" align="center" nowrap><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=domlist&offset=<TMPL_VAR NAME=offset>">Group<TMPL_IF NAME=sortgroup> <img border=0 alt='<TMPL_VAR NAME=sortorder>' src="images/<TMPL_VAR NAME=sortorder>.png"></TMPL_IF></a></td> 30 <TMPL_ELSE> 31 <td class="underline" nowrap>Group</td> 32 <td class="underline" nowrap width="5%">Parent Group</td> 33 <td class="underline" nowrap width="5%">Users</td> 34 <td class="underline" align="center" nowrap width="5%">Domains</td> 27 <td class="underline"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=domlist&offset=<TMPL_VAR NAME=offset>">Domain<TMPL_IF NAME=sortdomain> <img border=0 alt='<TMPL_VAR NAME=sortorder>' src="images/<TMPL_VAR NAME=sortorder>.png"></TMPL_IF></a></td> 28 <td class="underline"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=domlist&offset=<TMPL_VAR NAME=offset>">Status<TMPL_IF NAME=sortstatus> <img border=0 alt='<TMPL_VAR NAME=sortorder>' src="images/<TMPL_VAR NAME=sortorder>.png"></TMPL_IF></a></td> 29 <td class="underline" align="center"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=domlist&offset=<TMPL_VAR NAME=offset>">Group<TMPL_IF NAME=sortgroup> <img border=0 alt='<TMPL_VAR NAME=sortorder>' src="images/<TMPL_VAR NAME=sortorder>.png"></TMPL_IF></a></td> <TMPL_ELSE> 30 <td class="underline">Group</td> 31 <td class="underline">Parent Group</td> 32 <td class="underline">Users</td> 33 <td class="underline" align="center">Domains</td> 35 34 </TMPL_IF> 36 <td class="underline" width="1%">Delete</td>35 <td class="underline">Delete</td> 37 36 </tr> 38 37 <TMPL_IF name=grouptable> 39 38 <TMPL_LOOP name=grouptable> 40 39 <tr class="row<TMPL_VAR name=bg>"> 41 <td><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>& page=grpman&action=chgroup&group=<TMPL_VAR NAME=groupid>"><TMPL_VAR NAME=groupname></a></td>42 <td width="5%" nowrap><TMPL_VAR name=pgroup></td>43 <td width="5%" nowrap><TMPL_VAR name=nusers></td>44 <td width="5%" nowrap><TMPL_VAR name=ndomains></td>45 <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>40 <td><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=grpman&action=chgroup&group=<TMPL_VAR NAME=groupid>"><TMPL_VAR NAME=groupname></a></td> 41 <td><TMPL_VAR name=pgroup></td> 42 <td><TMPL_VAR name=nusers></td> 43 <td><TMPL_VAR name=ndomains></td> 44 <td align="center"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=delgrp&id=<TMPL_VAR NAME=groupid>"><img src="images/trash2.png" alt="[ Delete ]" /></a></td> 46 45 </tr> 47 46 </TMPL_LOOP> 48 47 <TMPL_ELSE> 49 <tr><td colspan= 5>No groups found</td></tr>48 <tr><td colspan="5">No groups found</td></tr> 50 49 </TMPL_IF> 51 50 </table> 52 51 53 52 </td> 53 </tr> 54 54 </table> -
trunk/templates/header.tmpl
r2 r38 1 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 <html >2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> 3 3 <head> 4 4 <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> -
trunk/templates/login.tmpl
r26 r38 1 <center> 1 <form method="post" action="dns.cgi"> 2 <fieldset> 3 <input type="hidden" name="action" value="login" /> 4 <input type="hidden" name="sid" value="<TMPL_VAR NAME=sid>" /> 5 <input type="hidden" name="page" value="login" /> 6 2 7 <table id="login"> 3 <TMPL_IF NAME=loginfailed><tr><td colspan=2 class="errmsg" align="center">Error logging in: Invalid username or password</td></tr></TMPL_IF> 4 <tr><td colspan=2 class="title" align="center">Please log in:</td></tr> 5 <form method="POST" action="dns.cgi"> 6 <input type="hidden" name="action" value="login"> 7 <input type="hidden" name="sid" value="<TMPL_VAR NAME=sid>"> 8 <input type="hidden" name="page" value="login"> 9 <tr><td class="inputlabel">Username:</td><td><input type="text" name="username"></td></tr> 10 <tr><td class="inputlabel">Password:</td><td><input type="password" name="password"></td></tr> 11 <tr><td colspan=2 class="tblsubmit" align="right"><input type="submit" value="Login"></td></tr> 8 <TMPL_IF NAME=loginfailed><tr><td colspan="2" class="errmsg" align="center">Error logging in: Invalid username or password</td></tr></TMPL_IF> 9 <tr><td colspan="2" class="title" align="center">Please log in:</td></tr> 10 <tr><td class="inputlabel">Username:</td><td><input type="text" name="username" /></td></tr> 11 <tr><td class="inputlabel">Password:</td><td><input type="password" name="password" /></td></tr> 12 <tr><td colspan="2" class="tblsubmit" align="right"><input type="submit" value="Login" /></td></tr> 13 </table> 14 15 </fieldset> 12 16 </form> 13 </table>14 </center> -
trunk/templates/menu.tmpl
r30 r38 1 1 <td class="menu"> 2 2 <TMPL_VAR NAME=username> logged in<br /> 3 <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&a ction=logout">Log out</a>4 <hr >5 <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>& page=domlist">Domains</a><br />6 <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>& page=useradmin">Users</a><br />7 <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>& page=log">Log</a><br />8 <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>& page=reclist&id=<TMPL_VAR NAME=group>&defrec=y">Default Records</a><br />9 <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>& page=axfr">AXFR Import</a><br />10 <hr >3 <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&action=logout">Log out</a> 4 <hr /> 5 <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=domlist">Domains</a><br /> 6 <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=useradmin">Users</a><br /> 7 <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=log">Log</a><br /> 8 <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=reclist&id=<TMPL_VAR NAME=group>&defrec=y">Default Records</a><br /> 9 <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=axfr">AXFR Import</a><br /> 10 <hr /> 11 11 Current group: 12 <form action="<TMPL_VAR NAME=whereami>" method="POST"> 12 <form action="<TMPL_VAR NAME=whereami>" method="post"> 13 <fieldset> 13 14 <select name="group"> 14 <TMPL_LOOP NAME=grouplist><option value="<TMPL_VAR NAME=groupval>"<TMPL_IF NAME=groupactive> selected </TMPL_IF>><TMPL_VAR NAME=groupname></option>15 <TMPL_LOOP NAME=grouplist><option value="<TMPL_VAR NAME=groupval>"<TMPL_IF NAME=groupactive> selected="selected"</TMPL_IF>><TMPL_VAR NAME=groupname></option> 15 16 </TMPL_LOOP> 16 17 </select> 17 <input type=hidden name=action value="chgroup"> 18 <input type=submit value="Change group"> 18 <input type="hidden" name="action" value="chgroup" /> 19 <input type="submit" value="Change group" /> 20 </fieldset> 19 21 </form> 20 <hr >21 <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>& page=grpman">Manage groups</a><br />22 <hr /> 23 <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=grpman">Manage groups</a><br /> 22 24 <TMPL_VAR NAME=grptree> 23 25 <!-- hmm: <TMPL_VAR NAME=groupname> --> 24 <hr >25 <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>& page=dnsq">DNS Query</a><br />26 <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>& page=whoisq">WHOIS Query</a><br />26 <hr /> 27 <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=dnsq">DNS Query</a><br /> 28 <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=whoisq">WHOIS Query</a><br /> 27 29 </td> -
trunk/templates/newdomain.tmpl
r24 r38 4 4 5 5 <td align="center"> 6 <TMPL_IF add_failed><span class="errmsg">Error adding domain <TMPL_VAR NAME=domain>: <TMPL_VAR 7 NAME=errmsg></span></TMPL_IF> 6 8 7 <form action="dns.cgi"> 8 <fieldset> 9 9 10 <input type="hidden" name="sid" value="<TMPL_VAR NAME=sid>" >11 <input type="hidden" name="page" value="adddomain" >12 <input type="hidden" name="newdomain" value="yes" >10 <input type="hidden" name="sid" value="<TMPL_VAR NAME=sid>" /> 11 <input type="hidden" name="page" value="adddomain" /> 12 <input type="hidden" name="newdomain" value="yes" /> 13 13 14 <table border=0 width="450" bgcolor="white">14 <table class="container" width="450"> 15 15 <tr><td> 16 <table border=0 cellspacing=2 cellpadding=2 width="100%"> 17 <tr bgcolor="#cccccc"><td colspan=2 align="center">Add Domain</td></tr> 16 <table border="0" cellspacing="2" cellpadding="2" width="100%"> 17 <TMPL_IF add_failed> <tr><td class="errhead" colspan="2">Error adding domain <TMPL_VAR NAME=domain>: <TMPL_VAR NAME=errmsg></td></tr></TMPL_IF> 18 <tr class="darkrowheader"><td colspan="2" align="center">Add Domain</td></tr> 18 19 19 <tr bgcolor="#eeeeee">20 <td width="50%">Domain Name:</td>21 <td align="left"><input type="text" name="domain" value="<TMPL_VAR NAME=domain>" ></td>20 <tr class="datalinelight"> 21 <td>Domain Name:</td> 22 <td align="left"><input type="text" name="domain" value="<TMPL_VAR NAME=domain>" /></td> 22 23 </tr> 23 <tr bgcolor="#eeeeee">24 <tr class="datalinelight"> 24 25 <td>Add domain to group:</td> 25 <td><select name= group>26 <TMPL_LOOP name=grouplist> <option value="<TMPL_VAR NAME=groupval>"<TMPL_IF groupactive> selected </TMPL_IF>><TMPL_VAR name=groupname></option>26 <td><select name="group"> 27 <TMPL_LOOP name=grouplist> <option value="<TMPL_VAR NAME=groupval>"<TMPL_IF groupactive> selected="selected"</TMPL_IF>><TMPL_VAR name=groupname></option> 27 28 </TMPL_LOOP> 28 29 </select></td> 29 30 </tr> 30 <tr bgcolor="#eeeeee">31 <td>Make domain active on next DNS propagation</td><td><input type= checkbox name=makeactive checked></td>31 <tr class="datalinelight"> 32 <td>Make domain active on next DNS propagation</td><td><input type="checkbox" name="makeactive" checked="checked" /></td> 32 33 </tr> 33 <tr><td colspan= 2 align="center"><input type="submit" value="Add domain"></td></tr>34 <tr><td >tmp note: radio button select "group template" vs "clone domain"?</td></tr>34 <tr><td colspan="2" class="tblsubmit"><input type="submit" value="Add domain" /></td></tr> 35 <tr><td colspan="2">tmp note: radio button select "group template" vs "clone domain"?</td></tr> 35 36 </table> 36 37 </td> … … 38 39 </table> 39 40 41 </fieldset> 40 42 </form> 41 43 -
trunk/templates/newgrp.tmpl
r24 r38 3 3 <TMPL_INCLUDE NAME="menu.tmpl"> 4 4 5 <td align=center> 6 <TMPL_IF add_failed><span class="errmsg">Error adding group <TMPL_VAR NAME=newgroup>: <TMPL_VAR 7 NAME=errmsg></span></TMPL_IF> 5 <td align="center"> 6 8 7 <form action="dns.cgi"> 8 <fieldset> 9 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="action" value="add" >10 <input type="hidden" name="sid" value="<TMPL_VAR NAME=sid>" /> 11 <input type="hidden" name="page" value="newgrp" /> 12 <input type="hidden" name="action" value="add" /> 13 13 14 <table border=0 width="450" bgcolor="white">14 <table class="container" width="450"> 15 15 <tr><td> 16 <table border=0 cellspacing=2 cellpadding=2 width="100%"> 17 <tr bgcolor="#cccccc"><td colspan=2 align="center">Add Group</td></tr> 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> 18 19 19 <tr bgcolor="#eeeeee">20 <td width="50%">Group Name:</td>21 <td width="50%" align="left"><input type="text" name="newgroup" value="<TMPL_VAR NAME=newgroup>"></td>20 <tr class="datalinelight"> 21 <td>Group Name:</td> 22 <td align="left"><input type="text" name="newgroup" value="<TMPL_VAR NAME=newgroup>" /></td> 22 23 </tr> 23 <tr bgcolor="#eeeeee">24 <tr class="datalinelight"> 24 25 <td>Add as subgroup of:</td> 25 <td><select name= pargroup>26 <TMPL_LOOP name=pargroup> <option value="<TMPL_VAR NAME=groupval>"<TMPL_IF groupactive> selected </TMPL_IF>><TMPL_VAR name=groupname></option>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> 27 28 </TMPL_LOOP> 28 29 </select></td> 29 30 </tr> 30 <tr><td colspan= 2 align="center"><input type="submit" value="Add group"></td></tr>31 <tr><td colspan= 2>tmp note: radio button select "group template" vs "clone group"?</td></tr>31 <tr><td colspan="2" align="center"><input type="submit" value="Add group" /></td></tr> 32 <tr><td colspan="2">tmp note: radio button select "group template" vs "clone group"?</td></tr> 32 33 </table> 33 34 </td> … … 35 36 </table> 36 37 38 </fieldset> 37 39 </form> 38 40 -
trunk/templates/newrec.tmpl
r2 r38 5 5 <td align="center"> 6 6 7 <TMPL_IF add_failed><span class="errmsg">Error adding record: <TMPL_VARNAME=errmsg></span></TMPL_IF> 8 <form action="dns.cgi"> 9 <input type="hidden" name="page" value="addrec"> 10 <input type="hidden" name="defrec" value="<TMPL_VAR NAME=defrec>"> 11 <input type="hidden" name="sid" value="<TMPL_VAR NAME=sid>"> 12 <input type="hidden" name="parentid" value="<TMPL_VAR NAME=parentid>"> 7 <form action="dns.cgi" method="post"> 8 <fieldset> 13 9 14 <table border=0 bgcolor="white"> 10 <input type="hidden" name="page" value="addrec" /> 11 <input type="hidden" name="defrec" value="<TMPL_VAR NAME=defrec>" /> 12 <input type="hidden" name="sid" value="<TMPL_VAR NAME=sid>" /> 13 <input type="hidden" name="parentid" value="<TMPL_VAR NAME=parentid>" /> 15 14 15 <table class="container" width="450"> 16 16 <tr><td> 17 17 18 <table border=0 width="100%"> 19 <tr class="tableheader"><td align="center" colspan=2>Add Record to <TMPL_VAR NAME=domain></td></tr> 18 <table border="0" cellspacing="2" cellpadding="2" width="100%"> 19 <TMPL_IF add_failed> <tr><td class="errhead" colspan="2">Error adding record: <TMPL_VAR NAME=errmsg></td></tr></TMPL_IF> 20 <tr class="tableheader"><td align="center" colspan="2">Add Record to <TMPL_VAR NAME=domain></td></tr> 20 21 <tr class="datalinelight"> 21 22 <td>Hostname</td> 22 <td><input type="text" name="name" value="<TMPL_VAR NAME=name>" ></td>23 <td><input type="text" name="name" value="<TMPL_VAR NAME=name>" /></td> 23 24 </tr> 24 25 <tr class="datalinelight"> … … 26 27 <td><select name="type"> 27 28 <TMPL_LOOP NAME=typelist> 28 <option value="<TMPL_VAR NAME=recval>" <TMPL_IF NAME=tselect>selected</TMPL_IF>><TMPL_VAR NAME=recname></option>29 <option value="<TMPL_VAR NAME=recval>"<TMPL_IF NAME=tselect> selected="selected"</TMPL_IF>><TMPL_VAR NAME=recname></option> 29 30 </TMPL_LOOP> 30 31 </select></td> … … 32 33 <tr class="datalinelight"> 33 34 <td>Address</td> 34 <td><input type="text" name="address" value="<TMPL_VAR NAME=address>" ></td>35 <td><input type="text" name="address" value="<TMPL_VAR NAME=address>" /></td> 35 36 </tr> 36 37 <tr class="datalinelight"> 37 38 <td>Distance (MX and SRV only)</td> 38 <td><input type="text" name="distance" value="<TMPL_VAR NAME=distance>" size= 5 maxlength=10></td>39 <td><input type="text" name="distance" value="<TMPL_VAR NAME=distance>" size="5" maxlength="10" /></td> 39 40 </tr> 40 41 <tr class="datalinelight"> 41 42 <td>Weight (SRV only)</td> 42 <td><input type="text" name="weight" value="<TMPL_VAR NAME=weight>" size= 5 maxlength=10></td>43 <td><input type="text" name="weight" value="<TMPL_VAR NAME=weight>" size="5" maxlength="10" /></td> 43 44 </tr> 44 45 <tr class="datalinelight"> 45 46 <td>Port (SRV only)</td> 46 <td><input type="text" name="port" value="<TMPL_VAR NAME=port>" size=5 maxlength= 10></td>47 <td><input type="text" name="port" value="<TMPL_VAR NAME=port>" size=5 maxlength="10" /></td> 47 48 </tr> 48 49 <tr class="datalinelight"> 49 50 <td>TTL</td> 50 <td><input size= 7 maxlenth=20 type="text" name="ttl" value="<TMPL_VAR NAME=ttl>">51 <td><input size="7" maxlenth="20" type="text" name="ttl" value="<TMPL_VAR NAME=ttl>" /></td> 51 52 </tr> 52 53 <tr class="datalinelight"> 53 <td colspan= 2 align=center><input type="submit" value=" Add record "></td>54 <td colspan="2" align="center"><input type="submit" value=" Add record "></td> 54 55 </tr> 55 56 </table> … … 58 59 </table> 59 60 61 </fieldset> 60 62 </form> 61 63 64 </td> 65 </tr> 66 </table> 62 67 63 </td></tr></table>64 -
trunk/templates/newuser.tmpl
r24 r38 4 4 5 5 <td align="center"> 6 <TMPL_IF add_failed><span class="errmsg">Error adding user <TMPL_VAR NAME=username>: <TMPL_VAR7 NAME=errmsg></span></TMPL_IF>8 <form action="dns.cgi">9 6 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"> 7 <form action="dns.cgi" method="post"> 8 <fieldset> 13 9 14 <table border=0 width="450" bgcolor="white"> 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 14 <table class="container" width="450"> 15 15 <tr><td> 16 <table border=0 cellspacing=2 cellpadding=2 width="100%"> 17 <tr bgcolor="#cccccc"><td colspan=2 align="center">Add User</td></tr> 16 <table border="0" cellspacing="2" cellpadding="2" width="100%"> 17 <TMPL_IF add_failed> <tr><td class="errhead" colspan="2">Error adding user <TMPL_VAR NAME=uname>: <TMPL_VAR NAME=errmsg></td></tr></TMPL_IF> 18 <tr class="darkrowheader"><td colspan="2" align="center">Add User</td></tr> 18 19 19 <tr bgcolor="#eeeeee">20 <td width="50%">Username:</td>21 <td align="left"><input type="text" name="u sername" value="<TMPL_VAR NAME=username>"></td>20 <tr class="datalinelight"> 21 <td>Username:</td> 22 <td align="left"><input type="text" name="uname" value="<TMPL_VAR NAME=uname>" /></td> 22 23 </tr> 23 <tr bgcolor="#eeeeee">24 <tr class="datalinelight"> 24 25 <td>First Name:</td> 25 <td align="left"><input type="text" name="fname" value="<TMPL_VAR NAME=fname>" ></td>26 <td align="left"><input type="text" name="fname" value="<TMPL_VAR NAME=fname>" /></td> 26 27 </tr> 27 <tr bgcolor="#eeeeee">28 <tr class="datalinelight"> 28 29 <td>Last Name:</td> 29 <td align="left"><input type="text" name="lname" value="<TMPL_VAR NAME=lname>" ></td>30 <td align="left"><input type="text" name="lname" value="<TMPL_VAR NAME=lname>" /></td> 30 31 </tr> 31 <tr bgcolor="#eeeeee">32 <tr class="datalinelight"> 32 33 <td>Password:</td> 33 <td align="left"><input type="password" name="pass1" value="<TMPL_VAR NAME=pass1>" ></td>34 <td align="left"><input type="password" name="pass1" value="<TMPL_VAR NAME=pass1>" /></td> 34 35 </tr> 35 <tr bgcolor="#eeeeee">36 <tr class="datalinelight"> 36 37 <td>Confirm Password:</td> 37 <td align="left"><input type="password" name="pass2" value="<TMPL_VAR NAME=pass2>" ></td>38 <td align="left"><input type="password" name="pass2" value="<TMPL_VAR NAME=pass2>" /></td> 38 39 </tr> 39 <tr bgcolor="#eeeeee">40 <tr class="datalinelight"> 40 41 <td>Account Type:</td> 41 <td align="left"><select name= accttype>42 <TMPL_LOOP name=actypelist> <option value="<TMPL_VAR NAME=actypeval>"<TMPL_IF typesel> selected </TMPL_IF>><TMPL_VAR NAME=actypename></option>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> 43 44 </TMPL_LOOP> </select></td> 44 45 </tr> 45 <tr bgcolor="#eeeeee">46 <tr class="datalinelight"> 46 47 <td>Add user in group:</td> 47 <td><select name= group>48 <TMPL_LOOP name=grouplist> <option value="<TMPL_VAR NAME=groupval>"<TMPL_IF groupactive> selected </TMPL_IF>><TMPL_VAR name=groupname></option>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> 49 50 </TMPL_LOOP> </select></td> 50 51 </tr> 51 <tr bgcolor="#eeeeee">52 <td>Create as active user</td><td><input type= checkbox name=makeactive checked></td>52 <tr class="datalinelight"> 53 <td>Create as active user</td><td><input type="checkbox" name="makeactive" checked="checked" /></td> 53 54 </tr> 54 <tr><td colspan= 2 align="center"><input type="submit" value="Add user"></td></tr>55 <tr><td >tmp note: radio button select "group template" vs "clone user"?</td></tr>55 <tr><td colspan="2" class="tblsubmit"><input type="submit" value="Add user" /></td></tr> 56 <tr><td colspan="2">tmp note: radio button select "group template" vs "clone user"?</td></tr> 56 57 </table> 57 58 </td> … … 59 60 </table> 60 61 62 </fieldset> 61 63 </form> 62 64 -
trunk/templates/reclist.tmpl
r36 r38 6 6 domain details 7 7 <!-- FIXME: long data in records causes record list table to overflow one or another container --> 8 <div id=tableholder width=100%> 8 9 <!-- not sure WTF I thought I needed this for: div id=tableholder width=100% --> 9 10 10 11 <TMPL_INCLUDE NAME=soadata.tmpl> 11 12 12 <table border= 0width="100%">13 <table border="0" width="100%"> 13 14 <tr class="darkrowheader"> 14 <td colspan>15 <td> 15 16 <TMPL_INCLUDE NAME="pgcount.tmpl"> 16 17 </td> 17 <td align= center>18 <td align="center"> 18 19 <TMPL_INCLUDE NAME="fpnla.tmpl"> 19 20 </td> 20 21 <td> 21 22 <form action="dns.cgi"> 22 <input type=hidden name=sid value="<TMPL_VAR NAME=sid>"> 23 <input name=search> 24 <input type=submit value="Filter"> 23 <fieldset> 24 <input type="hidden" name="sid" value="<TMPL_VAR NAME=sid>" /> 25 <input name="search" /> 26 <input type="submit" value="Filter" /> 27 </fieldset> 25 28 </form> 26 29 </td> 27 30 </tr> 28 31 <tr class="darkrowheader"> 29 <td colspan= 2>Records</td>30 <td align= right><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=record&parentid=<TMPL_VAR NAME=id>&defrec=<TMPL_VAR NAME=defrec>&recact=new">Add record</a>31 <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>& page=showlog&id=<TMPL_VAR NAME=id>&defrec=<TMPL_VAR NAME=defrec>">View log</a>32 <td colspan="2">Records</td> 33 <td align="right"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=record&parentid=<TMPL_VAR NAME=id>&defrec=<TMPL_VAR NAME=defrec>&recact=new">Add record</a> 34 <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=showlog&id=<TMPL_VAR NAME=id>&defrec=<TMPL_VAR NAME=defrec>">View log</a> 32 35 </td> 33 36 </tr> … … 35 38 </table> 36 39 40 <TMPL_IF reclist> 37 41 <table> 38 42 <tr class="darkrowheader"> 39 <td nowrap>Name</td>40 <td width="5%">Type</td>41 <td>Address</td>42 <td>Distance</td><td>Weight</td><td>Port</td><td>TTL</td><td>Delete</td></tr>43 <td>Name</td> 44 <td>Type</td> 45 <td>Address</td> 46 <td>Distance</td><td>Weight</td><td>Port</td><td>TTL</td><td>Delete</td></tr> 43 47 <TMPL_LOOP NAME=reclist> 44 48 <tr class="row<TMPL_VAR NAME=row>"> 45 <td width="20%" nowrap><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=record&parentid=<TMPL_VAR NAME=id>&defrec=<TMPL_VAR NAME=defrec>&recact=edit&id=<TMPL_VAR NAME=record_id>"><TMPL_VAR NAME=host></a></td> 46 <td width="5%" nowrap><TMPL_VAR NAME=type></td> 47 <td nowrap><TMPL_VAR NAME=val></td> 48 <td width="10%" nowrap><TMPL_VAR NAME=distance></td> 49 <td width="10%" nowrap><TMPL_VAR NAME=weight></td> 50 <td width="5%" nowrap><TMPL_VAR NAME=port></td> 51 <td width="5%" nowrap><TMPL_VAR NAME=ttl></td> 52 <td width="5%" align="center" nowrap><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=delrec&id=<TMPL_VAR NAME=record_id>&defrec=<TMPL_VAR NAME=defrec>"><img border=0 src="images/trash2.png"></a></td> 49 <td><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=record&parentid=<TMPL_VAR NAME=id>&defrec=<TMPL_VAR NAME=defrec>&recact=edit&id=<TMPL_VAR NAME=record_id>"><TMPL_VAR NAME=host></a></td> 50 <td><TMPL_VAR NAME=type></td> 51 <td><TMPL_VAR NAME=val></td> 52 <td><TMPL_VAR NAME=distance></td> 53 <td><TMPL_VAR NAME=weight></td> 54 <td><TMPL_VAR NAME=port></td> 55 <td><TMPL_VAR NAME=ttl></td> 56 <td align="center"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=delrec&id=<TMPL_VAR NAME=record_id>&defrec=<TMPL_VAR NAME=defrec>"><img src="images/trash2.png" alt="[ Delete ]" /></a></td> 57 </tr> 53 58 </TMPL_LOOP> 54 59 </table> 60 <TMPL_ELSE> 61 <tr><td colspan="5">No records found</td></tr> 62 </TMPL_IF> 55 63 56 64 </td></tr></table> -
trunk/templates/record.tmpl
r17 r38 5 5 <td align="center"> 6 6 7 <TMPL_IF failed><div class="errmsg">Error <TMPL_VAR NAME=wastrying> record: <TMPL_VARNAME=errmsg></div></TMPL_IF> 8 <form action="dns.cgi" method="POST"> 9 <input type="hidden" name="page" value="record"> 10 <input type="hidden" name="defrec" value="<TMPL_VAR NAME=defrec>"> 11 <input type="hidden" name="sid" value="<TMPL_VAR NAME=sid>"> 12 <input type="hidden" name="parentid" value="<TMPL_VAR NAME=parentid>"> 13 <input type="hidden" name="id" value="<TMPL_VAR NAME=id>"> 14 <input type="hidden" name="recact" value="<TMPL_VAR NAME=recact>"> 15 <table border=0 bgcolor="white"> 7 <form action="dns.cgi" method="post"> 8 <fieldset> 16 9 10 <input type="hidden" name="page" value="record" /> 11 <input type="hidden" name="defrec" value="<TMPL_VAR NAME=defrec>" /> 12 <input type="hidden" name="sid" value="<TMPL_VAR NAME=sid>" /> 13 <input type="hidden" name="parentid" value="<TMPL_VAR NAME=parentid>" /> 14 <input type="hidden" name="id" value="<TMPL_VAR NAME=id>" /> 15 <input type="hidden" name="recact" value="<TMPL_VAR NAME=recact>" /> 16 17 <table class="container" width="450"> 17 18 <tr><td> 18 19 19 <table border=0 width="100%"> 20 <tr class="tableheader"><td align="center" colspan=2><TMPL_VAR NAME=todo>: <TMPL_VAR NAME=dohere></td></tr> 20 <table border="0" cellspacing="2" cellpadding="2" width="100%"> 21 <TMPL_IF failed><tr><td class="errhead" colspan="2">Error <TMPL_VAR NAME=wastrying> record: <TMPL_VARNAME=errmsg></td></tr></TMPL_IF> 22 <tr class="tableheader"><td align="center" colspan="2"><TMPL_VAR NAME=todo>: <TMPL_VAR NAME=dohere></td></tr> 21 23 <tr class="datalinelight"> 22 24 <td>Hostname</td> 23 <td><input type="text" name="name" value="<TMPL_VAR NAME=name>" ></td>25 <td><input type="text" name="name" value="<TMPL_VAR NAME=name>" /></td> 24 26 </tr> 25 27 <tr class="datalinelight"> … … 27 29 <td><select name="type"> 28 30 <TMPL_LOOP NAME=typelist> 29 <option value="<TMPL_VAR NAME=recval>"<TMPL_IF NAME=tselect> selected </TMPL_IF>><TMPL_VAR NAME=recname></option>31 <option value="<TMPL_VAR NAME=recval>"<TMPL_IF NAME=tselect> selected="selected"</TMPL_IF>><TMPL_VAR NAME=recname></option> 30 32 </TMPL_LOOP> 31 33 </select></td> … … 33 35 <tr class="datalinelight"> 34 36 <td>Address</td> 35 <td><input type="text" name="address" value="<TMPL_VAR NAME=address>" ></td>37 <td><input type="text" name="address" value="<TMPL_VAR NAME=address>" /></td> 36 38 </tr> 37 39 <tr class="datalinelight"> 38 40 <td>Distance (MX and SRV only)</td> 39 <td><input type="text" name="distance" value="<TMPL_VAR NAME=distance>" size= 5 maxlength=10></td>41 <td><input type="text" name="distance" value="<TMPL_VAR NAME=distance>" size="5" maxlength="10" /></td> 40 42 </tr> 41 43 <tr class="datalinelight"> 42 44 <td>Weight (SRV only)</td> 43 <td><input type="text" name="weight" value="<TMPL_VAR NAME=weight>" size= 5 maxlength=10></td>45 <td><input type="text" name="weight" value="<TMPL_VAR NAME=weight>" size="5" maxlength="10" /></td> 44 46 </tr> 45 47 <tr class="datalinelight"> 46 48 <td>Port (SRV only)</td> 47 <td><input type="text" name="port" value="<TMPL_VAR NAME=port>" size= 5 maxlength=10></td>49 <td><input type="text" name="port" value="<TMPL_VAR NAME=port>" size="5" maxlength="10" /></td> 48 50 </tr> 49 51 <tr class="datalinelight"> 50 52 <td>TTL</td> 51 <td><input size= 7 maxlenth=20 type="text" name="ttl" value="<TMPL_VAR NAME=ttl>">53 <td><input size="7" maxlength="20" type="text" name="ttl" value="<TMPL_VAR NAME=ttl>" /></td> 52 54 </tr> 53 55 <tr class="datalinelight"> 54 <td colspan= 2 align=center><input type="submit" value=" <TMPL_VAR NAME=todo> "></td>56 <td colspan="2" align="center"><input type="submit" value=" Add record " /></td> 55 57 </tr> 56 58 </table> … … 59 61 </table> 60 62 63 </fieldset> 61 64 </form> 62 65 63 64 </t d></tr></table>65 66 </td> 67 </tr> 68 </table> -
trunk/templates/soadata.tmpl
r2 r38 1 <table name=soahead border=0 cellspacing=3 cellpadding=3width="100%">1 <table id="soahead" border="0" cellspacing="3" cellpadding="3" width="100%"> 2 2 <tr class="darkrowheader"> 3 3 <td>SOA:</td> 4 <td width="5%"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=editsoa&recid=<TMPL_VAR NAME=recid>&defrec=<TMPL_VAR NAME=defrec>">edit</a></td>4 <td><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=editsoa&recid=<TMPL_VAR NAME=recid>&defrec=<TMPL_VAR NAME=defrec>">edit</a></td> 5 5 </tr> 6 6 </table> 7 7 8 <table name=soadetail>8 <table id="soadetail"> 9 9 <tr class="datalinelight"> 10 <td width="10%" nowrap>Contact address:</td>11 <td width="40%" nowrap><TMPL_VAR NAME=contact></td>12 <td width="10%" nowrap>Primary Nameserver:</td>13 <td width="40%" nowrap><TMPL_VAR NAME=prins></td>10 <td>Contact address:</td> 11 <td><TMPL_VAR NAME=contact></td> 12 <td>Primary Nameserver:</td> 13 <td><TMPL_VAR NAME=prins></td> 14 14 </tr> 15 15 <tr class="datalinelight"> 16 <td width="10%" nowrap>Serial Number:</td>17 <td width="40%" nowrap><TMPL_VAR NAME=serial></td>18 <td width="10%" nowrap>Refresh:</td>19 <td width="40%" nowrap><TMPL_VAR NAME=refresh></td>16 <td>Serial Number:</td> 17 <td><TMPL_VAR NAME=serial></td> 18 <td>Refresh:</td> 19 <td><TMPL_VAR NAME=refresh></td> 20 20 </tr> 21 21 <tr class="datalinelight"> 22 <td width="10%" nowrap>Retry:</td>23 <td width="40%" nowrap><TMPL_VAR NAME=retry></td>24 <td width="10%" nowrap>Expiration:</td>25 <td width="40%" nowrap><TMPL_VAR NAME=expire></td>22 <td>Retry:</td> 23 <td><TMPL_VAR NAME=retry></td> 24 <td>Expiration:</td> 25 <td><TMPL_VAR NAME=expire></td> 26 26 </tr> 27 27 <tr class="datalinelight"> 28 <td width="10%" nowrap>Minimum TTL:</td>29 <td width="40%" nowrap><TMPL_VAR NAME=minttl></td>30 <td width="10%" nowrap>Default TTL:</td>31 <td width="40%" nowrap><TMPL_VAR NAME=ttl></td>28 <td>Minimum TTL:</td> 29 <td><TMPL_VAR NAME=minttl></td> 30 <td>Default TTL:</td> 31 <td><TMPL_VAR NAME=ttl></td> 32 32 </tr> 33 33 </table> -
trunk/templates/useradmin.tmpl
r25 r38 10 10 11 11 <table width="98%"> 12 <tr><td colspan= 3 align=center><span class="pgtitle">Manage users</span></td></tr>12 <tr><td colspan="3" align="center"><span class="pgtitle">Manage users</span></td></tr> 13 13 <tr><td><TMPL_INCLUDE NAME="pgcount.tmpl"></td> 14 14 <td> 15 15 <TMPL_INCLUDE NAME="fpnla.tmpl"> 16 </td><td align= right>insert search box here</td></tr>16 </td><td align="right">insert search box here</td></tr> 17 17 18 <tr><td colspan= 3 align=center>insert letter search here</td></tr>18 <tr><td colspan="3" align="center">insert letter search here</td></tr> 19 19 20 <tr><td colspan= 3 align=right><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=newuser">New User</a></td></tr>20 <tr><td colspan="3" align="right"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=newuser">New User</a></td></tr> 21 21 </table> 22 22 23 <table border= 0cellspacing="5" cellpadding="3">23 <table border="0" cellspacing="5" cellpadding="3"> 24 24 <tr> 25 25 <TMPL_IF NAME=foobarbaz> 26 26 <!-- This block to be un-TMPL_IF'ed once we care about sort order - by default, we sort by domain, ascending --> 27 <td class="underline" nowrap><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=domlist&offset=<TMPL_VAR NAME=offset>">Domain<TMPL_IF NAME=sortdomain> <img border=0 alt='<TMPL_VAR NAME=sortorder>' src="images/<TMPL_VAR NAME=sortorder>.png"></TMPL_IF></a></td> 28 <td class="underline" nowrap><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=domlist&offset=<TMPL_VAR NAME=offset>">Status<TMPL_IF NAME=sortstatus> <img border=0 alt='<TMPL_VAR NAME=sortorder>' src="images/<TMPL_VAR NAME=sortorder>.png"></TMPL_IF></a></td> 29 <td class="underline" align="center" nowrap><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=domlist&offset=<TMPL_VAR NAME=offset>">Group<TMPL_IF NAME=sortuser> <img border=0 alt='<TMPL_VAR NAME=sortorder>' src="images/<TMPL_VAR NAME=sortorder>.png"></TMPL_IF></a></td> 30 <TMPL_ELSE> 31 <td class="underline" nowrap>Username</td> 32 <td class="underline" nowrap>Full name</td> 33 <td class="underline" nowrap>Type</td> 34 <td class="underline" nowrap width="5%">Group</td> 35 <td class="underline" nowrap>Status</td> 27 <td class="underline" nowrap><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=domlist&offset=<TMPL_VAR NAME=offset>">Domain<TMPL_IF NAME=sortdomain> <img alt='<TMPL_VAR NAME=sortorder>' src="images/<TMPL_VAR NAME=sortorder>.png" /></TMPL_IF></a></td> 28 <td class="underline" nowrap><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=domlist&offset=<TMPL_VAR NAME=offset>">Status<TMPL_IF NAME=sortstatus> <img alt='<TMPL_VAR NAME=sortorder>' src="images/<TMPL_VAR NAME=sortorder>.png" /></TMPL_IF></a></td> 29 <td class="underline" align="center" nowrap><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=domlist&offset=<TMPL_VAR NAME=offset>">Group<TMPL_IF NAME=sortuser> <img alt='<TMPL_VAR NAME=sortorder>' src="images/<TMPL_VAR NAME=sortorder>.png" /></TMPL_IF></a></td> <TMPL_ELSE> 30 <td>Username</td> 31 <td>Full name</td> 32 <td>Type</td> 33 <td>Group</td> 34 <td>Status</td> 36 35 </TMPL_IF> 37 <td class="underline" width="1%">Delete</td>36 <td>Delete</td> 38 37 </tr> 39 38 <TMPL_IF name=usertable> 40 39 <TMPL_LOOP name=usertable> 41 40 <tr class="row<TMPL_VAR name=bg>"> 42 <td><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=userman&action=chuser&user=<TMPL_VAR NAME=userid>"><TMPL_VAR NAME=username></a></td> 43 <td width="5%" nowrap><TMPL_VAR name=userfull></td> 44 <td width="5%" nowrap><TMPL_VAR name=usertype></td> 45 <td width="5%" nowrap><TMPL_VAR name=usergroup></td> 46 <td width="1%" nowrap align=center><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=useradmin<TMPL_IF 47 NAME=offset>&offset=<TMPL_VAR NAME=offset></TMPL_IF>&id=<TMPL_VAR NAME=userid>&action=<TMPL_IF 48 NAME=mkactive>useron<TMPL_ELSE>useroff</TMPL_IF>"><TMPL_IF 49 NAME=mkactive>enabled<TMPL_ELSE>disabled</TMPL_IF></a></td> 50 <td width="1%" nowrap align=center><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=deluser&id=<TMPL_VAR NAME=userid>"><img src="images/trash2.png" border=0></a></td> 41 <td><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=userman&action=chuser&user=<TMPL_VAR NAME=userid>"><TMPL_VAR NAME=username></a></td> 42 <td><TMPL_VAR name=userfull></td> 43 <td><TMPL_VAR name=usertype></td> 44 <td><TMPL_VAR name=usergroup></td> 45 <td align="center"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=useradmin<TMPL_IF NAME=offset>&offset=<TMPL_VAR NAME=offset></TMPL_IF>&id=<TMPL_VAR NAME=userid>&action=<TMPL_IF NAME=mkactive>useron<TMPL_ELSE>useroff</TMPL_IF>"><TMPL_IF NAME=mkactive>enabled<TMPL_ELSE>disabled</TMPL_IF></a></td> 46 <td align="center"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=deluser&id=<TMPL_VAR NAME=userid>"><img src="images/trash2.png" alt="[ Delete ]" /></a></td> 51 47 </tr> 52 48 </TMPL_LOOP> 53 49 <TMPL_ELSE> 54 <tr><td colspan= 5>No users found</td></tr>50 <tr><td colspan="5">No users found</td></tr> 55 51 </TMPL_IF> 56 52 </table> 57 53 58 54 </td> 55 </tr> 59 56 </table>
Note:
See TracChangeset
for help on using the changeset viewer.