You wouldn't need to add anything to that subroutine. You need to scroll back up to the top of the site_html_templates.pl document, and looks for the section like this:
Code:
# You can put variables here that you would like to use in any
# of your templates.
%globals = (
date => &get_date,
time => &get_time,
db_cgi_url => $db_cgi_url,
build_root_url => $build_root_url,
site_title => $build_site_title,
css => $build_css_url,
banner => ''
);
Right before that section, you want to add
Quote:
$site_header = qq|your header html code here|;
and then in the section I posted above, right below the css=> line, add
Quote:
site_header => $site_header,
You don't have to change anything else in this file. However you
do have to go into each template where you want the header to show up and add <%site_header%> where you want the header text to be.
Can't do it without editing each template at least that much.
Phoenix