Fixed issue #5 : No page title on homepage.
This commit is contained in:
parent
4019caabc1
commit
8b1f870eb1
@ -74,7 +74,7 @@ function exitBloc()
|
||||
}
|
||||
|
||||
/**
|
||||
* fonction d'inclusion des appels de feuilles de styles CSS
|
||||
* fonction d'inclusion des titres de pages dans le bloc MX principal
|
||||
* @return booleen
|
||||
*/
|
||||
function mxPageTitle($label, $compl=False)
|
||||
@ -85,8 +85,12 @@ function mxPageTitle($label, $compl=False)
|
||||
$GLOBALS["SYSTEM_TEMPLATE"]->WithMxPath("TITLELOAD", "appe");
|
||||
|
||||
if( !$compl )
|
||||
$GLOBALS['SYSTEM_TEMPLATE']->MxText("title", getMessage($label));
|
||||
else
|
||||
{
|
||||
if( getMessage($label) )
|
||||
$GLOBALS['SYSTEM_TEMPLATE']->MxText("title", getMessage($label));
|
||||
else
|
||||
$GLOBALS['SYSTEM_TEMPLATE']->MxText("title", $label);
|
||||
} else
|
||||
$GLOBALS['SYSTEM_TEMPLATE']->MxText("title", getMessage($label)." ".$compl);
|
||||
|
||||
$GLOBALS["SYSTEM_TEMPLATE"]->WithMxPath("");
|
||||
|
Loading…
x
Reference in New Issue
Block a user