id_noeud,$path); // } // $req="update noeuds set path='$path' where id_noeud=$id_noeud"; // mysql_query($req,$dbh); //} //function process_categ_index() { // global $dbh; // // $q = "select * from categories "; // $r = mysql_query($q, $dbh); // while ($obj = mysql_fetch_object($r)) { // $thes = new categories($obj->num_noeud,$obj->langue); // $thes->update_index_path_word(); // } //} // Pour tous les thésaurus, on parcours les childs $list_thesaurus = thesaurus::getThesaurusList(); foreach($list_thesaurus as $id_thesaurus=>$libelle_thesaurus) { $thes = new thesaurus($id_thesaurus); $noeud_rac = $thes->num_noeud_racine; $r = noeuds::listChilds($noeud_rac, 0); while(($row = mysql_fetch_object($r))){ noeuds::process_categ_path($row->id_noeud); } } if($thesaurus_auto_postage_search){ categories::process_categ_index(); } $spec = $spec - CLEAN_CATEGORIES_PATH; $v_state=urldecode($v_state); $v_state.= "
".htmlentities($msg["clean_categories_path_end"], ENT_QUOTES, $charset)."."; print "
";