Максим Червонный (fiskus_boulder) wrote in changelog,
Максим Червонный
fiskus_boulder
changelog

[ljcom] r10110: LJSUP-7758: AntiSpam S2

Committer: mchervonniy
LJSUP-7758: AntiSpam S2
U   trunk/bin/upgrading/s2layers/boxer/layout.s2
Modified: trunk/bin/upgrading/s2layers/boxer/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/boxer/layout.s2	2011-02-24 10:15:50 UTC (rev 10109)
+++ trunk/bin/upgrading/s2layers/boxer/layout.s2	2011-02-24 10:21:05 UTC (rev 10110)
@@ -928,9 +928,9 @@
                     var string comments_showspam = "";
                     if ($e.comments.count > 0 and not $e.comments.locked) {
                         if ($p.showspam) {
-                            $comments_showspam = """ <span class="icon"><a href="$e.permalink_url"><img src="$*SITEROOT/img/btn_unspam.gif" align="middle" border="0" alt="$*text_hidespam" /></a></span> """;
+                            $comments_showspam = """ <span class="icon"><a href="$e.comments.read_spam_url"><img src="$*SITEROOT/img/btn_unspam.gif" align="middle" border="0" alt="$*text_hidespam" /></a></span> """;
                         } else {
-                            $comments_showspam = """ <span class="icon"><a href="$e.permalink_url?mode=showspam"><img src="$*SITEROOT/img/btn_spam.gif" align="middle" border="0" alt="$*text_showspam" /></a></span> """;
+                            $comments_showspam = """ <span class="icon"><a href="$e.comments.read_spam_url"><img src="$*SITEROOT/img/btn_spam.gif" align="middle" border="0" alt="$*text_showspam" /></a></span> """;
                         }
                     }
                     if ($p.view == "entry") {

Tags: fiskus_boulder, ljcom, s2
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments