diff --git a/gosa-plugins/ldapmanager/addons/ldapmanager/class_export.inc b/gosa-plugins/ldapmanager/addons/ldapmanager/class_export.inc
index da643f7737db1a6108ee8eed7641ffea18c69a0d..8bed2866af2dfb17f135e6ca7c1de611d54375ad 100644 (file)
/* Set government mode */
$smarty= get_smarty();
+ $smarty->assign ("govmode", $this->config->get_cfg_value("honourIvbbAttributes"));
+ $smarty->assign("LDIFError",FALSE);
+
$smarty->assign("type",FALSE);
$smarty->assign("depselectivbb","");
// Get the LDAP link, to generate the Export
$ldap = $this->config->get_ldap_link();
- if ($this->config->get_cfg_value('governmentmode') == 'true'){
- $smarty->assign ("govmode", $this->config->get_cfg_value("governmentmode"));
+ if ($this->config->get_cfg_value('honourIvbbAttributes') == 'true'){
+ $smarty->assign ("govmode", $this->config->get_cfg_value("honourIvbbAttributes"));
$smarty->assign("LDIFError",FALSE);
}
if((!preg_match("/r/",$acls)) && (isset($dn))){
/* Show error msg */
- msg_dialog::display(_("Permission error"), sprintf(_("You have no permission to export '%s'!"),@LDAP::fix($dn)), ERROR_DIALOG);
+ msg_dialog::display(_("Permission error"), sprintf(_("You have no permission to export '%s'!"),LDAP::fix($dn)), ERROR_DIALOG);
/* Show main page */
$smarty->assign("LDIFError",TRUE);