From 1d3d21b69eafb45c97e283ead86f63e7bf1731dc Mon Sep 17 00:00:00 2001 From: ewinslow Date: Tue, 2 Nov 2010 21:36:21 +0000 Subject: 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 --- mod/blog/views/default/blog/forms/edit.php | 4 ++-- mod/blog/views/default/blog/sidebar_edit.php | 2 +- mod/blog/views/default/blog/sidebar_revisions.php | 2 +- mod/blog/views/default/object/blog.php | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'mod/blog/views/default') diff --git a/mod/blog/views/default/blog/forms/edit.php b/mod/blog/views/default/blog/forms/edit.php index 88d41d269..2b07fae94 100644 --- a/mod/blog/views/default/blog/forms/edit.php +++ b/mod/blog/views/default/blog/forms/edit.php @@ -64,7 +64,7 @@ if (isset ($vars['entity'])) { } // add a delete button if editing - $delete_url = elgg_get_site_url()."action/blog/delete?guid={$blog->getGUID()}"; + $delete_url = "action/blog/delete?guid={$blog->getGUID()}"; $delete_link = elgg_view('output/confirmlink', array( 'href' => $delete_url, 'text' => elgg_echo('delete'), @@ -219,7 +219,7 @@ ___END; echo elgg_view('input/form', array( 'internalid' => 'blog_post_edit', 'internalname' => 'blog_post', - 'action' => elgg_get_site_url()."action/blog/save", + 'action' => "action/blog/save", 'body' => $form_body )); diff --git a/mod/blog/views/default/blog/sidebar_edit.php b/mod/blog/views/default/blog/sidebar_edit.php index 3b884437f..9b56f9a73 100644 --- a/mod/blog/views/default/blog/sidebar_edit.php +++ b/mod/blog/views/default/blog/sidebar_edit.php @@ -27,7 +27,7 @@ if (elgg_instanceof($blog, 'object', 'blog') && $blog->canEdit()) { if ($revisions) { echo '