? files ? modules/signature ? sites/localhost.user_signatures Index: modules/comment.module =================================================================== RCS file: /cvs/drupal/drupal/modules/comment.module,v retrieving revision 1.390 diff -u -r1.390 comment.module --- modules/comment.module 15 Nov 2005 07:29:47 -0000 1.390 +++ modules/comment.module 20 Nov 2005 08:19:11 -0000 @@ -290,21 +290,6 @@ } /** - * Implementation of hook_user(). - * - * Provides signature customization for the user's comments. - */ -function comment_user($type, $edit, &$user, $category = NULL) { - if ($type == 'form' && $category == 'account') { - // when user tries to edit his own data - $form['comment_settings'] = array('#type' => 'fieldset', '#title' => t('Comment settings'), '#collapsible' => TRUE, '#weight' => 4); - $form['comment_settings']['signature'] = array('#type' => 'textarea', '#title' => t('Signature'), '#default_value' => $edit['comment_settings']['signature'], '#description' => ('Your signature will be publicly displayed at the end of your comments.')); - - return $form; - } -} - -/** * Menu callback; presents the comment settings page. */ function comment_configure() { @@ -1195,7 +1180,7 @@ $form['subject'] = array('#type' => 'textfield', '#title' => t('Subject'), '#maxlength' => 64, '#default_value' => $edit['subject']); } - $form['comment'] = array('#type' => 'textarea', '#title' => t('Comment'), '#rows' => 15, '#default_value' => $edit['comment'] ? $edit['comment'] : $user->signature, '#required' => TRUE + $form['comment'] = array('#type' => 'textarea', '#title' => t('Comment'), '#rows' => 15, '#default_value' => $edit['comment'], '#required' => TRUE ); $form = array_merge($form, filter_form($node->format)); Index: modules/user.module =================================================================== RCS file: /cvs/drupal/drupal/modules/user.module,v retrieving revision 1.531 diff -u -r1.531 user.module --- modules/user.module 15 Nov 2005 20:47:06 -0000 1.531 +++ modules/user.module 20 Nov 2005 08:19:06 -0000 @@ -413,7 +413,7 @@ } else { // Make sure we return the default fields at least - $fields = array('uid', 'name', 'pass', 'mail', 'picture', 'mode', 'sort', 'threshold', 'theme', 'signature', 'created', 'access', 'login', 'status', 'timezone', 'language', 'init', 'data'); + $fields = array('uid', 'name', 'pass', 'mail', 'picture', 'mode', 'sort', 'threshold', 'theme', 'created', 'access', 'login', 'status', 'timezone', 'language', 'init', 'data'); } }