From: jangliss Date: Wed, 5 Mar 2003 03:55:31 +0000 (+0000) Subject: No check to make sure logo is set... login.php verifies it exists and has X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=commitdiff_plain;h=4cbcaebd4e7cdeff014ac3a928be553f77846cd4 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 --- 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" ) . "
".