diff options
Diffstat (limited to 'modules/user/user.module')
-rw-r--r-- | modules/user/user.module | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/user/user.module b/modules/user/user.module index df04992ac..5bce664a9 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -1435,6 +1435,21 @@ function user_edit_form($uid, $edit, $register = FALSE) { } } + // Signature: + if (module_exists('comment') && !$register) { + $form['signature_settings'] = array( + '#type' => 'fieldset', + '#title' => t('Signature settings'), + '#weight' => 1, + ); + $form['signature_settings']['signature'] = array( + '#type' => 'textarea', + '#title' => t('Signature'), + '#default_value' => $edit['signature'], + '#description' => t('Your signature will be publicly displayed at the end of your comments.'), + ); + } + // Picture/avatar: if (variable_get('user_pictures', 0) && !$register) { $form['picture'] = array('#type' => 'fieldset', '#title' => t('Picture'), '#weight' => 1); |