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()) {
$special['import'] = $this->translate('Inheritance (import)');
}
if ($dummy->supportsArguments()) {
$special['arguments'] = $this->translate('Arguments');
}
if ($dummy->supportsGroups()) {
$special['groups'] = $this->translate('Group membership');
}

View File

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