From 54c43e2e8d166bac5ca64f3eaf356287a116b6e2 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Tue, 20 Sep 2005 12:37:34 +0000 Subject: [PATCH] =?UTF-8?q?Modif=20loginfunction=20pour=20l'affichage=20du?= =?UTF-8?q?=20num=E9ro=20de=20version?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/lib/functions.inc.php | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/htdocs/lib/functions.inc.php b/htdocs/lib/functions.inc.php index 005b66d6272..7224c2e9f94 100644 --- a/htdocs/lib/functions.inc.php +++ b/htdocs/lib/functions.inc.php @@ -860,17 +860,20 @@ function loginfunction() print '
'; -print ' - -'; + print '
Dolibarr '.DOL_VERSION.'
'; -if (file_exists(DOL_DOCUMENT_ROOT.'/logo.png')) -{ - print ''; -} -print'
'; - print '
+ if (file_exists(DOL_DOCUMENT_ROOT.'/logo.png')) + { + print ''; + print ''; + } + else + { + print 'Dolibarr '.DOL_VERSION.''; + } + + print'