add_register("cms_modules",true); print " "; print "
"; print $menu_bar; print $extra; print $extra2; print $extra_info; if($use_shortcuts) { include("$include_path/shortcuts/circ.sht"); } echo window_title($database_window_title.$msg['cms_onglet_title'].$msg[1003].$msg[1001]); $modules_parser = new cms_modules_parser(); $managed_modules = $modules_parser->get_managed_modules(); $managed_modules_menu = ""; foreach($managed_modules as $managed_module){ $managed_modules_menu.="
  • ".htmlentities($managed_module['name'],ENT_QUOTES,$charset)."
  • "; } $cms_layout = str_replace("!!cms_managed_modules!!",$managed_modules_menu,$cms_layout); switch($categ){ case "build" : $cms_layout = str_replace("!!menu_contextuel!!",$cms_build_menu_tpl,$cms_layout); break; case "pages" : $cms_layout = str_replace("!!menu_contextuel!!",$cms_pages_menu_tpl,$cms_layout); break; case "editorial" : $cms_layout = str_replace("!!menu_contextuel!!",$cms_editorial_menu_tpl,$cms_layout); break; case "section" : $cms_layout = str_replace("!!menu_contextuel!!",$cms_section_menu_tpl,$cms_layout); break; case "article" : $cms_layout = str_replace("!!menu_contextuel!!",$cms_article_menu_tpl,$cms_layout); break; case "collection" : $cms_layout = str_replace("!!menu_contextuel!!",$cms_collection_menu_tpl,$cms_layout); break; case "manage" : // on gère le menu plus tard... break; default : $cms_layout = str_replace("!!menu_contextuel!!","",$cms_layout); break; } require_once("./cms/cms.inc.php"); // pied de page print $footer; // deconnection MYSql pmb_mysql_close($dbh);