журнал (shhh) wrote in changelog,
журнал
shhh
changelog

[livejournal] r22981: LJSUP-13769: S2 styles Journal Promo blo...

Committer: nnikulochkina
LJSUP-13769: S2 styles Journal Promo block
U   trunk/cgi-bin/LJ/S2.pm
Modified: trunk/cgi-bin/LJ/S2.pm
===================================================================
--- trunk/cgi-bin/LJ/S2.pm	2012-09-26 13:04:44 UTC (rev 22980)
+++ trunk/cgi-bin/LJ/S2.pm	2012-09-26 13:33:39 UTC (rev 22981)
@@ -5366,6 +5366,8 @@
 
 sub Page__render_journalpromo {
     my ($ctx, $this) = @_;
+
+    return 0 if $LJ::REQ_GLOBAL{'journalpromo_showed'}++;
     
     my $rendered = Page__journalpromo($ctx, $this);
     $S2::pout->($rendered);
@@ -5373,5 +5375,4 @@
     return $rendered ? 1 : 0;
 }
 
-
 1;

Tags: livejournal, nikulochkina, nnikulochkina, pm
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