diff options
Diffstat (limited to 'views/default/layout')
-rw-r--r-- | views/default/layout/shells/admin.php (renamed from views/default/layout/shells/administration.php) | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/views/default/layout/shells/administration.php b/views/default/layout/shells/admin.php index 0740ed78e..e33c1c62f 100644 --- a/views/default/layout/shells/administration.php +++ b/views/default/layout/shells/admin.php @@ -7,6 +7,7 @@ * * @uses $vars['content'] Content string * @uses $vars['sidebar'] Optional sidebar content + * @uses $vars['title'] Title string */ ?> @@ -30,6 +31,10 @@ </div> <div class="elgg-main elgg-body"> <?php + if (isset($vars['title'])) { + echo elgg_view_title($vars['title']); + } + if (isset($vars['content'])) { echo $vars['content']; } |