diff options
Diffstat (limited to 'views/default/output')
-rw-r--r-- | views/default/output/confirmlink.php | 6 | ||||
-rw-r--r-- | views/default/output/longtext.php | 4 | ||||
-rw-r--r-- | views/default/output/url.php | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/views/default/output/confirmlink.php b/views/default/output/confirmlink.php index 9325f0eb6..aef33ab1f 100644 --- a/views/default/output/confirmlink.php +++ b/views/default/output/confirmlink.php @@ -12,14 +12,14 @@ * @uses $vars['text_encode'] Encode special characters? */ -$confirm = elgg_get_array_value('confirm', $vars, elgg_echo('question:areyousure')); +$confirm = elgg_extract('confirm', $vars, elgg_echo('question:areyousure')); -$encode = elgg_get_array_value('text_encode', $vars, true); +$encode = elgg_extract('text_encode', $vars, true); // always generate missing action tokens $vars['href'] = elgg_add_action_tokens_to_url(elgg_normalize_url($vars['href']), true); -$text = elgg_get_array_value('text', $vars, ''); +$text = elgg_extract('text', $vars, ''); if ($encode) { $text = htmlspecialchars($text, ENT_QUOTES, 'UTF-8', false); } diff --git a/views/default/output/longtext.php b/views/default/output/longtext.php index ea91fe424..703bb0868 100644 --- a/views/default/output/longtext.php +++ b/views/default/output/longtext.php @@ -12,12 +12,12 @@ */ $class = 'elgg-text'; -$additional_class = elgg_get_array_value('class', $vars, ''); +$additional_class = elgg_extract('class', $vars, ''); if ($additional_class) { $class = "$class $additional_class"; } -$parse_urls = elgg_get_array_value('parse_urls', $vars, true); +$parse_urls = elgg_extract('parse_urls', $vars, true); $text = $vars['value']; diff --git a/views/default/output/url.php b/views/default/output/url.php index 19277f08f..fdeb94ac3 100644 --- a/views/default/output/url.php +++ b/views/default/output/url.php @@ -13,7 +13,7 @@ * */ -$url = elgg_get_array_value('href', $vars, null); +$url = elgg_extract('href', $vars, null); if (!$url and isset($vars['value'])) { $url = trim($vars['value']); unset($vars['value']); |