mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
* src/mod_vcard_ldap.erl: Fix some field names (EJAB-483)
SVN Revision: 1127
This commit is contained in:
parent
4562a79b69
commit
f3aa8a03d3
@ -1,3 +1,7 @@
|
|||||||
|
2007-12-27 Badlop <badlop@process-one.net>
|
||||||
|
|
||||||
|
* src/mod_vcard_ldap.erl: Fix some field names (EJAB-483)
|
||||||
|
|
||||||
2007-12-26 Badlop <badlop@process-one.net>
|
2007-12-26 Badlop <badlop@process-one.net>
|
||||||
|
|
||||||
* src/web/ejabberd_web_admin.erl: Translate menu items of webadmin
|
* src/web/ejabberd_web_admin.erl: Translate menu items of webadmin
|
||||||
|
@ -80,7 +80,7 @@
|
|||||||
[{"NICKNAME", "%u", []},
|
[{"NICKNAME", "%u", []},
|
||||||
{"FN", "%s", ["displayName"]},
|
{"FN", "%s", ["displayName"]},
|
||||||
{"FAMILY", "%s", ["sn"]},
|
{"FAMILY", "%s", ["sn"]},
|
||||||
{"FIRST", "%s", ["givenName"]},
|
{"GIVEN", "%s", ["givenName"]},
|
||||||
{"MIDDLE", "%s", ["initials"]},
|
{"MIDDLE", "%s", ["initials"]},
|
||||||
{"ORGNAME", "%s", ["o"]},
|
{"ORGNAME", "%s", ["o"]},
|
||||||
{"ORGUNIT", "%s", ["ou"]},
|
{"ORGUNIT", "%s", ["ou"]},
|
||||||
@ -318,7 +318,7 @@ ldap_attribute_to_vcard(vCard, {"fn", Value}) ->
|
|||||||
{xmlelement,"FN",[],[{xmlcdata,Value}]};
|
{xmlelement,"FN",[],[{xmlcdata,Value}]};
|
||||||
|
|
||||||
ldap_attribute_to_vcard(vCard, {"nickname", Value}) ->
|
ldap_attribute_to_vcard(vCard, {"nickname", Value}) ->
|
||||||
{xmlelement,"NICK",[],[{xmlcdata,Value}]};
|
{xmlelement,"NICKNAME",[],[{xmlcdata,Value}]};
|
||||||
|
|
||||||
ldap_attribute_to_vcard(vCard, {"title", Value}) ->
|
ldap_attribute_to_vcard(vCard, {"title", Value}) ->
|
||||||
{xmlelement,"TITLE",[],[{xmlcdata,Value}]};
|
{xmlelement,"TITLE",[],[{xmlcdata,Value}]};
|
||||||
@ -350,10 +350,10 @@ ldap_attribute_to_vcard(vCard, {"photo", Value}) ->
|
|||||||
{xmlelement,"BINVAL",[],[{xmlcdata, jlib:encode_base64(Value)}]}]};
|
{xmlelement,"BINVAL",[],[{xmlcdata, jlib:encode_base64(Value)}]}]};
|
||||||
|
|
||||||
ldap_attribute_to_vcard(vCardN, {"family", Value}) ->
|
ldap_attribute_to_vcard(vCardN, {"family", Value}) ->
|
||||||
{xmlelement,"LAST",[],[{xmlcdata,Value}]};
|
{xmlelement,"FAMILY",[],[{xmlcdata,Value}]};
|
||||||
|
|
||||||
ldap_attribute_to_vcard(vCardN, {"given", Value}) ->
|
ldap_attribute_to_vcard(vCardN, {"given", Value}) ->
|
||||||
{xmlelement,"FIRST",[],[{xmlcdata,Value}]};
|
{xmlelement,"GIVEN",[],[{xmlcdata,Value}]};
|
||||||
|
|
||||||
ldap_attribute_to_vcard(vCardN, {"middle", Value}) ->
|
ldap_attribute_to_vcard(vCardN, {"middle", Value}) ->
|
||||||
{xmlelement,"MIDDLE",[],[{xmlcdata,Value}]};
|
{xmlelement,"MIDDLE",[],[{xmlcdata,Value}]};
|
||||||
|
Loading…
Reference in New Issue
Block a user