X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fprofile%2Fgeneral.inc.php;h=f9da0150aa0235427cd71dbcd70bc88c50f15fc0;hb=b49e98ca623b39dba085ad69e8a678ce5f6055e0;hp=c11abf4451813d11078c76724ba89dc3cbab9817;hpb=6c2a3be16c80c7b1a9b571acb2a428e84194344c;p=platal.git diff --git a/modules/profile/general.inc.php b/modules/profile/general.inc.php index c11abf4..f9da015 100644 --- a/modules/profile/general.inc.php +++ b/modules/profile/general.inc.php @@ -453,7 +453,7 @@ class ProfileSettingNetworking implements ProfileSetting } public function getText($value) { - static $pubs = array('public' => 'publique', 'ax' => 'annuaire AX', 'private' => 'privé'); + static $pubs = array('public' => 'publique', 'ax' => 'annuaire papier', 'private' => 'privé', 'hidden' => 'administrateurs'); $networkings = array(); foreach ($value as $network) { $networkings[] = $network['name'] . ' : ' . $network['address'] . ' (affichage ' . $pubs[$network['pub']] . ')'; @@ -516,7 +516,7 @@ class ProfileSettingHobby implements ProfileSetting } public function getText($value) { - static $pubs = array('public' => 'publique', 'private' => 'privé'); + static $pubs = array('public' => 'publique', 'ax' => 'annuaire papier', 'private' => 'privé', 'hidden' => 'administrateurs'); $hobbies = array(); foreach (self::$type as $type) { $hobbies[$type] = array();