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

[livejournal] r18942: LJSUP-8445: S2 ljadskyscraper

Committer: esavintcev
LJSUP-8445: S2 ljadskyscraper
U   trunk/bin/upgrading/s2layers/disjointed/layout.s2
Modified: trunk/bin/upgrading/s2layers/disjointed/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/disjointed/layout.s2	2011-04-21 09:08:23 UTC (rev 18941)
+++ trunk/bin/upgrading/s2layers/disjointed/layout.s2	2011-04-21 09:09:25 UTC (rev 18942)
@@ -1477,6 +1477,7 @@
 }
 
 function print_sidebar() {
+  var Page p = get_page();
 
   # PROFILE
   print_sidebar_profile();
@@ -1501,6 +1502,12 @@
   if($*show_summary){
     print_sidebar_summary();
   }
+  
+  if (viewer_sees_ad_box("s2.vertical.2")) {
+    """<div class="box-vertical2" style="margin-top: 2em;">""";
+    $p->print_ad_box("s2.vertical.2");
+    """</div>""";
+  }
 }
 
 function print_entry(EntryLite e, Color bgcolor, Color fgcolor) {

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