- translate internalerror message
| | |
| | | $messages['emailformaterror'] = 'Invalid e-mail address: $email'; |
| | | $messages['toomanyrecipients'] = 'Too many recipients. Reduce the number of recipients to $max.'; |
| | | $messages['maxgroupmembersreached'] = 'The number of group members exceeds the maximum of $max'; |
| | | $messages['internalerror'] = 'An internal error occured. Please try again'; |
| | | |
| | | ?> |
| | |
| | | $messages['emailformaterror'] = 'Błędny adres e-mail: $email'; |
| | | $messages['toomanyrecipients'] = 'Zbyt wielu odbiorców. Zmniejsz ich liczbę do $max.'; |
| | | $messages['maxgroupmembersreached'] = 'Liczba członków grupy nie może być większa niż $max'; |
| | | $messages['internalerror'] = 'Wystąpił wewnętrzny błąd systemu. Spróbuj jeszcze raz' |
| | | |
| | | ?> |
| | |
| | | /****** checks ********/ |
| | | |
| | | if (!isset($_SESSION['compose']['id'])) { |
| | | raise_error(array('code' => 500, 'type' => 'smtp', |
| | | raise_error(array('code' => 500, 'type' => 'php', |
| | | 'file' => __FILE__, 'line' => __LINE__, |
| | | 'message' => "Invalid compose ID"), true, false); |
| | | |
| | | $OUTPUT->show_message("An internal error occured. Please try again.", 'error'); |
| | | $OUTPUT->show_message('internalerror', 'error'); |
| | | $OUTPUT->send('iframe'); |
| | | } |
| | | |