| | |
| | | <?php |
| | | |
| | | /* |
| | | /** |
| | | +-----------------------------------------------------------------------+ |
| | | | program/steps/mail/addcontact.inc | |
| | | | | |
| | |
| | | // TODO: show dialog to complete record |
| | | // if ($error['type'] == rcube_addressbook::ERROR_VALIDATE) { } |
| | | |
| | | $OUTPUT->show_message($error['message'] ? $error['message'] : 'errorsavingcontact', 'error'); |
| | | $OUTPUT->show_message($error['message'] ?: 'errorsavingcontact', 'error'); |
| | | $OUTPUT->send(); |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | if (!$done) { |
| | | $OUTPUT->show_message($plugin['message'] ? $plugin['message'] : 'errorsavingcontact', 'error'); |
| | | $OUTPUT->show_message($plugin['message'] ?: 'errorsavingcontact', 'error'); |
| | | } |
| | | |
| | | $OUTPUT->send(); |