yokcel (yokcel) wrote in changelog,
yokcel
yokcel
changelog

[ljcom] r11463: LJSV-2070: Flexible Squares style losing...

Committer: ybuhvalova
LJSV-2070: Flexible Squares style losing pagination options on entries
U   trunk/bin/upgrading/s2layers/flexiblesquares/layout.s2
Modified: trunk/bin/upgrading/s2layers/flexiblesquares/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/flexiblesquares/layout.s2	2012-02-09 14:49:04 UTC (rev 11462)
+++ trunk/bin/upgrading/s2layers/flexiblesquares/layout.s2	2012-02-10 08:56:09 UTC (rev 11463)
@@ -22,8 +22,7 @@
     {
         des = "Show user picture icons with each of your entries?";
     }
-    property string userpic_position
-    {
+    property string userpic_position    {
         des = "Set the user picture position for each entry";
         values = "left|Left|right|Right";
     }
@@ -2206,12 +2205,14 @@
         </div>""";
     }
 
-    if ($this.multiform_on and $.entry.comments.enabled and $.comment_pages.total_subitems > 0)
+    if ($.entry.comments.enabled and $.comment_pages.total_subitems > 0)
     {
         """
         <div class="box">""";
-        $this->print_multiform_actionline();
-        $this->print_multiform_end();
+        if ($this.multiform_on) {
+            $this->print_multiform_actionline();
+            $this->print_multiform_end();
+        }
             """
             <center>
             <b>( $comments_count $comments_showspam""";

Tags: ljcom, s2, ybuhvalova, yokcel
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