summaryrefslogtreecommitdiff
path: root/modules/system/system.admin.inc
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-12-05 19:12:59 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-12-05 19:12:59 +0000
commitafe3f4318ddee5e6273f6b84f8969006ffa58dc4 (patch)
tree5481631cb582e075dbc5f7292852468fe0e387c7 /modules/system/system.admin.inc
parentbc0d7cb36914fd06db890854a3a45ef2b5af8902 (diff)
downloadbrdo-afe3f4318ddee5e6273f6b84f8969006ffa58dc4.tar.gz
brdo-afe3f4318ddee5e6273f6b84f8969006ffa58dc4.tar.bz2
security fixes forward ported from Drupal 5.2 - previously not committed parts of http://drupal.org/cvs?commit=74833
Diffstat (limited to 'modules/system/system.admin.inc')
-rw-r--r--modules/system/system.admin.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc
index bc354c77a..72f49b9a4 100644
--- a/modules/system/system.admin.inc
+++ b/modules/system/system.admin.inc
@@ -172,7 +172,7 @@ function system_admin_theme_settings() {
* Menu callback; displays a listing of all themes.
*
* @ingroup forms
- * @see system_themes_form_submt().
+ * @see system_themes_form_submit().
*/
function system_themes_form() {
@@ -405,7 +405,7 @@ function system_theme_settings(&$form_state, $key = '') {
'#suffix' => '</div>',
);
foreach ($node_types as $type => $name) {
- $form['node_info']["toggle_node_info_$type"] = array('#type' => 'checkbox', '#title' => $name, '#default_value' => $settings["toggle_node_info_$type"]);
+ $form['node_info']["toggle_node_info_$type"] = array('#type' => 'checkbox', '#title' => check_plain($name), '#default_value' => $settings["toggle_node_info_$type"]);
}
}
}