]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
made encoding text default to false in confirm link
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Mon, 7 Mar 2011 02:12:59 +0000 (02:12 +0000)
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Mon, 7 Mar 2011 02:12:59 +0000 (02:12 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@8620 36083f99-b078-4883-b0ff-0f9b5a30f544

views/default/output/confirmlink.php

index 20431e5a71d65b635f07ea2b4580d1a96c934b1d..58d1f5183ecf329fc4b948bb8b2ffdff1fd513f8 100644 (file)
@@ -9,11 +9,11 @@
  * @uses $vars['text'] The text of the link
  * @uses $vars['href'] The address
  * @uses $vars['confirm'] The dialog text
- * @uses $vars['text_encode'] Encode special characters?
+ * @uses $vars['text_encode'] Encode special characters? (false)
  */
 
 $confirm = elgg_extract('confirm', $vars, elgg_echo('question:areyousure'));
-$encode = elgg_extract('text_encode', $vars, true);
+$encode = elgg_extract('text_encode', $vars, false);
 
 // always generate missing action tokens
 $vars['href'] = elgg_add_action_tokens_to_url(elgg_normalize_url($vars['href']), true);