Qual: Debuggage module categories

This commit is contained in:
Laurent Destailleur 2007-07-08 13:04:23 +00:00
parent 68625558fe
commit 61ad458e18
2 changed files with 6 additions and 6 deletions

View File

@ -187,11 +187,11 @@ if ($socid > 0)
/* /*
*
* *
*/ */
print '<table width="100%" border="0">'; print '<table width="100%" class="notopnoleftnoright">';
print '<tr><td valign="top">'; print '<tr><td valign="top" class="notopnoleft">';
print '<table class="border" width="100%">'; print '<table class="border" width="100%">';
print '<tr><td width="30%">'.$langs->trans("Name").'</td><td width="70%" colspan="3">'; 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>\n";
print '<td valign="top" width="50%">'; print '<td valign="top" width="50%" class="notopnoleftnoright">';
// Nbre max d'éléments des petites listes // Nbre max d'éléments des petites listes
$MAXLIST=4; $MAXLIST=4;

View File

@ -1487,11 +1487,11 @@ class Form
if ($select_name=="") $select_name="catMere"; if ($select_name=="") $select_name="catMere";
$cat = new Categorie ($this -> db); $cat = new Categorie ($this -> db);
$cate_arbo = $cat->get_full_arbo($type); $cate_arbo = $cat->get_full_arbo($type);
$output = '<select name="'.$select_name.'">'; $output = '<select name="'.$select_name.'">';
$output.= '<option value="-1" id="choix">&nbsp;</option>'; $output.= '<option value="-1" id="choix" disabled="disabled">'.$langs->trans("NoCategoriesDefined").'</option>';
if ($cate_arbo) if ($cate_arbo)
{ {