Index: themes/engines/phptemplate/phptemplate.engine
===================================================================
RCS file: /cvs/drupal/drupal/themes/engines/phptemplate/phptemplate.engine,v
retrieving revision 1.22
diff -u -r1.22 phptemplate.engine
--- themes/engines/phptemplate/phptemplate.engine	3 Nov 2005 19:40:36 -0000	1.22
+++ themes/engines/phptemplate/phptemplate.engine	9 Dec 2005 00:57:40 -0000
@@ -222,6 +222,15 @@
  * into a pluggable template engine.
  */
 function phptemplate_node($node, $teaser = 0, $page = 0) {
+
+  $last_revised = '';
+
+  if (theme_get_setting('toggle_revision_info_' . $node->type) && ($node->changed != 0) && ($node->created != $node->changed))
+  {
+    $last_revised = t(' | Last revised on %a.',
+    array('%a' => format_date($node->changed)));
+  } 
+
   if (module_exist('taxonomy')) {
     $taxonomy = taxonomy_link('taxonomy terms', $node);
   }
@@ -248,7 +257,7 @@
 
   // Display info only on certain node types.
   if (theme_get_setting('toggle_node_info_' . $node->type)) {
-    $variables['submitted'] =  t('Submitted by %a on %b.', array('%a' => theme('username', $node), '%b' => format_date($node->created)));
+    $variables['submitted'] =  t('Submitted by %a on %b.', array('%a' => theme('username', $node), '%b' => format_date($node->created))) . $last_revised;
     $variables['picture'] = theme_get_setting('toggle_node_user_picture') ? theme('user_picture', $node) : '';
   }
 
Index: modules/node.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/node.module,v
retrieving revision 1.561
diff -u -r1.561 node.module
--- modules/node.module	8 Dec 2005 15:30:27 -0000	1.561
+++ modules/node.module	9 Dec 2005 00:57:40 -0000
@@ -426,8 +426,11 @@
     }
   }
 
+  // If node has never changed, set $node->changed to $node->created
+  // If we set $node->created to time(), then 'changed' and 'created' will be
+  // different for new nodes which were previewed before submission
   if (!$node->changed) {
-    $node->changed = time();
+    $node->changed = $node->created;
   }
 
   // Split off revisions data to another structure
Index: modules/system.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/system.module,v
retrieving revision 1.267
diff -u -r1.267 system.module
--- modules/system.module	8 Dec 2005 08:40:10 -0000	1.267
+++ modules/system.module	9 Dec 2005 00:57:40 -0000
@@ -1088,10 +1088,14 @@
     $node_types = module_invoke('node', 'get_types');
     if ($node_types) {
       $group = '';
-      $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 above type'));
+      $form['node_info'] = array('#type' => 'fieldset', '#title' => t('Post submission information display'), '#description' =>  t('Enable or disable the "Submitted by username on date" text when displaying posts of the above type'));
       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['revision_info'] = array('#type' => 'fieldset', '#title' => t('Post revision information display'), '#description' =>  t('Enable or disable the "Last revised on date" text when displaying posts of the above type'));
+      foreach ($node_types as $type => $name) {
+        $form['revision_info']["toggle_revision_info_$type"] = array('#type' => 'checkbox', '#title' => $name, '#default_value' => $settings["toggle_revision_info_$type"]);
+      }
     }
   }
 
