Fixed several issues with lcube6 template related to objects configuration
This commit is contained in:
parent
a7a74206a9
commit
9a146f15b5
@ -522,7 +522,27 @@ function execAdmin()
|
||||
$Right->setObjectId($Obj->getId());
|
||||
$Right=$GLOBALS["SYSTEM_MANAGER"]["RIGHT"]->insertInstance($Right);
|
||||
#-------------------------------------------------------------------------------------------------------------------------------------
|
||||
# --> Objet de gestion des Partages de Dossier/
|
||||
# --> Objet d'édition du l'outil "Mon Compte"
|
||||
# ----> Objet en lui mm
|
||||
// includeDep("usermodif/usermodif.php");
|
||||
// $Obj=new UserModif();
|
||||
// $Obj->setName("FR", "Mon Compte");
|
||||
// $Obj->setContentType("UserModif");
|
||||
// $Obj->setData("nodeId", $Node->getId() );
|
||||
// $Obj->setData("groupId", $Group->getId() );
|
||||
// $Obj->setNode( nid() );
|
||||
//
|
||||
// $Obj=$GLOBALS["SYSTEM_MANAGER"]["COORDINATION_OBJ"]->insertInstance($Obj);
|
||||
// # ----> Droits de l'objet
|
||||
// $Right=new Right();
|
||||
// $Right->setGroupId( $GroupAdmin->getId() );
|
||||
// $Right->setNodeId( $NodeAdmin->getId() );
|
||||
// $Right->setClassName("UserModif");
|
||||
// $Right->setMethodName("actionModifier");
|
||||
// $Right->setObjectId($Obj->getId());
|
||||
// $Right=$GLOBALS["SYSTEM_MANAGER"]["RIGHT"]->insertInstance($Right);
|
||||
#-------------------------------------------------------------------------------------------------------------------------------------
|
||||
# --> Objet de gestion des pré-insciptions
|
||||
# ----> Objet en lui mm
|
||||
includeDep("usertemp/usertemp.php");
|
||||
$Obj=new UserTemp();
|
||||
|
@ -129,8 +129,6 @@ class NavigationPrint extends Printing
|
||||
|
||||
$MaTemplate->MxBloc("blocAUTH", "delete");
|
||||
} else {
|
||||
$nodeId = $GLOBALS["SYSTEM_USER_SESSION"]->navigationNodeId;
|
||||
|
||||
/* création de l'url de déconnexion */
|
||||
$urlDisco =$_SERVER['SCRIPT_NAME'];
|
||||
$urlDisco.="?system=disconnectSession";
|
||||
|
@ -143,6 +143,16 @@ class UserPrint extends Printing
|
||||
$MaTemplate->MxText("fax", $GLOBALS["SYSTEM_USER_SESSION"]->user->getFax());
|
||||
$MaTemplate->MxText("TxtWelcome", getMessage("TxtWelcome"));
|
||||
|
||||
/* création de l'url de l'outil de gestion du compte utilisateur */
|
||||
$tabObjectNode =$this->getObjectSon(eid());
|
||||
for ($j=0; $j<count($tabObjectNode);$j++)
|
||||
{
|
||||
if ($tabObjectNode[$j][0]->getClassName()=="UserModif")
|
||||
{
|
||||
$MaTemplate->MxAttribut("urlAccount", formatUrl($tabObjectNode[$j][1]->getId(), $tabObjectNode[$j][0]->getClassName(), $tabObjectNode[$j][0]->getMethodName(), "", ""));
|
||||
}
|
||||
}
|
||||
|
||||
/* création de l'url de login */
|
||||
$url =$_SERVER['SCRIPT_NAME'];
|
||||
$url.="?system=disconnectSession";
|
||||
|
Loading…
x
Reference in New Issue
Block a user