ssafronova (ssafronova) wrote in changelog,
ssafronova
ssafronova
changelog

[livejournal] r17120: LJSUP-6400: I like button for ONTD commu...

Committer: ssafronova
LJSUP-6400: I like button for ONTD community
U   trunk/cgi-bin/LJ/S2.pm
Modified: trunk/cgi-bin/LJ/S2.pm
===================================================================
--- trunk/cgi-bin/LJ/S2.pm	2010-08-13 03:50:03 UTC (rev 17119)
+++ trunk/cgi-bin/LJ/S2.pm	2010-08-13 04:18:40 UTC (rev 17120)
@@ -3687,7 +3687,7 @@
         my $entry = LJ::Entry->new($journalu->{'userid'}, ditemid => $this->{'itemid'});
         return $null_link unless $entry->security eq 'public';
         my $entry_url = LJ::eurl($entry->url);
-        my $url = "http://www.facebook.com/plugins/like.php?href=$entry_url&layout=standard&show_faces=true&width=450&action=like&colorscheme=light&height=35";
+        my $url = "http://www.facebook.com/plugins/like.php?href=$entry_url&layout=button_count&show_faces=false&width=450&action=like&colorscheme=light&height=35";
         my $link = LJ::S2::Link($url, 'caption unused', LJ::S2::Image("$LJ::IMGPREFIX/btn_facebook.gif", 24, 24));
         return $link;
     }

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