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

[ljcom] r11518: LJSUP-11331: Old s1: Bad view advertisem...

Committer: esavintcev
LJSUP-11331: Old s1: Bad view advertisement in commenting style
U   trunk/bin/upgrading/s2layers/sup/layout.s2
Modified: trunk/bin/upgrading/s2layers/sup/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/sup/layout.s2	2012-02-22 12:19:23 UTC (rev 11517)
+++ trunk/bin/upgrading/s2layers/sup/layout.s2	2012-02-22 12:23:06 UTC (rev 11518)
@@ -784,7 +784,7 @@
 
     $p->print_head();
 
-    if (not $*old_s1) {
+    if ((not $*old_s1) or ($*old_s1 and $p.view!="entry" and $p.view!="reply")) {
         if ($*linked_stylesheet) {
             print safe """\n    <link rel="stylesheet" type="text/css" href="$*linked_stylesheet" />""";
         }
@@ -932,7 +932,7 @@
                     <div class="footer">
                         <div class="hr"><hr /></div>
 """;
-    if (not $*old_s1) {
+    if ((not $*old_s1) or ($*old_s1 and $p.view!="entry" and $p.view!="reply")) {
         if (viewer_sees_ad_box("s2.box.bottom")) {
             """<div class="txtad">""";
             $p->print_ad_box("s2.box.bottom");

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