summaryrefslogtreecommitdiff
path: root/httemplate/edit
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/edit
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/edit')
-rwxr-xr-xhttemplate/edit/REAL_cust_pkg.cgi2
-rwxr-xr-xhttemplate/edit/agent.cgi2
-rw-r--r--httemplate/edit/agent_payment_gateway.html2
-rwxr-xr-xhttemplate/edit/agent_type.cgi2
-rw-r--r--httemplate/edit/bulk-cust_svc.html2
-rwxr-xr-xhttemplate/edit/cust_pay.cgi2
-rw-r--r--httemplate/edit/part_export.cgi2
-rwxr-xr-xhttemplate/edit/part_pkg.cgi2
-rwxr-xr-xhttemplate/edit/part_svc.cgi2
-rw-r--r--httemplate/edit/payment_gateway.html2
-rw-r--r--httemplate/edit/prepay_credit.cgi2
-rw-r--r--httemplate/edit/process/prepay_credit.cgi2
-rw-r--r--httemplate/edit/process/reg_code.cgi2
-rw-r--r--httemplate/edit/rate.cgi2
-rw-r--r--httemplate/edit/rate_region.cgi2
-rw-r--r--httemplate/edit/reg_code.cgi2
-rwxr-xr-xhttemplate/edit/svc_acct.cgi2
-rw-r--r--httemplate/edit/svc_broadband.cgi2
-rwxr-xr-xhttemplate/edit/svc_forward.cgi2
19 files changed, 19 insertions, 19 deletions
diff --git a/httemplate/edit/REAL_cust_pkg.cgi b/httemplate/edit/REAL_cust_pkg.cgi
index 78dd0fa..1eefcfe 100755
--- a/httemplate/edit/REAL_cust_pkg.cgi
+++ b/httemplate/edit/REAL_cust_pkg.cgi
@@ -33,7 +33,7 @@ if ( $error ) {
#my $custnum = $cust_pkg->getfield('custnum');
%>
-<%= header('Customer package - Edit dates') %>
+<%= include("/elements/header.html",'Customer package - Edit dates') %>
<%
#, menubar(
# "View this customer (#$custnum)" => popurl(2). "view/cust_main.cgi?$custnum",
diff --git a/httemplate/edit/agent.cgi b/httemplate/edit/agent.cgi
index cb64ad8..40115a9 100755
--- a/httemplate/edit/agent.cgi
+++ b/httemplate/edit/agent.cgi
@@ -19,7 +19,7 @@ my $conf = new FS::Conf;
%>
-<%= header("$action Agent", menubar(
+<%= include("/elements/header.html","$action Agent", menubar(
'Main Menu' => $p,
'View all agents' => $p. 'browse/agent.cgi',
)) %>
diff --git a/httemplate/edit/agent_payment_gateway.html b/httemplate/edit/agent_payment_gateway.html
index 61d29e0..db4331b 100644
--- a/httemplate/edit/agent_payment_gateway.html
+++ b/httemplate/edit/agent_payment_gateway.html
@@ -12,7 +12,7 @@ my $action = 'Add';
%>
-<%= header("$action payment gateway override for ". $agent->agent, menubar(
+<%= include("/elements/header.html","$action payment gateway override for ". $agent->agent, menubar(
'Main Menu' => $p,
#'View all payment gateways' => $p. 'browse/payment_gateway.html',
'View all agents' => $p. 'browse/agent.html',
diff --git a/httemplate/edit/agent_type.cgi b/httemplate/edit/agent_type.cgi
index 5addbbd..944ddd0 100755
--- a/httemplate/edit/agent_type.cgi
+++ b/httemplate/edit/agent_type.cgi
@@ -16,7 +16,7 @@ my $action = $agent_type->typenum ? 'Edit' : 'Add';
%>
-<%= header("$action Agent Type", menubar(
+<%= include("/elements/header.html","$action Agent Type", menubar(
'Main Menu' => "$p",
'View all agent types' => "${p}browse/agent_type.cgi",
))
diff --git a/httemplate/edit/bulk-cust_svc.html b/httemplate/edit/bulk-cust_svc.html
index 332b5b6..be247ba 100644
--- a/httemplate/edit/bulk-cust_svc.html
+++ b/httemplate/edit/bulk-cust_svc.html
@@ -1,4 +1,4 @@
-<%= header( 'Bulk customer service change',
+<%= include("/elements/header.html", 'Bulk customer service change',
menubar(
'Main Menu' => $p,
),
diff --git a/httemplate/edit/cust_pay.cgi b/httemplate/edit/cust_pay.cgi
index 0370ab7..94fd06c 100755
--- a/httemplate/edit/cust_pay.cgi
+++ b/httemplate/edit/cust_pay.cgi
@@ -45,7 +45,7 @@ $title .= " against Invoice #$linknum" if $link eq 'invnum';
%>
-<%= header($title, '') %>
+<%= include("/elements/header.html",$title, '') %>
<% if ( $cgi->param('error') ) { %>
<FONT SIZE="+1" COLOR="#ff0000">Error: <%= $cgi->param('error') %></FONT>
diff --git a/httemplate/edit/part_export.cgi b/httemplate/edit/part_export.cgi
index b3d42bd..6a8a0de 100644
--- a/httemplate/edit/part_export.cgi
+++ b/httemplate/edit/part_export.cgi
@@ -100,7 +100,7 @@ my $widget = new HTML::Widgets::SelectLayers(
);
%>
-<%= header("$action Export", menubar(
+<%= include("/elements/header.html","$action Export", menubar(
'Main Menu' => popurl(2),
), ' onLoad="visualize()"')
%>
diff --git a/httemplate/edit/part_pkg.cgi b/httemplate/edit/part_pkg.cgi
index 60365f6..61e4086 100755
--- a/httemplate/edit/part_pkg.cgi
+++ b/httemplate/edit/part_pkg.cgi
@@ -48,7 +48,7 @@ my $hashref = $part_pkg->hashref;
%>
-<%= header("$action Package Definition", menubar(
+<%= include("/elements/header.html","$action Package Definition", menubar(
'Main Menu' => popurl(2),
'View all packages' => popurl(2). 'browse/part_pkg.cgi',
)) %>
diff --git a/httemplate/edit/part_svc.cgi b/httemplate/edit/part_svc.cgi
index 9749fc1..c5fff25 100755
--- a/httemplate/edit/part_svc.cgi
+++ b/httemplate/edit/part_svc.cgi
@@ -23,7 +23,7 @@ my $hashref = $part_svc->hashref;
#" onLoad=\"visualize()\""
%>
-<%= header("$action Service Definition",
+<%= include("/elements/header.html","$action Service Definition",
menubar( 'Main Menu' => $p,
'View all service definitions' => "${p}browse/part_svc.cgi"
),
diff --git a/httemplate/edit/payment_gateway.html b/httemplate/edit/payment_gateway.html
index 33cc236..cf825df 100644
--- a/httemplate/edit/payment_gateway.html
+++ b/httemplate/edit/payment_gateway.html
@@ -17,7 +17,7 @@ my $action = $payment_gateway->gatewaynum ? 'Edit' : 'Add';
%>
-<%= header("$action Payment gateway", menubar(
+<%= include("/elements/header.html","$action Payment gateway", menubar(
'Main Menu' => $p,
'View all payment gateways' => $p. 'browse/payment_gateway.html',
)) %>
diff --git a/httemplate/edit/prepay_credit.cgi b/httemplate/edit/prepay_credit.cgi
index 9cf0fc6..253edb9 100644
--- a/httemplate/edit/prepay_credit.cgi
+++ b/httemplate/edit/prepay_credit.cgi
@@ -15,7 +15,7 @@ $cgi->param('multiplier', '60') unless $cgi->param('multiplier');
%>
-<%= header('Generate prepaid cards'. ($agent ? ' for '. $agent->agent : ''),
+<%= include("/elements/header.html",'Generate prepaid cards'. ($agent ? ' for '. $agent->agent : ''),
menubar( 'Main Menu' => $p, ))
%>
diff --git a/httemplate/edit/process/prepay_credit.cgi b/httemplate/edit/process/prepay_credit.cgi
index 25ecbe0..ca74724 100644
--- a/httemplate/edit/process/prepay_credit.cgi
+++ b/httemplate/edit/process/prepay_credit.cgi
@@ -29,7 +29,7 @@ unless ( ref($error) ) {
$cgi->redirect(popurl(3). "edit/prepay_credit.cgi?". $cgi->query_string )
%><% } else { %>
-<%= header( "$num prepaid cards generated".
+<%= include("/elements/header.html", "$num prepaid cards generated".
( $agent ? ' for '.$agent->agent : '' ),
menubar( 'Main menu' => popurl(3) )
)
diff --git a/httemplate/edit/process/reg_code.cgi b/httemplate/edit/process/reg_code.cgi
index 4658257..a86c738 100644
--- a/httemplate/edit/process/reg_code.cgi
+++ b/httemplate/edit/process/reg_code.cgi
@@ -28,7 +28,7 @@ unless ( ref($error) ) {
$cgi->redirect(popurl(3). "edit/reg_code.cgi?". $cgi->query_string )
%><% } else { %>
-<%= header("$num registration codes generated for ". $agent->agent, menubar(
+<%= include("/elements/header.html","$num registration codes generated for ". $agent->agent, menubar(
'Main menu' => popurl(3),
'View all agents' => popurl(3). 'browse/agent.cgi',
) ) %>
diff --git a/httemplate/edit/rate.cgi b/httemplate/edit/rate.cgi
index 1771f01..f8f67f6 100644
--- a/httemplate/edit/rate.cgi
+++ b/httemplate/edit/rate.cgi
@@ -26,7 +26,7 @@ my %granularity = (
%>
-<%= header("$action Rate plan", menubar(
+<%= include("/elements/header.html","$action Rate plan", menubar(
'Main Menu' => $p,
'View all rate plans' => "${p}browse/rate.cgi",
))
diff --git a/httemplate/edit/rate_region.cgi b/httemplate/edit/rate_region.cgi
index cc14dd3..934fe80 100644
--- a/httemplate/edit/rate_region.cgi
+++ b/httemplate/edit/rate_region.cgi
@@ -34,7 +34,7 @@ if ( @rate_prefix ) {
%>
-<%= header("$action Region", menubar(
+<%= include("/elements/header.html","$action Region", menubar(
'Main Menu' => $p,
#'View all regions' => "${p}browse/rate_region.cgi",
))
diff --git a/httemplate/edit/reg_code.cgi b/httemplate/edit/reg_code.cgi
index 899d1ec..2fba39e 100644
--- a/httemplate/edit/reg_code.cgi
+++ b/httemplate/edit/reg_code.cgi
@@ -6,7 +6,7 @@ my $agent = qsearchs('agent', { 'agentnum' => $agentnum } );
%>
-<%= header('Generate registration codes for '. $agent->agent, menubar(
+<%= include("/elements/header.html",'Generate registration codes for '. $agent->agent, menubar(
'Main Menu' => $p,
))
%>
diff --git a/httemplate/edit/svc_acct.cgi b/httemplate/edit/svc_acct.cgi
index e74d84d..1e87c67 100755
--- a/httemplate/edit/svc_acct.cgi
+++ b/httemplate/edit/svc_acct.cgi
@@ -119,7 +119,7 @@ my $p1 = popurl(1);
%>
-<%= header("$action $svc account") %>
+<%= include("/elements/header.html","$action $svc account") %>
<% if ( $cgi->param('error') ) { %>
<FONT SIZE="+1" COLOR="#ff0000">Error: <%= $cgi->param('error') %></FONT>
diff --git a/httemplate/edit/svc_broadband.cgi b/httemplate/edit/svc_broadband.cgi
index 9e064c5..cbd0c2c 100644
--- a/httemplate/edit/svc_broadband.cgi
+++ b/httemplate/edit/svc_broadband.cgi
@@ -82,7 +82,7 @@ my ($ip_addr, $speed_up, $speed_down, $blocknum) =
%>
-<%=header("Broadband Service $action", '')%>
+<%=include("/elements/header.html","Broadband Service $action", '')%>
<% if ($cgi->param('error')) { %>
<FONT SIZE="+1" COLOR="#ff0000">Error: <%=$cgi->param('error')%></FONT><BR>
diff --git a/httemplate/edit/svc_forward.cgi b/httemplate/edit/svc_forward.cgi
index 2b9d35a..c1b90a9 100755
--- a/httemplate/edit/svc_forward.cgi
+++ b/httemplate/edit/svc_forward.cgi
@@ -110,7 +110,7 @@ my $src = $svc_forward->dbdef_table->column('src') ? $svc_forward->src : '';
%>
-<%= header("Mail Forward $action") %>
+<%= include("/elements/header.html","Mail Forward $action") %>
<% if ( $cgi->param('error') ) { %>
<FONT SIZE="+1" COLOR="#ff0000">Error: <%= $cgi->param('error') %></FONT>