diff options
author | Steven Wittens <steven@10.no-reply.drupal.org> | 2001-03-21 13:17:25 +0000 |
---|---|---|
committer | Steven Wittens <steven@10.no-reply.drupal.org> | 2001-03-21 13:17:25 +0000 |
commit | b403385407ba294036a9140c2ec3ae93464d5495 (patch) | |
tree | b9ebd6985c4a51475b6e7ff5967097f8e7ff2f8e | |
parent | 62baf4c24e5a9e80f6702d5ea5ce17139361cd19 (diff) | |
download | brdo-b403385407ba294036a9140c2ec3ae93464d5495.tar.gz brdo-b403385407ba294036a9140c2ec3ae93464d5495.tar.bz2 |
removed the "add comment" button in the comment moderation box
-rw-r--r-- | includes/comment.inc | 1 | ||||
-rw-r--r-- | story.php | 5 |
2 files changed, 0 insertions, 6 deletions
diff --git a/includes/comment.inc b/includes/comment.inc index 26a098dd7..eb66919c4 100644 --- a/includes/comment.inc +++ b/includes/comment.inc @@ -197,7 +197,6 @@ function comment_controls($threshold = 1, $mode = 3, $order = 1) { $output .= comment_order(($user->id ? $user->sort : $order)); $output .= comment_threshold(($user->id ? $user->threshold : $threshold)); $output .= "<INPUT TYPE=\"submit\" NAME=\"op\" VALUE=\"". t("Update settings") ."\">\n"; - $output .= "<INPUT TYPE=\"submit\" NAME=\"op\" VALUE=\"". t("Add comment") ."\">\n"; $output .= "</FORM>\n"; $output .= "</FONT>\n"; return $output; @@ -29,11 +29,6 @@ switch($op) { story_render(check_input($id), check_input($cid)); $theme->footer(); break; - case t("Add comment"): - $theme->header(); - comment_reply(check_input($cid), check_input($id)); - $theme->footer(); - break; case "reply": $theme->header(); comment_reply(check_input($pid), check_input($id)); |