diff --git a/db/upgrade.php b/db/upgrade.php index 08c3218..5abd3f7 100644 --- a/db/upgrade.php +++ b/db/upgrade.php @@ -225,7 +225,7 @@ function xmldb_plagiarism_turnitinsim_upgrade($oldversion) { } // This block will rename database fields that have underscores. - if ($oldversion < 2020032403) { + if ($oldversion < 2020032404) { $table = new xmldb_table('plagiarism_turnitinsim_sub'); $field = new xmldb_field('submitted_time', XMLDB_TYPE_INTEGER, '10', null, false, null, null, 'type'); @@ -253,7 +253,7 @@ function xmldb_plagiarism_turnitinsim_upgrade($oldversion) { $dbman->rename_field($table, $field, 'requestedtime'); } - upgrade_plugin_savepoint(true, 2020032403, 'plagiarism', 'turnitinsim'); + upgrade_plugin_savepoint(true, 2020032404, 'plagiarism', 'turnitinsim'); } return true; diff --git a/templates/modal_eula.mustache b/templates/modal_eula.mustache index 370f7b6..e639214 100644 --- a/templates/modal_eula.mustache +++ b/templates/modal_eula.mustache @@ -18,6 +18,24 @@ @template plagiarism_turnitinsim/modal_eula Shown for a user to accept or decline the EULA. + + Classes required for JS: + * none + + Data attributes required for JS: + * none + + Context variables required for this template: + * title Content for the title + * body Content for the body + * footer Content for the footer + + Example context (json): + { + "title": "Example modal", + "body": "Some example content for the body", + "footer": "Accept, decline buttons." + } }} {{< core/modal }} {{$title}}{{# str }} eulaheader, plagiarism_turnitinsim {{/ str }}{{/title}} diff --git a/version.php b/version.php index 1669f19..94e046f 100644 --- a/version.php +++ b/version.php @@ -25,7 +25,7 @@ defined('MOODLE_INTERNAL') || die(); -$plugin->version = 2020032403; +$plugin->version = 2020032404; $plugin->release = "v1.0"; $plugin->requires = 2017051500; $plugin->component = 'plagiarism_turnitinsim';