diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-01-08 18:24:36 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-01-08 18:24:36 +0000 |
commit | fd1acc79bce6c6e1cee19040857b6d8e073cbc2f (patch) | |
tree | bcee5e3c0ddd88b194b22adaa2d71a7a076d9130 /views/default/layout | |
parent | c62205862130103778018c87d6fccee0ab6ae6d2 (diff) | |
download | elgg-fd1acc79bce6c6e1cee19040857b6d8e073cbc2f.tar.gz elgg-fd1acc79bce6c6e1cee19040857b6d8e073cbc2f.tar.bz2 |
drying up the title creation in the admin backend
git-svn-id: http://code.elgg.org/elgg/trunk@7864 36083f99-b078-4883-b0ff-0f9b5a30f544
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']; } |