holyandrew (holyandrew) wrote in changelog,
holyandrew
holyandrew
changelog

[ljcom] r12203: LJSUP-12761: inline_css for userhead in ...

Committer: akanashin
LJSUP-12761: inline_css for userhead in Notification Promo (HTML)
U   trunk/cgi-bin/LJ/Hooks/ESN.pm
Modified: trunk/cgi-bin/LJ/Hooks/ESN.pm
===================================================================
--- trunk/cgi-bin/LJ/Hooks/ESN.pm	2012-06-29 12:21:28 UTC (rev 12202)
+++ trunk/cgi-bin/LJ/Hooks/ESN.pm	2012-06-29 12:30:04 UTC (rev 12203)
@@ -107,6 +107,7 @@
 
     $params->{country_style_ua} = $active_region eq 'ua';
     $params->{imgprefix} = $LJ::IMGPREFIX;
+    $params->{ljuser} = [LJ::ljuser2($u, {raw => 1, inline_css => 1})]; 
 
     my $tmpl_file = $type eq 'html' ? 'NotificationPromoHTML.tmpl' : 'NotificationPromoPlainText.tmpl';
     my $tmpl = LJ::HTML::Template->new({use_expr => 1}, filename => "$ENV{LJHOME}/templates/Shop/$tmpl_file");

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