2
// $Header: /cvsroot/phpldapadmin/phpldapadmin/lib/config_default.php,v 1.17 2005/12/10 10:34:55 wurley Exp $
2
// $Header: /cvsroot/phpldapadmin/phpldapadmin/lib/config_default.php,v 1.25 2007/01/18 21:03:58 wurley Exp $
5
5
* Configuration processing and defaults.
46
46
'desc'=>'Array of attributes that should show a jscalendar',
47
47
'default'=>array('shadowExpire'=>'%es','shadowLastChange'=>'%es'));
49
$this->default->appearance['date_attrs_showtime'] = array(
50
'desc'=>'Array of attributes that should show a the time when showing the jscalendar',
51
'default'=>array(''));
49
53
$this->default->appearance['hide_configuration_management'] = array(
50
54
'desc'=>'Hide the Sourceforge related links',
95
99
$this->default->appearance['obfuscate_password_display'] = array(
96
100
'desc'=>'Obfuscate the display of passwords',
99
103
$this->default->appearance['show_clear_password'] = array(
100
104
'desc'=>'Whether to show clear passwords if we dont obfuscate them',
108
112
'desc'=>'Show helpful hints',
109
113
'default'=>true);
115
$this->default->appearance['show_top_create'] = array(
116
'desc'=>'Show a additional create link on the top of the list if there are more than 10 entries',
119
$this->default->appearance['show_schema_link'] = array(
120
'desc'=>'Show the schema link for each attribute',
123
$this->default->appearance['show_attribute_notes'] = array(
124
'desc'=>'Show notes for each attribute',
112
128
* A format string used to display enties in the tree viewer (left-hand side)
113
129
* You can use special tokens to draw the entries as you wish. You can even mix in HTML to format the string
141
157
'desc'=>'Whether to enable the PHPLayersMenu for the tree',
142
158
'default'=>false);
161
* Tree display filter
162
* LDAP filter used to search entries for the tree viewer (left-hand side)
164
$this->default->appearance['tree_filter'] = array(
165
'desc'=>'LDAP search filter for the tree entries',
166
'default'=>'(objectClass=*)');
146
170
$this->default->cache['schema'] = array(
209
233
'desc'=>'Time in seconds to keep jpegPhoto temporary files in the temp directory',
236
## Modify members feature
238
* Search filter setting for new members. This is used to search possible members that can be added
239
* to the group. See modify_member_form.php
241
$this->default->modify_member['filter'] = array(
242
'desc'=>'Search filter for member searches',
243
'default'=>'(objectclass=Person)');
246
* Group attributes. When these attributes are seen in template_engine.php, add "modify group members"
247
* link to the attribute
248
* See template_engine.php
250
$this->default->modify_member['groupattr'] = array(
251
'desc'=>'Group member attributes',
252
'default'=>array('member','uniqueMember','memberUid'));
255
* Attribute that is added to the group member attribute. For groupOfNames or groupOfUniqueNames this is dn,
256
* for posixGroup it's uid. See modify_member_form.php
258
$this->default->modify_member['attr'] = array(
259
'desc'=>'Default attribute that is added to the group member attribute',
263
* Attribute that is added to the group member attribute.
264
* For posixGroup it's uid. See modify_member_form.php
266
$this->default->modify_member['posixattr'] = array(
267
'desc'=>'Contents of the group member attribute',
271
* Search filter setting for new members to group. This is used to search possible members that can be added
272
* to the posixGroup. See modify_member_form.php
274
$this->default->modify_member['posixfilter'] = array(
275
'desc'=>'Search filter for posixmember searches',
276
'default'=>'(uid=*)');
279
* posixGroup attribute. When this attribute are seen in modify_member_form.php, only posixGroup members are shown
280
* See modify_member_form.php
282
$this->default->modify_member['posixgroupattr'] = array(
283
'desc'=>'posixGroup member attribute',
284
'default'=>'memberUid');
212
286
## Session Attributes
213
287
/** Cookie Encryption
214
288
* phpLDAPadmin can encrypt the content of sensitive cookies if you set this to a big random string.
250
324
'desc'=>'Whether to use similiar characters',
251
325
'default'=>true);
327
$this->default->password['no_random_crypt_salt'] = array(
328
'descr'=>'Disable random salt for crypt()',
253
331
/** Search display
254
332
* By default, when searching you may display a list or a table of results.
255
333
* Set this to 'table' to see table formatted results.
289
367
'default'=>array('cn','sn','uid','postalAddress','telephoneNumber'));
292
function GetValue($key,$index) {
370
public function GetValue($key,$index) {