added check_profileOptions() dummy
This commit is contained in:
parent
87b3743d8b
commit
e2c1420e25
|
@ -202,6 +202,13 @@ class account {
|
|||
if ($scope == "host") return array();
|
||||
}
|
||||
|
||||
// checks if the values of a new or modified profile are valid
|
||||
// $scope: the account type (user, group, host, ...)
|
||||
// $options: a hash array (name => value) containing the options
|
||||
function check_profileOptions($scope, $options) {
|
||||
return array();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -307,6 +307,13 @@ class inetOrgPerson {
|
|||
if ($scope == "user") return array();
|
||||
}
|
||||
|
||||
// checks if the values of a new or modified profile are valid
|
||||
// $scope: the account type (user, group, host, ...)
|
||||
// $options: a hash array (name => value) containing the options
|
||||
function check_profileOptions($scope, $options) {
|
||||
return array();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -678,6 +678,13 @@ class posixAccount {
|
|||
return $return;
|
||||
}
|
||||
|
||||
// checks if the values of a new or modified profile are valid
|
||||
// $scope: the account type (user, group, host, ...)
|
||||
// $options: a hash array (name => value) containing the options
|
||||
function check_profileOptions($scope, $options) {
|
||||
return array();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -593,6 +593,13 @@ class posixGroup {
|
|||
return $return;
|
||||
}
|
||||
|
||||
// checks if the values of a new or modified profile are valid
|
||||
// $scope: the account type (user, group, host, ...)
|
||||
// $options: a hash array (name => value) containing the options
|
||||
function check_profileOptions($scope, $options) {
|
||||
return array();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -298,6 +298,13 @@ class quota {
|
|||
return $return;
|
||||
}
|
||||
|
||||
// checks if the values of a new or modified profile are valid
|
||||
// $scope: the account type (user, group, host, ...)
|
||||
// $options: a hash array (name => value) containing the options
|
||||
function check_profileOptions($scope, $options) {
|
||||
return array();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -614,6 +614,13 @@ class sambaAccount {
|
|||
return $return;
|
||||
}
|
||||
|
||||
// checks if the values of a new or modified profile are valid
|
||||
// $scope: the account type (user, group, host, ...)
|
||||
// $options: a hash array (name => value) containing the options
|
||||
function check_profileOptions($scope, $options) {
|
||||
return array();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -314,6 +314,13 @@ class sambaGroupMapping {
|
|||
return $return;
|
||||
}
|
||||
|
||||
// checks if the values of a new or modified profile are valid
|
||||
// $scope: the account type (user, group, host, ...)
|
||||
// $options: a hash array (name => value) containing the options
|
||||
function check_profileOptions($scope, $options) {
|
||||
return array();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -625,11 +625,18 @@ class sambaSamAccount {
|
|||
$return = array();
|
||||
// TODO fill in correct groups
|
||||
$return[] = array(0 => array('kind' => 'text', 'text' => _('Domain')),
|
||||
1 => array('kind' => 'select', 'name' => 'sambaDomainName', 'options' => $sambaDomainNames),
|
||||
1 => array('kind' => 'select', 'name' => 'sambaDomainName', 'options' => $sambaDomainNames, 'size' => 1, 'options' => array("d1", "d2"), 'options_selected' => array()),
|
||||
2 => array('kind' => 'help', 'value' => 'sambaDomainName' ));
|
||||
return $return;
|
||||
}
|
||||
|
||||
// checks if the values of a new or modified profile are valid
|
||||
// $scope: the account type (user, group, host, ...)
|
||||
// $options: a hash array (name => value) containing the options
|
||||
function check_profileOptions($scope, $options) {
|
||||
return array();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -273,6 +273,13 @@ class shadowAccount {
|
|||
return $return;
|
||||
}
|
||||
|
||||
// checks if the values of a new or modified profile are valid
|
||||
// $scope: the account type (user, group, host, ...)
|
||||
// $options: a hash array (name => value) containing the options
|
||||
function check_profileOptions($scope, $options) {
|
||||
return array();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue