Esempio n. 1
0
// © 2002-2004 PMB Services / www.sigb.net pmb@sigb.net et contributeurs (voir www.sigb.net)
// +-------------------------------------------------+
// $Id: categ_form.inc.php,v 1.32.2.1 2014-03-31 12:11:48 dgoron Exp $
if (stristr($_SERVER['REQUEST_URI'], ".inc.php")) {
    die("no access");
}
// inclusions diverses
include_once "{$include_path}/templates/category.tpl.php";
require_once "{$class_path}/category.class.php";
require_once "{$class_path}/thesaurus.class.php";
require_once "{$class_path}/noeuds.class.php";
require_once "{$class_path}/categories.class.php";
require_once "{$class_path}/XMLlist.class.php";
require_once "{$class_path}/aut_pperso.class.php";
require_once "{$class_path}/audit.class.php";
if (noeuds::isRacine($id)) {
    error_form_message($msg['categ_forb']);
    exit;
}
//recuperation du thesaurus session
if (!$id_thes) {
    $id_thes = thesaurus::getSessionThesaurusId();
}
if ($id_thes == '-1') {
    $id_thes = $thesaurus_defaut;
}
thesaurus::setSessionThesaurusId($id_thes);
$thes = new thesaurus($id_thes);
//Récuperation de la liste des langues définies pour l'interface
$langages = new XMLlist("{$include_path}/messages/languages.xml", 1);
$langages->analyser();