Like so... in db_utils.pl, just before the 1; at the bottom of the file, add this:
sub admin_email {
#----------------------------------------------------------------------
# put the admin email anywhere, called with <%admin_email%>
$output .= qq|<a href="mailto: admin\@yoursite.com">Send us a note!</a>|;
return $output;
}
Of course, change the green to whatever you want, but remeber to \escape the @. Then, look in site_html_templates.pl, and add this to the globals at the top of the file (remember to put a comma after what is currently last in the list, then add this under it with NO comma on the end):
admin_email => &admin_email
Leonard
aka PerlFlunkie
Code:
sub admin_email {
#----------------------------------------------------------------------
# put the admin email anywhere, called with <%admin_email%>
$output .= qq|<a href="mailto: admin\@yoursite.com">Send us a note!</a>|;
return $output;
}
Of course, change the green to whatever you want, but remeber to \escape the @. Then, look in site_html_templates.pl, and add this to the globals at the top of the file (remember to put a comma after what is currently last in the list, then add this under it with NO comma on the end):
admin_email => &admin_email
Leonard
aka PerlFlunkie