From: ivan Date: Sat, 15 Mar 2008 00:30:28 +0000 (+0000) Subject: fix harmless code leaking out onto the page, hehe, closes: Bug#3253, also remove... X-Git-Tag: TRIXBOX_2_6~16 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=68834437676eff4326b488150005ea8b4f004a01 fix harmless code leaking out onto the page, hehe, closes: Bug#3253, also remove silly formatting on catchall edit --- 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: % }