[gnome-web-www] Update the members_url to point to the new LDAP-generated members list



commit 010c964793a0aa60809f34179c82ceedd78c5ca1
Author: Andrea Veri <av gnome org>
Date:   Wed Oct 8 18:16:28 2014 +0200

    Update the members_url to point to the new LDAP-generated members list

 theme/page-membership.php |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/theme/page-membership.php b/theme/page-membership.php
index 9258eaa..bd95225 100644
--- a/theme/page-membership.php
+++ b/theme/page-membership.php
@@ -3,7 +3,7 @@
 
 if (false === ($members = get_transient('foundation_members_list'))) {
 
-    $members_url = "https://www.gnome.org/membership/members-list.php?format=json";;
+    $members_url = "http://webapps.gnome.org/foundation/membershiplist";;
 
     $members = json_decode(file_get_contents($members_url));
     
@@ -31,10 +31,8 @@ require_once("header.php"); ?>
                 
                 if (isset($members)) {
                   echo '<ul class="foundation_members_list">'."\n";
-                  $antispam = array(".", "@");
                   foreach ($members as $member) {
-                      $email = str_replace($antispam, " ", $member->email);
-                      echo "    <li title=\"&lt;" . $email . "&gt; / " . "Last Renewed on " . 
$member->last_renewed_on . "\">" . $member->firstname . " " . $member->lastname . "</li>\n";
+                      echo "    <li title=\"&lt;" . $member->common_name . " " "</li>\n";
                   }
                   echo '</ul>'."\n";
                 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]