diff --git a/htdocs/html.form.class.php b/htdocs/html.form.class.php index 287801da6c9..677b55ce9d3 100644 --- a/htdocs/html.form.class.php +++ b/htdocs/html.form.class.php @@ -941,39 +941,6 @@ class Form dolibarr_print_error($this->db); } } - - /** - * \brief Retourne la liste déroulante de création en sous catégories possible - * \param selected nombre de sous catégorie pré-sélectionnée - * \param htmlname nom du select - */ - function select_nombre_sous_categorie($selected='',$htmlname) - { - global $langs; - $langs->load("categorie"); - - if ($selected) - { - $categorie = new Categorie($this -> db); - $nb = $categorie->get_nb_categories(); - print ''; - } - } /** * \brief Retourne la ou les listes déroulante des catégories en fonction du nombre choisi @@ -991,8 +958,8 @@ class Form for ($i = 0; $i < $nbcats ; $i++) { - print ''.$langs->trans ("Categorie").' '.($i+1).''; //creation des categories meres + print '\n'; foreach ($all_categories as $id => $cat) { //ajout des categories dans la liste