[freeside-commits] freeside/httemplate/view svc_www.cgi,1.16,1.17

Ivan,,, ivan at wavetail.420.am
Fri Jun 29 14:06:54 PDT 2007


Update of /home/cvs/cvsroot/freeside/httemplate/view
In directory wavetail:/tmp/cvs-serv2901/view

Modified Files:
	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.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- svc_www.cgi	1 Apr 2007 02:45:27 -0000	1.16
+++ svc_www.cgi	29 Jun 2007 21:06:52 -0000	1.17
@@ -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