Fix: Modif esthetique
This commit is contained in:
parent
dba3aa6bde
commit
e99ae9fc29
@ -30,6 +30,7 @@ require("./pre.inc.php");
|
|||||||
require_once(DOL_DOCUMENT_ROOT."/categories/categorie.class.php");
|
require_once(DOL_DOCUMENT_ROOT."/categories/categorie.class.php");
|
||||||
|
|
||||||
$langs->load("admin");
|
$langs->load("admin");
|
||||||
|
$langs->load("categories");
|
||||||
|
|
||||||
if (!$user->admin)
|
if (!$user->admin)
|
||||||
accessforbidden();
|
accessforbidden();
|
||||||
|
|||||||
@ -1488,7 +1488,7 @@ class Form
|
|||||||
$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 class="flat" name="'.$select_name.'">';
|
||||||
$output.= '<option value="-1" id="choix" disabled="disabled">'.$langs->trans("NoCategoriesDefined").'</option>';
|
$output.= '<option value="-1" id="choix" disabled="disabled">'.$langs->trans("NoCategoriesDefined").'</option>';
|
||||||
|
|
||||||
if ($cate_arbo)
|
if ($cate_arbo)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user