From 7075ae2daaf91c7381a051b8e684681a70373857 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 15 Jan 2013 16:08:16 +0100 Subject: [PATCH] Fix: Showing warning --- htdocs/admin/boxes.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/htdocs/admin/boxes.php b/htdocs/admin/boxes.php index 262cd4c29d4..4834416ffbb 100644 --- a/htdocs/admin/boxes.php +++ b/htdocs/admin/boxes.php @@ -345,7 +345,14 @@ foreach($boxtoadd as $box) print ''; print ''; print ''.img_object("",$logo).' '.$box->boxlabel.''; - print '' . ($box->note?$box->note:' ') . ''; + print ''; + if ($box->note == '(WarningUsingThisBoxSlowDown)') + { + $langs->load("errors"); + print $langs->trans("WarningUsingThisBoxSlowDown"); + } + else print ($box->note?$box->note:' '); + print ''; print '' . $box->sourcefile . ''; // Pour chaque position possible, on affiche un lien d'activation si boite non deja active pour cette position