aboutsummaryrefslogtreecommitdiff
path: root/views/default/page/elements/header.php
diff options
context:
space:
mode:
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>