summaryrefslogtreecommitdiff
path: root/modules/comment/views
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-01-10 11:25:33 +0000
committerBharat Mediratta <bharat@menalto.com>2009-01-10 11:25:33 +0000
commit44bfc1c6a42838732669e59f686069491b583fe2 (patch)
tree65316f9b2cea5e060f2ade3f655a421eb1885d4b /modules/comment/views
parent74766e5b823faca35fa57467bd8e19d048c1a8fb (diff)
Auto-delete 7-day old spam/deleted comments.
Diffstat (limited to 'modules/comment/views')
-rw-r--r--modules/comment/views/admin_comments.html.php11
1 files changed, 10 insertions, 1 deletions
diff --git a/modules/comment/views/admin_comments.html.php b/modules/comment/views/admin_comments.html.php
index 4091270b..b95a02f9 100644
--- a/modules/comment/views/admin_comments.html.php
+++ b/modules/comment/views/admin_comments.html.php
@@ -60,7 +60,7 @@ function update_menu() {
<p>
<? if ($spam->count()): ?>
<?= t(array("one" => "There is currently one comment in your spam queue. You can delete it with a single click, but there is no undo operation so you may want to check the message first to make sure that it really is spam.",
- "other" => "There are currently {{count}} comments in your spam queue. You can delete them all with a single click, but there is no undo operation so you may want to check the messages first to make sure that they really are spam."),
+ "other" => "There are currently {{count}} comments in your spam queue. You can delete them all with a single click, but there is no undo operation so you may want to check the messages first to make sure that they really are spam. All spam messages will be deleted after 7 days automatically."),
array("count" => $spam->count())) ?>
</p>
<p>
@@ -74,6 +74,15 @@ function update_menu() {
</div>
<? endif ?>
+ <? if ($queue == "deleted"): ?>
+ <div>
+ <p>
+ <?= t("These are messages that have been recently deleted. They will be permanently erased automatically after 7 days.") ?>
+ </p>
+ </div>
+ <? endif ?>
+
+
<form id="gBulkAction" action="#" method="post">
<label for="bulk_actions"><?= t("Bulk actions")?></label>
<select id="bulk_actions">