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

[livejournal] r18944: LJSUP-8445: S2 ljadskyscraper

Committer: esavintcev
LJSUP-8445: S2 ljadskyscraper
U   trunk/bin/upgrading/s2layers/cleansimple/layout.s2
Modified: trunk/bin/upgrading/s2layers/cleansimple/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/cleansimple/layout.s2	2011-04-21 09:32:13 UTC (rev 18943)
+++ trunk/bin/upgrading/s2layers/cleansimple/layout.s2	2011-04-21 09:49:07 UTC (rev 18944)
@@ -442,6 +442,9 @@
 margin-top: 0;
 margin-bottom: 0;
 }
+.box-vertical2 {
+padding: 10px;
+}
 #mainstuff {
 """;
 if (viewer_sees_vbox()) { "width: 70%;"; } else { "width: 75%;"; }
@@ -613,6 +616,7 @@
 
 
 function Page::lay_print_navbar() {
+    var Page p = get_page();
     var string userpic;
     var Image up_img = $.journal.default_pic;
     if (defined $up_img) {
@@ -659,6 +663,12 @@
     """<ul><li>$*counter_code</li></ul>""";
 }
 
+if (viewer_sees_ad_box("s2.vertical.2")) {
+    """<div class="box-vertical2">""";
+    $p->print_ad_box("s2.vertical.2");
+    """</div>""";
+}
+
 "</td>";
 }
 

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