diff options
author | ivan <ivan> | 2006-01-31 04:26:54 +0000 |
---|---|---|
committer | ivan <ivan> | 2006-01-31 04:26:54 +0000 |
commit | c1bb4ddb71147d0571bd301a6d8c452fdf0e1bc9 (patch) | |
tree | aceba418d4d41bdec62b95f5d20b2b9a2993cceb /httemplate/edit/process | |
parent | 7066204f45124e0100d5330cce63584ff9e4bacb (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/process')
-rw-r--r-- | httemplate/edit/process/prepay_credit.cgi | 2 | ||||
-rw-r--r-- | httemplate/edit/process/reg_code.cgi | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/edit/process/prepay_credit.cgi b/httemplate/edit/process/prepay_credit.cgi index 25ecbe079..ca7472432 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 4658257f3..a86c7383a 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', ) ) %> |