X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fmisc%2Fcatchall.cgi;h=240f34d0e017a85814adeac4ceb37d7db699ec4e;hp=cc4adb88ac6336a4b0ec87c32dec12ad0e5815b9;hb=1fc8addc56f8daf12397da568eb1ac1b27fd3984;hpb=22a35047ecdffff80110e06cc08fc84f9ddba9b0 diff --git a/httemplate/misc/catchall.cgi b/httemplate/misc/catchall.cgi index cc4adb88a..240f34d0e 100755 --- a/httemplate/misc/catchall.cgi +++ b/httemplate/misc/catchall.cgi @@ -1,4 +1,39 @@ -<% +<% include('/elements/header.html', 'Domain Catchall Edit') %> + +<% include('/elements/error.html') %> + +
+ +<% include('/elements/footer.html') %> + +<%init> + +die "access denied" + unless $FS::CurrentUser::CurrentUser->access_right('Edit domain catchall'); my $conf = new FS::Conf; @@ -76,57 +111,8 @@ if ($pkgnum) { } # add an absence of a catchall -$email{0} = "(none)"; +$email{''} = "(none)"; my $p1 = popurl(1); -print header("Domain Catchall Edit", ''); - -print qq!Error: !, $cgi->param('error'), - "" - if $cgi->param('error'); - -print qq!