Redefined method used for header page title in the community class

This commit is contained in:
Rooty 2021-05-05 03:30:54 +02:00
parent 930b8f9fbf
commit 06791a2df7
3 changed files with 10 additions and 5 deletions

View File

@ -1,4 +1,5 @@
titlPageInscription = "Page d'inscription à la communauté"
titlPagePresentation = "Présentation de la communauté"
titlPageSelectCommunities = "Accueil des Communautés - Choisissez une communauté"
actionAdminTitlePage = "Gestion des comptes de la communauté"

View File

@ -1 +0,0 @@
<title><mx:text id="title"/></title>

View File

@ -53,6 +53,11 @@ Class Community extends CoordinationObj
$defaultCode=$GLOBALS["SYSTEM_DEFAULT_LANGUAGE_CODE"];
/* fin récupération des codes par defaut */
if(isset($_REQUEST['param']))
{
$title=getMessage("titlPagePresentation")." ".recupCommunity($_REQUEST['param'], "lib", $currentCode);
mxPageTitle($title);
} else
mxPageTitle("titlPageSelectCommunities");
$arrayRawJs[] = "function FselectCom(){if(document.getElementById){if(document.getElementById(\"FselectCom\")){document.getElementById(\"FselectCom\").submit();}}else if(document.all){if(document.all[\"FselectCom\"]){document.all[\"FselectCom\"].submit();}}}";