aboutsummaryrefslogtreecommitdiff
path: root/views/default/layout/shells/admin.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/layout/shells/admin.php')
-rw-r--r--views/default/layout/shells/admin.php44
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(); ?>">&lt;&lt; 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