Савинцев Егор 🚶 (savintsev_egor) wrote in changelog,
Савинцев Егор 🚶
savintsev_egor
changelog

[livejournal] r18882: LJSV-1536: Digital Multiplex (OSWD) bug

Committer: esavintcev
LJSV-1536: Digital Multiplex (OSWD) bug
U   trunk/bin/upgrading/s2layers/digitalmultiplex/layout.s2
Modified: trunk/bin/upgrading/s2layers/digitalmultiplex/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/digitalmultiplex/layout.s2	2011-04-15 08:01:53 UTC (rev 18881)
+++ trunk/bin/upgrading/s2layers/digitalmultiplex/layout.s2	2011-04-15 08:22:43 UTC (rev 18882)
@@ -430,11 +430,14 @@
 	    #print_sidebar_box copied here
 	    println safe """<br /><table cellspacing="0" cellpadding="0" border="0" id="sidebar_navigation" class="sidebar_box">""";
 	    println """<tr><th class="sidebar_box_header">""";
-	    print   safe $*text_sidebar_navigation;
+	    print safe $*text_sidebar_navigation;
 	    println """</th></tr><tr><td class="sidebar_box_contents">""";
-	    print   safe $navigation;
+	    if ($page->lay_sidebar_view_navigation() != "") {
+            $navigation = $navigation + "<tr><td>&nbsp;</td></tr>";
+            $navigation = $navigation + $page->lay_sidebar_view_navigation();
+        }
+	    print safe $navigation;
 		#this method returns empty string of print links' list
-		$page->lay_sidebar_view_navigation();
 	    println """</td></tr></table><br />""";
     print safe "</table>";
 }

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