add_register("onto_class",true); require_once($class_path."/ontologies.class.php"); require_once($include_path."/templates/semantic.tpl.php"); print "
"; print $menu_bar; print $extra; print $extra2; print $extra_info; if($use_shortcuts) { include("$include_path/shortcuts/circ.sht"); } $ontologies = new ontologies(); $layout = str_replace("!!ontologies_menu!!",$ontologies->get_semantic_menu(),$semantic_layout); print $layout; if($ontology_id){ $ontology = new ontology($ontology_id); $ontology->exec_data_framework(); }else{ //TODO switch($categ){ case 'plugin' : $plugins = plugins::get_instance(); $file = $plugins->proceed("semantic",$plugin,$sub); if($file){ include $file; } break; default : print "