'.CopixI18N::get('cms|cms.titlePage.onlinePages').''; if ($popup) { echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo '
'.CopixI18N::get('htmleditor.info.popup').'
'.CopixI18N::get('htmleditor.popupwidth').' :
'.CopixI18N::get('htmleditor.popupheight').' :
'; } if (count ($arPublished)>0) { echo ''; } echo '

'; function showHeading ($arHeadings,$arPublished,$popup, $editorName) { $result=Null; if (!hasContent($arHeadings,$arPublished)) return $result; // On n'affiche pas les branches qui n'ont pas de pages publiées //Ajout PGU pour plier/déplier l'arborescence if (!is_null($arHeadings->id_head)){ $result .= '
  • '; $result .= ' '.$arHeadings->caption_head.'
    '; $result .= '
  •  '.$arHeadings->caption_head.'
    '; $result .= '
    '; } //Fin ajout PGU // Si on a des liens courants ou si la rubrique parente en possède on affiche la rubrique courante $result.='
  • '; return $result; } function hasContent($treeToScan,$arPublished) { if (isset($arPublished[$treeToScan->id_head]) && count($arPublished[$treeToScan->id_head]) > 0) return true; foreach ($treeToScan->childs as $key=>$subTree) { if (hasContent($subTree,$arPublished)) return true; } return false; } ?>