From: hickert Date: Wed, 30 Jan 2008 14:10:19 +0000 (+0000) Subject: Added Error dialod instead of echo & exit(); X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ab7fa43aaaf729075eed9eec15b736d1b18aaaac;p=gosa.git Added Error dialod instead of echo & exit(); git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8668 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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(); }