aboutsummaryrefslogtreecommitdiff
path: root/mod/bookmarks
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-02 21:36:21 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-02 21:36:21 +0000
commit1d3d21b69eafb45c97e283ead86f63e7bf1731dc (patch)
treeea53464aa86dd85a3ede83e8192a1bd8e6e0f363 /mod/bookmarks
parent59bbd848d809da169e0d6baadce4890ac375b90b (diff)
downloadelgg-1d3d21b69eafb45c97e283ead86f63e7bf1731dc.tar.gz
elgg-1d3d21b69eafb45c97e283ead86f63e7bf1731dc.tar.bz2
Refs #2463: Removed gratuitous references to $CONFIG->url, etc. in blog - groups plugins
git-svn-id: http://code.elgg.org/elgg/trunk@7204 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/bookmarks')
-rw-r--r--mod/bookmarks/start.php12
-rw-r--r--mod/bookmarks/views/default/object/bookmarks.php2
2 files changed, 7 insertions, 7 deletions
diff --git a/mod/bookmarks/start.php b/mod/bookmarks/start.php
index d8bae2350..e65f7d179 100644
--- a/mod/bookmarks/start.php
+++ b/mod/bookmarks/start.php
@@ -225,16 +225,16 @@ function bookmarks_page_handler($page) {
$header .= elgg_view("page_elements/content_header", array(
'context' => $context,
'type' => 'bookmarks',
- 'all_link' => "{$CONFIG->url}pg/bookmarks/",
- 'new_link' => "{$CONFIG->url}pg/bookmarks/{$owner_name}/add"
+ 'all_link' => "pg/bookmarks/",
+ 'new_link' => "pg/bookmarks/{$owner_name}/add"
));
}
}else{
$header .= elgg_view("page_elements/content_header", array(
'context' => $context,
'type' => 'bookmarks',
- 'all_link' => "{$CONFIG->url}pg/bookmarks/",
- 'new_link' => "{$CONFIG->url}pg/bookmarks/{$owner_name}/add"
+ 'all_link' => "pg/bookmarks/",
+ 'new_link' => "pg/bookmarks/{$owner_name}/add"
));
}
@@ -257,7 +257,7 @@ function bookmark_url($entity) {
global $CONFIG;
$title = $entity->title;
$title = elgg_get_friendly_title($title);
- return $CONFIG->url . "pg/bookmarks/" . $entity->getOwnerEntity()->username . "/read/" . $entity->getGUID() . "/" . $title;
+ return "pg/bookmarks/" . $entity->getOwnerEntity()->username . "/read/" . $entity->getGUID() . "/" . $title;
}
/**
@@ -320,7 +320,7 @@ function bookmarks_profile_menu($hook, $entity_type, $return_value, $params) {
$return_value[] = array(
'text' => elgg_echo('bookmarks'),
- 'href' => "{$CONFIG->url}pg/bookmarks/{$params['owner']->username}",
+ 'href' => "pg/bookmarks/{$params['owner']->username}",
);
return $return_value;
diff --git a/mod/bookmarks/views/default/object/bookmarks.php b/mod/bookmarks/views/default/object/bookmarks.php
index db41eee40..aa4874610 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 .= "<span class='delete_button'>" . elgg_view('output/confirmlink',array(
- 'href' => elgg_get_site_url() . "action/bookmarks/delete?bookmark_guid=" . $vars['entity']->guid,
+ 'href' => "action/bookmarks/delete?bookmark_guid=" . $vars['entity']->guid,
'text' => elgg_echo("delete"),
'confirm' => elgg_echo("bookmarks:delete:confirm"),
)) . "</span>";