From 5154c3aca4c9362cbd0fb236e0ea9dd5c7c0aa78 Mon Sep 17 00:00:00 2001 From: Steven Wittens Date: Wed, 18 May 2005 21:12:17 +0000 Subject: - Fixing some plain/url check calls. --- includes/theme.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'includes') diff --git a/includes/theme.inc b/includes/theme.inc index 46e76581d..2e7f87334 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -310,7 +310,7 @@ function theme_get_setting($setting_name, $refresh = FALSE) { $text = $value['text'][$i]; $link = $value['link'][$i]; if (substr($link, 0, 7) == 'http://') { - $settings[$type .'_links'][] = ''. $text .''; + $settings[$type .'_links'][] = ''. check_plain($text) .''; } else { $settings[$type .'_links'][] = l($text, $link, $attributes); @@ -818,7 +818,7 @@ function theme_item_list($items = array(), $title = NULL) { * Returns code that emits the 'more help'-link. */ function theme_more_help_link($url) { - return ''; + return ''; } /** @@ -826,7 +826,7 @@ function theme_more_help_link($url) { */ function theme_xml_icon($url) { if ($image = theme('image', 'misc/xml.png', t('XML feed'), t('XML feed'))) { - return '
'. $image. '
'; + return '
'. $image. '
'; } } -- cgit v1.2.3