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

[livejournal] r20149: LJSUP-9913: Refactoring of print_comment...

Committer: mchervonniy
LJSUP-9913: Refactoring of print_comments() function in s2 styles
U   trunk/bin/upgrading/s2layers/refriedpaper/layout.s2
Modified: trunk/bin/upgrading/s2layers/refriedpaper/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/refriedpaper/layout.s2	2011-09-28 03:36:36 UTC (rev 20148)
+++ trunk/bin/upgrading/s2layers/refriedpaper/layout.s2	2011-09-28 04:10:19 UTC (rev 20149)
@@ -1391,7 +1391,7 @@
     if (size $cs == 0) { return; }
     foreach var Comment c ($cs) {
         var int indent = ($c.depth - 1) * 25;
-        """<div id="$c.dom_id" style='margin-left: ${indent}px; margin-top: 5px'>"::;
+        """<div id="$c.dom_id" style='margin-left: ${indent}px; margin-top: 5px'>""";
         if (($c.spam) and (not $p.showspam) and (not $c.can_marked_as_spam) and (size($c.replies) > 0)) {
             """$*text_spam_comment""";
         } elseif (($c.spam) and (not $p.showspam)) {

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