Oracle (ex_ioracle) wrote in changelog,
Oracle
ex_ioracle
changelog

[ljcom] r10215: LJSUP-8029: New AD slot at journal pages...

Committer: skomarov
LJSUP-8029: New AD slot at journal pages
U   trunk/bin/upgrading/s2layers/3column/layout.s2
Modified: trunk/bin/upgrading/s2layers/3column/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/3column/layout.s2	2011-03-10 08:10:09 UTC (rev 10214)
+++ trunk/bin/upgrading/s2layers/3column/layout.s2	2011-03-10 08:37:42 UTC (rev 10215)
@@ -1214,7 +1214,7 @@
 ############################## COMMON HTML ############################################
 
 function Page::print ()  {
-
+    var Page p = get_page();
     var string title = $this->title();
 
     """
@@ -1279,6 +1279,13 @@
     $this->print_vbox();
     "</div>";
 }
+
+if (viewer_sees_ad_box("s2.box.yandex")) {
+        """<div class="box-yandex">""";
+        $p->print_ad_box("s2.box.yandex");
+        """</div>""";
+    }
+
 print safe """
 
 </div>

Tags: ioracle, ljcom, 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 

  • 0 comments