Fix: load at wrong place
Conflicts: htdocs/core/class/html.formother.class.php
This commit is contained in:
parent
9d5b36b27b
commit
c16269d04e
@ -822,8 +822,8 @@ class FormOther
|
||||
$arrayboxtoactivatelabel=array();
|
||||
if (! empty($user->conf->$confuserzone))
|
||||
{
|
||||
foreach($boxactivated as $box)
|
||||
{
|
||||
foreach($boxactivated as $box)
|
||||
{
|
||||
if (! empty($boxidactivatedforuser[$box->id])) continue; // Already visible for user
|
||||
$arrayboxtoactivatelabel[$box->id]=$box->boxlabel; // We keep only boxes not shown for user, to show into combo list
|
||||
}
|
||||
@ -861,7 +861,9 @@ class FormOther
|
||||
|
||||
if ($nbboxactivated)
|
||||
{
|
||||
$emptybox=new ModeleBoxes($db);
|
||||
$langs->load("boxes");
|
||||
|
||||
$emptybox=new ModeleBoxes($db);
|
||||
|
||||
print '<table width="100%" class="notopnoleftnoright">';
|
||||
print '<tr><td class="notopnoleftnoright">'."\n";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user