]*>(.+),Uims", $fond, $match)) { $titre = $match[1]; } // recuperer la hierarchie (au-dessus du contenu) if (preg_match(",.+,Uims", $fond, $match)) { $hierarchie = $match[0]; $fond = str_replace($hierarchie, "", $fond); } // recuperer la navigation (colonne de gauche) if (preg_match(",.+,Uims", $fond, $match)) { $navigation = $match[0]; $fond = str_replace($navigation, "", $fond); } // recuperer les extras (colonne de droite) if (preg_match(",.+,Uims", $fond, $match)) { $extra = $match[0]; $fond = str_replace($extra, "", $fond); } include_spip('inc/presentation'); // alleger les inclusions avec un inc/presentation_mini $commencer_page = charger_fonction('commencer_page', 'inc'); echo $commencer_page($titre); if ($hierarchie) { echo debut_grand_cadre(true); echo pipeline( 'affiche_hierarchie', array( 'args' => array( 'exec' => $exec ), 'data' => $hierarchie ) ); echo fin_grand_cadre(true); } echo debut_gauche("exec_$exec", true); $contexte = array('exec' => $exec); if ($objet_exec = trouver_objet_exec($exec)) { $id = $objet_exec['id_table_objet']; if (_request($id)) { $contexte[$id] = _request($id); } } echo $navigation; echo pipeline('affiche_gauche', array('args' => $contexte, 'data' => '')); echo creer_colonne_droite("exec_$exec", true); echo $extra; echo pipeline('affiche_droite', array('args' => $contexte, 'data' => '')); echo debut_droite("exec_$exec", true); echo $fond; echo pipeline('affiche_milieu', array('args' => $contexte, 'data' => '')); echo fin_gauche(), fin_page(); } }