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

[ljcom] r10109: LJSUP-7758: AntiSpam S2

Committer: mchervonniy
LJSUP-7758: AntiSpam S2
U   trunk/bin/upgrading/s2layers/anovelconundrum/layout.s2
Modified: trunk/bin/upgrading/s2layers/anovelconundrum/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/anovelconundrum/layout.s2	2011-02-24 10:14:46 UTC (rev 10108)
+++ trunk/bin/upgrading/s2layers/anovelconundrum/layout.s2	2011-02-24 10:15:50 UTC (rev 10109)
@@ -746,9 +746,9 @@
         var string comments_showspam = "";
         if ($.comments.count > 0 and not $.comments.locked) {
             if ($p.showspam) {
-                $comments_showspam = """ <a href="$.permalink_url">$*text_hidespam</a> """;
+                $comments_showspam = """ <a href="$.comments.read_spam_url">$*text_hidespam</a> """;
             } else {
-                $comments_showspam = """ <a href="$.permalink_url?mode=showspam">$*text_showspam</a> """;
+                $comments_showspam = """ <a href="$.comments.read_spam_url">$*text_showspam</a> """;
             }
         }
         print safe """ &middot; $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