Skip to content

Commit

Permalink
Merge pull request #778 from turnitin/collapsing-headers
Browse files Browse the repository at this point in the history
Change name of settings form headers
  • Loading branch information
jack-tii authored Dec 5, 2024
2 parents 5e7fbf8 + 4639892 commit 07422d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions classes/turnitin_view.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,12 +128,12 @@ public function add_elements_to_settings_form($mform, $course, $location = "acti
2 => get_string('excludepercent', 'plagiarism_turnitin'));

if ($location == "defaults") {
$mform->addElement('header', 'plugin_header', get_string('turnitindefaults', 'plagiarism_turnitin'));
$mform->addElement('header', 'turnitin_plugin_header', get_string('turnitindefaults', 'plagiarism_turnitin'));
$mform->addElement('html', get_string("defaultsdesc", "plagiarism_turnitin"));
}

if ($location != "defaults") {
$mform->addElement('header', 'plugin_header', get_string('turnitinpluginsettings', 'plagiarism_turnitin'));
$mform->addElement('header', 'turnitin_plugin_header', get_string('turnitinpluginsettings', 'plagiarism_turnitin'));

// Add in custom Javascript and CSS.
$PAGE->requires->jquery_plugin('ui');
Expand Down

0 comments on commit 07422d7

Please sign in to comment.