From: jervfors Date: Tue, 28 Sep 2004 04:54:07 +0000 (+0000) Subject: Always display $org_name in the title X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=c4ea392c26d334e154510fb1d635252d5310e367;p=squirrelmail.git Always display $org_name in the title git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@8082 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/functions/display_messages.php b/functions/display_messages.php index 963f48f5..9f9d4774 100644 --- a/functions/display_messages.php +++ b/functions/display_messages.php @@ -79,6 +79,7 @@ function logout_error( $errString, $errTitle = '' ) { $frame_top = '_top'; } + // Since $color never is set, this is always true if ( !isset( $color ) ) { $color = array(); $color[0] = '#dcdcdc'; /* light gray TitleBar */ @@ -92,11 +93,11 @@ function logout_error( $errString, $errTitle = '' ) { list($junk, $errString, $errTitle) = do_hook('logout_error', $errString, $errTitle); if ( $errTitle == '' ) { - $errTitle = $org_name . ' - ' . $errString; + $errTitle = $errString; } set_up_language($squirrelmail_language, true); - displayHtmlHeader( $errTitle, '', false ); + displayHtmlHeader( $org_name.' - '.$errTitle, '', false ); echo '\n\n". '
';