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

[livejournal] r18976: LJSV-1554: broken entry page for Digital...

Committer: mchervonniy
LJSV-1554: broken entry page for Digital Multiplex
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-26 10:37:15 UTC (rev 18975)
+++ trunk/bin/upgrading/s2layers/digitalmultiplex/layout.s2	2011-04-27 02:16:48 UTC (rev 18976)
@@ -432,12 +432,13 @@
 	    println """<tr><th class="sidebar_box_header">""";
 	    print safe $*text_sidebar_navigation;
 	    println """</th></tr><tr><td class="sidebar_box_contents">""";
-	    if ($page->lay_sidebar_view_navigation() != "") {
-            $navigation = $navigation + "<tr><td>&nbsp;</td></tr>";
-            $navigation = $navigation + $page->lay_sidebar_view_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>";
 }
@@ -1088,6 +1089,7 @@
             $return = $return + """<tr><td>$*text_sidebar_link_separator<a href="$.nav.backward_url">Previous Page</a></td></tr>""";
         }
     }
+    print safe "<tr><td>&nbsp;</td></tr>" + $return;
     return $return;
 }
 
@@ -1415,6 +1417,7 @@
             $return = """$return<tr><td>$*text_sidebar_link_separator<a href="$y.url">$y.year</a></td></tr>""";
         }
     }
+    print safe "<tr><td>&nbsp;</td></tr>" + $return;
     return $return;
 }
 
@@ -1467,6 +1470,7 @@
     var string return;
     if ($.prev_url != "") { $return = """<tr><td>$*text_sidebar_link_separator<a href="$.prev_url">Previous Month</a></td></tr>"""; }
     if ($.next_url != "") { $return = """$return<tr><td>$*text_sidebar_link_separator<a href="$.next_url">Next Month</a></td></tr>"""; }
+    print safe "<tr><td>&nbsp;</td></tr>" + $return;
     return $return;
 }
 function MonthPage::print_body {
@@ -1527,6 +1531,7 @@
     if ($.next_url != "") {
         $return = """$return<tr><td>$*text_sidebar_link_separator<a href="$.next_url">$*text_day_next</a></td></tr>""";
     }
+    print safe "<tr><td>&nbsp;</td></tr>" + $return;
     return $return;
 }
 

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 

  • 1 comment