summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: edd6c37)
raw | patch | inline | side by side (parent: edd6c37)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 7 Mar 2008 14:21:35 +0000 (14:21 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 7 Mar 2008 14:21:35 +0000 (14:21 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9441 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/ldapmanager/addons/ldapmanager/class_csvimport.inc | patch | blob | history | |
gosa-plugins/ldapmanager/addons/ldapmanager/class_exportxls.inc | patch | blob | history |
diff --git a/gosa-plugins/ldapmanager/addons/ldapmanager/class_csvimport.inc b/gosa-plugins/ldapmanager/addons/ldapmanager/class_csvimport.inc
index bd84fa82e5ba6ad767291fa6f1330a7419e267b6..a8de6776bb184430f8bb3f1ea08eb8741cf76986 100644 (file)
$acl = $this->ui->get_permissions($this->config->current['BASE'],"all/all");
if(!preg_match("/w/",$acl)){
if(isset($_POST['userfile']) || isset($_POST['sorted']) || isset($_POST['fileup'])){
- msg_dialog::display(_("Permission error"), _("You've no permission to import CSV files."), ERROR_DIALOG);
+ msg_dialog::display(_("Permission error"), _("You've no permission to import CSV files."), ERROR_DIALOG);
}
return ($smarty->fetch (get_template_path('contentcsv.tpl', TRUE)));
}
diff --git a/gosa-plugins/ldapmanager/addons/ldapmanager/class_exportxls.inc b/gosa-plugins/ldapmanager/addons/ldapmanager/class_exportxls.inc
index c9917dd8cebf1b57dd542cf7187b1fcc72911e08..4a563d09c211397fffac45483f66e00f03cb793a 100644 (file)
if(!preg_match("/r/",$acls) && (isset($_POST['sfrmgetsingle']) || isset($_POST['sfrmgetfull']) || isset($_POST['sfrmgetivbb']))){
/* Show error msg */
- msg_dialog::display(_("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);