<?php // $Id$
$string['responsesoptions'] = 'Responses options';
$string['responsestitle'] = 'Detailed responses';
+$string['cannotloadoptions'] = 'Could not load question options';
$string['pagesize'] = 'Page Size';
$string['reportresponses'] = 'Responses';
$string['responses'] = 'Responses';
$string['responsesreport'] = 'Responses report';
$string['responsesdownload'] = 'Responses download';
-?>
\ No newline at end of file
+?>
$message->timestamp = time();
if (!$DB->insert_record('chat_messages', $message) || !$DB->insert_record('chat_messages_current', $message)) {
- print_error('Could not insert a chat message!');
+ print_error('cantinsert', 'chat');
}
$chatuser->lastmessageping = time() - 2;
// Load the question type specific information
if (!get_question_options($questions)) {
- print_error('Could not load question options');
+ print_error('cannotloadoptions', 'quiz_responses');
}
$table->define_columns($columns);
}
-?>
\ No newline at end of file
+?>