}
if (empty($CFG->messaging)) {
- print_error("Messaging is disabled on this site");
+ print_error('messagingdisable', 'error');
}
//TODO: add support for large number of users
admin_externalpage_print_header();
$msgform->display();
admin_externalpage_print_footer();
-?>
\ No newline at end of file
+?>
/// Do the job, setting result as needed
if (!data_submitted('nomatch')) { ///Basic prevention
- print_error('Wrong action call');
+ print_error('wrongcall', 'error');
}
/// Get parameters
/// Do the job, setting result as needed
if (!data_submitted('nomatch')) { ///Basic prevention
- print_error('Wrong action call');
+ print_error('wrongcall', 'error');
}
/// Get parameters
/// Do the job, setting result as needed
if (!data_submitted('nomatch')) { ///Basic prevention
- print_error('Wrong action call');
+ print_error('wrongcall', 'error');
}
/// Get parameters
/// Do the job, setting result as needed
if (!data_submitted('nomatch')) { ///Basic prevention
- print_error('Wrong action call');
+ print_error('wrongcall', 'error');
}
/// Get parameters
/// Do the job, setting result as needed
if (!data_submitted('nomatch')) { ///Basic prevention
- print_error('Wrong action call');
+ print_error('wrongcall', 'error');
}
/// Get parameters