Commit df706001 authored by Kjartan's avatar Kjartan
Browse files

- Decode node type to userfriendly name.

parent c76d5db8
......@@ -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'));
}
......
......@@ -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'));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment