From 0ceb477e9a2592df3fdeb414b9abb34025704c9c Mon Sep 17 00:00:00 2001 From: Andre Cianfarani Date: Wed, 8 Mar 2006 15:12:10 +0000 Subject: [PATCH] =?UTF-8?q?modif=20pour=20cat=E9gories?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/html.form.class.php | 37 ++----------------------------------- 1 file changed, 2 insertions(+), 35 deletions(-) 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