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/shells/admin.php | |
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/shells/admin.php')
-rw-r--r-- | views/default/layout/shells/admin.php | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/views/default/layout/shells/admin.php b/views/default/layout/shells/admin.php new file mode 100644 index 000000000..e33c1c62f --- /dev/null +++ b/views/default/layout/shells/admin.php @@ -0,0 +1,44 @@ +<?php +/** + * Elgg Admin Area Canvas + * + * @package Elgg + * @subpackage Core + * + * @uses $vars['content'] Content string + * @uses $vars['sidebar'] Optional sidebar content + * @uses $vars['title'] Title string + */ +?> + +<div class="elgg-page-header"> + <div class="elgg-inner"> + <h1> + <a href="<?php echo elgg_get_site_url(); ?>"> + <?php echo $vars['config']->sitename; echo " " . elgg_echo('admin'); ?> + </a> + </h1> + <a class="return_to_network" href="<?php echo elgg_get_site_url(); ?>"><< Return to network</a> + </div> +</div> + +<div class="elgg-page-body"> + + <div class="elgg-sidebar clearfix"> + <?php + echo elgg_view('layout/elements/sidebar', $vars); + ?> + </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']; + } + ?> + </div> +</div> +<div class="elgg-page-footer"></div>
\ No newline at end of file |