afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)
afuna ([personal profile] afuna) wrote in [site community profile] changelog2009-05-10 02:31 am

[dw-free] Circle wording should be changed on edit community profile page

[commit: http://hg.dwscoalition.org/dw-free/rev/bd7785519454]

http://bugs.dwscoalition.org/show_bug.cgi?id=685

Fix wording

Patch by [personal profile] draigwen.

Files modified:
  • htdocs/manage/profile/index.bml
  • htdocs/manage/profile/index.bml.text
--------------------------------------------------------------------------------
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
 
--------------------------------------------------------------------------------

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
No Subject Icon Selected
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org