[dw-free] nav strip options for openID
[commit: http://hg.dwscoalition.org/dw-free/rev/5f2d0c97da9a]
http://bugs.dwscoalition.org/show_bug.cgi?id=449
Remove "join community" link for identity accounts
Patch by
denise.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=449
Remove "join community" link for identity accounts
Patch by
![[staff profile]](https://www.dreamwidth.org/img/silk/identity/user_staff.png)
Files modified:
- cgi-bin/weblib.pl
-------------------------------------------------------------------------------- diff -r f13da60d6ad3 -r 5f2d0c97da9a cgi-bin/weblib.pl --- a/cgi-bin/weblib.pl Sat Mar 14 07:07:22 2009 +0000 +++ b/cgi-bin/weblib.pl Sat Mar 14 07:26:50 2009 +0000 @@ -3154,7 +3154,8 @@ sub control_strip if ($haspostingaccess) { $ret .= "$links{post_to_community} "; } - $ret .= "$links{join_community} $links{unwatch_community}"; + $ret .= "$links{join_community} " unless $remote->is_identity; + $ret .= $links{unwatch_community}; } elsif ($memberof) { $ret .= "$statustext{member}<br />"; if ($haspostingaccess) { @@ -3166,7 +3167,8 @@ sub control_strip if ($haspostingaccess) { $ret .= "$links{post_to_community} "; } - $ret .= "$links{join_community} $links{watch_community}"; + $ret .= "$links{join_community} " unless $remote->is_identity; + $ret .= $links{watch_community}; } } elsif ($journal->is_syndicated) { $ret .= "$statustext{syn}<br />"; --------------------------------------------------------------------------------