Changeset 5 for trunk/dns.cgi
- Timestamp:
- 09/01/09 17:07:57 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dns.cgi
r4 r5 300 300 } 301 301 302 } elsif ($webvar{page} eq 'deldom') { 303 304 $page->param(id => $webvar{id}); 305 # first pass = confirm y/n (sorta) 306 if (!defined($webvar{del})) { 307 $page->param(del_getconf => 1); 308 $page->param(domain => domainName($dbh,$webvar{id})); 309 # print some neato things? 310 } elsif ($webvar{del} eq 'ok') { 311 my ($code,$msg) = delDomain($dbh, $webvar{id}); 312 if ($code ne 'OK') { 313 # need to find failure mode 314 $page->param(del_failed => 1); 315 $page->param(errmsg => $msg); 316 } 317 } else { 318 # cancelled. whee! 319 $page->param(del_failed => 0); 320 # more params? 321 } 322 302 323 } elsif ($webvar{page} eq 'editsoa') { 303 324
Note:
See TracChangeset
for help on using the changeset viewer.