aboutsummaryrefslogtreecommitdiff
path: root/views/default/page_elements/header.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-09 01:09:50 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-09 01:09:50 +0000
commit49e478da9d5540da798a7d497615f0d2903c8e4a (patch)
tree04a91f3028df014fb2a33b57f614acf88a07805b /views/default/page_elements/header.php
parent8c4fe01968aecea2ccfe6146ff580a272750e4d7 (diff)
downloadelgg-49e478da9d5540da798a7d497615f0d2903c8e4a.tar.gz
elgg-49e478da9d5540da798a7d497615f0d2903c8e4a.tar.bz2
Fixes #2631 removes 'elgg_' namespace from the page element views - anyone working with the trunk will need to update their theme and/or flush their cache
git-svn-id: http://code.elgg.org/elgg/trunk@7268 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/page_elements/header.php')
-rw-r--r--views/default/page_elements/header.php24
1 files changed, 24 insertions, 0 deletions
diff --git a/views/default/page_elements/header.php b/views/default/page_elements/header.php
new file mode 100644
index 000000000..43ddf7251
--- /dev/null
+++ b/views/default/page_elements/header.php
@@ -0,0 +1,24 @@
+<?php
+/**
+ * Elgg header contents
+ * This file holds the header output that a user will see
+ **/
+
+?>
+<div id="elgg_header">
+ <div id="elgg_header_contents">
+ <?php
+ // link back to main site.
+ echo elgg_view('page_elements/header_logo', $vars);
+
+ // drop-down login
+ echo elgg_view('account/forms/login_dropdown');
+
+ // insert site-wide navigation
+ echo elgg_view('navigation/site_nav');
+
+ // insert a view which can be extended
+ echo elgg_view('header/extend');
+ ?>
+ </div>
+</div>