Changeset 205 for trunk


Ignore:
Timestamp:
12/16/11 16:58:06 (13 years ago)
Author:
Kris Deugau
Message:

/trunk

Revert template tweak in r201 for clearing up a minor error log entry;
instead we'll set $webvar{makeactive} if it's not defined. See #25.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dns.cgi

    r202 r205  
    343343        errmsg => "You do not have permission to add a domain to the requested group");
    344344  }
     345
     346  $webvar{makeactive} = 0 if !defined($webvar{makeactive});
    345347
    346348  my ($code,$msg) = addDomain($dbh,$webvar{domain},$webvar{group},($webvar{makeactive} eq 'on' ? 1 : 0),
  • trunk/templates/newdomain.tmpl

    r201 r205  
    1111<input type="hidden" name="page" value="adddomain" />
    1212<input type="hidden" name="newdomain" value="yes" />
    13 <input type="hidden" name="makeactive" value="0" />
    1413
    1514<table class="container" width="450">
Note: See TracChangeset for help on using the changeset viewer.