Redefined method used for header page title in the community class
This commit is contained in:
parent
930b8f9fbf
commit
06791a2df7
@ -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é"
|
||||
|
@ -1 +0,0 @@
|
||||
<title><mx:text id="title"/></title>
|
@ -52,9 +52,14 @@ Class Community extends CoordinationObj
|
||||
$currentCode=$GLOBALS["SYSTEM_USER_SESSION"]->langue->getCode();
|
||||
$defaultCode=$GLOBALS["SYSTEM_DEFAULT_LANGUAGE_CODE"];
|
||||
/* fin récupération des codes par defaut */
|
||||
|
||||
mxPageTitle("titlPageSelectCommunities");
|
||||
|
||||
|
||||
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();}}}";
|
||||
mxRawJs($arrayRawJs);
|
||||
|
||||
@ -77,7 +82,7 @@ Class Community extends CoordinationObj
|
||||
|
||||
krsort($tabNode);
|
||||
reset($tabNode);
|
||||
|
||||
|
||||
$idNode = $msg =""; //On fixe à rien l'identifiant du noeud par défaut
|
||||
/* On teste si l'id de communauté est passé (méthode GET ou POST) */
|
||||
if(isset($_REQUEST['param']))
|
||||
|
Loading…
x
Reference in New Issue
Block a user