Code

Added Error dialod instead of echo & exit();
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 30 Jan 2008 14:10:19 +0000 (14:10 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 30 Jan 2008 14:10:19 +0000 (14:10 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8668 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/html/getldif.php

index 70cffd68cda9201a6182836dec63a10827761d26..a1e5aaad3dacb06c8a1535d5488f10ea297473c7 100644 (file)
@@ -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();
 }