aboutsummaryrefslogtreecommitdiff
path: root/views/default/page_elements/header_contents.php
diff options
context:
space:
mode:
authordave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-19 16:24:13 +0000
committerdave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-19 16:24:13 +0000
commit1d87c40db368c30c0268a2e45c6fa0b7916ee160 (patch)
treed322eb07a48d414ba35f59564c301c5ce6d19af3 /views/default/page_elements/header_contents.php
parentdacedc7e2c8f1c0a0ef06e4bd9801c07000de95e (diff)
downloadelgg-1d87c40db368c30c0268a2e45c6fa0b7916ee160.tar.gz
elgg-1d87c40db368c30c0268a2e45c6fa0b7916ee160.tar.bz2
the header has been split out so that theme authors can target the header output without worrying about overwriting the whole header file.
git-svn-id: https://code.elgg.org/elgg/trunk@2819 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/page_elements/header_contents.php')
-rw-r--r--views/default/page_elements/header_contents.php25
1 files changed, 25 insertions, 0 deletions
diff --git a/views/default/page_elements/header_contents.php b/views/default/page_elements/header_contents.php
new file mode 100644
index 000000000..796f0d6f2
--- /dev/null
+++ b/views/default/page_elements/header_contents.php
@@ -0,0 +1,25 @@
+<?php
+
+ /**
+ * Elgg header contents
+ * This file holds the header output that a user will see
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Curverider Ltd
+ * @copyright Curverider Ltd 2009
+ * @link http://elgg.org/
+ **/
+
+?>
+
+<div id="page_container">
+<div id="page_wrapper">
+
+<div id="layout_header">
+<div id="wrapper_header">
+ <!-- display the page title -->
+ <h1><a href="<?php echo $vars['url']; ?>"><?php echo $vars['config']->sitename; ?></a></h1>
+</div><!-- /#wrapper_header -->
+</div><!-- /#layout_header --> \ No newline at end of file