diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-05-18 01:58:37 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-05-18 01:58:37 +0000 |
commit | 52ad7afda5a1f4001155227d2d96ddf04f8a28d1 (patch) | |
tree | 8f6448ae0cb7998feeb3f498ee19489425efebd2 /views/default/output | |
parent | 3468b554c90457e0033564ccd209359a4a37abd3 (diff) | |
download | elgg-52ad7afda5a1f4001155227d2d96ddf04f8a28d1.tar.gz elgg-52ad7afda5a1f4001155227d2d96ddf04f8a28d1.tar.bz2 |
Fixes #3385 rel now used for the confirm text so that title can be used separately
git-svn-id: http://code.elgg.org/elgg/trunk@9099 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/output')
-rw-r--r-- | views/default/output/confirmlink.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/default/output/confirmlink.php b/views/default/output/confirmlink.php index 967094113..5059a656e 100644 --- a/views/default/output/confirmlink.php +++ b/views/default/output/confirmlink.php @@ -13,7 +13,8 @@ * @uses $vars['text_encode'] Encode special characters? (false) */ -$confirm = elgg_extract('confirm', $vars, elgg_echo('question:areyousure')); +$vars['rel'] = elgg_extract('confirm', $vars, elgg_echo('question:areyousure')); +$vars['rel'] = addslashes($vars['rel']); $encode = elgg_extract('text_encode', $vars, false); // always generate missing action tokens @@ -36,7 +37,6 @@ if (isset($vars['class'])) { } else { $vars['class'] = 'elgg-requires-confirmation'; } -//$vars['onclick'] = "return confirm('" . addslashes($confirm) . "')"; unset($vars['encode_text']); unset($vars['text']); |