add_register("cms_modules",true);
}
$autoloader->add_register("frbr_entities",true);
require_once($class_path."/modules/module_cms.class.php");
require_once($include_path."/templates/cms.tpl.php");
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]);
// if($cms_active && (SESSrights & CMS_BUILD_AUTH)) {
// $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 "manage" :
case 'plugin':
// on gère le menu plus tard...
break;
default:
// print str_replace('!!menu_contextuel!!', module_cms::get_instance()->get_display_subtabs(), $cms_layout);
print str_replace('!!menu_contextuel!!', "", $cms_layout);
break;
}
switch($categ){
case 'plugin' :
$plugins = plugins::get_instance();
$file = $plugins->proceed("cms",$plugin,$sub,$cms_layout);
if($file){
include $file;
}
break;
default :
break;
}
require_once("./cms/cms.inc.php");
// pied de page
print $footer;
// deconnection MYSql
pmb_mysql_close($dbh);