display redirect messages from session

This commit is contained in:
Roland Gruber 2010-11-28 15:27:27 +00:00
parent ac5d7853e2
commit e9fcd41eba
1 changed files with 9 additions and 0 deletions

View File

@ -933,6 +933,15 @@ class lamList {
if (isset($_GET['deleteAllOk'])) { if (isset($_GET['deleteAllOk'])) {
StatusMessage('INFO', _('Deletion was successful.')); StatusMessage('INFO', _('Deletion was successful.'));
} }
elseif (isset($_GET['uploadAllOk'])) {
StatusMessage('INFO', _("Upload has finished"));
}
elseif (isset($_SESSION['listRedirectMessages'])) {
for ($i = 0; $i < sizeof($_SESSION['listRedirectMessages']); $i++) {
call_user_func_array('StatusMessage', $_SESSION['listRedirectMessages'][$i]);
}
unset($_SESSION['listRedirectMessages']);
}
} }
} }