? cvs_get_vanilla.sh Index: modules/comment.module =================================================================== RCS file: /cvs/drupal/drupal/modules/comment.module,v retrieving revision 1.408 diff -u -p -r1.408 comment.module --- modules/comment.module 19 Dec 2005 10:12:52 -0000 1.408 +++ modules/comment.module 31 Dec 2005 19:13:31 -0000 @@ -412,6 +412,13 @@ function comment_configure() { '#options' => array(t('Display on separate page'), t('Display below post or comments')), ); + $form['posting_settings']['comment_guidelines'] = array( + '#type' => 'textarea', + '#title' => t('Explanation or submission guidelines'), + '#default_value' => variable_get('comment_guidelines', ''), + '#description' => t('This text will be displayed at the top of the %type submission form. It is useful for helping or instructing your users.', array('%type' => 'comment')), + ); + return system_settings_form('comment_settings_form', $form); } @@ -1245,6 +1252,8 @@ function comment_form($edit, $title = NU $op = isset($_POST['op']) ? $_POST['op'] : ''; + $form['guidelines'] = array('#type' => 'markup', '#value' => variable_get('comment_guidelines', '')); + if ($user->uid) { if ($edit['cid'] && user_access('administer comments')) { if ($edit['author']) {