aboutsummaryrefslogtreecommitdiff
path: root/views/default/layout/shells/administration.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-07 02:47:31 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-07 02:47:31 +0000
commit9cd7ebd1ece016577c435b85f56d6c30545ff363 (patch)
tree47ef92f31014403699387797bc8498c64bdcffe2 /views/default/layout/shells/administration.php
parenta1d3c90fb72cd14f61b1209f9c0a0d3a106c71a8 (diff)
downloadelgg-9cd7ebd1ece016577c435b85f56d6c30545ff363.tar.gz
elgg-9cd7ebd1ece016577c435b85f56d6c30545ff363.tar.bz2
reorganized the layout views
git-svn-id: http://code.elgg.org/elgg/trunk@7553 36083f99-b078-4883-b0ff-0f9b5a30f544
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