fix for upload

This commit is contained in:
Roland Gruber 2010-12-05 13:29:53 +00:00
parent 336709544f
commit 4bb8a421d6
4 changed files with 6 additions and 5 deletions

View File

@ -104,7 +104,8 @@ class account extends baseModule {
$return['upload_columns'][] = array(
'name' => 'account_description',
'description' => _('Description'),
'help' => 'description'
'help' => 'description',
'example' => ''
);
return $return;
}

View File

@ -1097,7 +1097,7 @@ class inetOrgPerson extends baseModule implements passwordService {
'description' => _('Common name'),
'help' => 'cn',
'example' => _('Steve Miller'),
'default' => '<i>&lt;inetOrgPerson_firstName&gt; &lt;inetOrgPerson_lastName&gt;</i>'
'default' => '{inetOrgPerson_firstName} {inetOrgPerson_lastName}'
);
$return[] = array(
'name' => 'inetOrgPerson_userName',

View File

@ -223,7 +223,7 @@ class posixAccount extends baseModule implements passwordService {
'description' => _('Home directory'),
'help' => 'homeDirectory_upload',
'example' => _('/home/smiller'),
'default' => '/home/<i>&lt;posixAccount_userName&gt;</i>'
'default' => '/home/{posixAccount_userName}'
),
array(
'name' => 'posixAccount_createHomeDir',

View File

@ -452,7 +452,7 @@ class sambaSamAccount extends baseModule implements passwordService {
'description' => _('Samba RID'),
'help' => 'ridUpload',
'example' => '1235',
'default' => '&lt;uidNumber&gt;*2 + &lt;sambaAlgorithmicRidBase&gt;'
'default' => '{uidNumber}*2 + {sambaAlgorithmicRidBase}'
),
);
if (!$this->isBooleanConfigOptionSet('sambaSamAccount_hideHomeDrive')) {
@ -518,7 +518,7 @@ class sambaSamAccount extends baseModule implements passwordService {
'description' => _('Samba RID'),
'help' => 'ridUploadHost',
'example' => '1235',
'default' => '&lt;uidNumber&gt;*2 + &lt;sambaAlgorithmicRidBase&gt;'
'default' => '{uidNumber}*2 + {sambaAlgorithmicRidBase}'
)
);
}