summaryrefslogtreecommitdiff
path: root/httemplate/view
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/view
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/view')
-rwxr-xr-xhttemplate/view/cust_bill.cgi2
-rwxr-xr-xhttemplate/view/cust_main.cgi2
-rwxr-xr-xhttemplate/view/svc_acct.cgi4
-rw-r--r--httemplate/view/svc_broadband.cgi2
-rwxr-xr-xhttemplate/view/svc_domain.cgi2
-rw-r--r--httemplate/view/svc_external.cgi2
6 files changed, 7 insertions, 7 deletions
diff --git a/httemplate/view/cust_bill.cgi b/httemplate/view/cust_bill.cgi
index 56c0c1736..45e19d436 100755
--- a/httemplate/view/cust_bill.cgi
+++ b/httemplate/view/cust_bill.cgi
@@ -23,7 +23,7 @@ my $custnum = $cust_bill->getfield('custnum');
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",
)) %>
diff --git a/httemplate/view/cust_main.cgi b/httemplate/view/cust_main.cgi
index 59c1a4b73..4975c52fd 100755
--- a/httemplate/view/cust_main.cgi
+++ b/httemplate/view/cust_main.cgi
@@ -12,7 +12,7 @@ foreach my $part_svc ( qsearch('part_svc',{}) ) {
%>
-<%= header("Customer View", menubar(
+<%= include("/elements/header.html","Customer View", menubar(
'Main Menu' => $p,
)) %>
diff --git a/httemplate/view/svc_acct.cgi b/httemplate/view/svc_acct.cgi
index b42362d91..f4f39084c 100755
--- a/httemplate/view/svc_acct.cgi
+++ b/httemplate/view/svc_acct.cgi
@@ -37,7 +37,7 @@ my $domain = $svc_domain->domain;
<% 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 @@ my $domain = $svc_domain->domain;
}
</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,
diff --git a/httemplate/view/svc_broadband.cgi b/httemplate/view/svc_broadband.cgi
index f381b5ad3..263fd70f5 100644
--- a/httemplate/view/svc_broadband.cgi
+++ b/httemplate/view/svc_broadband.cgi
@@ -44,7 +44,7 @@ my (
);
%>
-<%=header('Broadband Service View', menubar(
+<%=include("/elements/header.html",'Broadband Service View', menubar(
( ( $custnum )
? ( "View this customer (#$custnum)" => "${p}view/cust_main.cgi?$custnum",
)
diff --git a/httemplate/view/svc_domain.cgi b/httemplate/view/svc_domain.cgi
index 428f3e9bf..f39663094 100755
--- a/httemplate/view/svc_domain.cgi
+++ b/httemplate/view/svc_domain.cgi
@@ -32,7 +32,7 @@ my $domain = $svc_domain->domain;
%>
-<%= header('Domain View', menubar(
+<%= include("/elements/header.html",'Domain View', menubar(
( ( $pkgnum || $custnum )
? ( "View this customer (#$custnum)" => "${p}view/cust_main.cgi?$custnum",
)
diff --git a/httemplate/view/svc_external.cgi b/httemplate/view/svc_external.cgi
index 49183cd95..2acc3f9cf 100644
--- a/httemplate/view/svc_external.cgi
+++ b/httemplate/view/svc_external.cgi
@@ -25,7 +25,7 @@ if ($pkgnum) {
%>
-<%= header('External Service View', menubar(
+<%= include("/elements/header.html",'External Service View', menubar(
( ( $custnum )
? ( "View this customer (#$custnum)" => "${p}view/cust_main.cgi?$custnum",
)