diff options
author | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-01 11:10:34 +0000 |
---|---|---|
committer | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-01 11:10:34 +0000 |
commit | 25ba1dd124a661d61dd4f919e928514a79e5c1a3 (patch) | |
tree | 7314417b83324420c8471c15b5ff69711fa7dbe0 /views/default/page_elements/header.php | |
parent | 6eadecc7aeaecd49d5f21bfabd946ddd8dbb2557 (diff) | |
download | elgg-25ba1dd124a661d61dd4f919e928514a79e5c1a3.tar.gz elgg-25ba1dd124a661d61dd4f919e928514a79e5c1a3.tar.bz2 |
topbar menu
git-svn-id: https://code.elgg.org/elgg/trunk@1222 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/page_elements/header.php')
-rw-r--r-- | views/default/page_elements/header.php | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/views/default/page_elements/header.php b/views/default/page_elements/header.php index 498f26d97..53f6285fb 100644 --- a/views/default/page_elements/header.php +++ b/views/default/page_elements/header.php @@ -24,23 +24,23 @@ $title = $vars['title']; } else { $title = $vars['config']->sitename . ": " . $vars['title']; - }
-
- global $autofeed;
- if (isset($autofeed) && $autofeed == true) {
- $url = full_url();
- if (substr_count($url,'?')) {
- $url .= "&view=rss";
- } else {
- $url .= "?view=rss";
- }
- $feedref = <<<END
-
- <link rel="alternate" type="application/rss+xml" title="RSS" href="{$url}" />
-
-END;
- } else {
- $feedref = "";
+ } + + global $autofeed; + if (isset($autofeed) && $autofeed == true) { + $url = full_url(); + if (substr_count($url,'?')) { + $url .= "&view=rss"; + } else { + $url .= "?view=rss"; + } + $feedref = <<<END + + <link rel="alternate" type="application/rss+xml" title="RSS" href="{$url}" /> + +END; + } else { + $feedref = ""; } ?> @@ -55,15 +55,17 @@ END; <script type="text/javascript" src="<?php echo $vars['url']; ?>javascript/initialise_elgg.js"></script> <!-- include the default css file --> <link rel="stylesheet" href="<?php echo $vars['url']; ?>_css/css.css" type="text/css" /> - <?php
-
- echo $feedref;
- echo elgg_view('metatags',$vars);
-
+ <?php + + echo $feedref; + echo elgg_view('metatags',$vars); + ?> </head> <body> + +<?php echo elgg_view('page_elements/elgg_topbar', $vars); ?> <div id="page_container"> <div id="page_wrapper"> @@ -72,7 +74,5 @@ END; <div id="wrapper_header"> <!-- display the page title --> <h1><a href="<?php echo $vars['url']; ?>"><?php echo $vars['config']->sitename; ?></a></h1> - <!-- display top level navigation --> - <?php echo elgg_view('navigation/topmenu'); ?> </div><!-- /#wrapper_header --> </div><!-- /#layout_header --> |