aboutsummaryrefslogtreecommitdiff
path: root/mod/html5/views/default/page/layouts/admin.php
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2013-11-09 16:30:07 +0100
committerSem <sembrestels@riseup.net>2013-11-09 16:30:07 +0100
commite843405646960ffd1918d8191c5eba6219ba38b3 (patch)
tree968a62c1fac728f5e0efdce5927fb1b79615e6cc /mod/html5/views/default/page/layouts/admin.php
parentdee4ff21a5a5e8b8c5dbeae0a2f89a36a3f1c6cc (diff)
parentb623f64507956f7beee0d8352fd044bdb70f5d23 (diff)
downloadelgg-e843405646960ffd1918d8191c5eba6219ba38b3.tar.gz
elgg-e843405646960ffd1918d8191c5eba6219ba38b3.tar.bz2
Add 'mod/html5/' from commit 'b623f64507956f7beee0d8352fd044bdb70f5d23'
git-subtree-dir: mod/html5 git-subtree-mainline: dee4ff21a5a5e8b8c5dbeae0a2f89a36a3f1c6cc git-subtree-split: b623f64507956f7beee0d8352fd044bdb70f5d23
Diffstat (limited to 'mod/html5/views/default/page/layouts/admin.php')
-rw-r--r--mod/html5/views/default/page/layouts/admin.php42
1 files changed, 42 insertions, 0 deletions
diff --git a/mod/html5/views/default/page/layouts/admin.php b/mod/html5/views/default/page/layouts/admin.php
new file mode 100644
index 000000000..683ba3468
--- /dev/null
+++ b/mod/html5/views/default/page/layouts/admin.php
@@ -0,0 +1,42 @@
+<?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
+ *
+ * @override views/default/page/layouts/admin.php
+ */
+
+?>
+
+<div class="elgg-layout elgg-layout-one-sidebar">
+ <aside class="elgg-sidebar clearfix">
+ <?php
+ echo elgg_view('admin/sidebar', $vars);
+ ?>
+ </aside>
+ <div class="elgg-main elgg-body">
+ <div class="elgg-head">
+ <?php
+ echo elgg_view_menu('title', array(
+ 'sort_by' => 'priority',
+ 'class' => 'elgg-menu-hz',
+ ));
+
+ if (isset($vars['title'])) {
+ echo elgg_view_title($vars['title']);
+ }
+ ?>
+ </div>
+ <?php
+ if (isset($vars['content'])) {
+ echo $vars['content'];
+ }
+ ?>
+ </div>
+</div> \ No newline at end of file