From: hickert Date: Fri, 23 Jul 2010 09:34:47 +0000 (+0000) Subject: Fixed post handling. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4d84edbf2c28a8a82b4592f87825b977dbfb178d;p=gosa.git Fixed post handling. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19082 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/ldapmanager/addons/ldapmanager/class_ldif.inc b/gosa-plugins/ldapmanager/addons/ldapmanager/class_ldif.inc index d2f646138..e78391595 100644 --- a/gosa-plugins/ldapmanager/addons/ldapmanager/class_ldif.inc +++ b/gosa-plugins/ldapmanager/addons/ldapmanager/class_ldif.inc @@ -2,47 +2,47 @@ class ldif extends plugin { - /* Definitions */ - var $plHeadline= "LDAP tools"; - var $plDescription= "Export LDIF or Excel snapshots of the LDAP tree"; - var $plIcon = "plugins/ldapmanager/images/ldif.png"; - - /* attribute list for save action */ - var $attributes= array(); - var $objectclasses= array(); - var $ldif; - - function ldif (&$config) - { - /* Include config object */ - $this->ldif= new ldiftab($config, $config->data['TABS']['LDIFTAB'], ""); - } - - function execute() - { - /* Call parent execute */ - plugin::execute(); - - /* Show main page */ - return ($this->ldif->execute()); - } - - /* Return plugin informations for acl handling - #FIXME You can only read attributes within this report plugin */ - static function plInfo() - { - return (array( - "plShortName" => _("LDAP manager"), - "plDescription" => _("LDAP manager")." ("._("import")."/"._("export").")", - "plSelfModify" => FALSE, - "plDepends" => array(), - "plPriority" => 1, - "plSection" => array("addon"), - "plCategory" => array("ldapmanager" => array("description" => _("LDAP manager"))), - - "plProvidedAcls" => array() - )); - } + /* Definitions */ + var $plHeadline= "LDAP tools"; + var $plDescription= "Export LDIF or Excel snapshots of the LDAP tree"; + var $plIcon = "plugins/ldapmanager/images/ldif.png"; + + /* attribute list for save action */ + var $attributes= array(); + var $objectclasses= array(); + var $ldif; + + function ldif (&$config) + { + /* Include config object */ + $this->ldif= new ldiftab($config, $config->data['TABS']['LDIFTAB'], ""); + } + + function execute() + { + /* Call parent execute */ + plugin::execute(); + + /* Show main page */ + return ($this->ldif->execute()); + } + + /* Return plugin informations for acl handling +#FIXME You can only read attributes within this report plugin */ + static function plInfo() + { + return (array( + "plShortName" => _("LDAP manager"), + "plDescription" => _("LDAP manager")." ("._("import")."/"._("export").")", + "plSelfModify" => FALSE, + "plDepends" => array(), + "plPriority" => 1, + "plSection" => array("addon"), + "plCategory" => array("ldapmanager" => array("description" => _("LDAP manager"))), + + "plProvidedAcls" => array() + )); + }