Commit 747932f6 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

Merge branch '5681-the-opsi-plugin-need-the-departement-management-dropdown' into '1.3-dev'

Resolve "the opsi plugin need the departement management dropdown"

Closes #5681

See merge request !22
Showing with 4 additions and 2 deletions
+4 -2
...@@ -85,6 +85,7 @@ class opsiProfile extends simplePlugin ...@@ -85,6 +85,7 @@ class opsiProfile extends simplePlugin
'main' => array( 'main' => array(
'name' => _('Name'), 'name' => _('Name'),
'attrs' => array( 'attrs' => array(
new BaseSelectorAttribute(get_ou('opsiRDN')),
new SubmittingOPSIServerAttribute( new SubmittingOPSIServerAttribute(
_('OPSI server'), _('OPSI server to use for deployment'), _('OPSI server'), _('OPSI server to use for deployment'),
'fdOpsiServerDN', TRUE 'fdOpsiServerDN', TRUE
......
...@@ -22,9 +22,9 @@ class opsiManagement extends simpleManagement ...@@ -22,9 +22,9 @@ class opsiManagement extends simpleManagement
{ {
protected $objectTypes = array('opsiProfile', 'opsiSoftwareList'); protected $objectTypes = array('opsiProfile', 'opsiSoftwareList');
protected $departmentBrowser = FALSE; protected $departmentBrowser = TRUE;
protected $departmentRootVisible = FALSE; protected $departmentRootVisible = FALSE;
protected $baseMode = FALSE; protected $baseMode = TRUE;
/* Return plugin information for acl handling */ /* Return plugin information for acl handling */
static function plInfo() static function plInfo()
......
...@@ -50,6 +50,7 @@ class opsiSoftwareList extends simplePlugin ...@@ -50,6 +50,7 @@ class opsiSoftwareList extends simplePlugin
'main' => array( 'main' => array(
'name' => _('Infos'), 'name' => _('Infos'),
'attrs' => array( 'attrs' => array(
new BaseSelectorAttribute(get_ou('opsiRDN')),
new SubmittingOPSIServerAttribute( new SubmittingOPSIServerAttribute(
_('OPSI server'), _('OPSI server to use for deployment'), _('OPSI server'), _('OPSI server to use for deployment'),
'fdOpsiServerDN', TRUE 'fdOpsiServerDN', TRUE
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment