Committer: wisest-owl
LJSUP-12236: Additional brandingU trunk/cgi-bin/weblib.pl
Modified: trunk/cgi-bin/weblib.pl =================================================================== --- trunk/cgi-bin/weblib.pl 2012-05-17 09:47:05 UTC (rev 21979) +++ trunk/cgi-bin/weblib.pl 2012-05-17 11:20:29 UTC (rev 21980) @@ -2398,10 +2398,10 @@ $user = LJ::get_remote () || LJ::load_user ($user); if ($user && LJ::Pics::Album->list( 'userid' => $user->userid )) { ## photos exists - push @classes, "framework-page-view"; + push @classes, "b-foto-branding-view"; } else { ## no photos - push @classes, "framework-page-promo"; + push @classes, "b-foto-branding-promo"; } } else { ## branding is not active @@ -2419,6 +2419,10 @@ ){ push @classes, "p-friendstimes"; } + if ($uri =~ m!^/update\.bml!) { + push @classes, "b-foto-branding" + if LJ::_is_pics_branding_active(); + } return join(" ", @classes); }