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

[ljcom] r10108: LJSUP-7758: AntiSpam S2

Committer: mchervonniy
LJSUP-7758: AntiSpam S2
U   trunk/bin/upgrading/s2layers/3column/layout.s2
Modified: trunk/bin/upgrading/s2layers/3column/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/3column/layout.s2	2011-02-24 10:06:52 UTC (rev 10107)
+++ trunk/bin/upgrading/s2layers/3column/layout.s2	2011-02-24 10:14:46 UTC (rev 10108)
@@ -800,9 +800,9 @@
     var string comments_showspam = "";
     if ($e.comments.count > 0 and not $e.comments.locked) {
         if ($p.showspam) {
-            $comments_showspam = """<a href="$e.permalink_url"><img src="$*SITEROOT/img/style/3column/spam.png" alt="$*text_hidespam"/></a>""";
+            $comments_showspam = """<a href="$e.comments.read_spam_url"><img src="$*SITEROOT/img/style/3column/spam.png" alt="$*text_hidespam"/></a>""";
         } else {
-            $comments_showspam = """<a href="$e.permalink_url?mode=showspam"><img src="$*SITEROOT/img/style/3column/unspam.png" alt="$*text_showspam"/></a>""";
+            $comments_showspam = """<a href="$e.comments.read_spam_url"><img src="$*SITEROOT/img/style/3column/unspam.png" alt="$*text_showspam"/></a>""";
         }
     } else {
         $comments_showspam = "";

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