case '404': // Administrator login not found
setRequestPostElement('ok', $ret);
- addFatalMessage(__FILE__, __LINE__, sprintf(getMessage('ADMIN_404'), getSession('admin_login')));
+ loadTemplate('admin_settings_saved', false, sprintf(getMessage('ADMIN_404'), getSession('admin_login')));
destroyAdminSession();
break;
case 'pass': // Wrong password
setRequestPostElement('ok', $ret);
- addFatalMessage(__FILE__, __LINE__, getMessage('WRONG_PASS'));
+ loadTemplate('admin_settings_saved', false, getMessage('WRONG_PASS'));
destroyAdminSession();
break;