diff --git a/gosa-plugins/ldapmanager/addons/ldapmanager/class_exportxls.inc b/gosa-plugins/ldapmanager/addons/ldapmanager/class_exportxls.inc
index 99fceb984be58d51402f00805edb26404be917c9..14b734ac9d795915053af6bf49fa87052535a57a 100644 (file)
$smarty->assign("deplist", $bases);
$smarty->assign("choicelist",array( get_people_ou() =>"users" ,
get_groups_ou() =>"groups" ,
- get_ou('systemRDN') =>"computers",
- get_ou('serverRDN') =>"servers",
+ get_ou("systemManagement", "systemRDN") =>"computers",
+ get_ou("servgeneric", "serverRDN") =>"servers",
"dc=addressbook," =>"addressbook"));
// Get the LDAP link, to generate the Export
$ldap = $this->config->get_ldap_link();
- $smarty->assign ("govmode", $this->config->get_cfg_value("honourIvbbAttributes"));
+ $smarty->assign ("govmode", $this->config->get_cfg_value("core","honourIvbbAttributes"));
$smarty->assign("LDIFError",FALSE);
if(isset($dn))
if(!preg_match("/r/",$acls) && (isset($_POST['sfrmgetsingle']) || isset($_POST['sfrmgetfull']) || isset($_POST['sfrmgetivbb']))){
/* 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!"), bold(LDAP::fix($dn))), ERROR_DIALOG);
/* Show main page */
$smarty->assign("LDIFError",TRUE);