예제 #1
0
    die("no access");
}
require_once $class_path . "/parametres_perso.class.php";
require_once $class_path . "/fiche.class.php";
switch ($mode) {
    case 'champs':
        print "<h1>" . htmlentities($msg['fichier_gestion_champs_title'], ENT_QUOTES, $charset) . "</h1>";
        $option_visibilite = array();
        $option_visibilite["multiple"] = "block";
        $option_visibilite["obligatoire"] = "block";
        $option_visibilite["search"] = "block";
        $option_visibilite["export"] = "none";
        $option_visibilite["exclusion"] = "none";
        $option_visibilite["opac_sort"] = "none";
        $p_perso = new parametres_perso($prefix, "./fichier.php?categ=gerer&mode=champs", $option_visibilite);
        $p_perso->proceed();
        break;
    case 'reindex':
        $fiche = new fiche();
        switch ($act) {
            case 'run':
                $fiche->reindex_all();
                break;
            default:
                $fiche->show_reindex_form();
                break;
        }
        break;
    case 'display':
        $fiche = new fiche();
        switch ($sub) {