From 1f2eaa02c9834682003da4372b83a2e79c505a2d Mon Sep 17 00:00:00 2001 From: stekkel Date: Fri, 11 Oct 2002 07:28:42 +0000 Subject: [PATCH] Added configurable SquirrelMail link. Hopefully this filters the feedback page oon squirrelmail.org git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3835 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/page_header.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/functions/page_header.php b/functions/page_header.php index dd04c2d1..6d924929 100644 --- a/functions/page_header.php +++ b/functions/page_header.php @@ -66,7 +66,7 @@ function displayPageHeader($color, $mailbox, $xtra='', $session=false) { global $hide_sm_attributions, $PHP_SELF, $frame_top, $compose_new_win, $username, $datadir, $compose_width, $compose_height, - $attachemessages, $session; + $attachemessages, $session, $provider_name, $provider_uri; if ( (float)substr(PHP_VERSION,0,3) < 4.1 ) { global $_SESSION; @@ -250,8 +250,10 @@ function displayPageHeader($color, $mailbox, $xtra='', $session=false) { echo " \n" . html_tag( 'td', '', 'right' ) ."\n"; + if (!isset($provider_uri)) $provider_uri= 'http://www.squirrelmail.org/'; + if (!isset($provider_name)) $provider_name= 'SquirrelMail'; echo ($hide_sm_attributions ? ' ' : - 'SquirrelMail'); + ''.$provider_name.''); echo "\n". " \n". "
\n\n"; -- 2.25.1