From e40958a97ddce771ac9a9f2a8473da7ee3e6534f Mon Sep 17 00:00:00 2001 From: ewinslow Date: Tue, 2 Nov 2010 21:38:55 +0000 Subject: Fixes #2463: Removed gratuitous references to $CONFIG->url, etc. from the rest of the plugins. git-svn-id: http://code.elgg.org/elgg/trunk@7205 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/messages/views/default/messages/messages.php | 2 +- mod/messages/views/default/messages/view.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'mod/messages/views') diff --git a/mod/messages/views/default/messages/messages.php b/mod/messages/views/default/messages/messages.php index ec94c5f0f..9eeaa9ef4 100644 --- a/mod/messages/views/default/messages/messages.php +++ b/mod/messages/views/default/messages/messages.php @@ -46,7 +46,7 @@ if (isloggedin())
elgg_get_site_url() . "action/messages/delete?message_id=" . $vars['entity']->getGUID() . "&type={$type}&submit=" . elgg_echo('delete'), + 'href' => "action/messages/delete?message_id=" . $vars['entity']->getGUID() . "&type={$type}&submit=" . elgg_echo('delete'), 'text' => elgg_echo('delete'), 'confirm' => elgg_echo('deleteconfirm'), 'class' => "action_button disabled" diff --git a/mod/messages/views/default/messages/view.php b/mod/messages/views/default/messages/view.php index 7d9e45ad2..13f6fec82 100644 --- a/mod/messages/views/default/messages/view.php +++ b/mod/messages/views/default/messages/view.php @@ -41,7 +41,7 @@ if (is_array($vars['entity']) && sizeof($vars['entity']) > 0) { echo "
"; // display delete button echo "" . elgg_view("output/confirmlink", array( - 'href' => elgg_get_site_url() . "action/messages/delete?message_id=" . $message->getGUID() . "&type=inbox&submit=" . urlencode(elgg_echo('delete')), + 'href' => "action/messages/delete?message_id=" . $message->getGUID() . "&type=inbox&submit=" . urlencode(elgg_echo('delete')), 'text' => elgg_echo('delete'), 'confirm' => elgg_echo('deleteconfirm'), )) . ""; @@ -76,7 +76,7 @@ if (is_array($vars['entity']) && sizeof($vars['entity']) > 0) { echo "
"; //display the link to 'delete' echo "
" . elgg_view("output/confirmlink", array( - 'href' => elgg_get_site_url() . "action/messages/delete?message_id=" . $message->getGUID() . "&type=sent&submit=" . urlencode(elgg_echo('delete')), + 'href' => "action/messages/delete?message_id=" . $message->getGUID() . "&type=sent&submit=" . urlencode(elgg_echo('delete')), 'text' => elgg_echo('delete'), 'confirm' => elgg_echo('deleteconfirm'), )) . "
"; -- cgit v1.2.3