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

[ljcom] r10380: LJSUP-8551: new thread expander

Committer: mchervonniy
LJSUP-8551: new thread expander
U   trunk/bin/upgrading/s2layers/smoothsailing/layout.s2
Modified: trunk/bin/upgrading/s2layers/smoothsailing/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/smoothsailing/layout.s2	2011-04-12 08:07:13 UTC (rev 10379)
+++ trunk/bin/upgrading/s2layers/smoothsailing/layout.s2	2011-04-12 08:42:02 UTC (rev 10380)
@@ -1843,7 +1843,7 @@
             """<div style='margin-left: ${indent}px;' id="$c.dom_id"><a name="$c.anchor"></a><div class="commentHolder"><div class="commentText"><strong>$*text_comment_screened</strong></div></div></div>""";
         } elseif ($c.deleted) {
             """<div style='margin-left: ${indent}px;' id="$c.dom_id"><a name="$c.anchor"></a><div class="commentHolder"><div class="commentText"><strong>$*text_comment_deleted</strong></div></div></div>""";
-	} elseif ($c.spam and not $p.showspam) {
+	} elseif ($c.spam and not $p.showspam and ((size $c.replies) > 0)) {
             """<div style='margin-left: ${indent}px;' id="$c.dom_id"><a name="$c.anchor"></a><div class="commentHolder"><div class="commentText"><strong>$*text_spam_comment</strong></div></div></div>""";
             
         } elseif ($c.full) {

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