aboutsummaryrefslogtreecommitdiff
path: root/views/default/page_elements
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
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')
-rw-r--r--views/default/page_elements/header.php11
-rw-r--r--views/default/page_elements/header_contents.php25
2 files changed, 25 insertions, 11 deletions
diff --git a/views/default/page_elements/header.php b/views/default/page_elements/header.php
index 985db2760..7c7e6391f 100644
--- a/views/default/page_elements/header.php
+++ b/views/default/page_elements/header.php
@@ -82,14 +82,3 @@ END;
</head>
<body>
-<?php echo elgg_view('page_elements/elgg_topbar', $vars); ?>
-
-<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 -->
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