From 1533547259efcbbb9c752cf583c7404bf6e4823f Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 23 Oct 2008 16:55:42 +0000 Subject: [PATCH] Can set application title --- htdocs/main.inc.php | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index 3a9b7d099eb..305231a482d 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -663,16 +663,9 @@ function dol_loginfunction($langs,$conf,$mysoc) // Table 1 print ''; - if (file_exists(DOL_DOCUMENT_ROOT.'/logo.png')) - { - // TODO A virer Cas qui ne devrait pas arriver (pour compatibilité) - print ''; - } - else - { - print ''; - } + $title='Dolibarr '.DOL_VERSION; + if (! empty($conf->global->MAIN_APPLICATION_TITLE)) $title=$conf->global->MAIN_APPLICATION_TITLE; + print ''; print '
'; - print '
Dolibarr '.DOL_VERSION.'
'.$title.'
'; print '
';