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

[livejournal] r18629: LJSUP-8123: statement spam counter

Committer: mchervonniy
LJSUP-8123: statement spam counter
U   trunk/bin/upgrading/s2layers/deardiary/layout.s2
U   trunk/bin/upgrading/s2layers/digitalmultiplex/layout.s2
U   trunk/bin/upgrading/s2layers/disjointed/layout.s2
Modified: trunk/bin/upgrading/s2layers/deardiary/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/deardiary/layout.s2	2011-03-18 08:20:49 UTC (rev 18628)
+++ trunk/bin/upgrading/s2layers/deardiary/layout.s2	2011-03-18 08:22:42 UTC (rev 18629)
@@ -841,7 +841,7 @@
             "<li>"; $.comments->print_postlink(); "</li>";
         }
         var string comments_showspam = "";
-        if ($.comments.count > 0 and $.comments.read_spam_url != "") {
+        if ($.comments.spam_counter > 0 and $.comments.read_spam_url != "") {
             if ($p.showspam) {
                 $comments_showspam = """<li>""" + get_plural_phrase($.comments.spam_counter, "text_read_spam_comments") + """</li>""";
             } else {

Modified: trunk/bin/upgrading/s2layers/digitalmultiplex/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/digitalmultiplex/layout.s2	2011-03-18 08:20:49 UTC (rev 18628)
+++ trunk/bin/upgrading/s2layers/digitalmultiplex/layout.s2	2011-03-18 08:22:42 UTC (rev 18629)
@@ -1168,7 +1168,7 @@
     {
         var string pages;
         var string comments_showspam = "";
-        if ($.entry.comments.count > 0 and $.entry.comments.read_spam_url != "") {
+        if ($.entry.comments.spam_counter > 0 and $.entry.comments.read_spam_url != "") {
             if ($p.showspam) {
                 $comments_showspam = """ &mdash; """ + get_plural_phrase($.entry.comments.spam_counter, "text_read_spam_comments");
             } else {

Modified: trunk/bin/upgrading/s2layers/disjointed/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/disjointed/layout.s2	2011-03-18 08:20:49 UTC (rev 18628)
+++ trunk/bin/upgrading/s2layers/disjointed/layout.s2	2011-03-18 08:22:42 UTC (rev 18629)
@@ -1143,7 +1143,7 @@
 
 
     var string comments_showspam = "";
-    if ($en.comments.count > 0 and $en.comments.read_spam_url != "") {
+    if ($en.comments.spam_counter > 0 and $en.comments.read_spam_url != "") {
         if ($p.showspam) {
             $comments_showspam = get_plural_phrase($en.comments.spam_counter, "text_read_spam_comments") + "&ndash;";
         } else {

Tags: fiskus_boulder, livejournal, 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