From b3b48cf3b047373da2857de5f3d05cea45e66201 Mon Sep 17 00:00:00 2001 From: tDidierjean Date: Tue, 15 Nov 2011 16:10:34 +0000 Subject: [PATCH] // You can now display confirmation messages by adding them to array $confirmations in AdminController git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10140 b9a71923-0436-4b27-9f14-aed3839534dd --- admin-dev/themes/template/layout.tpl | 8 ++++++++ classes/AdminController.php | 5 +++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/admin-dev/themes/template/layout.tpl b/admin-dev/themes/template/layout.tpl index 44053ba90..436aa1649 100644 --- a/admin-dev/themes/template/layout.tpl +++ b/admin-dev/themes/template/layout.tpl @@ -67,6 +67,14 @@
{/if} +{if isset($confirmations) && count($confirmations) && $confirmations} +
+ {foreach $confirmations as $conf} + {$conf}
+ {/foreach} +

+{/if} + {if count($warnings)}