From b8320526845f126c24cbf0287399c9655b6b716d Mon Sep 17 00:00:00 2001 From: brettp Date: Sun, 21 Feb 2010 22:04:32 +0000 Subject: Deprecated elgg_validate_action_url() by elgg_add_action_tokens_to_url(). Updated elgg_deprecated_notice() to include the file & line of the caller. Updated core to use elgg_add_action_tokens_to_url(). git-svn-id: http://code.elgg.org/elgg/trunk@3962 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/output/confirmlink.php | 2 +- views/default/output/url.php | 2 +- views/default/page_elements/spotlight.php | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'views') diff --git a/views/default/output/confirmlink.php b/views/default/output/confirmlink.php index 9377426ad..3370320ed 100644 --- a/views/default/output/confirmlink.php +++ b/views/default/output/confirmlink.php @@ -20,7 +20,7 @@ if (!$confirm) { } // always generate missing action tokens -$link = elgg_validate_action_url($vars['href']); +$link = elgg_add_action_tokens_to_url($vars['href']); if (isset($vars['class']) && $vars['class']) { $class = 'class="' . $vars['class'] . '"'; diff --git a/views/default/output/url.php b/views/default/output/url.php index a2e659854..7d993c49e 100644 --- a/views/default/output/url.php +++ b/views/default/output/url.php @@ -25,7 +25,7 @@ $url = trim($vars['href']); if (!empty($url)) { if (array_key_exists('is_action', $vars) && $vars['is_action']) { - $url = elgg_validate_action_url($url); + $url = elgg_add_action_tokens_to_url($url); } if (array_key_exists('target', $vars) && $vars['target']) { diff --git a/views/default/page_elements/spotlight.php b/views/default/page_elements/spotlight.php index 1c32f9b1d..0c7e49c0f 100644 --- a/views/default/page_elements/spotlight.php +++ b/views/default/page_elements/spotlight.php @@ -28,11 +28,11 @@ } if ($closed) { ?> - ')">+ + ')">+ - ')">- + ')">-