[freeside-commits] freeside/httemplate/view cust_bill.cgi, 1.34, 1.35 cust_main.cgi, 1.97, 1.98 svc_acct.cgi, 1.44, 1.45 svc_broadband.cgi, 1.8, 1.9 svc_domain.cgi, 1.19, 1.20 svc_external.cgi, 1.3, 1.4

Ivan,,, ivan at wavetail.420.am
Mon Jan 30 20:26:56 PST 2006


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

Modified Files:
	cust_bill.cgi cust_main.cgi svc_acct.cgi svc_broadband.cgi 
	svc_domain.cgi svc_external.cgi 
Log Message:
move header() to include(/elements/header.html) so it can be changed in one place, thanks to Scott Edwards

Index: cust_bill.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_bill.cgi,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- cust_bill.cgi	21 Nov 2005 12:41:43 -0000	1.34
+++ cust_bill.cgi	31 Jan 2006 04:26:54 -0000	1.35
@@ -23,7 +23,7 @@
 my $link = $templatename ? "$templatename-$invnum" : $invnum;
 
 %>
-<%= header('Invoice View', menubar(
+<%= include("/elements/header.html",'Invoice View', menubar(
   "Main Menu" => $p,
   "View this customer (#$custnum)" => "${p}view/cust_main.cgi?$custnum",
 )) %>

Index: svc_domain.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/svc_domain.cgi,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- svc_domain.cgi	10 Nov 2005 00:00:58 -0000	1.19
+++ svc_domain.cgi	31 Jan 2006 04:26:54 -0000	1.20
@@ -32,7 +32,7 @@
 
 %>
 
-<%= header('Domain View', menubar(
+<%= include("/elements/header.html",'Domain View', menubar(
   ( ( $pkgnum || $custnum )
     ? ( "View this customer (#$custnum)" => "${p}view/cust_main.cgi?$custnum",
       )

Index: cust_main.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main.cgi,v
retrieving revision 1.97
retrieving revision 1.98
diff -u -d -r1.97 -r1.98
--- cust_main.cgi	30 Dec 2005 02:41:22 -0000	1.97
+++ cust_main.cgi	31 Jan 2006 04:26:54 -0000	1.98
@@ -12,7 +12,7 @@
 
 %>
 
-<%= header("Customer View", menubar(
+<%= include("/elements/header.html","Customer View", menubar(
   'Main Menu' => $p,
 )) %>
 

Index: svc_acct.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/svc_acct.cgi,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -d -r1.44 -r1.45
--- svc_acct.cgi	17 Nov 2005 11:04:56 -0000	1.44
+++ svc_acct.cgi	31 Jan 2006 04:26:54 -0000	1.45
@@ -37,7 +37,7 @@
 
 <% if ( $custnum ) { %>
 
-  <%= header("View $svc account", menubar(
+  <%= include("/elements/header.html","View $svc account", menubar(
     "View this customer (#$custnum)" => "${p}view/cust_main.cgi?$custnum",
     "Main menu" => $p,
   )) %>
@@ -54,7 +54,7 @@
   }
   </SCRIPT>
   
-  <%= header('Account View', menubar(
+  <%= include("/elements/header.html",'Account View', menubar(
     "Cancel this (unaudited) account" =>
             "javascript:areyousure(\'${p}misc/cancel-unaudited.cgi?$svcnum\')",
     "Main menu" => $p,

Index: svc_external.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/svc_external.cgi,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- svc_external.cgi	17 Oct 2004 09:19:23 -0000	1.3
+++ svc_external.cgi	31 Jan 2006 04:26:54 -0000	1.4
@@ -25,7 +25,7 @@
 
 %>
 
-<%= header('External Service View', menubar(
+<%= include("/elements/header.html",'External Service View', menubar(
   ( ( $custnum )
     ? ( "View this customer (#$custnum)" => "${p}view/cust_main.cgi?$custnum",
       )                                                                       

Index: svc_broadband.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/svc_broadband.cgi,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- svc_broadband.cgi	30 Nov 2004 19:55:54 -0000	1.8
+++ svc_broadband.cgi	31 Jan 2006 04:26:54 -0000	1.9
@@ -44,7 +44,7 @@
    );
 %>
 
-<%=header('Broadband Service View', menubar(
+<%=include("/elements/header.html",'Broadband Service View', menubar(
   ( ( $custnum )
     ? ( "View this customer (#$custnum)" => "${p}view/cust_main.cgi?$custnum",
       )                                                                       



More information about the freeside-commits mailing list