summaryrefslogtreecommitdiff
path: root/modules/comment.module
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2004-09-28 19:13:03 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2004-09-28 19:13:03 +0000
commit1298d2b9c90ba496a9e63b76cd9875113d25257e (patch)
tree719c5e7b9d6f1e054cbf9663cfc597ac7b7d3c1d /modules/comment.module
parent60f945bcc758b6965e80e64e57219ba4cde02482 (diff)
downloadbrdo-1298d2b9c90ba496a9e63b76cd9875113d25257e.tar.gz
brdo-1298d2b9c90ba496a9e63b76cd9875113d25257e.tar.bz2
Modified version of #10230: Put placement of filter format selector in a module's hands, and move it below the relevant textarea.
Diffstat (limited to 'modules/comment.module')
-rw-r--r--modules/comment.module6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/comment.module b/modules/comment.module
index d50e34532..d4329c956 100644
--- a/modules/comment.module
+++ b/modules/comment.module
@@ -1435,12 +1435,12 @@ function theme_comment_form($edit, $title) {
$form .= form_textfield(t('Subject'), 'subject', $edit['subject'], 50, 64);
}
- // format selector
- $form .= filter_form('format', $edit['format']);
-
// comment field:
$form .= form_textarea(t('Comment'), 'comment', $edit['comment'] ? $edit['comment'] : $user->signature, 70, 10, '', NULL, TRUE);
+ // format selector
+ $form .= filter_form('format', $edit['format']);
+
// preview button:
$form .= form_hidden('cid', $edit['cid']);
$form .= form_hidden('pid', $edit['pid']);