From e658fb3a978e40653d72ef33549177c87cb714ce Mon Sep 17 00:00:00 2001 From: marcus Date: Fri, 27 Feb 2009 13:33:16 +0000 Subject: Closes #651: I agree, changed to convert both quotes. git-svn-id: https://code.elgg.org/elgg/trunk@2979 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/failsafe/input/button.php | 2 +- views/failsafe/input/checkboxes.php | 2 +- views/failsafe/input/hidden.php | 2 +- views/failsafe/input/text.php | 2 +- views/failsafe/messages/exceptions/exception.php | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'views/failsafe') diff --git a/views/failsafe/input/button.php b/views/failsafe/input/button.php index ac1bfe784..4d0da9b72 100644 --- a/views/failsafe/input/button.php +++ b/views/failsafe/input/button.php @@ -33,7 +33,7 @@ default: $type = 'submit'; } - $value = htmlentities($vars['value'], null, 'UTF-8'); + $value = htmlentities($vars['value'], ENT_QUOTES, 'UTF-8'); $name = $vars['internalname']; $src = $vars['src']; if (strpos($src,$CONFIG->wwwroot)===false) $src = ""; // blank src if trying to access an offsite image. diff --git a/views/failsafe/input/checkboxes.php b/views/failsafe/input/checkboxes.php index ccfa17982..a66b2a084 100644 --- a/views/failsafe/input/checkboxes.php +++ b/views/failsafe/input/checkboxes.php @@ -43,7 +43,7 @@ $disabled = ""; if ($vars['disabled']) $disabled = ' disabled="yes" '; - echo "
"; + echo "
"; } ?> \ No newline at end of file diff --git a/views/failsafe/input/hidden.php b/views/failsafe/input/hidden.php index 5d3015414..6fcd56e4a 100644 --- a/views/failsafe/input/hidden.php +++ b/views/failsafe/input/hidden.php @@ -17,4 +17,4 @@ * */ ?> - name="" value="" /> \ No newline at end of file + name="" value="" /> \ No newline at end of file diff --git a/views/failsafe/input/text.php b/views/failsafe/input/text.php index 9f8ab79f7..94559afd6 100644 --- a/views/failsafe/input/text.php +++ b/views/failsafe/input/text.php @@ -24,4 +24,4 @@ ?> - name="" value="" class=""/> \ No newline at end of file + name="" value="" class=""/> \ No newline at end of file diff --git a/views/failsafe/messages/exceptions/exception.php b/views/failsafe/messages/exceptions/exception.php index c36be0baa..91fe35928 100644 --- a/views/failsafe/messages/exceptions/exception.php +++ b/views/failsafe/messages/exceptions/exception.php @@ -32,7 +32,7 @@

-- cgit v1.2.3