From c999d841b4d52474df84c3d5c39646f4dbd727de Mon Sep 17 00:00:00 2001 From: Tim Hunt Date: Wed, 12 Oct 2011 17:57:29 +0100 Subject: [PATCH] MDL-29627 add quizaccess plugins to standard_plugins_list. --- lib/pluginlib.php | 5 +++++ mod/quiz/lang/en/quiz.php | 2 ++ 2 files changed, 7 insertions(+) diff --git a/lib/pluginlib.php b/lib/pluginlib.php index 9cdc83a4f04..d5d5996cb57 100644 --- a/lib/pluginlib.php +++ b/lib/pluginlib.php @@ -340,6 +340,11 @@ class plugin_manager { 'grading', 'overview', 'responses', 'statistics' ), + 'quizaccess' => array( + 'delaybetweenattempts', 'ipaddress', 'numattempts', 'openclosedate', + 'password', 'safebrowser', 'securewindow', 'timelimit' + ), + 'report' => array( 'backups', 'configlog', 'courseoverview', 'log', 'questioninstances', 'security', 'stats' diff --git a/mod/quiz/lang/en/quiz.php b/mod/quiz/lang/en/quiz.php index 119a3926e8f..c33daa9f2e6 100644 --- a/mod/quiz/lang/en/quiz.php +++ b/mod/quiz/lang/en/quiz.php @@ -720,6 +720,8 @@ $string['subneterror'] = 'Sorry, this quiz has been locked so that it is only ac $string['subnetnotice'] = 'This quiz has been locked so that it is only accessible from certain locations. Your computer is not on an allowed subnet. As teacher you are allowed to preview anyway.'; $string['subplugintype_quiz'] = 'Report'; $string['subplugintype_quiz_plural'] = 'Reports'; +$string['subplugintype_quizaccess'] = 'Access rule'; +$string['subplugintype_quizaccess_plural'] = 'Access rules'; $string['substitutedby'] = 'will be substituted by'; $string['summaryofattempt'] = 'Summary of attempt'; $string['summaryofattempts'] = 'Summary of your previous attempts';