diff --git a/dictionaries/attributes.php b/dictionaries/attributes.php index 2a6a389df453d55de54bd2ad46fb66bf852dd53e..e5c49c1dc5f2d5c56b4b250ca063d36cf7a2c1fa 100644 --- a/dictionaries/attributes.php +++ b/dictionaries/attributes.php @@ -1,18 +1,41 @@ <?php $lang = array( - 'en' => array( - 'attribute_mail' => 'E-Mail', + 'en' => array( 'attribute_edupersonaffiliation' => 'Affiliation', 'attribute_title' => 'Title', 'attribute_uid' => 'User ID', - + 'attribute_sn' => 'Surname', + 'attribute_gn' => 'Given name', + 'attribute_cn' => 'Common name', + 'attribute_mail' => 'Email address', + 'attribute_preferredlanguage' => 'Preferred language', + 'attribute_noredupersonnin' => 'Social security number', + 'attribute_schachomeorganization' => 'Unique home organization ID', + 'attribute_organisationname' => 'Organisation name', + 'attribute_edupersonentitlement' => 'Entitlement regarding the service', + 'attribute_edupersonscopedaffiliation' => 'Group membership', + 'attribute_edupersontargetedid' => 'Persistent anonymous ID at the service', + 'attribute_edupersonprincipalname' => 'Person principal name at home organization' ), - 'no' => array( - 'attribute_mail' => 'E-post', + 'no' => array( + 'attribute_mail' => 'E-post', 'attribute_edupersonaffiliation' => 'Tilhørighet', 'attribute_title' => 'Tittel', 'attribute_uid' => 'BrukerID', - ) - + ), + 'dk' => array( + 'attribute_sn' => 'Efternavn', + 'attribute_gn' => 'Fornavne', + 'attribute_cn' => 'Kaldenavn', + 'attribute_mail' => 'Emailadresse', + 'attribute_preferredlanguage' => 'Foretrukne sprog', + 'attribute_noredupersonnin' => 'CPR nummer', + 'attribute_schachomeorganization' => 'Hjemmeorganisationens entydige ID', + 'attribute_organisationname' => 'Hjemmeorganisationens kaldenavn', + 'attribute_edupersonentitlement' => 'Specifik rolle i forhold til tjenesten', + 'attribute_edupersonscopedaffiliation' => 'Gruppemedlemskab', + 'attribute_edupersontargetedid' => 'Vedholdende anonymt bruger-ID hos tjenesten', + 'attribute_edupersonprincipalname' => 'Bruger-ID hos hjemmeorganisationen', + ), ); \ No newline at end of file diff --git a/templates/default/en/status.php b/templates/default/en/status.php index 8918d341e0b75e0a51237863e6c2db888f4641ce..4209344128b131459850a3faba24405bf7eaa424 100644 --- a/templates/default/en/status.php +++ b/templates/default/en/status.php @@ -18,8 +18,8 @@ $attributes = $data['attributes']; foreach ($attributes AS $name => $value) { - if (isset($this->data['attribute_' . htmlspecialchars($name) ])) { - $name = $this->data['attribute_' . htmlspecialchars($name) ]; + if (isset($this->data['attribute_' . htmlspecialchars(strtolower($name)) ])) { + $name = $this->data['attribute_' . htmlspecialchars(strtolower($name))]; } if (sizeof($value) > 1) {