wisest owl (wisest_owl) wrote in changelog,
wisest owl
wisest_owl
changelog

[livejournal] r21980: LJSUP-12236: Additional branding

Committer: wisest-owl
LJSUP-12236: Additional branding

U   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);
 }
 

Tags: livejournal, pl, wisest-owl
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