madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[ljcom] r10933: LJSUP-9393: using template for expand an...

Committer: sbelyaev
LJSUP-9393: using template for expand and collapse links
U   trunk/bin/upgrading/s2layers/sup/layout.s2
Modified: trunk/bin/upgrading/s2layers/sup/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/sup/layout.s2	2011-08-29 02:25:10 UTC (rev 10932)
+++ trunk/bin/upgrading/s2layers/sup/layout.s2	2011-08-30 04:14:21 UTC (rev 10933)
@@ -1546,7 +1546,7 @@
     if (($c.thread_url != "") and (not $c.spam)) {
         print safe """(<a href="$c.thread_url">$*text_comment_thread</a>) """;
         if ($c.parent_url != "" and size $c.replies > 0) {
-            "("; $c->print_expand_collapse_links(); ") ";
+            $c->print_expand_collapse_links({ "expand"=>"(%_)", "collapse"=>"(%_)"}); 
         }
     }
     """</div><div class="hr"><hr /></div>""";

Tags: ljcom, madeon, 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