projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add 'hidden' flag to text descriptions of the 'pub' flag
[platal.git]
/
modules
/
profile
/
general.inc.php
diff --git
a/modules/profile/general.inc.php
b/modules/profile/general.inc.php
index
c11abf4
..
f9da015
100644
(file)
--- a/
modules/profile/general.inc.php
+++ b/
modules/profile/general.inc.php
@@
-453,7
+453,7
@@
class ProfileSettingNetworking implements ProfileSetting
}
public function getText($value) {
}
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']] . ')';
$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) {
}
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();
$hobbies = array();
foreach (self::$type as $type) {
$hobbies[$type] = array();