From 34fed3e4303ccf1b66ba7908e8db71a2f7932246 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 11 Mar 2013 15:06:40 +0100 Subject: [PATCH] No link if we renamed into another product --- htdocs/main.inc.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index a8b2f307e70..ca97aebb849 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -1566,13 +1566,15 @@ function left_menu($menu_array_before, $helppagename='', $moresearchform='', $me //Dolibarr version $doliurl='http://www.dolibarr.org'; - $appli='Dolibarr'; - if (! empty($conf->global->MAIN_APPLICATION_TITLE)) $appli=$conf->global->MAIN_APPLICATION_TITLE; - + if (! empty($conf->global->MAIN_APPLICATION_TITLE)) { $appli=$conf->global->MAIN_APPLICATION_TITLE; $doliurl=''; } $appli.=" ".DOL_VERSION; - print '
'.$appli.'
'; + print '
'; + if ($doliurl) print ''; + print $appli; + if ($doliurlx) print ''; + print '
'; print "\n"; print "\n";