X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-core%2Fhtml%2Fgetldif.php;h=00e742ee6e11403dea878d9db2fe6323e411e082;hb=42886e5cc4e1ec51ecb4faf4c669268040c81f25;hp=95964d3ffec95077440beef2b3e41da39acb23dc;hpb=dc068f92a2a30deec9e67196b1b212f1ee66bbf2;p=gosa.git diff --git a/gosa-core/html/getldif.php b/gosa-core/html/getldif.php index 95964d3ff..00e742ee6 100644 --- a/gosa-core/html/getldif.php +++ b/gosa-core/html/getldif.php @@ -1,21 +1,23 @@ get_permissions($dn,"ldapmanager/ldifexport"); if(!preg_match("/r/",$acl)){ - echo "insufficient permissions"; - exit(); + msg_dialog::display(_("Permission denied!"),_("You are not allowed to create ldap dumps."),FATAL_ERROR_DIALOG); + exit(); } @@ -101,7 +104,7 @@ switch ($_GET['ivbb']){ break; default: - echo "Error in ivbb parameter. Request aborted."; + echo _("Error in ivbb parameter!"); } // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: ?>