From f92d5d78ffdb5c7ea121a25d4dae824d73bf1924 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 --- 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)}