Index: includes/theme.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/theme.inc,v
retrieving revision 1.419
diff -u -p -r1.419 theme.inc
--- includes/theme.inc	2 Apr 2008 20:23:14 -0000	1.419
+++ includes/theme.inc	6 Apr 2008 17:51:59 -0000
@@ -863,11 +863,6 @@ function theme_get_settings($key = NULL)
     'toggle_secondary_links'        =>  1,
   );
 
-  if (module_exists('node')) {
-    foreach (node_get_types() as $type => $name) {
-      $defaults['toggle_node_info_'. $type] = 1;
-    }
-  }
   $settings = array_merge($defaults, variable_get('theme_settings', array()));
 
   if ($key) {
@@ -1876,7 +1871,7 @@ function template_preprocess_node(&$vari
   $variables = array_merge((array)$node, $variables);
 
   // Display info only on certain node types.
-  if (theme_get_setting('toggle_node_info_'. $node->type)) {
+  if (variable_get('node_submitted_'. $node->type, TRUE)) {
     $variables['submitted'] = theme('node_submitted', $node);
     $variables['picture'] = theme_get_setting('toggle_node_user_picture') ? theme('user_picture', $node) : '';
   }
Index: modules/node/content_types.inc
===================================================================
RCS file: /cvs/drupal/drupal/modules/node/content_types.inc,v
retrieving revision 1.50
diff -u -p -r1.50 content_types.inc
--- modules/node/content_types.inc	27 Jan 2008 18:03:05 -0000	1.50
+++ modules/node/content_types.inc	6 Apr 2008 17:51:59 -0000
@@ -161,7 +161,18 @@ function node_type_form(&$form_state, $t
     ),
     '#description' => t('Users with the <em>administer nodes</em> permission will be able to override these options.'),
   );
-
+  $form['display'] = array(
+    '#type' => 'fieldset',
+    '#title' => t('Display settings'),
+    '#collapsible' => TRUE,
+    '#collapsed' => TRUE,
+  );
+  $form['display']['node_submitted'] = array(
+	'#type' => 'checkbox',
+    '#title' => t('Display post information'),
+    '#default_value' => variable_get('node_submitted_'. $type->type, TRUE),
+    '#description' => t('Enable or disable the <em>submitted by Username on date</em> text.'), 
+  ); 
   $form['old_type'] = array(
     '#type' => 'value',
     '#value' => $type->type,
Index: modules/system/system.admin.inc
===================================================================
RCS file: /cvs/drupal/drupal/modules/system/system.admin.inc,v
retrieving revision 1.66
diff -u -p -r1.66 system.admin.inc
--- modules/system/system.admin.inc	23 Mar 2008 14:46:49 -0000	1.66
+++ modules/system/system.admin.inc	6 Apr 2008 17:52:00 -0000
@@ -399,30 +399,7 @@ function system_theme_settings(&$form_st
     }
   }
 
-  // System wide only settings.
-  if (!$key) {
-    // Create neat 2-column layout for the toggles
-    $form['theme_settings'] += array(
-      '#prefix' => '<div class="theme-settings-left">',
-      '#suffix' => '</div>',
-    );
-
-    // 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 <em>submitted by Username on date</em> text when displaying posts of the following type.'),
-        '#prefix' => '<div class="theme-settings-right">',
-        '#suffix' => '</div>',
-      );
-      foreach ($node_types as $type => $name) {
-        $form['node_info']["toggle_node_info_$type"] = array('#type' => 'checkbox', '#title' => check_plain($name), '#default_value' => $settings["toggle_node_info_$type"]);
-      }
-    }
-  }
-  elseif (!element_children($form['theme_settings'])) {
+  if (!element_children($form['theme_settings'])) {
     // If there is no element in the theme settings fieldset then do not show
     // it -- but keep it in the form if another module wants to alter.
     $form['theme_settings']['#access'] = FALSE;
@@ -436,7 +413,7 @@ function system_theme_settings(&$form_st
       '#description' => t('If toggled on, the following logo will be displayed.'),
       '#attributes' => array('class' => 'theme-settings-bottom'),
     );
-    $form['logo']["default_logo"] = array(
+    $form['logo']['default_logo'] = array(
       '#type' => 'checkbox',
       '#title' => t('Use the default logo'),
       '#default_value' => $settings['default_logo'],
@@ -461,7 +438,7 @@ function system_theme_settings(&$form_st
     $form['favicon'] = array(
       '#type' => 'fieldset',
       '#title' => t('Shortcut icon settings'),
-      '#description' => t("Your shortcut icon, or 'favicon', is displayed in the address bar and bookmarks of most browsers.")
+      '#description' => t("Your shortcut icon, or 'favicon', is displayed in the address bar and bookmarks of most browsers."),
     );
     $form['favicon']['default_favicon'] = array(
       '#type' => 'checkbox',
Index: modules/system/system.install
===================================================================
RCS file: /cvs/drupal/drupal/modules/system/system.install,v
retrieving revision 1.244
diff -u -p -r1.244 system.install
--- modules/system/system.install	21 Mar 2008 08:52:25 -0000	1.244
+++ modules/system/system.install	6 Apr 2008 17:52:00 -0000
@@ -2669,6 +2669,34 @@ function system_update_7001() {
 }
 
 
+/*
+ * Change the theme setting 'toggle_node_info' into a per node variable
+ */
+function system_update_7002() {
+  $ret = array();
+  $types = node_get_types();
+  if (count($types)) {
+    foreach ($types as $type) {
+      $node_info = theme_get_setting('toggle_node_info_'. $type);
+      if ($node_info !== NULL) {
+        variable_set('node_submitted_'. $type, $node_info);
+        $ret[] = array('success' => TRUE, 'query' => "variable_set('node_submitted_'. $type)");
+      }
+    }
+  }
+  //unset deprecated 'toggle_node_info' theme settings
+  $theme_setings = theme_get_settings();
+  foreach ($theme_settings as $setting => $value) {
+    if (substr($setting, 0, 16) == 'toggle_node_info') {
+      unset($theme_settings[$setting]);
+    }
+  }
+  variable_set('theme_settings', $theme_settings);
+  $ret[] = array('success' => TRUE, 'query' => "variable_set('theme_settings')");
+  return $ret;
+}
+
+
 /**
  * @} End of "defgroup updates-6.x-to-7.x"
  * The next series of updates should start at 8000.
Index: modules/system/system.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/system/system.module,v
retrieving revision 1.594
diff -u -p -r1.594 system.module
--- modules/system/system.module	1 Apr 2008 20:05:15 -0000	1.594
+++ modules/system/system.module	6 Apr 2008 17:52:01 -0000
@@ -1197,25 +1197,6 @@ function _system_sort_requirements($a, $
 }
 
 /**
- * Implementation of hook_node_type().
- *
- * Updates theme settings after a node type change.
- */
-function system_node_type($op, $info) {
-  if ($op == 'update' && !empty($info->old_type) && $info->type != $info->old_type) {
-    $old = 'toggle_node_info_'. $info->old_type;
-    $new = 'toggle_node_info_'. $info->type;
-
-    $theme_settings = variable_get('theme_settings', array());
-    if (isset($theme_settings[$old])) {
-      $theme_settings[$new] = $theme_settings[$old];
-      unset($theme_settings[$old]);
-      variable_set('theme_settings', $theme_settings);
-    }
-  }
-}
-
-/**
  * Output a confirmation form
  *
  * This function returns a complete form for confirming an action. A link is
Index: profiles/default/default.profile
===================================================================
RCS file: /cvs/drupal/drupal/profiles/default/default.profile,v
retrieving revision 1.23
diff -u -p -r1.23 default.profile
--- profiles/default/default.profile	10 Mar 2008 18:15:14 -0000	1.23
+++ profiles/default/default.profile	6 Apr 2008 17:52:01 -0000
@@ -129,9 +129,7 @@ function default_profile_tasks(&$task, $
   variable_set('comment_page', COMMENT_NODE_DISABLED);
 
   // Don't display date and author information for page nodes by default.
-  $theme_settings = variable_get('theme_settings', array());
-  $theme_settings['toggle_node_info_page'] = FALSE;
-  variable_set('theme_settings', $theme_settings);
+  variable_set('node_submitted_page', FALSE);
 
   // Update the menu router information.
   menu_rebuild();
Index: themes/chameleon/chameleon.theme
===================================================================
RCS file: /cvs/drupal/drupal/themes/chameleon/chameleon.theme,v
retrieving revision 1.76
diff -u -p -r1.76 chameleon.theme
--- themes/chameleon/chameleon.theme	24 Jan 2008 09:42:53 -0000	1.76
+++ themes/chameleon/chameleon.theme	6 Apr 2008 17:52:01 -0000
@@ -131,7 +131,7 @@ function chameleon_node($node, $teaser =
 
   $output .= " </div>\n";
 
-  $submitted['node_submitted'] = theme_get_setting("toggle_node_info_$node->type") ? array(
+  $submitted['node_submitted'] = variable_get('node_submitted_'. $node->type, TRUE) ? array(
     'title' => t("By !author at @date", array('!author' => theme('username', $node), '@date' => format_date($node->created, 'small'))),
     'html' => TRUE) : array();
 
