Qual: Debuggage module categories
This commit is contained in:
parent
68625558fe
commit
61ad458e18
@ -187,11 +187,11 @@ if ($socid > 0)
|
||||
|
||||
|
||||
/*
|
||||
*
|
||||
*
|
||||
*/
|
||||
print '<table width="100%" border="0">';
|
||||
print '<tr><td valign="top">';
|
||||
print '<table width="100%" class="notopnoleftnoright">';
|
||||
print '<tr><td valign="top" class="notopnoleft">';
|
||||
|
||||
print '<table class="border" width="100%">';
|
||||
|
||||
print '<tr><td width="30%">'.$langs->trans("Name").'</td><td width="70%" colspan="3">';
|
||||
@ -357,7 +357,7 @@ if ($socid > 0)
|
||||
print "</td>\n";
|
||||
|
||||
|
||||
print '<td valign="top" width="50%">';
|
||||
print '<td valign="top" width="50%" class="notopnoleftnoright">';
|
||||
|
||||
// Nbre max d'éléments des petites listes
|
||||
$MAXLIST=4;
|
||||
|
||||
@ -1487,11 +1487,11 @@ class Form
|
||||
|
||||
if ($select_name=="") $select_name="catMere";
|
||||
|
||||
$cat = new Categorie ($this -> db);
|
||||
$cat = new Categorie ($this -> db);
|
||||
$cate_arbo = $cat->get_full_arbo($type);
|
||||
|
||||
$output = '<select name="'.$select_name.'">';
|
||||
$output.= '<option value="-1" id="choix"> </option>';
|
||||
$output.= '<option value="-1" id="choix" disabled="disabled">'.$langs->trans("NoCategoriesDefined").'</option>';
|
||||
|
||||
if ($cate_arbo)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user