diff --git a/main/document/exit_pixlr.php b/main/document/exit_pixlr.php
index 7c36bc4f74..433a6b32eb 100644
--- a/main/document/exit_pixlr.php
+++ b/main/document/exit_pixlr.php
@@ -15,12 +15,13 @@ api_protect_course_script();
api_block_anonymous_users();
if (!isset($_SESSION['exit_pixlr'])){
$location=api_get_path(WEB_CODE_PATH).'document/document.php';
- echo '';
+ echo '';
api_not_allowed(true);
}
else{
+ echo '
'.get_lang('PleaseStandBy').'
';
$location=api_get_path(WEB_CODE_PATH).'document/document.php?curdirpath='.Security::remove_XSS($_SESSION['exit_pixlr']);
- echo '';
+ echo '';
unset($_SESSION['exit_pixlr']);
}
?>
\ No newline at end of file
diff --git a/main/document/save_pixlr.php b/main/document/save_pixlr.php
index 59b522dedc..59e4ead238 100644
--- a/main/document/save_pixlr.php
+++ b/main/document/save_pixlr.php
@@ -129,12 +129,13 @@ unset($_SESSION['whereami']);
if (!isset($_SESSION['exit_pixlr'])){
$location=api_get_path(WEB_CODE_PATH).'document/document.php';
- echo '';
+ echo '';
api_not_allowed(true);
}
-else{
+else{
+ echo ''.get_lang('PleaseStandBy').'
';
$location=api_get_path(WEB_CODE_PATH).'document/document.php?curdirpath='.Security::remove_XSS($_SESSION['exit_pixlr']);
- echo '';
+ echo '';
unset($_SESSION['exit_pixlr']);
}