--- comment.module 2007-06-15 09:10:47.000000000 +0200 +++ comment.module.new 2007-06-20 11:50:15.000000000 +0200 @@ -598,6 +598,13 @@ function comment_admin_settings() { '#options' => array(t('Display on separate page'), t('Display below post or comments')), ); + $form['posting_settings']['comment_help'] = array( + '#type' => 'textarea', + '#title' => t('Explanation or submission guidelines'), + '#default_value' => variable_get('comment_help', ''), + '#description' => t('This text will be displayed at the top of the comment submission form. It is useful for helping or instructing your users.') + ); + return system_settings_form($form); } @@ -1615,7 +1622,7 @@ function comment_form(&$form_state, $edi } function comment_form_box($edit, $title = NULL) { - return theme('box', $title, drupal_get_form('comment_form', $edit, $title)); + return theme('box', $title, '
'. variable_get('comment_help', '') .'
'. drupal_get_form('comment_form', $edit, $title)); } function comment_form_add_preview($form, &$form_state) {