sunnyman's (sunnyman) wrote in changelog,
sunnyman's
sunnyman
changelog

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

Committer: vtroitsky
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-10-04 10:53:58 UTC (rev 23050)
+++ trunk/cgi-bin/LJ/S2.pm	2012-10-04 12:21:48 UTC (rev 23051)
@@ -5347,6 +5347,10 @@
 sub Page__is_journalpromo {
     my ($ctx, $this) = @_;
 
+    return 0 if $LJ::S2::CURR_PAGE->{'view'} !~ /^recent|tag|entry|day$/;
+
+    return 0 if $LJ::REQ_GLOBAL{'journalpromo_showed'};
+
     my $opts;
     
     $opts->{'remote'} = LJ::get_remote();

Tags: livejournal, pm, sunnyman, vtroitsky
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