Fixed missing community title name in oublic registering form

This commit is contained in:
Rooty 2021-06-08 17:01:21 +02:00
parent 56f2f8f876
commit ebef163c8b

View File

@ -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");