aboutsummaryrefslogtreecommitdiff
path: root/views/default/page/elements/header.php
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2012-05-25 21:50:52 +0200
committerSem <sembrestels@riseup.net>2012-05-25 21:50:52 +0200
commit60df8b304bd70b5ddc79927abec1b1dc2eb706ee (patch)
tree36828d43b5f1b8cd21c8ad1ef3fdd19b8564de9a /views/default/page/elements/header.php
downloadelgg-60df8b304bd70b5ddc79927abec1b1dc2eb706ee.tar.gz
elgg-60df8b304bd70b5ddc79927abec1b1dc2eb706ee.tar.bz2
Purity2 Theme by SocialApparatus.
http://community.elgg.org/pg/plugins/project/874669/developer/sbarron/purity2-theme-for-elgg-18
Diffstat (limited to 'views/default/page/elements/header.php')
-rw-r--r--views/default/page/elements/header.php22
1 files changed, 22 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..ad3bfabce
--- /dev/null
+++ b/views/default/page/elements/header.php
@@ -0,0 +1,22 @@
+<?php
+/**
+ * Elgg page header
+ * In the default theme, the header lives between the topbar and main content area.
+ */
+
+// link back to main site.
+echo elgg_view('page/elements/header_logo', $vars);
+
+// drop-down login
+echo elgg_view('core/account/login_dropdown');
+
+// insert site-wide navigation
+?>
+<div id="social_menu">
+<?php
+echo elgg_view_menu('site');
+?>
+<div style="clear:both;"></div>
+</div>
+<?php echo elgg_view('page/elements/topbar', $vars); ?>
+<div style="clear:both;"></div>