alf (red_alf) wrote in changelog,
alf
red_alf
changelog

[ljcom] r10469: LJSUP-8474: Userhead as Favicon

Committer: afedorov
LJSUP-8474: Userhead as Favicon

U   trunk/cgi-bin/LJ/Hooks/S2Styles.pm
Modified: trunk/cgi-bin/LJ/Hooks/S2Styles.pm
===================================================================
--- trunk/cgi-bin/LJ/Hooks/S2Styles.pm	2011-05-04 07:33:34 UTC (rev 10468)
+++ trunk/cgi-bin/LJ/Hooks/S2Styles.pm	2011-05-04 07:33:36 UTC (rev 10469)
@@ -6,6 +6,7 @@
 LJ::register_hook('s2_head_content_extra', sub {
     my ($str_ref, $u, $r) = @_;
     $$str_ref .= expresslane_html_comment($u);
+    $$str_ref .= qq{<link rel="shortcut icon" type="image/x-icon" href="$LJ::IMGPREFIX/userinfo.ico">\n};
     my $journal = LJ::get_active_journal();
     if ($journal && $journal->is_person) {
         my ($userhead) = $journal->userhead;

Tags: ljcom, pm, red_alf
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