aboutsummaryrefslogtreecommitdiff
path: root/views/default/layout/shells/administration.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/layout/shells/administration.php')
-rw-r--r--views/default/layout/shells/administration.php36
1 files changed, 36 insertions, 0 deletions
diff --git a/views/default/layout/shells/administration.php b/views/default/layout/shells/administration.php
new file mode 100644
index 000000000..f7ed84935
--- /dev/null
+++ b/views/default/layout/shells/administration.php
@@ -0,0 +1,36 @@
+<?php
+/**
+ * Elgg Admin Area Canvas
+ *
+ * @package Elgg
+ * @subpackage Core
+ *
+ * @uses $vars['content'] Content string
+ * @uses $vars['sidebar'] Optional sidebar content
+ */
+?>
+
+<div id="admin_header">
+ <span class="network-title"><h2>
+ <a href="<?php echo elgg_get_site_url(); ?>">
+ <?php echo $vars['config']->sitename; echo " ".elgg_echo('admin'); ?></a>
+ <a class="return_to_network" href="<?php echo elgg_get_site_url(); ?>">&lt;&lt; Return to network</a>
+ </h2></span>
+</div>
+
+<div id="elgg-content" class="clearfix admin_area">
+
+ <div id="elgg-page-contents" class="clearfix">
+ <?php
+ if (isset($vars['content'])) {
+ echo $vars['content'];
+ }
+ ?>
+ </div>
+ <div id="elgg-sidebar" class="clearfix">
+ <?php
+ echo elgg_view('page_elements/sidebar', $vars);
+ ?>
+ </div>
+</div>
+<div id="admin_footer"></div> \ No newline at end of file