Use 'add friend' links when relationship is one-way.
Patch by afuna.
diffs (26 lines):
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'};
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog