Commit 2e8a2c22 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

Fixed ldapmanager plInfo organization

This fix the icon problem, and avoid the displays of special tabs in ldapmanager
parent e7ee99b1
......@@ -18,6 +18,7 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
*/
class BaseSelectorOrDnAttribute extends BaseSelectorAttribute
{
function applyPostValue ()
......@@ -43,11 +44,17 @@ class ldapmanager extends simplePlugin
{
return array(
'plShortName' => _('LDIF'),
'plDescription' => _('Export/Import the ldap tree to/from LDIF format'),
'plTitle' => _('LDAP import/export'),
'plDescription' => _('Allows the import or export of the ldap tree'),
'plIcon' => 'geticon.php?context=applications&icon=ldapmanager&size=48',
'plObjectType' => array('ldapmanager' => array(
'name' => _('LDAP Manager'),
'tabClass' => 'ldiftab',
'mainAttr' => FALSE
)),
'plCategory' => array('ldapmanager' => array('objectClass' => 'none', 'description' => _('Ldap manager'))),
'plSection' => 'conf',
'plPriority' => 10,
'plProvidedAcls' => array()
);
......@@ -207,5 +214,4 @@ class ldapmanager extends simplePlugin
return $config->idepartments;
}
}
?>
......@@ -24,19 +24,5 @@ class ldiftab extends simpleTabs_noSpecial
function save()
{
}
static function plInfo()
{
return array(
'plShortName' => _('LDAP import/export'),
'plDescription' => _('Allows the import or export of the ldap tree'),
'plIcon' => 'geticon.php?context=applications&icon=ldapmanager&size=48',
'plSection' => 'conf',
'plPriority' => 10,
'plCategory' => array('ldapmanager' => array('objectClass' => 'none', 'description' => _('Ldap manager'))),
'plProvidedAcls' => array()
);
}
}
?>
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