-<%= header('Address Blocks', menubar('Main Menu' => $p)) %>
+<%= include("/elements/header.html",'Address Blocks', menubar('Main Menu' => $p)) %>
<%
use NetAddr::IP;
my $conf = new FS::Conf;
%>
-<%= header('Agent Listing', menubar(
+<%= include("/elements/header.html",'Agent Listing', menubar(
'Main Menu' => $p,
'Agent Types' => $p. 'browse/agent_type.cgi',
# 'Add new agent' => '../edit/agent.cgi'
<!-- mason kludge -->
-<%= header("Agent Type Listing", menubar(
+<%= include("/elements/header.html","Agent Type Listing", menubar(
'Main Menu' => $p,
'Agents' => $p. 'browse/agent.cgi',
)) %>
<!-- mason kludge -->
-<%= header("Pending credit card batch", menubar( 'Main Menu' => $p,)) %>
+<%= include("/elements/header.html","Pending credit card batch", menubar( 'Main Menu' => $p,)) %>
<FORM ACTION="<%=$p%>misc/download-batch.cgi" METHOD="POST">
Download batch in format <SELECT NAME="format">
my $total = scalar(@part_bill_event);
%>
-<%= header('Invoice Event Listing', menubar( 'Main Menu' => $p) ) %>
+<%= include("/elements/header.html",'Invoice Event Listing', menubar( 'Main Menu' => $p) ) %>
Invoice events are actions taken on overdue invoices.<BR><BR>
<A HREF="<%= $p %>edit/part_bill_event.cgi"><I>Add a new invoice event</I></A>
<!-- mason kludge -->
-<%= header("Export Listing", menubar( 'Main Menu' => "$p#sysadmin" )) %>
+<%= include("/elements/header.html","Export Listing", menubar( 'Main Menu' => "$p#sysadmin" )) %>
Provisioning services to external machines, databases and APIs.<BR><BR>
<A HREF="<%= $p %>edit/part_export.cgi"><I>Add a new export</I></A><BR><BR>
<SCRIPT>
my $taxclasses = $conf->exists('enable_taxclasses');
%>
-<%= header("Package Definition Listing",menubar( 'Main Menu' => $p )) %>
+<%= include("/elements/header.html","Package Definition Listing",menubar( 'Main Menu' => $p )) %>
<% unless ( $cgi->param('active') ) { %>
One or more service definitions are grouped together into a package
definition and given pricing information. Customers purchase packages
<!-- mason kludge -->
-<%= header("Advertising source Listing", menubar(
+<%= include("/elements/header.html","Advertising source Listing", menubar(
'Main Menu' => $p,
# 'Add new referral' => "../edit/part_referral.cgi",
)) %>
}
%>
-<%= header('Service Definition Listing', menubar( 'Main Menu' => $p) ) %>
+<%= include("/elements/header.html",'Service Definition Listing', menubar( 'Main Menu' => $p) ) %>
<SCRIPT>
function part_export_areyousure(href) {
-<%= header('Virtual field definitions', menubar('Main Menu' => $p)) %>
+<%= include("/elements/header.html",'Virtual field definitions', menubar('Main Menu' => $p)) %>
<%
my %pvfs;
}
%>
-<%= header('Payment gateways', menubar(
+<%= include("/elements/header.html",'Payment gateways', menubar(
'Main Menu' => $p,
'Agents' => $p. 'browse/agent.cgi',
)) %>
<!-- mason kludge -->
-<%= header("Job Queue", menubar( 'Main Menu' => $p, )) %>
+<%= include("/elements/header.html","Job Queue", menubar( 'Main Menu' => $p, )) %>
<%= joblisting({}) %>
</BODY>
</HTML>
<!-- mason kludge -->
-<%= header("Rate plan listing", menubar( 'Main Menu' => "$p#sysadmin" )) %>
+<%= include("/elements/header.html","Rate plan listing", menubar( 'Main Menu' => "$p#sysadmin" )) %>
Rate plans, regions and prefixes for VoIP and call billing.<BR><BR>
<A HREF="<%=$p%>edit/rate.cgi"><I>Add a rate plan</I></A>
| <A HREF="<%=$p%>edit/rate_region.cgi"><I>Add a region</I></A>
-<%= header('Routers', menubar('Main Menu' => $p)) %>
+<%= include("/elements/header.html",'Routers', menubar('Main Menu' => $p)) %>
<%
my @router = qsearch('router', {});
WHERE popnum = ? ")
or die dbh->errstr;
%>
-<%= header('Access Number Listing', menubar( 'Main Menu' => $p )) %>
+<%= include("/elements/header.html",'Access Number Listing', menubar( 'Main Menu' => $p )) %>
Points of Presence<BR><BR>
<A HREF="<%= $p %>edit/svc_acct_pop.cgi"><I>Add new Access Number</I></A><BR><BR>
<%= table() %>
<!-- mason kludge -->
-<%= header('View Configuration', menubar( 'Main Menu' => $p,
+<%= include("/elements/header.html",'View Configuration', menubar( 'Main Menu' => $p,
'Edit Configuration' => 'config.cgi' ) ) %>
<% my $conf = new FS::Conf; my @config_items = $conf->config_items; %>
<!-- mason kludge -->
-<%= header('Edit Configuration', menubar( 'Main Menu' => $p ) ) %>
+<%= include("/elements/header.html",'Edit Configuration', menubar( 'Main Menu' => $p ) ) %>
<SCRIPT>
var gSafeOnload = new Array();
var gSafeOnsubmit = new Array();
#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",
%>
-<%= header("$action Agent", menubar(
+<%= include("/elements/header.html","$action Agent", menubar(
'Main Menu' => $p,
'View all agents' => $p. 'browse/agent.cgi',
)) %>
%>
-<%= 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',
%>
-<%= 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",
))
-<%= header( 'Bulk customer service change',
+<%= include("/elements/header.html", 'Bulk customer service change',
menubar(
'Main Menu' => $p,
),
%>
-<%= header($title, '') %>
+<%= include("/elements/header.html",$title, '') %>
<% if ( $cgi->param('error') ) { %>
<FONT SIZE="+1" COLOR="#ff0000">Error: <%= $cgi->param('error') %></FONT>
);
%>
-<%= header("$action Export", menubar(
+<%= include("/elements/header.html","$action Export", menubar(
'Main Menu' => popurl(2),
), ' onLoad="visualize()"')
%>
%>
-<%= 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',
)) %>
#" 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"
),
%>
-<%= 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',
)) %>
%>
-<%= header('Generate prepaid cards'. ($agent ? ' for '. $agent->agent : ''),
+<%= include("/elements/header.html",'Generate prepaid cards'. ($agent ? ' for '. $agent->agent : ''),
menubar( 'Main Menu' => $p, ))
%>
$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) )
)
$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',
) ) %>
%>
-<%= header("$action Rate plan", menubar(
+<%= include("/elements/header.html","$action Rate plan", menubar(
'Main Menu' => $p,
'View all rate plans' => "${p}browse/rate.cgi",
))
%>
-<%= header("$action Region", menubar(
+<%= include("/elements/header.html","$action Region", menubar(
'Main Menu' => $p,
#'View all regions' => "${p}browse/rate_region.cgi",
))
%>
-<%= header('Generate registration codes for '. $agent->agent, menubar(
+<%= include("/elements/header.html",'Generate registration codes for '. $agent->agent, menubar(
'Main Menu' => $p,
))
%>
%>
-<%= 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>
%>
-<%=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>
%>
-<%= 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>
-<%= header( 'Quick payment entry',
+<%= include("/elements/header.html", 'Quick payment entry',
menubar(
'Main Menu' => $p, #popurl(1),
'Old-style quick payment entry' =>
<!-- 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>
<!-- 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>
%>
-<%= 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)
)) %>
%>
-<%= 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 ) { %>
<!-- 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>
} else {
%>
<!-- mason kludge -->
- <%= header('Import sucessful') %> <%
+ <%= include("/elements/header.html",'Import sucessful') %> <%
}
%>
} else {
%>
<!-- mason kludge -->
- <%= header('Import sucessful') %> <%
+ <%= include("/elements/header.html",'Import sucessful') %> <%
}
%>
<!-- mason kludge -->
-<%= header('Map tables') %>
+<%= include("/elements/header.html",'Map tables') %>
<SCRIPT>
var gSafeOnload = new Array();
} else {
%>
<!-- mason kludge -->
- <%= header('Batch results upload sucessful') %> <%
+ <%= include("/elements/header.html",'Batch results upload sucessful') %> <%
}
%>
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",
)
%>
-<%= header( 'Prepaid Income (Unearned Revenue) Report',
+<%= include("/elements/header.html", 'Prepaid Income (Unearned Revenue) Report',
menubar( 'Main Menu'=>$p, ) ) %>
<%= table() %>
<TR>
my $exemptlink = $p. "search/cust_tax_exempt_pkg.cgi?$dateagentlink";
%>
-<%= header( "$agentname Sales Tax Report - ".
+<%= include("/elements/header.html", "$agentname Sales Tax Report - ".
( $beginning
? time2str('%h %o %Y ', $beginning )
: ''
} else {
%>
<!-- mason kludge -->
-<%= header("External Search Results",'') %>
+<%= include("/elements/header.html","External Search Results",'') %>
<%= scalar(@svc_external) %> matching external services found
<TABLE BORDER=4 CELLSPACING=0 CELLPADDING=0>
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",
)) %>
%>
-<%= header("Customer View", menubar(
+<%= include("/elements/header.html","Customer View", menubar(
'Main Menu' => $p,
)) %>
<% 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,
)) %>
}
</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,
);
%>
-<%=header('Broadband Service View', menubar(
+<%=include("/elements/header.html",'Broadband Service View', menubar(
( ( $custnum )
? ( "View this customer (#$custnum)" => "${p}view/cust_main.cgi?$custnum",
)
%>
-<%= header('Domain View', menubar(
+<%= include("/elements/header.html",'Domain View', menubar(
( ( $pkgnum || $custnum )
? ( "View this customer (#$custnum)" => "${p}view/cust_main.cgi?$custnum",
)
%>
-<%= header('External Service View', menubar(
+<%= include("/elements/header.html",'External Service View', menubar(
( ( $custnum )
? ( "View this customer (#$custnum)" => "${p}view/cust_main.cgi?$custnum",
)