A page in your DokuWiki was added or changed. Here are the details:

Date        : 2016/11/24 17:52
Browser     : Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:50.0) Gecko/20100101 
Firefox/50.0
IP-Address  : 90.65.162.178
Hostname    : LFbn-1-1546-178.w90-65.abo.wanadoo.fr
Old Revision: 
http://ltb-project.org/wiki/documentation/white-pages/latest/config_attributes?rev=1479991700
New Revision: 
http://ltb-project.org/wiki/documentation/white-pages/latest/config_attributes
Edit Summary: 
User        : coudot

@@ -4,19 +4,19 @@
  
  To configure how LDAP attributes are displayed or searched, use the 
''$attributes_map'' parameter which is an array of arrays, with this structure:
    * $attributes_map:
      * item: item identifier
-       * attribute: name of LDAP attribute, in lower case
-       * faclass: name of [[http://fontawesome.io/|Font Awesome]] icon class
-       * type: type of attribute (see below)
+       * ''attribute'': name of LDAP attribute, in lower case
+       * ''faclass'': name of [[http://fontawesome.io/|Font Awesome]] icon 
class
+       * ''type'': type of attribute (see below)
  
  The following table shows how ''type'' are used:
- ^ Type     ^ Display               ^ Search                      ^
- | text     | Simple text           | Text input                  |
- | mailto   | Link mailto           | Text input                  |
- | dn_link  | Link on target entry  | Text input                  |
- | boolean  | "Yes" or "No"         | Select                      |
- | date     | Formatted date        | Calendar ("from" and "to")  |
+ ^ Type     ^ Display                                   ^ Search               
       ^
+ | text     | Simple text                               | Text input           
       |
+ | mailto   | Link mailto                               | Text input           
       |
+ | dn_link  | Link on target entry                      | Text input           
       |
+ | boolean  | "Yes" or "No"                             | Select               
       |
+ | date     | [[.:config_general#date|Formatted date]]  | Calendar ("from" and 
"to")  |
  
  Example:
  <file php>
  $attributes_map = array(
@@ -29,4 +29,11 @@
  To add a new definition to existing ones:
  <file php>
  $attributes_map[] = ('fax' => array( 'attribute' => 
'facsimiletelephonenumber', 'faclass' => 'fax', 'type' => 'text' ));
  </file>
+ 
+ <note tip>
+ You can translate attribute label by defining the ''label_item'' messages in 
[[.:config_general#lang|custom lang file]], for example:
+ <file php>
+ $messages["label_fax"] = "Fax";
+ </file>
+ </note>



-- 
This mail was generated by DokuWiki at
http://ltb-project.org/wiki/
_______________________________________________
ltb-changes mailing list
[email protected]
http://lists.ltb-project.org/listinfo/ltb-changes

Reply via email to