From bf3fef7084a5bc88b1bf6b72d53cdf849a7bda27 Mon Sep 17 00:00:00 2001 From: ewinslow Date: Sat, 30 Oct 2010 22:42:33 +0000 Subject: Refs #2598: Converted the rest of the $vars['url'] references to elgg_get_site_url() git-svn-id: http://code.elgg.org/elgg/trunk@7150 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/bookmarks/views/default/object/bookmarks.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mod/bookmarks/views/default/object') diff --git a/mod/bookmarks/views/default/object/bookmarks.php b/mod/bookmarks/views/default/object/bookmarks.php index 4d69e735d..db41eee40 100644 --- a/mod/bookmarks/views/default/object/bookmarks.php +++ b/mod/bookmarks/views/default/object/bookmarks.php @@ -56,7 +56,7 @@ if (@file_exists($faviconurl)) { //delete if($vars['entity']->canEdit()){ $delete .= "" . elgg_view('output/confirmlink',array( - 'href' => $vars['url'] . "action/bookmarks/delete?bookmark_guid=" . $vars['entity']->guid, + 'href' => elgg_get_site_url() . "action/bookmarks/delete?bookmark_guid=" . $vars['entity']->guid, 'text' => elgg_echo("delete"), 'confirm' => elgg_echo("bookmarks:delete:confirm"), )) . ""; @@ -70,14 +70,14 @@ $info .= elgg_view_likes($vars['entity']); // include likes //include edit and delete options if($vars['entity']->canEdit()){ - $info .= "username}/edit/{$vars['entity']->getGUID()}\">" . elgg_echo('edit') . ""; + $info .= "username}/edit/{$vars['entity']->getGUID()}\">" . elgg_echo('edit') . ""; $info .= $delete; } $info .= ""; $info .= "

{$title}

"; -$info .= "

Bookmarked by username}\">{$owner->name} {$friendlytime} {$view_notes}

"; +$info .= "

Bookmarked by username}\">{$owner->name} {$friendlytime} {$view_notes}

"; $tags = elgg_view('output/tags', array('tags' => $vars['entity']->tags)); if (!empty($tags)) { -- cgit v1.2.3