aboutsummaryrefslogtreecommitdiff
path: root/views/default/output/confirmlink.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-15 14:56:55 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-15 14:56:55 +0000
commita267a9e8657564dc90bfcc142c1e80859fd91ec2 (patch)
tree1fe0f4d436ef368af135377e96c9cf639a91b963 /views/default/output/confirmlink.php
parentebd4ebb3f953646621efca5fbf835dd7ea659c68 (diff)
downloadelgg-a267a9e8657564dc90bfcc142c1e80859fd91ec2.tar.gz
elgg-a267a9e8657564dc90bfcc142c1e80859fd91ec2.tar.bz2
Replaced calls to deprecated elgg_validate_action_url() with elgg_add_action_tokens_to_url().
git-svn-id: http://code.elgg.org/elgg/trunk@5406 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/output/confirmlink.php')
-rw-r--r--views/default/output/confirmlink.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/default/output/confirmlink.php b/views/default/output/confirmlink.php
index 9377426ad..c4c0e0bfa 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'] . '"';
@@ -28,4 +28,4 @@ if (isset($vars['class']) && $vars['class']) {
$class = '';
}
?>
-<a href="<?php echo $link; ?>" <?php echo $class; ?> onclick="return confirm('<?php echo addslashes($confirm); ?>');"><?php echo htmlentities($vars['text'], ENT_QUOTES, 'UTF-8'); ?></a> \ No newline at end of file
+<a href="<?php echo $link; ?>" <?php echo $class; ?> onclick="return confirm('<?php echo addslashes($confirm); ?>');"><?php echo htmlentities($vars['text'], ENT_QUOTES, 'UTF-8'); ?></a>