aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-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>';
}