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

[livejournal] r18931: LJSUP-8445: S2 ljadskyscraper

Committer: esavintcev
LJSUP-8445: S2 ljadskyscraper
U   trunk/bin/upgrading/s2layers/sturdygesture/layout.s2
Modified: trunk/bin/upgrading/s2layers/sturdygesture/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/sturdygesture/layout.s2	2011-04-21 04:10:56 UTC (rev 18930)
+++ trunk/bin/upgrading/s2layers/sturdygesture/layout.s2	2011-04-21 05:59:31 UTC (rev 18931)
@@ -415,6 +415,7 @@
 }
 
 function Page::lay_navbar() {
+    var Page p = get_page();
     var string userpic;
     var Image up_img = $.journal.default_pic;
     if (defined $up_img) {
@@ -469,6 +470,12 @@
         "</div>";
     }
 
+    if (viewer_sees_ad_box("s2.vertical.2")) {
+        """<div class="box box-vertical2" style="padding: 0.5em;text-align:center;">""";
+        $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