diff --git a/code/FeedbackAdmin.php b/code/FeedbackAdmin.php
index 8d68a1ad..43f4e066 100644
--- a/code/FeedbackAdmin.php
+++ b/code/FeedbackAdmin.php
@@ -16,7 +16,7 @@ class FeedbackAdmin extends LeftAndMain {
return $this->getLastFormIn($this->renderWith('FeedbackAdmin_right'));
}
- public function EditForm() {
+ public function Section() {
$url = rtrim($_SERVER['REQUEST_URI'], '/');
if(strrpos($url, '&')) {
$url = substr($url, 0, strrpos($url, '&'));
@@ -27,6 +27,12 @@ class FeedbackAdmin extends LeftAndMain {
$section = 'accepted';
}
+ return $section;
+ }
+
+ public function EditForm() {
+ $section = $this->Section();
+
if($section == 'accepted') {
$filter = 'IsSpam=0 AND NeedsModeration=0';
$title = "
Accepted Comments
";
diff --git a/images/approvecomment.png b/images/approvecomment.png
new file mode 100644
index 00000000..f9487f39
Binary files /dev/null and b/images/approvecomment.png differ
diff --git a/images/declinecomment.png b/images/declinecomment.png
new file mode 100644
index 00000000..936360bb
Binary files /dev/null and b/images/declinecomment.png differ
diff --git a/templates/Includes/CommentTableField.ss b/templates/Includes/CommentTableField.ss
index cafd9cbf..687d67d6 100644
--- a/templates/Includes/CommentTableField.ss
+++ b/templates/Includes/CommentTableField.ss
@@ -47,13 +47,13 @@
|
<% end_if %>
<% if HasAcceptButton %>
- |
+ |
<% end_if %>
<% if HasSpamButton %>
- |
+ |
<% end_if %>
<% if HasHamButton %>
- |
+ |
<% end_if %>
<% if Can(delete) %>
|
diff --git a/templates/Includes/FeedbackAdmin_SiteTree.ss b/templates/Includes/FeedbackAdmin_SiteTree.ss
index 4411677c..94dc93c2 100644
--- a/templates/Includes/FeedbackAdmin_SiteTree.ss
+++ b/templates/Includes/FeedbackAdmin_SiteTree.ss
@@ -1,14 +1,14 @@