? 431300-nodejs-authoredby-D7.patch
? 431300-nodejs-authoredby-D7_0.patch
? sites
Index: modules/node/node.js
===================================================================
RCS file: /cvs/drupal/drupal/modules/node/node.js,v
retrieving revision 1.5
diff -u -p -r1.5 node.js
--- modules/node/node.js	9 Apr 2010 12:24:53 -0000	1.5
+++ modules/node/node.js	2 May 2010 04:12:42 -0000
@@ -11,7 +11,8 @@ Drupal.behaviors.nodeFieldsetSummaries =
     });
 
     $('fieldset#edit-author', context).drupalSetSummary(function (context) {
-      var name = $('#edit-name').val(), date = $('#edit-date').val();
+      var name = $('#edit-name').val() || Drupal.settings.anonymous,
+        date = $('#edit-date').val();
       return date ?
         Drupal.t('By @name on @date', { '@name': name, '@date': date }) :
         Drupal.t('By @name', { '@name': name });
Index: modules/node/node.pages.inc
===================================================================
RCS file: /cvs/drupal/drupal/modules/node/node.pages.inc,v
retrieving revision 1.123
diff -u -p -r1.123 node.pages.inc
--- modules/node/node.pages.inc	24 Apr 2010 14:49:14 -0000	1.123
+++ modules/node/node.pages.inc	2 May 2010 04:12:42 -0000
@@ -196,7 +196,13 @@ function node_form($form, &$form_state, 
     '#collapsed' => TRUE,
     '#group' => 'additional_settings',
     '#attached' => array(
-      'js' => array(drupal_get_path('module', 'node') . '/node.js'),
+      'js' => array(
+        drupal_get_path('module', 'node') . '/node.js',
+        array(
+          'type' => 'setting',
+          'data' => array('anonymous' => variable_get('anonymous', t('Anonymous'))),
+        ),
+      ),
     ),
     '#weight' => 90,
   );
