libelle == $b->libelle) {
return 0;
}
return (strtolower(convert_diacrit($a->libelle)) < strtolower(convert_diacrit($b->libelle))) ? -1 : 1;
}
// gestion des catégories
print "
".$msg[140]." : ". $msg[134]."
";
switch($sub) {
case 'categ_form':
include('./autorites/subjects/categ_form.inc.php');
break;
case 'delete':
include('./autorites/subjects/categ_delete.inc.php');
break;
case 'update':
include('./autorites/subjects/categ_update.inc.php');
break;
case 'search':
include('./autorites/subjects/search.inc.php');
break;
case 'thes' :
include('./autorites/subjects/thesaurus.inc.php');
break;
case 'thes_form' :
include('./autorites/subjects/thes_form.inc.php');
break;
case 'thes_update' :
include('./autorites/subjects/thes_update.inc.php');
break;
case 'thes_delete' :
include('./autorites/subjects/thes_delete.inc.php');
break;
case 'categ_replace' :
include('./autorites/subjects/categ_replace.inc.php');
break;
case 'categorie_last':
$last_param=1;
$tri_param = "order by id_noeud desc ";
$limit_param = "limit 0, $pmb_nb_lastautorities ";
$clef = "";
$nbr_lignes = 0 ;
include('./autorites/subjects/default.inc.php');
break;
default:
include('./autorites/subjects/default.inc.php');
break;
}