diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-03-10 18:28:21 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-03-10 18:28:21 +0000 |
commit | 2ec787df347c3ff8c812f713a4faf6b4904b1afa (patch) | |
tree | 1882c1d4fbe770aec51015b0ec81fe3e9473710c /modules/comment/comment.module | |
parent | 743b10078a3f0a1ee2de814f5ae2d2d66da9c663 (diff) | |
download | brdo-2ec787df347c3ff8c812f713a4faf6b4904b1afa.tar.gz brdo-2ec787df347c3ff8c812f713a4faf6b4904b1afa.tar.bz2 |
- Patch #18676 by frjo: When anonymuos users are allowed to add comments there are a required e-mail field. This field are, as far as i can see, not shown publicly. A user asked me about this and after confirming that it is not shown publicly I added a description that inform the users of this. I have included a patch that add the description "The content of this field is kept private and will not be shown publicly". This is the same description that is used by the profile module.
Diffstat (limited to 'modules/comment/comment.module')
-rw-r--r-- | modules/comment/comment.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module index 2735c0ab5..ae6e958b2 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -1386,12 +1386,12 @@ function theme_comment_form($edit, $title) { } else if (variable_get('comment_anonymous', 0) == 1) { $form .= form_textfield(t('Your name'), 'name', $edit['name'] ? $edit['name'] : variable_get('anonymous', 'Anonymous') , 20, 40); - $form .= form_textfield(t('E-mail'), 'mail', $edit['mail'], 20, 40); + $form .= form_textfield(t('E-mail'), 'mail', $edit['mail'], 20, 40, t('The content of this field is kept private and will not be shown publicly.')); $form .= form_textfield(t('Homepage'), 'homepage', $edit['homepage'], 20, 40); } else if (variable_get('comment_anonymous', 0) == 2) { $form .= form_textfield(t('Your name'), 'name', $edit['name'] ? $edit['name'] : variable_get('anonymous', 'Anonymous') , 20, 40, NULL, NULL, TRUE); - $form .= form_textfield(t('E-mail'), 'mail', $edit['mail'], 20, 40, NULL, NULL, TRUE); + $form .= form_textfield(t('E-mail'), 'mail', $edit['mail'], 20, 40, t('The content of this field is kept private and will not be shown publicly.'), NULL, TRUE); $form .= form_textfield(t('Homepage'), 'homepage', $edit['homepage'], 20, 40); } |