diff --git a/lib/object_coordination/home/home.php b/lib/object_coordination/home/home.php index eadbf8e..9ce41df 100755 --- a/lib/object_coordination/home/home.php +++ b/lib/object_coordination/home/home.php @@ -72,7 +72,8 @@ Class Home extends CoordinationObj $defaultCode=$GLOBALS["SYSTEM_DEFAULT_LANGUAGE_CODE"]; /* fin récupération des codes par defaut */ - mxPageTitle("methodActionLectureHomeTitlePage"); + if( recupCommunity() == 2 ) $currentCommunity = "Qware"; else $currentCommunity = recupCommunity(false, "lib"); + mxPageTitle("methodActionLectureHomeTitlePage", $currentCommunity); if (file_exists($GLOBALS['SYSTEM_TEMPLATE_PATH'].$GLOBALS['SYSTEM_TEMPLATE_DIR']."object_coordination/textinfo/".$_SERVER["HTTP_HOST"]."-landingpage.mxt")) { @@ -148,7 +149,8 @@ Class Home extends CoordinationObj # On affecte a la template le texte pour la balise MxText (Template Principale) $GLOBALS["SYSTEM_TEMPLATE"]->MxText("text", $text); } else { - mxPageTitle("methodActionLectureHomeTitlePage"); + if( recupCommunity() == 2 ) $currentCommunity = "Qware"; else $currentCommunity = recupCommunity(false, "lib"); + mxPageTitle("methodActionLectureHomeTitlePage", $currentCommunity); /* On inclus la template (voir package.template.php) */ withBlocPath("Home", "actionLectureInfo");