aboutsummaryrefslogtreecommitdiff
path: root/views/default/page/elements/topbar.php
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-25 22:11:38 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-25 22:11:38 +0000
commit754f98d1859398928160b4a7a589e439589fab82 (patch)
tree4710cb9377698085d989b03abff28a08a69d5f8d /views/default/page/elements/topbar.php
parent119017304ba7669c6596ccb3f6020959e0d629fd (diff)
downloadelgg-754f98d1859398928160b4a7a589e439589fab82.tar.gz
elgg-754f98d1859398928160b4a7a589e439589fab82.tar.bz2
Refs #2895: Converted topbar to one menu (felt dirty using two). Fixed styles.
git-svn-id: http://code.elgg.org/elgg/trunk@8476 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/page/elements/topbar.php')
-rw-r--r--views/default/page/elements/topbar.php10
1 files changed, 1 insertions, 9 deletions
diff --git a/views/default/page/elements/topbar.php b/views/default/page/elements/topbar.php
index cac7cb360..ffb74010e 100644
--- a/views/default/page/elements/topbar.php
+++ b/views/default/page/elements/topbar.php
@@ -7,15 +7,7 @@
// Elgg logo
-$image = '<img src="' . elgg_get_site_url() . '_graphics/elgg_toolbar_logo.gif" alt="Elgg logo" />';
-echo elgg_view('output/url', array(
- 'href' => 'http://www.elgg.org/',
- 'text' => $image,
-));
-
-echo elgg_view_menu('topbar', array('sort_by' => 'weight'));
-
-echo elgg_view_menu('topbar_alt', array('sort_by' => 'weight'));
+echo elgg_view_menu('topbar', array('sort_by' => 'weight', 'class' => 'elgg-menu-topbar'));
// elgg tools menu
// need to echo this empty view for backward compatibility.