Changeset 239 for trunk/dns.cgi


Ignore:
Timestamp:
02/23/12 15:36:59 (13 years ago)
Author:
Kris Deugau
Message:

/trunk

Checkpoint; domain/reverse zone list almost complete. See #26.
Still need to do active/inactive

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dns.cgi

    r238 r239  
    300300
    301301} elsif ($webvar{page} eq 'domlist' or $webvar{page} eq 'index') {
     302
     303  $page->param(domlist => 1);
    302304
    303305# hmm.  seeing problems in some possibly-not-so-corner cases.
     
    19601962        offset => $webvar{offset}, sortby => $sortby, sortorder => $sortorder
    19611963        ) );
    1962   foreach (@$zonelist) {
    1963     $_->{sid} = $sid;
    1964     $_->{domain_edit} = ($permissions{admin} || $permissions{domain_edit});
    1965     $_->{domain_delete} = ($permissions{admin} || $permissions{domain_delete});
    1966   }
     1964# probably don't need this, keeping for reference for now
     1965#  foreach (@$zonelist) {
     1966#  }
    19671967  $page->param(domtable => $zonelist);
    19681968} # end listdomains()
Note: See TracChangeset for help on using the changeset viewer.