Fix wording
Patch by draigwen.
diffs (78 lines):
diff -r 8a5d236cc087 -r bd7785519454 htdocs/manage/profile/index.bml
--- a/htdocs/manage/profile/index.bml Sat May 09 20:42:08 2009 +0000
+++ b/htdocs/manage/profile/index.bml Sun May 10 02:31:23 2009 +0000
@@ -459,21 +459,38 @@ body<=
}
## FRIENDS
- $ret .= "<div class='section_head'>$ML{'.section.friends'}</div>\n";
+ if ($u->is_community) {
+ $ret .= "<div
class='section_head'>$ML{'.section.members'}</div>\n";
+ }
+ else {
+ $ret .= "<div
class='section_head'>$ML{'.section.friends'}</div>\n";
+ }
$ret .= "<table class='field_block'>\n";
# opt_showmutualfriends
- $ret .= "<tr><td class='field_name'><label
for='opt_showmutualfriends'>$ML{'.fn.mutualfriends'}</label></td><td>";
- $ret .= LJ::html_check({ 'type' => 'check', 'name' =>
'opt_showmutualfriends', 'id' => 'opt_showmutualfriends',
+ unless ($u->is_community) {
+ $ret .= "<tr><td class='field_name'><label
for='opt_showmutualfriends'>$ML{'.fn.mutualfriends'}</label></td><td>";
+ $ret .= LJ::html_check({ 'type' => 'check', 'name' =>
'opt_showmutualfriends', 'id' => 'opt_showmutualfriends',
'selected' => $u->{'opt_showmutualfriends'}
});
- $ret .= " <label
for='opt_showmutualfriends'>$ML{'.mutualfriends'}</label></td></tr>\n";
+ $ret .= " <label
for='opt_showmutualfriends'>$ML{'.mutualfriends'}</label></td></tr>\n";
+ }
# opt_hidefriendofs
- $ret .= "<tr><td class='field_name'><label
for='opt_hidefriendofs'>$ML{'.fn.friendof'}</label></td><td>";
+ if ($u->is_community) {
+ $ret .= "<tr><td class='field_name'><label
for='opt_hidefriendofs'>$ML{'.fn.subscriberof'}</label></td><td>";
+ }
+ else {
+ $ret .= "<tr><td class='field_name'><label
for='opt_hidefriendofs'>$ML{'.fn.friendof'}</label></td><td>";
+ }
$ret .= LJ::html_check({ 'type' => 'check', 'name' =>
'opt_hidefriendofs', 'id' => 'opt_hidefriendofs',
'selected' => ! $u->{'opt_hidefriendofs'} });
- $ret .= " <label
for='opt_hidefriendofs'>$ML{'.friendof'}</label></td></tr>\n";
+ if ($u->is_community) {
+ $ret .= " <label
for='opt_hidefriendofs'>$ML{'.subscriberof'}</label></td></tr>\n";
+ }
+ else {
+ $ret .= " <label
for='opt_hidefriendofs'>$ML{'.friendof'}</label></td></tr>\n";
+ }
$ret .= "</table>\n";
diff -r 8a5d236cc087 -r bd7785519454 htdocs/manage/profile/index.bml.text
--- a/htdocs/manage/profile/index.bml.text Sat May 09 20:42:08 2009 +0000
+++ b/htdocs/manage/profile/index.bml.text Sun May 10 02:31:23 2009 +0000
@@ -99,6 +99,8 @@
.fn.friendof="Friend of" list
+.fn.subscriberof=Subscriber list
+
.fn.gender=Gender
.fn.imservices2=Instant Messaging
@@ -136,6 +138,8 @@
.fn.zip=ZIP Code
.friendof=Show other users who have friended you, but you have not friended
+
+.subscriberof=Show subscribers of the community
.gender.female=Female
@@ -180,6 +184,8 @@
.section.description=Community Description
.section.friends=Friends
+
+.section.members=Members
.section.id=Identity
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog