From: ivan Date: Tue, 31 Jan 2006 04:26:54 +0000 (+0000) Subject: move header() to include(/elements/header.html) so it can be changed in one place... X-Git-Tag: BEFORE_FINAL_MASONIZE~225 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=c1bb4ddb71147d0571bd301a6d8c452fdf0e1bc9;hp=7066204f45124e0100d5330cce63584ff9e4bacb move header() to include(/elements/header.html) so it can be changed in one place, thanks to Scott Edwards --- diff --git a/httemplate/browse/addr_block.cgi b/httemplate/browse/addr_block.cgi index 06ac556cf..d453adf8e 100644 --- a/httemplate/browse/addr_block.cgi +++ b/httemplate/browse/addr_block.cgi @@ -1,4 +1,4 @@ -<%= header('Address Blocks', menubar('Main Menu' => $p)) %> +<%= include("/elements/header.html",'Address Blocks', menubar('Main Menu' => $p)) %> <% use NetAddr::IP; diff --git a/httemplate/browse/agent.cgi b/httemplate/browse/agent.cgi index 05300d0bd..17cc8bd40 100755 --- a/httemplate/browse/agent.cgi +++ b/httemplate/browse/agent.cgi @@ -11,7 +11,7 @@ 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' diff --git a/httemplate/browse/agent_type.cgi b/httemplate/browse/agent_type.cgi index 5473804e8..2e1bdad42 100755 --- a/httemplate/browse/agent_type.cgi +++ b/httemplate/browse/agent_type.cgi @@ -1,5 +1,5 @@ -<%= header("Agent Type Listing", menubar( +<%= include("/elements/header.html","Agent Type Listing", menubar( 'Main Menu' => $p, 'Agents' => $p. 'browse/agent.cgi', )) %> diff --git a/httemplate/browse/cust_pay_batch.cgi b/httemplate/browse/cust_pay_batch.cgi index 3420e97b6..0f05ecb25 100755 --- a/httemplate/browse/cust_pay_batch.cgi +++ b/httemplate/browse/cust_pay_batch.cgi @@ -1,5 +1,5 @@ -<%= header("Pending credit card batch", menubar( 'Main Menu' => $p,)) %> +<%= include("/elements/header.html","Pending credit card batch", menubar( 'Main Menu' => $p,)) %>
Download batch in format