Allow non-maintainers to mark comments as spam. I.e., when you delete
a comment to a post you made.
Patch by kareila.
diffs (12 lines):
diff -r 773cfddf6dce -r 95e14adde193 htdocs/js/commentmanage.js
--- a/htdocs/js/commentmanage.js Sun Jun 14 20:28:17 2009 +0000
+++ b/htdocs/js/commentmanage.js Sun Jun 14 20:37:51 2009 +0000
@@ -410,7 +410,7 @@ function createDeleteFunction (ae, dItem
finalHeight -= 15;
}
- if (remoteUser != com.u && canAdmin) {
+ if (remoteUser != "" && remoteUser != com.u) {
lbl = "ljpopdel" + dItemid + "spam";
inHTML += "<input type='checkbox' value='spam' id='" + lbl +
"'> <label for='" + lbl + "'>Mark this comment as spam</label><br />";
} else {
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog