From: pdontthink Date: Sat, 12 Jul 2003 22:27:38 +0000 (+0000) Subject: Get a little extra room for internal links when attributions are off X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=commitdiff_plain;h=99ea51d389e159ea9cd6313520b5dd4da7ecef4d Get a little extra room for internal links when attributions are off git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5267 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/functions/page_header.php b/functions/page_header.php index ceea10b..53c5d00 100644 --- a/functions/page_header.php +++ b/functions/page_header.php @@ -254,7 +254,9 @@ function displayPageHeader($color, $mailbox, $xtra='', $session=false) { echo "\n" . " \n" . html_tag( 'tr', '', '', $color[4] ) ."\n" - . html_tag( 'td', '', 'left' ) ."\n"; + . ($hide_sm_attributions ? html_tag( 'td', '', 'left', '', 'colspan="2"' ) + : html_tag( 'td', '', 'left' ) ) + . "\n"; $urlMailbox = urlencode($mailbox); echo makeComposeLink('src/compose.php?mailbox='.$urlMailbox); echo "  \n"; @@ -271,14 +273,17 @@ function displayPageHeader($color, $mailbox, $xtra='', $session=false) { do_hook('menuline'); - 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 ? ' ' : - ''.$provider_name.''); - echo "\n". - " \n". + echo " \n"; + + if (!$hide_sm_attributions) + { + echo html_tag( 'td', '', 'right' ) ."\n"; + if (!isset($provider_uri)) $provider_uri= 'http://www.squirrelmail.org/'; + if (!isset($provider_name)) $provider_name= 'SquirrelMail'; + echo ''.$provider_name.''; + echo "\n"; + } + echo " \n". "
\n\n"; }