diff --git a/data/template/nhsys/object_coordination/adminnode/actionadmin.mxt b/data/template/nhsys/object_coordination/adminnode/actionadmin.mxt
index 3f8bd31..20c19cb 100755
--- a/data/template/nhsys/object_coordination/adminnode/actionadmin.mxt
+++ b/data/template/nhsys/object_coordination/adminnode/actionadmin.mxt
@@ -71,6 +71,7 @@
diff --git a/lib/object_coordination/adminnode/adminnode.php b/lib/object_coordination/adminnode/adminnode.php
index 01962cc..b048dd4 100755
--- a/lib/object_coordination/adminnode/adminnode.php
+++ b/lib/object_coordination/adminnode/adminnode.php
@@ -137,6 +137,14 @@ Class AdminNode extends CoordinationObj
asort($tabIcone);
$GLOBALS['SYSTEM_TEMPLATE']->MxSelect("icone", "iconeN", '', $tabIcone, 'Image de l\'espace', '', 'id="iconeN"', "class=\"form\" title=\"".htmlspecialchars(getMessage("txtNodeIcon"), ENT_QUOTES)."\"", getMessage("txtNodeIcon"));
+ /* recuperation de l'icone de la communauté */
+ if (file_exists($GLOBALS['CONF_DATA_PATH']."data/image/communities/".recupCommunity()."_logo.svg"))
+ {
+ $imgCommunity=$GLOBALS['CONF_DATA_PATH']."data/image/communities/".recupCommunity()."_logo.svg";
+ }else{
+ $imgCommunity=$GLOBALS['CONF_DATA_PATH']."data/image/communities/3_logo.svg";
+ }
+
/* Affichage des templates */
# Affichage de la liste déroulante
# Détermine le chemin des icônes
@@ -163,6 +171,7 @@ Class AdminNode extends CoordinationObj
$GLOBALS['SYSTEM_TEMPLATE']->MxSelect("template", "template_name", '', $tabTemplate, '', '', 'id="template"', "class=\"form\" title=\"".htmlspecialchars(getMessage("txtNodeTemplate"), ENT_QUOTES)."\"", getMessage("txtNodeTemplate"));
$GLOBALS["SYSTEM_TEMPLATE"]->MxImage("screenTemplate", $GLOBALS['SYSTEM_TEMPLATE_PATH'].$GLOBALS['SYSTEM_TEMPLATE_DIR']."preview.png", getMessage("PreviewTemplate"));
$GLOBALS["SYSTEM_TEMPLATE"]->MxImage("pictoObject", $GLOBALS['CONF_DATA_PATH']."data/image/icons/node/defaultnode.png", getMessage("PreviewPicto"));
+ $GLOBALS["SYSTEM_TEMPLATE"]->MxImage("imageCommunity", $imgCommunity);
$GLOBALS["SYSTEM_TEMPLATE"]->MxFormField("ctype", "text", "node_ctype", "", "class=\"form\" title=\"".htmlspecialchars(getMessage("txtNodeType"), ENT_QUOTES)."\"", getMessage("txtNodeType"));
$GLOBALS["SYSTEM_TEMPLATE"]->MxFormField("ctypereg", "text", "node_ctypereg", "", "class=\"form\" title=\"".htmlspecialchars(getMessage("txtNodeTypereg"), ENT_QUOTES)."\"", getMessage("txtNodeTypereg"));
$GLOBALS["SYSTEM_TEMPLATE"]->MxFormField("domain", "text", "node_domain", "", "class=\"form\" title=\"".htmlspecialchars(getMessage("txtNodeDomain"), ENT_QUOTES)."\"", getMessage("txtNodeDomain"));