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.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..148279b2e
--- /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 class="elgg-page-header">
+ <div class="elgg-page-header-inner elgg-center elgg-width-classic">
+ <?php
+ // link back to main site.
+ echo elgg_view('page/elements/header_logo', $vars);
+
+ // drop-down login
+ echo elgg_view('account/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>