aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-04 18:22:05 +0000
committernickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-04 18:22:05 +0000
commit57ad994ee41ada2973030e59289b6e05efe6b2ba (patch)
treead45bf2b62465da6ce8f142dad64c6bd1673ff1a
parent90ef0d6d9a7786f3f60cc0b9b93812a8912957cf (diff)
downloadelgg-57ad994ee41ada2973030e59289b6e05efe6b2ba.tar.gz
elgg-57ad994ee41ada2973030e59289b6e05efe6b2ba.tar.bz2
Returning extended view to original location in code (to preserve CSS rendering).
git-svn-id: http://code.elgg.org/elgg/trunk@5970 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--views/default/page_elements/elgg_topbar.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/views/default/page_elements/elgg_topbar.php b/views/default/page_elements/elgg_topbar.php
index 6348099bc..f4959c749 100644
--- a/views/default/page_elements/elgg_topbar.php
+++ b/views/default/page_elements/elgg_topbar.php
@@ -28,6 +28,13 @@ if (($user instanceof ElggUser) && ($user->guid > 0)) {
));
echo '</div>';
+ // elgg tools menu
+ // need to echo this empty view for backward compatibility.
+ echo elgg_view("navigation/topbar_tools");
+
+ // enable elgg topbar extending
+ echo elgg_view('elgg_topbar/extend', $vars);
+
// user settings
$settings = elgg_echo('settings');
echo "<a href=\"{$vars['url']}pg/settings\" class=\"settings\">$settings</a>";
@@ -38,13 +45,6 @@ if (($user instanceof ElggUser) && ($user->guid > 0)) {
echo "<a href=\"{$vars['url']}pg/admin\" class=\"admin\">$admin</a>";
}
- // elgg tools menu
- // need to echo this empty view for backward compatibility.
- echo elgg_view("navigation/topbar_tools");
-
- // enable elgg topbar extending
- echo elgg_view('elgg_topbar/extend', $vars);
-
echo '</div>';
echo '</div>';
}