Fix: load at wrong place

Conflicts:
	htdocs/core/class/html.formother.class.php
This commit is contained in:
Laurent Destailleur 2013-01-17 17:59:47 +01:00
parent 9d5b36b27b
commit c16269d04e

View File

@ -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";