-
-
+
+
+
+
-
-
-

.png" alt="
" title="
" />
-
-
-
+
-
+
+
-
-
+
diff --git a/data/template/qware/qware.css b/data/template/qware/qware.css
index 8fa1540..faa9a6a 100755
--- a/data/template/qware/qware.css
+++ b/data/template/qware/qware.css
@@ -67,17 +67,22 @@
padding-top: 0 !important;
padding-bottom: 0 !important;
border: 0 !important;
- border-radius: 12px !important;
+ border-radius: 0 !important;
/* opacity: .90; */
- background-color: #fff;
+/* background-color: #fff; */
}
-#data div.tab-content.container-fluid div.card.w-100{
+#data div.tab-content.container-fluid div.card.w-100,
+#data-guest div.tab-content.container-fluid div.card.w-100{
/* background-color: transparent; */
/* opacity: .90; */
margin-bottom: 20px;
}
+#data-guest div#contentTextInfos.tab-content.container-fluid.w-75{
+ border-radius: 6px !important;
+}
+
#data div.tab-content.container-fluid div.card.w-100.start{
/* border-radius: 0 .50em ; */
}
diff --git a/lib/object_coordination/community/community.php b/lib/object_coordination/community/community.php
index 782f525..1966f39 100755
--- a/lib/object_coordination/community/community.php
+++ b/lib/object_coordination/community/community.php
@@ -55,6 +55,9 @@ Class Community extends CoordinationObj
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);
+
/* On inclus la template (voir package.template.php) */
WithBlocPath("Community", "actionLecture");
@@ -145,7 +148,6 @@ Class Community extends CoordinationObj
if($tabNode[$i][0] == $idNode) //si le noeud de la boucle égale celui sélectionné
{
//On récupère le texte du noeud choisi par l'internaute
-// $sql="SELECT * FROM ".DATA_ACCES_TABLE_PREFIX.DATA_ACCES_OBJECT_PREFIX."textentrynode WHERE node_id=".$idNode;
$sql="SELECT * FROM ".DATA_ACCES_TABLE_PREFIX.DATA_ACCES_OBJECT_PREFIX."textentrynode WHERE node_id=".$idNode." AND langue_id=".$GLOBALS["SYSTEM_USER_SESSION"]->langue->getId();
# Exécution de Requete
$result=$GLOBALS['SYSTEM_DATABASE_CONN']->sql_query($sql);
@@ -154,17 +156,27 @@ Class Community extends CoordinationObj
if ($GLOBALS['SYSTEM_DATABASE_CONN']->sql_numrows()>0)
{
$list = $GLOBALS['SYSTEM_DATABASE_CONN']->sql_fetchrow();
-// $text = $list['text_resume'];
- $text = $list['textentrynode_resume'];
+ $textResume = $list['textentrynode_resume'];
+ $textText = $list['textentrynode_resume'];
//On masque le texte d'intro affiché par défaut à partir de message
$GLOBALS["SYSTEM_TEMPLATE"]->MxText("ComTextdefault", "");
- $GLOBALS["SYSTEM_TEMPLATE"]->MxText("text_resume", $text);
+ $GLOBALS["SYSTEM_TEMPLATE"]->MxText("blocTextResume".".text_resume", $textResume);
+ $GLOBALS["SYSTEM_TEMPLATE"]->MxText("blocTextText".".text_text", $textText);
}
# Destruction des éléments
$GLOBALS['SYSTEM_DATABASE_CONN']->sql_freeresult();
#Affichage des contenus
$GLOBALS["SYSTEM_TEMPLATE"]->MxText("ComText",$tabNode[$i][1]);
+
+ if( !isset($textResume) || $textResume == "" ) $GLOBALS['SYSTEM_TEMPLATE']->MxBloc("blocTextResume", "delete");
+ if( !isset($textText) || $textText == "" ) $GLOBALS['SYSTEM_TEMPLATE']->MxBloc("blocTextText", "delete");
+
+ if( is_file("data/image/communities/".$idNode."_logo.svg" ) )
+ $GLOBALS['SYSTEM_TEMPLATE']->MxImage("blocImgLogo".".logo", "data/image/communities/".$idNode."_logo.svg", $tabNode[$i][1], "", 32);
+ else
+ $GLOBALS['SYSTEM_TEMPLATE']->MxBloc("blocImgLogo", "delete");
+
$GLOBALS["SYSTEM_TEMPLATE"]->MxAttribut("bloc1.entrynodeid",$tabNode[$i][0]);
$GLOBALS["SYSTEM_TEMPLATE"]->MxText("bloc1.entrynodeselected"," selected='selected' ");
$url_inscrire = formatUrl($this->GetId(),"Community","formlecture","",$tabNode[$i][0]);