X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fsvc_www.cgi;h=d6d458ca57e331e88f565eab1276435f6955212b;hb=444d079fa0fb2f09c080b58f6b1a5fed37ffd7c1;hp=c503d1829a3aacf7288154dd29cca9eedf89123c;hpb=8a507f43bfa5c5232b5babfbbf82ac5de5702add;p=freeside.git
diff --git a/httemplate/view/svc_www.cgi b/httemplate/view/svc_www.cgi
index c503d1829..d6d458ca5 100644
--- a/httemplate/view/svc_www.cgi
+++ b/httemplate/view/svc_www.cgi
@@ -1,6 +1,5 @@
% die "access denied"
-% unless $FS::CurrentUser::CurrentUser->access_right('View customer services')
-% || $FS::CurrentUser::CurrentUser->access_right('View customer'); #XXX remove me
+% unless $FS::CurrentUser::CurrentUser->access_right('View customer services');
%
%my($query) = $cgi->keywords;
%$query =~ /^(\d+)$/;
@@ -44,17 +43,18 @@
% or die "svc_www: Unknown recnum ". $svc_www->recnum;
%
%my $www = $domain_record->zone;
-%
-%print header('Website View', menubar(
-% ( ( $custnum )
-% ? ( "View this customer (#$custnum)" => "${p}view/cust_main.cgi?$custnum",
-% )
-% : ( "Cancel this (unaudited) website" =>
-% "${p}misc/cancel-unaudited.cgi?$svcnum" )
-% ),
-% "Main menu" => $p,
-%)).
-% qq!Edit this information
!.
+
+<% include("/elements/header.html", "Website View", menubar(
+ ( ( $custnum )
+ ? ( "View this customer (#$custnum)" => "${p}view/cust_main.cgi?$custnum",
+ )
+ : ( "Cancel this (unaudited) website" =>
+ "${p}misc/cancel-unaudited.cgi?$svcnum" )
+ ),
+ ))
+%>
+
+%print qq!Edit this information
!.
% ntable("#cccccc"). '