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

[livejournal] r18939: LJSUP-8445: S2 ljadskyscraper

Committer: esavintcev
LJSUP-8445: S2 ljadskyscraper
U   trunk/bin/upgrading/s2layers/haven/layout.s2
Modified: trunk/bin/upgrading/s2layers/haven/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/haven/layout.s2	2011-04-21 08:17:28 UTC (rev 18938)
+++ trunk/bin/upgrading/s2layers/haven/layout.s2	2011-04-21 08:28:58 UTC (rev 18939)
@@ -978,6 +978,7 @@
 
 function print_sidebar()
 {
+    var Page p = get_page();
     print_sidebar_userpic();
     if ($*sidebar_position_one != "nothing") {
         if ($*sidebar_position_one == "summary") {
@@ -1023,6 +1024,11 @@
             print_sidebar_calendar();
         }
     }
+    if (viewer_sees_ad_box("s2.vertical.2")) {
+        """<div class="box-vertical2">""";
+        $p->print_ad_box("s2.vertical.2");
+        """</div>""";
+    }
 }
 
 ################################################################################

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