From ab7fa43aaaf729075eed9eec15b736d1b18aaaac Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 30 Jan 2008 14:10:19 +0000 Subject: [PATCH] Added Error dialod instead of echo & exit(); git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8668 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/html/getldif.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-core/html/getldif.php b/gosa-core/html/getldif.php index 70cffd68c..a1e5aaad3 100644 --- a/gosa-core/html/getldif.php +++ b/gosa-core/html/getldif.php @@ -76,7 +76,7 @@ $config= session::get('config'); $dn = base64_decode($_GET['dn']); $acl = $ui->get_permissions($dn,"ldapmanager/ldifexport"); if(!preg_match("/r/",$acl)){ - echo _("Permission denied!"); + msg_dialog::display(_("Permission denied!"),_("You are not allowed to create ldap dumps."),FATAL_ERROR_DIALOG); exit(); } -- 2.30.2