summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2001-03-21 13:17:25 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2001-03-21 13:17:25 +0000
commitb403385407ba294036a9140c2ec3ae93464d5495 (patch)
treeb9ebd6985c4a51475b6e7ff5967097f8e7ff2f8e
parent62baf4c24e5a9e80f6702d5ea5ce17139361cd19 (diff)
downloadbrdo-b403385407ba294036a9140c2ec3ae93464d5495.tar.gz
brdo-b403385407ba294036a9140c2ec3ae93464d5495.tar.bz2
removed the "add comment" button in the comment moderation box
-rw-r--r--includes/comment.inc1
-rw-r--r--story.php5
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;
diff --git a/story.php b/story.php
index 018f70e7c..fd60f0939 100644
--- a/story.php
+++ b/story.php
@@ -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));