diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-08-08 16:14:17 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-08-08 16:14:17 +0000 |
commit | a8d4042f8268212104a094f1a1fd229fc219818b (patch) | |
tree | 206e92f56c3cb8a4a9bb429ec701aeb5d4db2e4c /views/default | |
parent | b8870eaa1b40de4862745728097ca942e6070946 (diff) | |
download | elgg-a8d4042f8268212104a094f1a1fd229fc219818b.tar.gz elgg-a8d4042f8268212104a094f1a1fd229fc219818b.tar.bz2 |
Remaining htmlentities calls converted to utf-8
git-svn-id: https://code.elgg.org/elgg/trunk@1805 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default')
-rw-r--r-- | views/default/canvas/layouts/widgets.php | 2 | ||||
-rw-r--r-- | views/default/input/button.php | 2 | ||||
-rw-r--r-- | views/default/messages/exceptions/exception.php | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/views/default/canvas/layouts/widgets.php b/views/default/canvas/layouts/widgets.php index 4305248b3..f31cde92c 100644 --- a/views/default/canvas/layouts/widgets.php +++ b/views/default/canvas/layouts/widgets.php @@ -51,7 +51,7 @@ <input type="hidden" name="side" value="<?php echo in_array('side',$widgettypes[$widget->handler]->positions); ?>" /> <input type="hidden" name="main" value="<?php echo in_array('main',$widgettypes[$widget->handler]->positions); ?>" /> <input type="hidden" name="handler" value="<?php echo htmlentities($handler); ?>" /> - <input type="hidden" name="description" value="<?php echo htmlentities($widget->description); ?>" /> + <input type="hidden" name="description" value="<?php echo htmlentities($widget->description, null, 'UTF-8'); ?>" /> <input type="hidden" name="guid" value="0" /> </h3> </td> diff --git a/views/default/input/button.php b/views/default/input/button.php index e646998ea..af4fa2c9d 100644 --- a/views/default/input/button.php +++ b/views/default/input/button.php @@ -33,7 +33,7 @@ default: $type = 'submit'; } - $value = htmlentities($vars['value']); + $value = htmlentities($vars['value'], null, '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/default/messages/exceptions/exception.php b/views/default/messages/exceptions/exception.php index de178eda7..a484c6bee 100644 --- a/views/default/messages/exceptions/exception.php +++ b/views/default/messages/exceptions/exception.php @@ -29,7 +29,7 @@ END; if ($CONFIG->debug) { - $details = autop(htmlentities(print_r($vars['object'], true))); + $details = autop(htmlentities(print_r($vars['object'], true), null, 'UTF-8')); $body .= <<< END <hr /> <p class="messages-exception-detail"> |