support help text for custom fields
This commit is contained in:
parent
d526ff09a8
commit
577be7d5a5
|
@ -8,6 +8,7 @@ March 2014 4.5
|
||||||
-> Separate IP restriction list for self service
|
-> Separate IP restriction list for self service
|
||||||
-> Bind DLZ: support TXT/SRV records
|
-> Bind DLZ: support TXT/SRV records
|
||||||
-> Self Service: added language selection
|
-> Self Service: added language selection
|
||||||
|
-> Custom fields: support help texts
|
||||||
- fixed bugs:
|
- fixed bugs:
|
||||||
-> PDF export for multiple entries does not work
|
-> PDF export for multiple entries does not work
|
||||||
-> Personal: fixed photo upload if Imagick is not installed
|
-> Personal: fixed photo upload if Imagick is not installed
|
||||||
|
|
|
@ -813,7 +813,7 @@ class htmlHelpLink extends htmlElement {
|
||||||
* @return array List of input field names and their type (name => type)
|
* @return array List of input field names and their type (name => type)
|
||||||
*/
|
*/
|
||||||
function generateHTML($module, $input, $values, $restricted, &$tabindex, $scope) {
|
function generateHTML($module, $input, $values, $restricted, &$tabindex, $scope) {
|
||||||
// overwrite module and scop if needed
|
// overwrite module and scope if needed
|
||||||
if ($this->module != null) {
|
if ($this->module != null) {
|
||||||
$module = $this->module;
|
$module = $this->module;
|
||||||
}
|
}
|
||||||
|
|
|
@ -110,10 +110,12 @@ class group extends baseType {
|
||||||
"roleOccupant" => _("Role member DNs"),
|
"roleOccupant" => _("Role member DNs"),
|
||||||
"description" => _("Group description")
|
"description" => _("Group description")
|
||||||
);
|
);
|
||||||
|
if (!empty($_SESSION['config'])) {
|
||||||
$modules = $_SESSION['config']->get_AccountModules('group');
|
$modules = $_SESSION['config']->get_AccountModules('group');
|
||||||
if (in_array('organizationalRole', $modules)) {
|
if (in_array('organizationalRole', $modules)) {
|
||||||
$return['cn'] = _('Role name');
|
$return['cn'] = _('Role name');
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return $return;
|
return $return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue