From 92cfe78f70407552bc3128640d28c2f969b28161 Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 26 Feb 2011 22:29:07 +0000 Subject: moved admin messages into admin page shell git-svn-id: http://code.elgg.org/elgg/trunk@8498 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/css/admin.php | 2 +- views/default/page/admin.php | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) (limited to 'views/default') diff --git a/views/default/css/admin.php b/views/default/css/admin.php index 0b8aec774..a6e1c1e85 100644 --- a/views/default/css/admin.php +++ b/views/default/css/admin.php @@ -203,7 +203,7 @@ table.mceLayout { content: ""; } -.elgg-system-messages { +.elgg-page-messages { padding: 20px 40px 0; width: 500px; margin-bottom: -10px; diff --git a/views/default/page/admin.php b/views/default/page/admin.php index ba09071f7..fcf188af1 100644 --- a/views/default/page/admin.php +++ b/views/default/page/admin.php @@ -26,6 +26,16 @@ if (count_messages()) { system_messages(null, ""); } } + +$notices_html = ''; +if ($notices = elgg_get_admin_notices()) { + foreach ($notices as $notice) { + $notices_html .= elgg_view_entity($notice); + } + + $notices_html = "
$notices_html
"; +} + ?> @@ -41,6 +51,7 @@ if (count_messages()) {
$messages)); ?> +
-- cgit v1.2.3