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'