From 68834437676eff4326b488150005ea8b4f004a01 Mon Sep 17 00:00:00 2001 From: ivan Date: Sat, 15 Mar 2008 00:30:28 +0000 Subject: [PATCH] fix harmless code leaking out onto the page, hehe, closes: Bug#3253, also remove silly formatting on catchall edit --- httemplate/misc/catchall.cgi | 6 ++---- httemplate/view/svc_domain.cgi | 5 ++--- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/httemplate/misc/catchall.cgi b/httemplate/misc/catchall.cgi index 2094494be..240f34d0e 100755 --- a/httemplate/misc/catchall.cgi +++ b/httemplate/misc/catchall.cgi @@ -4,10 +4,9 @@
-
-
 
 Service #<% $svcnum ? $svcnum : ' (NEW)' |h %>
+

@@ -23,8 +22,7 @@ Mail to (anything)@<% $domain |h %> forwards to - -
+

diff --git a/httemplate/view/svc_domain.cgi b/httemplate/view/svc_domain.cgi index a58d75ed6..d6565db34 100755 --- a/httemplate/view/svc_domain.cgi +++ b/httemplate/view/svc_domain.cgi @@ -10,10 +10,9 @@ Service #<% $svcnum %>
Service: <% $part_svc->svc %>
Domain name: <% $domain %> -
Catch all email % if ( $FS::CurrentUser::CurrentUser->access_right('Edit domain catchall') ) { -
Catch all email(change): -} else { +
Catch all email (change): +% } else {
Catch all email: % } -- 2.11.0