[dw-free] deal with "Use community userpics instead of poster's userpic"
[commit: http://hg.dwscoalition.org/dw-free/rev/35cb84a02f6f]
http://bugs.dwscoalition.org/show_bug.cgi?id=1883
If this is enabled, then link to the community's icon page, rather than the
individual user's icon page.
Patch by
kareila.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=1883
If this is enabled, then link to the community's icon page, rather than the
individual user's icon page.
Patch by
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Files modified:
- bin/upgrading/s2layers/core2.s2
-------------------------------------------------------------------------------- diff -r 699d6820930b -r 35cb84a02f6f bin/upgrading/s2layers/core2.s2 --- a/bin/upgrading/s2layers/core2.s2 Fri May 14 05:29:59 2010 +0000 +++ b/bin/upgrading/s2layers/core2.s2 Fri May 14 05:54:11 2010 +0000 @@ -4368,7 +4368,14 @@ function EntryLite::print_userpic() { print "<div class=\"userpic\">"; if ( defined $this.userpic ) { - print """<a href="$this.poster.userpic_listing_url">"""; + if ( $*use_shared_pic ) + { + print """<a href="$this.journal.userpic_listing_url">"""; + } + else + { + print """<a href="$this.poster.userpic_listing_url">"""; + } $this.userpic->print(); print "</a>"; } --------------------------------------------------------------------------------