SyncForms: prepare command object sync

This commit is contained in:
Thomas Gelf 2015-12-08 10:58:05 +01:00
parent cbd09c69f0
commit 12310583b2
2 changed files with 4 additions and 0 deletions

View File

@ -234,6 +234,9 @@ class SyncPropertyForm extends DirectorObjectForm
if ($dummy->supportsImports()) { if ($dummy->supportsImports()) {
$special['import'] = $this->translate('Inheritance (import)'); $special['import'] = $this->translate('Inheritance (import)');
} }
if ($dummy->supportsArguments()) {
$special['arguments'] = $this->translate('Arguments');
}
if ($dummy->supportsGroups()) { if ($dummy->supportsGroups()) {
$special['groups'] = $this->translate('Group membership'); $special['groups'] = $this->translate('Group membership');
} }

View File

@ -10,6 +10,7 @@ class SyncRuleForm extends DirectorObjectForm
public function setup() public function setup()
{ {
$availableTypes = array( $availableTypes = array(
'command' => $this->translate('Command'),
'endpoint' => $this->translate('Endpoint'), 'endpoint' => $this->translate('Endpoint'),
'host' => $this->translate('Host'), 'host' => $this->translate('Host'),
'service' => $this->translate('Service'), 'service' => $this->translate('Service'),