[freeside-commits] freeside/httemplate/misc link.cgi, 1.9, 1.10 whois.cgi, 1.1, 1.2 cust_main-import.cgi, 1.1, 1.2 cust_main-import_charges.cgi, 1.1, 1.2 expire_pkg.cgi, 1.5, 1.6 meta-import.cgi, 1.2, 1.3 upload-batch.cgi, 1.4, 1.5 batch-cust_pay.html, 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/misc
In directory wavetail:/tmp/cvs-serv19694/httemplate/misc

Modified Files:
	link.cgi whois.cgi cust_main-import.cgi 
	cust_main-import_charges.cgi expire_pkg.cgi meta-import.cgi 
	upload-batch.cgi batch-cust_pay.html 
Log Message:
move header() to include(/elements/header.html) so it can be changed in one place, thanks to Scott Edwards

Index: upload-batch.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/misc/upload-batch.cgi,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- upload-batch.cgi	28 May 2004 11:33:21 -0000	1.4
+++ upload-batch.cgi	31 Jan 2006 04:26:54 -0000	1.5
@@ -24,7 +24,7 @@
   } else {
     %>
     <!-- mason kludge -->
-    <%= header('Batch results upload sucessful') %> <%
+    <%= include("/elements/header.html",'Batch results upload sucessful') %> <%
   }
 %>
 

Index: cust_main-import_charges.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/misc/cust_main-import_charges.cgi,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- cust_main-import_charges.cgi	5 Sep 2002 13:28:00 -0000	1.1
+++ cust_main-import_charges.cgi	31 Jan 2006 04:26:54 -0000	1.2
@@ -1,5 +1,5 @@
 <!-- mason kludge -->
-<%= header('Batch Customer Charge') %>
+<%= include("/elements/header.html",'Batch Customer Charge') %>
 <FORM ACTION="process/cust_main-import_charges.cgi" METHOD="post" ENCTYPE="multipart/form-data">
 Import a CSV file containing customer charges.<BR><BR>
 Default file format is CSV, with the following field order: <i>custnum, amount, description</i><BR><BR>

Index: meta-import.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/misc/meta-import.cgi,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- meta-import.cgi	11 Mar 2003 11:36:51 -0000	1.2
+++ meta-import.cgi	31 Jan 2006 04:26:54 -0000	1.3
@@ -1,5 +1,5 @@
 <!-- mason kludge -->
-<%= header('Import') %>
+<%= include("/elements/header.html",'Import') %>
 <FORM ACTION="process/meta-import.cgi" METHOD="post" ENCTYPE="multipart/form-data">
 Import data from a DBI data source<BR><BR>
 

Index: link.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/misc/link.cgi,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- link.cgi	5 Apr 2004 14:05:55 -0000	1.9
+++ link.cgi	31 Jan 2006 04:26:54 -0000	1.10
@@ -31,7 +31,7 @@
 
 %>
 
-<%= header("Link to existing $svc") %>
+<%= include("/elements/header.html","Link to existing $svc") %>
 <FORM ACTION="<%= popurl(1) %>process/link.cgi" METHOD=POST>
 
 <% if ( $link_field ) { %>

Index: expire_pkg.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/misc/expire_pkg.cgi,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- expire_pkg.cgi	22 Mar 2004 10:16:43 -0000	1.5
+++ expire_pkg.cgi	31 Jan 2006 04:26:54 -0000	1.6
@@ -16,7 +16,7 @@
 
 %>
 
-<%= header('Expire package', menubar(
+<%= include("/elements/header.html",'Expire package', menubar(
   "View this customer (#$custnum)" => "${p}view/cust_main.cgi?$custnum",
   'Main Menu' => popurl(2)
 )) %>

Index: cust_main-import.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/misc/cust_main-import.cgi,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- cust_main-import.cgi	30 Aug 2002 17:34:06 -0000	1.1
+++ cust_main-import.cgi	31 Jan 2006 04:26:54 -0000	1.2
@@ -1,5 +1,5 @@
 <!-- mason kludge -->
-<%= header('Batch Customer Import') %>
+<%= include("/elements/header.html",'Batch Customer Import') %>
 <FORM ACTION="process/cust_main-import.cgi" METHOD="post" ENCTYPE="multipart/form-data">
 Import a CSV file containing customer records.<BR><BR>
 Default file format is CSV, with the following field order: <i>cust_pkg.setup, dayphone, first, last, address1, address2, city, state, zip, comments</i><BR><BR>

Index: whois.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/misc/whois.cgi,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- whois.cgi	5 Apr 2004 09:08:39 -0000	1.1
+++ whois.cgi	31 Jan 2006 04:26:54 -0000	1.2
@@ -4,7 +4,7 @@
   my $domain = $cgi->param('domain');
 
 %>
-<%= header("Whois $domain", menubar(
+<%= include("/elements/header.html","Whois $domain", menubar(
   ( $custnum
     ? ( "View this customer (#$custnum)" => "${p}view/cust_main.cgi?$custnum",
       )

Index: batch-cust_pay.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/misc/batch-cust_pay.html,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- batch-cust_pay.html	12 Oct 2005 12:02:26 -0000	1.3
+++ batch-cust_pay.html	31 Jan 2006 04:26:54 -0000	1.4
@@ -1,4 +1,4 @@
-<%= header( 'Quick payment entry',
+<%= include("/elements/header.html", 'Quick payment entry',
             menubar(
                      'Main Menu' => $p, #popurl(1),
                      'Old-style quick payment entry' =>



More information about the freeside-commits mailing list