From df7060015379f78a56c2f8ca79d41d78d995b027 Mon Sep 17 00:00:00 2001 From: Kjartan Mannes <kjartan@2.no-reply.drupal.org> Date: Mon, 6 Sep 2004 18:32:54 +0000 Subject: [PATCH] - Decode node type to userfriendly name. --- modules/system.module | 2 +- modules/system/system.module | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/system.module b/modules/system.module index f985e88aff42..95adedbe5a23 100644 --- a/modules/system.module +++ b/modules/system.module @@ -611,7 +611,7 @@ function system_theme_settings() { // Toggle node display. $group = ''; foreach (node_list() as $type) { - $group .= form_checkbox($type, "$var][toggle_node_info_$type", 1, $settings["toggle_node_info_$type"]); + $group .= form_checkbox(node_invoke($type, 'node_name'), "$var][toggle_node_info_$type", 1, $settings["toggle_node_info_$type"]); } $form .= form_group(t('Display post information on'), $group, t('Enable or disable the "submitted by Username on date" text when displaying posts of the above type')); } diff --git a/modules/system/system.module b/modules/system/system.module index f985e88aff42..95adedbe5a23 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -611,7 +611,7 @@ function system_theme_settings() { // Toggle node display. $group = ''; foreach (node_list() as $type) { - $group .= form_checkbox($type, "$var][toggle_node_info_$type", 1, $settings["toggle_node_info_$type"]); + $group .= form_checkbox(node_invoke($type, 'node_name'), "$var][toggle_node_info_$type", 1, $settings["toggle_node_info_$type"]); } $form .= form_group(t('Display post information on'), $group, t('Enable or disable the "submitted by Username on date" text when displaying posts of the above type')); } -- GitLab