Fix: Can change main html title of pages
This commit is contained in:
parent
bc47d486a3
commit
e4ac9de490
@ -674,21 +674,11 @@ function top_htmlhead($head, $title='', $disablejs=0, $disablehead=0, $arrayofjs
|
|||||||
print '<meta name="author" content="Dolibarr Development Team">'."\n";
|
print '<meta name="author" content="Dolibarr Development Team">'."\n";
|
||||||
|
|
||||||
// Affiche title
|
// Affiche title
|
||||||
if ($title)
|
$appli='Dolibarr';
|
||||||
{
|
if (! empty($conf->global->MAIN_TITLE)) $appli=$conf->global->MAIN_TITLE;
|
||||||
print '<title>Dolibarr - '.$title.'</title>';
|
|
||||||
}
|
if ($title) print '<title>'.$appli.' - '.$title.'</title>';
|
||||||
else
|
else print "<title>".$appli."</title>";
|
||||||
{
|
|
||||||
if (defined("MAIN_TITLE"))
|
|
||||||
{
|
|
||||||
print "<title>".MAIN_TITLE."</title>";
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
print '<title>Dolibarr</title>';
|
|
||||||
}
|
|
||||||
}
|
|
||||||
print "\n";
|
print "\n";
|
||||||
|
|
||||||
// Output style sheets
|
// Output style sheets
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user