vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

[livejournal] r18534: LJSUP-7961: Add ability to display defau...

Committer: vsukhanov
LJSUP-7961: Add ability to display default userpic of the user
U   trunk/cgi-bin/cleanhtml.pl
Modified: trunk/cgi-bin/cleanhtml.pl
===================================================================
--- trunk/cgi-bin/cleanhtml.pl	2011-03-14 09:50:18 UTC (rev 18533)
+++ trunk/cgi-bin/cleanhtml.pl	2011-03-14 10:03:33 UTC (rev 18534)
@@ -411,7 +411,7 @@
             ##      <lj-userpic> - current journal's default userpic
             ##      <lj-userpic remote> - remote user's default userpic
             ##      <lj-userpic user="test"> - test's default userpic
-            if ($tag eq "lj-userpic" and $action{$tag} ne 'deny'){
+            if ($tag eq "lj-userpic" and !$opts->{'textonly'} and $action{$tag} ne 'deny'){
                 my $u = '';
                 if ($attr->{user}){
                     $u = LJ::load_user($attr->{user});

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