[dw-free] Misleading link text on navstrip when there is a one-way relationship
[commit: http://hg.dwscoalition.org/dw-free/rev/9108f48aa0ef]
http://bugs.dwscoalition.org/show_bug.cgi?id=890
Use 'add friend' links when relationship is one-way.
Patch by
afuna.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=890
Use 'add friend' links when relationship is one-way.
Patch by
Files modified:
- cgi-bin/weblib.pl
--------------------------------------------------------------------------------
diff -r a9b33992637f -r 9108f48aa0ef cgi-bin/weblib.pl
--- a/cgi-bin/weblib.pl Mon Jun 01 00:35:31 2009 +0000
+++ b/cgi-bin/weblib.pl Mon Jun 01 00:38:54 2009 +0000
@@ -2708,19 +2708,19 @@ sub control_strip
$ret .= "$links{edit_friend}";
} elsif ( $trusted_by && $watched_by ) {
$ret .= "$statustext{trustedby_watchedby}<br />";
- $ret .= "$links{edit_friend}";
+ $ret .= "$links{add_friend}";
} elsif ( $trusted ) {
$ret .= "$statustext{trusted}<br />";
$ret .= "$links{edit_friend}";
} elsif ( $trusted_by ) {
$ret .= "$statustext{trusted_by}<br />";
- $ret .= "$links{edit_friend}";
+ $ret .= "$links{add_friend}";
} elsif ( $watched ) {
$ret .= "$statustext{watched}<br />";
$ret .= "$links{edit_friend}";
} elsif ( $watched_by ) {
$ret .= "$statustext{watched_by}<br />";
- $ret .= "$links{edit_friend}";
+ $ret .= "$links{add_friend}";
} else {
if ( $view eq "read" ) {
$ret .= $statustext{'personalfriendspage'};
--------------------------------------------------------------------------------
