Changeset 545 for branches/stable/templates
- Timestamp:
- 12/10/13 17:47:44 (11 years ago)
- Location:
- branches/stable
- Files:
-
- 18 edited
- 4 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/stable
- Property svn:mergeinfo changed
/trunk merged: 264-316,318-416
- Property svn:mergeinfo changed
-
branches/stable/templates/axfr.tmpl
r437 r545 39 39 </tr> 40 40 <tr class="datalinelight"> 41 <td>Merge records on A+PTR or AAAA+PTR match?</td> 42 <td><input type="checkbox" name="mergematching"<TMPL_IF mergematching> checked="checked"</TMPL_IF> /></td> 43 </tr> 44 <tr class="datalinelight"> 41 45 <td>Import as active?</td> 42 46 <td><input type="checkbox" name="domactive"<TMPL_UNLESS dominactive> checked="checked"</TMPL_UNLESS> /></td> … … 44 48 <tr class="datalinelight"> 45 49 <td valign="top">Domains to import:<br />(one per line)</td> 46 <td><textarea name="importdoms" rows="10" cols=" 25"><TMPL_IF importdoms><TMPL_VAR NAME=importdoms></TMPL_IF></textarea></td>50 <td><textarea name="importdoms" rows="10" cols="45"><TMPL_IF importdoms><TMPL_VAR NAME=importdoms></TMPL_IF></textarea></td> 47 51 </tr> 48 52 <tr class="datalinelight"> -
branches/stable/templates/bulkchange.tmpl
r113 r545 10 10 <tr class="datalinelight"> 11 11 <td><TMPL_VAR NAME=domain></td> 12 <TMPL_IF domok> <td>OK</td> 13 <TMPL_ELSE><TMPL_IF domwarn> <td class="warn">Import OK but:<br /> 14 <TMPL_VAR NAME=domwarn></td> 15 <TMPL_ELSE> <td class="err">Failed: <TMPL_VAR NAME=domerr></td> 12 <TMPL_IF domok> <td><TMPL_VAR NAME=domok></td> 13 <TMPL_ELSE><TMPL_IF domwarn> <td class="warn"><TMPL_VAR NAME=domwarn></td> 14 <TMPL_ELSE> <td class="err"><TMPL_VAR NAME=domerr></td> 16 15 </TMPL_IF></TMPL_IF> 17 16 </tr> 18 17 </TMPL_LOOP> 19 18 </table> 20 <TMPL_VAR NAME=foobar>21 19 </td> 22 20 </tr> -
branches/stable/templates/bulkdomain.tmpl
r207 r545 40 40 <table> 41 41 <tr> 42 <TMPL_LOOP NAME=domtable><td><input type="checkbox" name="dom_<TMPL_VAR NAME=dom id>" value="<TMPL_VAR NAME=domid>" /> <TMPL_VAR NAME=domain></td>42 <TMPL_LOOP NAME=domtable><td><input type="checkbox" name="dom_<TMPL_VAR NAME=domainid>" value="<TMPL_VAR NAME=domainid>" /> <TMPL_VAR NAME=domain></td> 43 43 <TMPL_IF newrow></tr> 44 44 <tr> -
branches/stable/templates/domlist.tmpl
r544 r545 5 5 <td align="center" valign="top"> 6 6 7 <TMPL_IF resultmsg> 8 <div class="result"><TMPL_VAR NAME=resultmsg></div> 9 </TMPL_IF> 10 <TMPL_IF errmsg> 11 <div class="errmsg"><TMPL_VAR NAME=errmsg></div> 12 </TMPL_IF> 7 <TMPL_INCLUDE NAME="msgblock.tmpl"> 13 8 14 9 <table width="98%"> … … 33 28 <table width="98%" border="0" cellspacing="4" cellpadding="3"> 34 29 <tr> 35 <TMPL_LOOP NAME=colheads> 36 <td class="datahead_<TMPL_IF firstcol>l<TMPL_ELSE>s</TMPL_IF>"><a href="dns.cgi?sid=<TMPL_VAR 37 NAME=sid>&page=<TMPL_VAR NAME=page><TMPL_IF NAME=offset>&offset=<TMPL_VAR 38 NAME=offset></TMPL_IF>&sortby=<TMPL_VAR NAME=sortby>&order=<TMPL_VAR NAME=order>"><TMPL_VAR 39 NAME=colname></a><TMPL_IF NAME=sortorder> <img alt="<TMPL_VAR NAME=sortorder>" 40 src="images/<TMPL_VAR NAME=sortorder>.png" /></TMPL_IF></td> 30 <TMPL_LOOP NAME=colheads> <td class="datahead_<TMPL_IF __first__>l<TMPL_ELSE>s</TMPL_IF>"><a href="dns.cgi?sid=<TMPL_VAR 31 NAME=sid>&page=<TMPL_VAR NAME=page><TMPL_IF NAME=offset>&offset=<TMPL_VAR 32 NAME=offset></TMPL_IF>&sortby=<TMPL_VAR NAME=sortby>&order=<TMPL_VAR NAME=order>"><TMPL_VAR 33 NAME=colname></a><TMPL_IF NAME=sortorder> <img alt="<TMPL_VAR NAME=sortorder>" src="images/<TMPL_VAR 34 NAME=sortorder>.png" /></TMPL_IF></td> 41 35 </TMPL_LOOP> 42 36 <TMPL_IF domain_edit> <td class="datahead_s">Change Status</td></TMPL_IF> … … 45 39 <TMPL_IF name=domtable> 46 40 <TMPL_LOOP name=domtable> 47 <tr class="row<TMPL_IF __odd__> 1<TMPL_ELSE>0</TMPL_IF>">48 <td align="left"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=reclist&id=<TMPL_VAR NAME=domain id>&defrec=n<TMPL_UNLESS domlist>&revrec=y</TMPL_UNLESS>"><TMPL_VAR NAME=domain></a></td>41 <tr class="row<TMPL_IF __odd__>0<TMPL_ELSE>1</TMPL_IF>"> 42 <td align="left"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=reclist&id=<TMPL_VAR NAME=domain_id>&defrec=n<TMPL_UNLESS domlist>&revrec=y</TMPL_UNLESS>"><TMPL_VAR NAME=domain></a></td> 49 43 <td><TMPL_IF status>Active<TMPL_ELSE>Inactive</TMPL_IF></td> 50 44 <td><TMPL_VAR name=group></td> 51 <TMPL_IF domain_edit> <td align="center"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=<TMPL_VAR NAME=curpage><TMPL_IF NAME=offset>&offset=<TMPL_VAR NAME=offset></TMPL_IF>&id=<TMPL_VAR NAME=domainid>& domstatus=<TMPL_IF status>domoff<TMPL_ELSE>domon</TMPL_IF>"><TMPL_IF status>deactivate<TMPL_ELSE>activate</TMPL_IF></a></td></TMPL_IF>52 <TMPL_IF domain_delete> <td align="center"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=<TMPL_IF domlist>deldom<TMPL_ELSE>delrevzone</TMPL_IF>&id=<TMPL_VAR NAME=domain id>"><img src="images/trash2.png" alt="[ Delete ]" /></a></td></TMPL_IF>45 <TMPL_IF domain_edit> <td align="center"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=<TMPL_VAR NAME=curpage><TMPL_IF NAME=offset>&offset=<TMPL_VAR NAME=offset></TMPL_IF>&id=<TMPL_VAR NAME=domainid>&zonestatus=<TMPL_IF status>domoff<TMPL_ELSE>domon</TMPL_IF>"><TMPL_IF status>deactivate<TMPL_ELSE>activate</TMPL_IF></a></td></TMPL_IF> 46 <TMPL_IF domain_delete> <td align="center"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=<TMPL_IF domlist>deldom<TMPL_ELSE>delrevzone</TMPL_IF>&id=<TMPL_VAR NAME=domain_id>"><img src="images/trash2.png" alt="[ Delete ]" /></a></td></TMPL_IF> 53 47 </tr> 54 48 </TMPL_LOOP> -
branches/stable/templates/editsoa.tmpl
r100 r545 16 16 <input type="hidden" name="page" value="updatesoa" /> 17 17 <input type="hidden" name="id" value="<TMPL_VAR NAME=id>" /> 18 <input type="hidden" name="recid" value="<TMPL_VAR NAME=recid>" />19 18 <input type="hidden" name="defrec" value="<TMPL_VAR NAME=defrec>" /> 19 <input type="hidden" name="revrec" value="<TMPL_VAR NAME=revrec>" /> 20 20 21 21 <table border="0" cellspacing="2" cellpadding="1" width="100%"> 22 22 <tr class="darkrowheader"> 23 23 <td colspan="2" class="title"><TMPL_IF NAME=isgrp>Edit default SOA record for group <TMPL_ELSE>Edit SOA record for </TMPL_IF><TMPL_VAR NAME=parent></td> 24 <td class="title"> Defaults:</td>24 <td class="title">System defaults:</td> 25 25 </tr> 26 26 <tr class="datalinelight"> -
branches/stable/templates/grpman.tmpl
r178 r545 5 5 <td align="center" valign="top"> 6 6 7 <TMPL_IF resultmsg> 8 <div class="result"><TMPL_VAR NAME=resultmsg></div> 9 </TMPL_IF> 10 <TMPL_IF warnmsg> 11 <div class="warning">Warning: <TMPL_VAR NAME=warnmsg></div> 12 </TMPL_IF> 13 <TMPL_IF errmsg> 14 <div class="errmsg"><TMPL_VAR NAME=errmsg></div> 15 </TMPL_IF> 7 <TMPL_INCLUDE NAME="msgblock.tmpl"> 16 8 17 9 <table width="98%"> … … 32 24 <table width="98%" border="0" cellspacing="4" cellpadding="3"> 33 25 <tr> 34 <TMPL_LOOP NAME=colheads> 35 <td class="datahead_<TMPL_IF firstcol>l<TMPL_ELSE>s</TMPL_IF>"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=<TMPL_VAR NAME=page><TMPL_IF NAME=offset>&offset=<TMPL_VAR NAME=offset></TMPL_IF>&sortby=<TMPL_VAR NAME=sortby>&order=<TMPL_VAR NAME=order>"><TMPL_VAR NAME=colname></a><TMPL_IF NAME=sortorder> <img alt="<TMPL_VAR NAME=sortorder>" src="images/<TMPL_VAR NAME=sortorder>.png" /></TMPL_IF></td></TMPL_LOOP> 26 <TMPL_LOOP NAME=colheads> <td class="datahead_<TMPL_IF __first__>l<TMPL_ELSE>s</TMPL_IF>"><a href="dns.cgi?sid=<TMPL_VAR 27 NAME=sid>&page=<TMPL_VAR NAME=page><TMPL_IF NAME=offset>&offset=<TMPL_VAR 28 NAME=offset></TMPL_IF>&sortby=<TMPL_VAR NAME=sortby>&order=<TMPL_VAR NAME=order>"><TMPL_VAR 29 NAME=colname></a><TMPL_IF NAME=sortorder> <img alt="<TMPL_VAR NAME=sortorder>" src="images/<TMPL_VAR 30 NAME=sortorder>.png" /></TMPL_IF></td> 31 </TMPL_LOOP> 36 32 <TMPL_IF delgrp> 37 33 <td class="datahead_s">Delete</td> … … 40 36 <TMPL_IF name=grouptable> 41 37 <TMPL_LOOP name=grouptable> 42 <tr class="row<TMPL_ VAR name=bg>">38 <tr class="row<TMPL_IF __odd__>0<TMPL_ELSE>1</TMPL_IF>"> 43 39 <td align="left"><TMPL_IF edgrp><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=edgroup&gid=<TMPL_VAR NAME=groupid>"><TMPL_VAR NAME=groupname></a><TMPL_ELSE><TMPL_VAR NAME=groupname></TMPL_IF></td> 44 40 <td><TMPL_VAR name=pgroup></td> 45 41 <td><TMPL_VAR name=nusers></td> 46 42 <td><TMPL_VAR name=ndomains></td> 43 <td><TMPL_VAR NAME=nrevzones></td> 47 44 <TMPL_IF delgrp> 48 45 <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> -
branches/stable/templates/location.tmpl
r374 r545 14 14 <input type="hidden" name="page" value="location" /> 15 15 <input type="hidden" name="sid" value="<TMPL_VAR NAME=sid>" /> 16 <input type="hidden" name="parentid" value="<TMPL_VAR NAME=parentid>" /> 17 <input type="hidden" name="id" value="<TMPL_VAR NAME=id>" /> 16 <TMPL_IF id><input type="hidden" name="id" value="<TMPL_VAR NAME=id>" /></TMPL_IF> 18 17 <input type="hidden" name="locact" value="<TMPL_VAR NAME=locact>" /> 19 18 … … 26 25 <tr class="datalinelight"> 27 26 <td>Location name/description</td> 28 <td><input type="text" name="locname" value="<TMPL_VAR ESCAPE=HTML NAME=locname>" size="30" /></td>27 <td><input type="text" name="locname" value="<TMPL_VAR ESCAPE=HTML NAME=locname>" size="30" maxlength="40" /></td> 29 28 </tr> 30 29 <tr class="datalinelight"> 31 30 <td>IP list</td> 32 31 <td><input type="text" name="iplist" value="<TMPL_VAR ESCAPE=HTML NAME=iplist>" size="30" /></td> 32 </tr> 33 <tr class="datalinelight"> 34 <td>Comments</td> 35 <td><textarea name="comments" cols="50" rows="5"><TMPL_VAR ESCAPE=HTML NAME=comments></textarea></td> 33 36 </tr> 34 37 <tr class="datalinelight"> -
branches/stable/templates/loclist.tmpl
r370 r545 5 5 <td align="center" valign="top"> 6 6 7 <TMPL_IF resultmsg> 8 <div class="result"><TMPL_VAR NAME=resultmsg></div> 9 </TMPL_IF> 10 <TMPL_IF warnmsg> 11 <div class="warning">Warning: <TMPL_VAR NAME=warnmsg></div> 12 </TMPL_IF> 13 <TMPL_IF errmsg> 14 <div class="errmsg"><TMPL_VAR NAME=errmsg></div> 15 </TMPL_IF> 7 <TMPL_INCLUDE NAME="msgblock.tmpl"> 16 8 17 9 <table width="98%" class="csubtable"> … … 22 14 <td class="rightthird"><TMPL_INCLUDE NAME="sbox.tmpl"></td> 23 15 </tr> 24 <tr><td colspan="3" align="center"><TMPL_INCLUDE NAME="lettsearch.tmpl"></td></tr>25 16 <TMPL_IF addloc> 26 <tr><td colspan="3" align="right"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=loc ">New Location/View</a></td></tr>17 <tr><td colspan="3" align="right"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=location">New Location/View</a></td></tr> 27 18 </TMPL_IF> 28 19 </table> … … 30 21 <table width="98%" border="0" cellspacing="4" cellpadding="3" class="csubtable"> 31 22 <tr> 32 <TMPL_LOOP NAME=colheads> 33 <td class="datahead_<TMPL_IF firstcol>l<TMPL_ELSE>s</TMPL_IF>"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=<TMPL_VAR NAME=page><TMPL_IF NAME=offset>&offset=<TMPL_VAR NAME=offset></TMPL_IF>&sortby=<TMPL_VAR NAME=sortby>&order=<TMPL_VAR NAME=order>"><TMPL_VAR NAME=colname></a><TMPL_IF NAME=sortorder> <img alt="<TMPL_VAR NAME=sortorder>" src="images/<TMPL_VAR NAME=sortorder>.png" /></TMPL_IF></td></TMPL_LOOP> 23 <TMPL_LOOP NAME=colheads> <td class="datahead_s"><a href="dns.cgi?sid=<TMPL_VAR 24 NAME=sid>&page=<TMPL_VAR NAME=page><TMPL_IF NAME=offset>&offset=<TMPL_VAR 25 NAME=offset></TMPL_IF>&sortby=<TMPL_VAR NAME=sortby>&order=<TMPL_VAR NAME=order>"><TMPL_VAR 26 NAME=colname></a><TMPL_IF NAME=sortorder> <img alt="<TMPL_VAR NAME=sortorder>" src="images/<TMPL_VAR 27 NAME=sortorder>.png" /></TMPL_IF></td> 28 </TMPL_LOOP> 34 29 <TMPL_IF delloc> <td class="datahead_s">Delete</td></TMPL_IF> 35 30 </tr> … … 37 32 <TMPL_LOOP name=loctable> 38 33 <tr class="row<TMPL_IF __odd__>0<TMPL_ELSE>1</TMPL_IF>"> 39 <td align="left"><TMPL_IF edloc><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=location&loc _action=edit&loc=<TMPL_VAR NAME=loc>"><TMPL_VAR NAME=description></a><TMPL_ELSE><TMPL_VAR NAME=description></TMPL_IF></td>34 <td align="left"><TMPL_IF edloc><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=location&locact=edit&loc=<TMPL_VAR NAME=location>"><TMPL_VAR NAME=description></a><TMPL_ELSE><TMPL_VAR NAME=description></TMPL_IF></td> 40 35 <td><TMPL_VAR name=iplist></td> 41 36 <td><TMPL_VAR name=group_name></td> -
branches/stable/templates/log.tmpl
r180 r545 10 10 11 11 <table border="0" width="90%"> 12 <tr><th colspan="5"><div class="center maintitle">Log entries for <TMPL_VAR NAME=logfor></div></th></tr> 13 <tr class="darkrowheader"> 14 <td>Name</td> 12 <tr><th colspan="3"><div class="center maintitle">Log entries for <TMPL_VAR NAME=logfor></div></th></tr> 13 <tr> 14 <td class="leftthird"><TMPL_INCLUDE NAME="pgcount.tmpl"></td> 15 <td align="center"><TMPL_INCLUDE NAME="fpnla.tmpl"></td> 16 <td class="rightthird"> </td> 17 </tr> 18 </table> 19 <table border="0" width="90%"> 15 20 <!-- Not sure "Customer ID" (filled with uid) is of any use... --> 16 21 <!-- td>Customer ID</td --> 17 <td>Username/Email</td> 18 <td>Log Entry</td> 19 <td>Date / Time</td> 20 </tr> 22 <tr class="darkrowheader"> 23 <TMPL_LOOP NAME=colheads> <td><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=<TMPL_VAR NAME=page><TMPL_IF 24 NAME=offset>&offset=<TMPL_VAR NAME=offset></TMPL_IF>&sortby=<TMPL_VAR 25 NAME=sortby>&order=<TMPL_VAR NAME=order>&id=<TMPL_VAR NAME=id>&ltype=<TMPL_VAR 26 NAME=ltype>"><TMPL_VAR NAME=colname></a><TMPL_IF 27 NAME=sortorder> <img alt="<TMPL_VAR NAME=sortorder>" src="images/<TMPL_VAR 28 NAME=sortorder>.png" /></TMPL_IF></td> 29 </TMPL_LOOP> 30 </tr> 31 21 32 <TMPL_IF logentries> 22 33 <TMPL_LOOP NAME=logentries> -
branches/stable/templates/menu.tmpl
r544 r545 9 9 <TMPL_IF maydefrec><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=reclist&id=<TMPL_VAR NAME=group>&defrec=y">Default Records</a><br /> 10 10 <TMPL_IF mayrdns><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=reclist&id=<TMPL_VAR NAME=group>&defrec=y&revrec=y">Default Reverse Records</a><br /></TMPL_IF></TMPL_IF> 11 <TMPL_IF mayloc><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=loclist&id=<TMPL_VAR NAME=group>">Locations/Views</a><br /></TMPL_IF> 11 12 <TMPL_IF mayimport><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=axfr">AXFR Import</a><br /></TMPL_IF> 12 13 <TMPL_IF maybulk><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=bulkdomain">Bulk Domain Operations</a><br /></TMPL_IF> -
branches/stable/templates/newdomain.tmpl
r205 r545 30 30 </tr> 31 31 <tr class="datalinelight"> 32 <td>Make domain active on next DNS propagation</td><td><input type="checkbox" name="makeactive" checked="checked"/></td>32 <td>Make domain active on next DNS propagation</td><td><input type="checkbox" name="makeactive"<TMPL_UNLESS addinactive> checked="checked"</TMPL_UNLESS> /></td> 33 33 </tr> 34 <TMPL_IF location_view> 35 <tr class="datalinelight"> 36 <td>Default location/view:</td> 37 <td><select name="defloc"> 38 <option value="">(None/public)</option> 39 <TMPL_LOOP name=loclist> <option value="<TMPL_VAR NAME=loc>"<TMPL_IF selected> selected="selected"</TMPL_IF>><TMPL_VAR NAME=locname></option> 40 </TMPL_LOOP> 41 </select></td> 42 </tr> 43 </TMPL_IF> 34 44 <tr><td colspan="2" class="tblsubmit"><input type="submit" value="Add domain" /></td></tr> 35 45 </table> -
branches/stable/templates/newgrp.tmpl
r207 r545 15 15 <tr><td> 16 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>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 19 20 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>21 <td>Group Name:</td> 22 <td align="left"><input type="text" name="newgroup" value="<TMPL_VAR NAME=newgroup>" /></td> 23 23 </tr> 24 24 <tr class="datalinelight"> 25 <td colspan=2>Add as subgroup of:</td>26 <td colspan=2><select name="pargroup">25 <td>Add as subgroup of:</td> 26 <td><select name="pargroup"> 27 27 <TMPL_LOOP name=pargroup> <option value="<TMPL_VAR NAME=groupval>"<TMPL_IF groupactive> selected="selected"</TMPL_IF>><TMPL_VAR name=groupname></option> 28 28 </TMPL_LOOP> … … 30 30 </tr> 31 31 <tr class="darkrowheader border"> 32 <td colspan=" 4" align="center">Default permissions for users created in this group:</td>32 <td colspan="2" align="center">Default permissions for users created in this group:</td> 33 33 </tr> 34 <tr><td colspan="2"><table> 34 35 <TMPL_INCLUDE name="permlist.tmpl"> 36 </table></td></tr> 35 37 <tr class="darkrowheader"> 36 <td colspan=" 4" align="center"><input type="submit" value="Add group" /></td>38 <td colspan="2" align="center"><input type="submit" value="Add group" /></td> 37 39 </tr> 38 40 </table> -
branches/stable/templates/newrevzone.tmpl
r544 r545 15 15 <tr><td> 16 16 <table border="0" cellspacing="2" cellpadding="2" width="100%"> 17 <TMPL_IF add_failed> <tr><td class="errhead" colspan="2">Error adding reverse zone <TMPL_VAR NAME=revzone>:17 <TMPL_IF errmsg> <tr><td class="errhead" colspan="2">Error adding reverse zone <TMPL_VAR NAME=revzone>: 18 18 <TMPL_VAR NAME=errmsg></td></tr></TMPL_IF> 19 19 <tr class="darkrowheader"><td colspan="2" align="center">Add Reverse Zone</td></tr> -
branches/stable/templates/permlist.tmpl
r67 r545 22 22 <td<TMPL_UNLESS may_record_create> class="<TMPL_UNLESS info>noaccess<TMPL_ELSE>info</TMPL_UNLESS>"</TMPL_UNLESS>><input type="checkbox"<TMPL_UNLESS info> name="record_create"</TMPL_UNLESS><TMPL_IF record_create> checked="checked"</TMPL_IF><TMPL_UNLESS may_record_create> disabled="disabled"</TMPL_UNLESS> /> Create</td> 23 23 <td<TMPL_UNLESS may_record_delete> class="<TMPL_UNLESS info>noaccess<TMPL_ELSE>info</TMPL_UNLESS>"</TMPL_UNLESS>><input type="checkbox"<TMPL_UNLESS info> name="record_delete"</TMPL_UNLESS><TMPL_IF record_delete> checked="checked"</TMPL_IF><TMPL_UNLESS may_record_delete> disabled="disabled"</TMPL_UNLESS> /> Delete</td> 24 <td<TMPL_UNLESS may_record_locchg> class="<TMPL_UNLESS info>noaccess<TMPL_ELSE>info</TMPL_UNLESS>"</TMPL_UNLESS>><input type="checkbox"<TMPL_UNLESS info> name="record_locchg"</TMPL_UNLESS><TMPL_IF record_locchg> checked="checked"</TMPL_IF><TMPL_UNLESS may_record_locchg> disabled="disabled"</TMPL_UNLESS> /> Change location</td> 24 25 <!-- td class="noaccess"> - Delegate</td --> 26 </tr> 27 <tr> 28 <td align="right">Location/View:</td> 29 <td<TMPL_UNLESS may_location_edit> class="<TMPL_UNLESS info>noaccess<TMPL_ELSE>info</TMPL_UNLESS>"</TMPL_UNLESS>><input type="checkbox"<TMPL_UNLESS info> name="location_edit"</TMPL_UNLESS><TMPL_IF location_edit> checked="checked"</TMPL_IF><TMPL_UNLESS may_location_edit>disabled="disabled"</TMPL_UNLESS> /> Edit</td> 30 <td<TMPL_UNLESS may_location_create> class="<TMPL_UNLESS info>noaccess<TMPL_ELSE>info</TMPL_UNLESS>"</TMPL_UNLESS>><input type="checkbox"<TMPL_UNLESS info> name="location_create"</TMPL_UNLESS><TMPL_IF location_create> checked="checked"</TMPL_IF><TMPL_UNLESS may_location_create> disabled="disabled"</TMPL_UNLESS> /> Create</td> 31 <td<TMPL_UNLESS may_location_delete> class="<TMPL_UNLESS info>noaccess<TMPL_ELSE>info</TMPL_UNLESS>"</TMPL_UNLESS>><input type="checkbox"<TMPL_UNLESS info> name="location_delete"</TMPL_UNLESS><TMPL_IF location_delete> checked="checked"</TMPL_IF><TMPL_UNLESS may_location_delete> disabled="disabled"</TMPL_UNLESS> /> Delete</td> 32 <td<TMPL_UNLESS may_location_view> class="<TMPL_UNLESS info>noaccess<TMPL_ELSE>info</TMPL_UNLESS>"</TMPL_UNLESS>><input type="checkbox"<TMPL_UNLESS info> name="location_view"</TMPL_UNLESS><TMPL_IF location_view> checked="checked"</TMPL_IF><TMPL_UNLESS may_location_view> disabled="disabled"</TMPL_UNLESS> /> View</td> 25 33 </tr> 26 34 <tr> -
branches/stable/templates/reclist.tmpl
r544 r545 5 5 <td align="center" valign="top"> 6 6 7 <TMPL_IF resultmsg> 8 <div class="result"><TMPL_VAR NAME=resultmsg></div> 9 </TMPL_IF> 10 <TMPL_IF warnmsg> 11 <div class="warning"><TMPL_VAR NAME=warnmsg></div> 12 </TMPL_IF> 13 <TMPL_IF errmsg> 14 <div class="errmsg"><TMPL_VAR NAME=errmsg></div> 15 </TMPL_IF> 7 <TMPL_INCLUDE NAME="msgblock.tmpl"> 16 8 17 9 <TMPL_UNLESS perm_err> … … 59 51 <TMPL_IF reclist> 60 52 <tr class="darkrowheader"> 61 <TMPL_LOOP NAME=colheads><TMPL_IF firstcol></TMPL_IF> 62 <td><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=<TMPL_VAR NAME=page><TMPL_IF 53 <TMPL_LOOP NAME=colheads> <td><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=<TMPL_VAR NAME=page><TMPL_IF 63 54 NAME=offset>&offset=<TMPL_VAR NAME=offset></TMPL_IF>&sortby=<TMPL_VAR 64 55 NAME=sortby>&order=<TMPL_VAR NAME=order>&id=<TMPL_VAR NAME=id>&defrec=<TMPL_VAR 65 56 NAME=defrec>&revrec=<TMPL_VAR NAME=revrec>"><TMPL_VAR NAME=colname></a><TMPL_IF 66 NAME=sortorder> <img alt="<TMPL_VAR NAME=sortorder>" src="images/<TMPL_VAR NAME=sortorder>.png" 67 /></TMPL_IF></td></TMPL_LOOP> 57 NAME=sortorder> <img alt="<TMPL_VAR NAME=sortorder>" src="images/<TMPL_VAR 58 NAME=sortorder>.png" /></TMPL_IF></td> 59 </TMPL_LOOP> 68 60 <TMPL_IF record_delete> <td>Delete</td></TMPL_IF> 69 61 </tr> 70 62 <TMPL_LOOP NAME=reclist> 71 <tr class="row<TMPL_ VAR NAME=row>">63 <tr class="row<TMPL_IF __odd__>0<TMPL_ELSE>1</TMPL_IF>"> 72 64 <TMPL_IF fwdzone> 73 <td><TMPL_IF record_edit><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=record&parentid=<TMPL_VAR NAME=id>&defrec=<TMPL_VAR NAME=defrec>&revrec=<TMPL_VAR NAME=revrec>&recact=edit&id=<TMPL_VAR NAME=record_id>"><TMPL_VAR NAME=host></a><TMPL_ ELSE><TMPL_VAR NAME=host></TMPL_IF></td>65 <td><TMPL_IF record_edit><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=record&parentid=<TMPL_VAR NAME=id>&defrec=<TMPL_VAR NAME=defrec>&revrec=<TMPL_VAR NAME=revrec>&recact=edit&id=<TMPL_VAR NAME=record_id>"><TMPL_VAR NAME=host></a><TMPL_IF locname> (<TMPL_VAR NAME=locname>)</TMPL_IF><TMPL_ELSE><TMPL_VAR NAME=host><TMPL_IF locname> (<TMPL_VAR NAME=locname>)</TMPL_IF></TMPL_IF></td> 74 66 <td><TMPL_VAR NAME=type></td> 75 67 <td><TMPL_VAR NAME=val></td> … … 78 70 <td><TMPL_VAR NAME=port></td> 79 71 <TMPL_ELSE> 80 <td><TMPL_IF record_edit><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=record&parentid=<TMPL_VAR NAME=id>&defrec=<TMPL_VAR NAME=defrec>&revrec=<TMPL_VAR NAME=revrec>&recact=edit&id=<TMPL_VAR NAME=record_id>"><TMPL_VAR NAME=val></a><TMPL_ ELSE><TMPL_VAR NAME=val></TMPL_IF></td>72 <td><TMPL_IF record_edit><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=record&parentid=<TMPL_VAR NAME=id>&defrec=<TMPL_VAR NAME=defrec>&revrec=<TMPL_VAR NAME=revrec>&recact=edit&id=<TMPL_VAR NAME=record_id>"><TMPL_VAR NAME=val></a><TMPL_IF locname> (<TMPL_VAR NAME=locname>)</TMPL_IF><TMPL_ELSE><TMPL_VAR NAME=val><TMPL_IF locname> (<TMPL_VAR NAME=locname>)</TMPL_IF></TMPL_IF></td> 81 73 <td><TMPL_VAR NAME=type></td> 82 74 <td><TMPL_VAR NAME=host></td> -
branches/stable/templates/record.tmpl
r544 r545 29 29 <TMPL_IF fwdzone> 30 30 <td>Hostname</td> 31 <td><input type="text" name="name" value="<TMPL_VAR NAME=name>" /></td>31 <td><input type="text" name="name" value="<TMPL_VAR NAME=name>" size="30" /></td> 32 32 <TMPL_ELSE> 33 33 <td>IP Address</td> 34 <td><input type="text" name="address" value="<TMPL_VAR ESCAPE=HTML NAME=address>" /></td>34 <td><input type="text" name="address" value="<TMPL_VAR ESCAPE=HTML NAME=address>" size="30" /></td> 35 35 </TMPL_IF> 36 36 </tr> … … 46 46 <TMPL_IF fwdzone> 47 47 <td>Address</td> 48 <td><input type="text" name="address" value="<TMPL_VAR ESCAPE=HTML NAME=address>" /></td>48 <td><input type="text" name="address" value="<TMPL_VAR ESCAPE=HTML NAME=address>" size="30" /></td> 49 49 <TMPL_ELSE> 50 50 <td>Hostname</td> 51 <td><input type="text" name="name" value="<TMPL_VAR NAME=name>" /></td>51 <td><input type="text" name="name" value="<TMPL_VAR NAME=name>" size="30" /></td> 52 52 </TMPL_IF> 53 53 </tr> … … 70 70 <td><input size="7" maxlength="20" type="text" name="ttl" value="<TMPL_VAR NAME=ttl>" /></td> 71 71 </tr> 72 <TMPL_IF location_view> 73 <tr class="datalinelight"> 74 <td>Location/view</td> 75 <TMPL_IF record_locchg> 76 <td><select name="location"> 77 <TMPL_LOOP name=loclist> <option value="<TMPL_VAR NAME=loc>"<TMPL_IF selected> selected="selected"</TMPL_IF>><TMPL_VAR NAME=locname></option> 78 </TMPL_LOOP> 79 </select></td> 80 <TMPL_ELSE> 81 <td><TMPL_VAR NAME=loc_name></td> 82 </TMPL_IF> 83 </tr> 84 </TMPL_IF> 72 85 <tr class="datalinelight"> 73 86 <td colspan="2" align="center"><input type="submit" value=" <TMPL_VAR NAME=todo> " /></td> -
branches/stable/templates/soadata.tmpl
r162 r545 3 3 <td align="left">SOA:</td> 4 4 <TMPL_IF mayeditsoa> 5 <td align="right"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=editsoa&id=<TMPL_VAR NAME=id>&defrec=<TMPL_VAR NAME=defrec> ">edit</a></td></TMPL_IF>5 <td align="right"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=editsoa&id=<TMPL_VAR NAME=id>&defrec=<TMPL_VAR NAME=defrec>&revrec=<TMPL_VAR NAME=revrec>">edit</a></td></TMPL_IF> 6 6 </tr> 7 7 </table> -
branches/stable/templates/user.tmpl
r207 r545 16 16 <table border="0" cellspacing="2" cellpadding="2" width="450"> 17 17 <TMPL_IF add_failed> <tr> 18 <td class="errhead" colspan="2"> Error <TMPL_IF add>adding<TMPL_ELSE>updating</TMPL_IF> user <TMPL_VAR NAME=uname>:<TMPL_VAR NAME=errmsg></td>18 <td class="errhead" colspan="2"><TMPL_VAR NAME=errmsg></td> 19 19 </tr></TMPL_IF> 20 20 <tr class="darkrowheader"><td colspan="2" align="center"><TMPL_IF add>Add<TMPL_ELSE>Edit</TMPL_IF> User</td></tr> -
branches/stable/templates/useradmin.tmpl
r207 r545 5 5 <td align="center" valign="top"> 6 6 7 <TMPL_IF resultmsg> 8 <div class="result"><TMPL_VAR NAME=resultmsg></div> 9 </TMPL_IF> 10 <TMPL_IF warnmsg> 11 <div class="warning">Warning: <TMPL_VAR NAME=warnmsg></div> 12 </TMPL_IF> 13 <TMPL_IF errmsg> 14 <div class="errmsg"><TMPL_VAR NAME=errmsg></div> 15 </TMPL_IF> 7 <TMPL_INCLUDE NAME="msgblock.tmpl"> 16 8 17 9 <table width="98%" class="csubtable"> … … 30 22 <table width="98%" border="0" cellspacing="4" cellpadding="3" class="csubtable"> 31 23 <tr> 32 <TMPL_LOOP NAME=colheads> 33 <td class="datahead_<TMPL_IF firstcol>l<TMPL_ELSE>s</TMPL_IF>"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=<TMPL_VAR NAME=page><TMPL_IF NAME=offset>&offset=<TMPL_VAR NAME=offset></TMPL_IF>&sortby=<TMPL_VAR NAME=sortby>&order=<TMPL_VAR NAME=order>"><TMPL_VAR NAME=colname></a><TMPL_IF NAME=sortorder> <img alt="<TMPL_VAR NAME=sortorder>" src="images/<TMPL_VAR NAME=sortorder>.png" /></TMPL_IF></td></TMPL_LOOP> 24 <TMPL_LOOP NAME=colheads> <td class="datahead_<TMPL_IF __first__>l<TMPL_ELSE>s</TMPL_IF>"><a href="dns.cgi?sid=<TMPL_VAR 25 NAME=sid>&page=<TMPL_VAR NAME=page><TMPL_IF NAME=offset>&offset=<TMPL_VAR 26 NAME=offset></TMPL_IF>&sortby=<TMPL_VAR NAME=sortby>&order=<TMPL_VAR NAME=order>"><TMPL_VAR 27 NAME=colname></a><TMPL_IF NAME=sortorder> <img alt="<TMPL_VAR NAME=sortorder>" src="images/<TMPL_VAR 28 NAME=sortorder>.png" /></TMPL_IF></td> 29 </TMPL_LOOP> 34 30 <TMPL_IF deluser> <td class="datahead_s">Delete</td></TMPL_IF> 35 31 </tr> 36 32 <TMPL_IF name=usertable> 37 33 <TMPL_LOOP name=usertable> 38 <tr class="row<TMPL_ VAR name=bg>">39 <td align="left"><TMPL_IF eduser><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=user&useraction=edit&user=<TMPL_VAR NAME=user id>"><TMPL_VAR NAME=username></a><TMPL_ELSE><TMPL_VAR NAME=username></TMPL_IF></td>40 <td class="data_nowrap"><TMPL_VAR name= userfull></td>41 <td><TMPL_VAR name= usertype></td>42 <td><TMPL_VAR name= usergroup></td>34 <tr class="row<TMPL_IF __odd__>0<TMPL_ELSE>1</TMPL_IF>"> 35 <td align="left"><TMPL_IF eduser><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=user&useraction=edit&user=<TMPL_VAR NAME=user_id>"><TMPL_VAR NAME=username></a><TMPL_ELSE><TMPL_VAR NAME=username></TMPL_IF></td> 36 <td class="data_nowrap"><TMPL_VAR name=fname></td> 37 <td><TMPL_VAR name=type></td> 38 <td><TMPL_VAR name=group_name></td> 43 39 <td align="center"> 44 40 <TMPL_IF eduser> 45 <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=user id>&userstatus=<TMPL_IF active>useroff<TMPL_ELSE>useron</TMPL_IF>"><TMPL_IF active>enabled<TMPL_ELSE>disabled</TMPL_IF></a>41 <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=user_id>&userstatus=<TMPL_IF status>useroff<TMPL_ELSE>useron</TMPL_IF>"><TMPL_IF status>enabled<TMPL_ELSE>disabled</TMPL_IF></a> 46 42 <TMPL_ELSE> 47 <TMPL_IF active>enabled<TMPL_ELSE>disabled</TMPL_IF>43 <TMPL_IF status>enabled<TMPL_ELSE>disabled</TMPL_IF> 48 44 </TMPL_IF> 49 45 </td> 50 46 <TMPL_IF deluser> 51 <td align="center"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=deluser&id=<TMPL_VAR NAME=user id>"><img src="images/trash2.png" alt="[ Delete ]" /></a></td>47 <td align="center"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=deluser&id=<TMPL_VAR NAME=user_id>"><img src="images/trash2.png" alt="[ Delete ]" /></a></td> 52 48 </TMPL_IF> 53 49 </tr>
Note:
See TracChangeset
for help on using the changeset viewer.