summaryrefslogtreecommitdiff
path: root/modules/comment/comment.pages.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-04-20 21:28:15 +0000
committerDries Buytaert <dries@buytaert.net>2009-04-20 21:28:15 +0000
commite81096f5bc509b650aba39ce1868efa066aa8152 (patch)
tree1027fbb5d3018fe21eb9e7f5b3a6b932681bdda0 /modules/comment/comment.pages.inc
parenta6233dfe2065e011b38adeb9480e0b741fe48f84 (diff)
downloadbrdo-e81096f5bc509b650aba39ce1868efa066aa8152.tar.gz
brdo-e81096f5bc509b650aba39ce1868efa066aa8152.tar.bz2
- Patch #372471 by JamesAn et al: killed theme_box().
Diffstat (limited to 'modules/comment/comment.pages.inc')
-rw-r--r--modules/comment/comment.pages.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/comment/comment.pages.inc b/modules/comment/comment.pages.inc
index 0f8b374a3..cc13b3cbb 100644
--- a/modules/comment/comment.pages.inc
+++ b/modules/comment/comment.pages.inc
@@ -20,7 +20,7 @@ function comment_edit($cid) {
$comment->name = $comment->uid ? $comment->registered_name : $comment->name;
if (comment_access('edit', $comment)) {
- return comment_form_box((array)$comment);
+ return theme('comment_form_box', (array)$comment);
}
else {
drupal_access_denied();
@@ -58,7 +58,7 @@ function comment_reply($node, $pid = NULL) {
// The user is previewing a comment prior to submitting it.
if ($op == t('Preview')) {
if (user_access('post comments')) {
- $output .= comment_form_box(array('pid' => $pid, 'nid' => $node->nid), NULL);
+ $output .= theme('comment_form_box', array('pid' => $pid, 'nid' => $node->nid), NULL);
}
else {
drupal_set_message(t('You are not authorized to post comments.'), 'error');
@@ -101,7 +101,7 @@ function comment_reply($node, $pid = NULL) {
drupal_goto("node/$node->nid");
}
elseif (user_access('post comments')) {
- $output .= comment_form_box(array('pid' => $pid, 'nid' => $node->nid), t('Reply'));
+ $output .= theme('comment_form_box', array('pid' => $pid, 'nid' => $node->nid), t('Reply'));
}
else {
drupal_set_message(t('You are not authorized to post comments.'), 'error');