[pLog-svn] r6999 - plog/branches/lifetype-1.2/templates/admin
jondaley at devel.lifetype.net
jondaley at devel.lifetype.net
Wed Jul 28 13:24:39 EDT 2010
Author: jondaley
Date: 2010-07-28 13:24:39 -0400 (Wed, 28 Jul 2010)
New Revision: 6999
Modified:
plog/branches/lifetype-1.2/templates/admin/dashboard.template
Log:
show mark as spam and mark as not spam for moderated comments (if moderated plugin is installed)
Modified: plog/branches/lifetype-1.2/templates/admin/dashboard.template
===================================================================
--- plog/branches/lifetype-1.2/templates/admin/dashboard.template 2010-07-27 23:53:43 UTC (rev 6998)
+++ plog/branches/lifetype-1.2/templates/admin/dashboard.template 2010-07-28 17:24:39 UTC (rev 6999)
@@ -101,11 +101,12 @@
<div class="list_action_button">
<a href="?op=blogSelect&blogId={$blog->getId()}&action=deleteComment&commentId={$comment->getId()}&articleId={$article->getId()}"><img src="imgs/admin/icon_delete-16.png" alt="{$locale->tr("delete")}" /></a>
{if $bayesian_filter_enabled}
- {if $comment->getStatus() == 0}
+ {if $comment->getStatus() != 1}
<a href="?op=blogSelect&blogId={$blog->getId()}&action=markComment&mode=1&articleId={$comment->getArticleId()}&commentId={$comment->getId()}">
<img src="imgs/admin/icon_spam-16.png" alt="{$locale->tr("mark_as_spam")}" />
</a>
- {elseif $comment->getStatus() == 1}
+ {/if}
+ {if $comment->getStatus() != 0}
<a href="?op=blogSelect&blogId={$blog->getId()}&action=markComment&mode=0&articleId={$comment->getArticleId()}&commentId={$comment->getId()}">
<img src="imgs/admin/icon_nospam-16.png" alt="{$locale->tr("mark_as_no_spam")}" />
</a>
More information about the pLog-svn
mailing list