[freeside-commits] freeside/httemplate/view svc_www.cgi, 1.15.2.1, 1.15.2.2
Ivan,,,
ivan at wavetail.420.am
Fri Jun 29 14:07:27 PDT 2007
Update of /home/cvs/cvsroot/freeside/httemplate/view
In directory wavetail:/tmp/cvs-serv2904/view
Modified Files:
Tag: FREESIDE_1_7_BRANCH
svc_www.cgi
Log Message:
add regular header/footer to svc_www view and edit
Index: svc_www.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/svc_www.cgi,v
retrieving revision 1.15.2.1
retrieving revision 1.15.2.2
diff -u -d -r1.15.2.1 -r1.15.2.2
--- svc_www.cgi 23 Apr 2007 14:34:10 -0000 1.15.2.1
+++ svc_www.cgi 29 Jun 2007 21:07:25 -0000 1.15.2.2
@@ -44,17 +44,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!<A HREF="${p}edit/svc_www.cgi?$svcnum">Edit this information</A><BR>!.
+
+<% 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!<A HREF="${p}edit/svc_www.cgi?$svcnum">Edit this information</A><BR>!.
% ntable("#cccccc"). '<TR><TD>'. ntable("#cccccc",2).
% qq!<TR><TD ALIGN="right">Service number</TD>!.
% qq!<TD BGCOLOR="#ffffff">$svcnum</TD></TR>!.
@@ -83,8 +84,6 @@
%
%
%print '</TABLE></TD></TR></TABLE>'.
-% '<BR>'. joblisting({'svcnum'=>$svcnum}, 1).
-% '</BODY></HTML>'
-%;
-%
+% '<BR>'. joblisting({'svcnum'=>$svcnum}, 1);
+<% include('/elements/footer.html') %>
More information about the freeside-commits
mailing list