? sites/spidey.dodds.net Index: modules/node/content_types.inc =================================================================== RCS file: /cvs/drupal/drupal/modules/node/content_types.inc,v retrieving revision 1.30 diff -u -p -r1.30 content_types.inc --- modules/node/content_types.inc 7 May 2007 12:32:55 -0000 1.30 +++ modules/node/content_types.inc 12 May 2007 06:39:45 -0000 @@ -145,6 +145,17 @@ function node_type_form($type = NULL) { '#default_value' => $type->help, '#description' => t('This text will be displayed at the top of the submission form for this content type. It is useful for helping or instructing your users.') ); + $form['display'] = array( + '#type' => 'fieldset', + '#title' => t('Display'), + '#collapsible' => TRUE, + ); + $form['display']["toggle_node_info_$type"] = array( + '#title' => t('Display post information on node'), + '#type' => 'checkbox', + '#description' => t('Enable or disable the submitted by Username on date text when displaying posts of the following type.'), + '#default_value' => $settings["toggle_node_info_$type"] + ); $form['workflow'] = array( '#type' => 'fieldset', '#title' => t('Workflow'), Index: modules/system/system.module =================================================================== RCS file: /cvs/drupal/drupal/modules/system/system.module,v retrieving revision 1.474 diff -u -p -r1.474 system.module --- modules/system/system.module 6 May 2007 05:47:52 -0000 1.474 +++ modules/system/system.module 12 May 2007 06:39:45 -0000 @@ -2119,30 +2119,6 @@ function system_theme_settings($key = '' } } - // System wide only settings. - if (!$key) { - // Create neat 2-column layout for the toggles - $form['theme_settings'] += array( - '#prefix' => '
', - '#suffix' => '
', - ); - - // Toggle node display. - $node_types = node_get_types('names'); - if ($node_types) { - $form['node_info'] = array( - '#type' => 'fieldset', - '#title' => t('Display post information on'), - '#description' => t('Enable or disable the submitted by Username on date text when displaying posts of the following type.'), - '#prefix' => '
', - '#suffix' => '
', - ); - 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"]); - } - } - } - // Logo settings if ((!$key) || in_array('logo', $features)) { $form['logo'] = array(