aboutsummaryrefslogtreecommitdiff
path: root/views/default/pageshell.php
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-02-13 16:42:41 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-02-13 16:42:41 +0000
commit7b8a289c6b0af262de82efa607e838e37a236f8a (patch)
treeae0af526d4b4390d0fb36a429f35015a15cc86b5 /views/default/pageshell.php
parent659f6376ca5e0d184585ef40dfc2e3c5256e4f17 (diff)
downloadelgg-7b8a289c6b0af262de82efa607e838e37a236f8a.tar.gz
elgg-7b8a289c6b0af262de82efa607e838e37a236f8a.tar.bz2
Further message handling in the template
git-svn-id: https://code.elgg.org/elgg/trunk@26 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/pageshell.php')
-rw-r--r--views/default/pageshell.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/views/default/pageshell.php b/views/default/pageshell.php
index a751143ee..eb10afc8e 100644
--- a/views/default/pageshell.php
+++ b/views/default/pageshell.php
@@ -13,7 +13,9 @@
*
* @uses $vars['title'] The page title
* @uses $vars['body'] The main content of the page
+ * @uses $vars['messages'] A 2d array of various message registers, passed from system_messages()
*/
+
?>
<html>
@@ -21,6 +23,11 @@
<title><?php echo $vars['title']; ?></title>
</head>
<body>
+ <?php
+
+ echo elgg_view('messages/list', array('object' => 'messages'));
+
+ ?>
<h1><?php echo $vars['title']; ?></h1>
<?php echo $vars['body']; ?>
</body>