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

[livejournal] r23001: 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-28 09:17:39 UTC (rev 23000)
+++ trunk/cgi-bin/LJ/S2.pm	2012-09-28 09:20:24 UTC (rev 23001)
@@ -5367,7 +5367,7 @@
 sub Page__render_journalpromo {
     my ($ctx, $this) = @_;
 
-    return 0 if $LJ::S2::CURR_PAGE->{'view'} !~ /^recent|entry$/;
+    return 0 if $LJ::S2::CURR_PAGE->{'view'} !~ /^recent|tag|entry|day$/;
 
     return 0 if $LJ::REQ_GLOBAL{'journalpromo_showed'}++;
     
@@ -5379,6 +5379,7 @@
 
 *RecentPage__render_journalpromo = \&Page__render_journalpromo;
 *EntryPage__render_journalpromo = \&Page__render_journalpromo;
+*DayPage__render_journalpromo = \&Page__render_journalpromo;
 
 sub FriendsPage__render_journalpromo {0}
 

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