summaryrefslogtreecommitdiff
path: root/httemplate/misc
diff options
context:
space:
mode:
authorivan <ivan>2006-01-31 04:26:54 +0000
committerivan <ivan>2006-01-31 04:26:54 +0000
commitc1bb4ddb71147d0571bd301a6d8c452fdf0e1bc9 (patch)
treeaceba418d4d41bdec62b95f5d20b2b9a2993cceb /httemplate/misc
parent7066204f45124e0100d5330cce63584ff9e4bacb (diff)
move header() to include(/elements/header.html) so it can be changed in one place, thanks to Scott Edwards
Diffstat (limited to 'httemplate/misc')
-rw-r--r--httemplate/misc/batch-cust_pay.html2
-rw-r--r--httemplate/misc/cust_main-import.cgi2
-rw-r--r--httemplate/misc/cust_main-import_charges.cgi2
-rwxr-xr-xhttemplate/misc/expire_pkg.cgi2
-rwxr-xr-xhttemplate/misc/link.cgi2
-rw-r--r--httemplate/misc/meta-import.cgi2
-rw-r--r--httemplate/misc/process/cust_main-import.cgi2
-rw-r--r--httemplate/misc/process/cust_main-import_charges.cgi2
-rw-r--r--httemplate/misc/process/meta-import.cgi2
-rw-r--r--httemplate/misc/upload-batch.cgi2
-rw-r--r--httemplate/misc/whois.cgi2
11 files changed, 11 insertions, 11 deletions
diff --git a/httemplate/misc/batch-cust_pay.html b/httemplate/misc/batch-cust_pay.html
index 20cc89045..b40869476 100644
--- a/httemplate/misc/batch-cust_pay.html
+++ b/httemplate/misc/batch-cust_pay.html
@@ -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' =>
diff --git a/httemplate/misc/cust_main-import.cgi b/httemplate/misc/cust_main-import.cgi
index 6b36f478d..484855005 100644
--- a/httemplate/misc/cust_main-import.cgi
+++ b/httemplate/misc/cust_main-import.cgi
@@ -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>
diff --git a/httemplate/misc/cust_main-import_charges.cgi b/httemplate/misc/cust_main-import_charges.cgi
index 0822b9eb6..8402386d5 100644
--- a/httemplate/misc/cust_main-import_charges.cgi
+++ b/httemplate/misc/cust_main-import_charges.cgi
@@ -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>
diff --git a/httemplate/misc/expire_pkg.cgi b/httemplate/misc/expire_pkg.cgi
index b59674a69..f8f69dafd 100755
--- a/httemplate/misc/expire_pkg.cgi
+++ b/httemplate/misc/expire_pkg.cgi
@@ -16,7 +16,7 @@ my $date = $cust_pkg->expire ? time2str('%D', $cust_pkg->expire) : '';
%>
-<%= 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)
)) %>
diff --git a/httemplate/misc/link.cgi b/httemplate/misc/link.cgi
index 18cd378d3..e2bdda7d5 100755
--- a/httemplate/misc/link.cgi
+++ b/httemplate/misc/link.cgi
@@ -31,7 +31,7 @@ my $link_field2 = $link_field2{$svcdb};
%>
-<%= 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 ) { %>
diff --git a/httemplate/misc/meta-import.cgi b/httemplate/misc/meta-import.cgi
index 2f3b7380d..b2fcfe450 100644
--- a/httemplate/misc/meta-import.cgi
+++ b/httemplate/misc/meta-import.cgi
@@ -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>
diff --git a/httemplate/misc/process/cust_main-import.cgi b/httemplate/misc/process/cust_main-import.cgi
index 9e1adce54..2348ef680 100644
--- a/httemplate/misc/process/cust_main-import.cgi
+++ b/httemplate/misc/process/cust_main-import.cgi
@@ -25,6 +25,6 @@
} else {
%>
<!-- mason kludge -->
- <%= header('Import sucessful') %> <%
+ <%= include("/elements/header.html",'Import sucessful') %> <%
}
%>
diff --git a/httemplate/misc/process/cust_main-import_charges.cgi b/httemplate/misc/process/cust_main-import_charges.cgi
index 14df1bd8d..c14228cf4 100644
--- a/httemplate/misc/process/cust_main-import_charges.cgi
+++ b/httemplate/misc/process/cust_main-import_charges.cgi
@@ -21,6 +21,6 @@
} else {
%>
<!-- mason kludge -->
- <%= header('Import sucessful') %> <%
+ <%= include("/elements/header.html",'Import sucessful') %> <%
}
%>
diff --git a/httemplate/misc/process/meta-import.cgi b/httemplate/misc/process/meta-import.cgi
index 59d236f64..4cdecafc4 100644
--- a/httemplate/misc/process/meta-import.cgi
+++ b/httemplate/misc/process/meta-import.cgi
@@ -1,5 +1,5 @@
<!-- mason kludge -->
-<%= header('Map tables') %>
+<%= include("/elements/header.html",'Map tables') %>
<SCRIPT>
var gSafeOnload = new Array();
diff --git a/httemplate/misc/upload-batch.cgi b/httemplate/misc/upload-batch.cgi
index 5d0150177..24d7cf15c 100644
--- a/httemplate/misc/upload-batch.cgi
+++ b/httemplate/misc/upload-batch.cgi
@@ -24,7 +24,7 @@
} else {
%>
<!-- mason kludge -->
- <%= header('Batch results upload sucessful') %> <%
+ <%= include("/elements/header.html",'Batch results upload sucessful') %> <%
}
%>
diff --git a/httemplate/misc/whois.cgi b/httemplate/misc/whois.cgi
index dd7851dc2..919add42a 100644
--- a/httemplate/misc/whois.cgi
+++ b/httemplate/misc/whois.cgi
@@ -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",
)