From 4cbcaebd4e7cdeff014ac3a928be553f77846cd4 Mon Sep 17 00:00:00 2001 From: jangliss Date: Wed, 5 Mar 2003 03:55:31 +0000 Subject: [PATCH] No check to make sure logo is set... login.php verifies it exists and has a value in first... changing behaviour here to match. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4593 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/display_messages.php | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/functions/display_messages.php b/functions/display_messages.php index e021557d..ab003be3 100644 --- a/functions/display_messages.php +++ b/functions/display_messages.php @@ -120,10 +120,13 @@ function logout_error( $errString, $errTitle = '' ) { displayHtmlHeader( $errTitle, '', false ); echo "\n\n" . - '
'. - "\""
\n". - ( $hide_sm_attributions ? '' : + '
'; + + if (isset($org_logo) && ($org_logo != '')) { + echo "\""
\n"; + } + echo ( $hide_sm_attributions ? '' : '' . sprintf (_("SquirrelMail version %s"), $version) . "
\n". ' ' . _("By the SquirrelMail Development Team") . "
\n" ) . "
". -- 2.25.1