aboutsummaryrefslogtreecommitdiff
path: root/views/default/page_elements/elgg_topbar.php
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-30 22:23:45 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-30 22:23:45 +0000
commitbb1f45eb02bac603d67ac08cb674c4050a245c28 (patch)
tree239c6afba40d3160be53c22984e3b7ba1b7442ec /views/default/page_elements/elgg_topbar.php
parentb5c5261077640d2390f4e3c44cc51bfe4bed2e4c (diff)
downloadelgg-bb1f45eb02bac603d67ac08cb674c4050a245c28.tar.gz
elgg-bb1f45eb02bac603d67ac08cb674c4050a245c28.tar.bz2
Refs #2598: Converted most $vars['url'] to elgg_get_site_url()
git-svn-id: http://code.elgg.org/elgg/trunk@7149 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/page_elements/elgg_topbar.php')
-rw-r--r--views/default/page_elements/elgg_topbar.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/views/default/page_elements/elgg_topbar.php b/views/default/page_elements/elgg_topbar.php
index e88cb0fac..4908625e4 100644
--- a/views/default/page_elements/elgg_topbar.php
+++ b/views/default/page_elements/elgg_topbar.php
@@ -11,7 +11,7 @@ if (($user instanceof ElggUser) && ($user->guid > 0)) {
// Elgg logo
echo '<a href="http://www.elgg.org">';
- echo "<img class=\"site_logo\" src=\"{$vars['url']}_graphics/elgg_toolbar_logo.gif\" alt=\"Elgg logo\" />";
+ echo "<img class=\"site_logo\" src=\"".elgg_get_site_url()."_graphics/elgg_toolbar_logo.gif\" alt=\"Elgg logo\" />";
echo '</a>';
// avatar
@@ -31,12 +31,12 @@ if (($user instanceof ElggUser) && ($user->guid > 0)) {
// user settings
$settings = elgg_echo('settings');
- echo "<a href=\"{$vars['url']}pg/settings\" class=\"settings\">$settings</a>";
+ echo "<a href=\"".elgg_get_site_url()."pg/settings\" class=\"settings\">$settings</a>";
// The administration link is for admin or site admin users only
if ($user->isAdmin()) {
$admin = elgg_echo("admin");
- echo "<a href=\"{$vars['url']}pg/admin\" class=\"admin\">$admin</a>";
+ echo "<a href=\"".elgg_get_site_url()."pg/admin\" class=\"admin\">$admin</a>";
}
echo '</div>';