Ignore:
Timestamp:
09/11/09 17:59:51 (15 years ago)
Author:
Kris Deugau
Message:

/trunk

Checkpoint
Merging record add/edit pieces into one template/code block
Added debugging array @debugbits to push strings into rather than printing,

since we haven't spit out headers before the processing (this is so we can
redirect)

Added DNSDB::grpName
Removed obsolete defrecs.tmpl

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/reclist.tmpl

    r12 r13  
    2727<tr class="darkrowheader">
    2828        <td colspan=2>Records</td>
    29         <td align=right><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=newrec&parentid=<TMPL_VAR NAME=id>&defrec=<TMPL_VAR NAME=defrec>">Add record</a>
     29        <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>
    3030        <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=showlog&id=<TMPL_VAR NAME=id>&defrec=<TMPL_VAR NAME=defrec>">View log</a>
    3131        </td>
     
    4242<TMPL_LOOP NAME=reclist>
    4343<tr class="row<TMPL_VAR NAME=row>">
    44 <td width="20%" nowrap><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=editrec&id=<TMPL_VAR NAME=record_id>&defrec=<TMPL_VAR NAME=defrec>"><TMPL_VAR NAME=host></a></td>
     44<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>
    4545<td width="5%" nowrap><TMPL_VAR NAME=type></td>
    4646<td nowrap><TMPL_VAR NAME=val></td>
Note: See TracChangeset for help on using the changeset viewer.