diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-14 20:35:00 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-14 20:35:00 +0000 |
commit | 9c7cdaa96ceae5cfacac8120dfe4a5de22376982 (patch) | |
tree | 02e9126e19e319eff3810f62dc6691937fb7c7d3 /views/default/page/elements/topbar.php | |
parent | b75d27a6241a296e5991ab8f23a59563557e9a68 (diff) | |
download | elgg-9c7cdaa96ceae5cfacac8120dfe4a5de22376982.tar.gz elgg-9c7cdaa96ceae5cfacac8120dfe4a5de22376982.tar.bz2 |
Cleaned up views/default/page/ directory
git-svn-id: http://code.elgg.org/elgg/trunk@8231 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/page/elements/topbar.php')
-rw-r--r-- | views/default/page/elements/topbar.php | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/views/default/page/elements/topbar.php b/views/default/page/elements/topbar.php index 7ca8a58e2..987326119 100644 --- a/views/default/page/elements/topbar.php +++ b/views/default/page/elements/topbar.php @@ -5,10 +5,8 @@ */ $user = elgg_get_logged_in_user_entity(); -if (!elgg_instanceof($user, 'user')) { - // do not show tobpar to logged out users - return true; -} + +//@todo echo elgg_view_menu('topbar', array('class' => 'elgg-menu-topbar')); // Elgg logo $image = '<img src="' . elgg_get_site_url() . '_graphics/elgg_toolbar_logo.gif" alt="Elgg logo" />'; @@ -43,11 +41,14 @@ echo elgg_view('output/url', array( // elgg tools menu // need to echo this empty view for backward compatibility. +// @todo -- do we really? So much else is broken, and the new menu system is so much nicer... echo elgg_view("navigation/topbar_tools"); // enable elgg topbar extending echo elgg_view('elgg_topbar/extend', $vars); +//@todo echo elgg_view_menu('topbar2', array('class' => 'elgg-menu-topbar elgg-alt')); + // user settings echo elgg_view('output/url', array( 'href' => elgg_get_site_url() . "pg/settings/user/{$user->username}", |