Skip to content

Commit

Permalink
chore: more code style violations + typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Pol Torrent i Soler committed Dec 16, 2024
1 parent 13836f0 commit fa23839
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion edit_wq_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,10 @@ protected function definition_inner($mform) {
if (empty($wiris)) {
// Corrupted question.
$corruptwarning =
$mform->createElement('html', '<div class="wiriscorruptquestionedit">' . get_string('corruptquestion_edit', 'qtype_wq') . '</div');
$mform->createElement(
'html',
'<div class="wiriscorruptquestionedit">' . get_string('corruptquestion_edit', 'qtype_wq') . '</div>'
);
$mform->insertElementBefore($corruptwarning, 'generalheader');
$program = '<question/>';
} else {
Expand Down
2 changes: 1 addition & 1 deletion lang/en/qtype_wq.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
$string['wq'] = 'Wiris Quizzes';
$string['pluginname'] = 'Wiris Quizzes';
$string['access_provider_enabled'] = 'Access control';
$string['access_provider_enabled_help'] = 'If enabled ony authenticated users can access Wiris services.';
$string['access_provider_enabled_help'] = 'If enabled, only authenticated users can access Wiris services.';
$string['pluginnamesummary'] = '';
$string['wq_help'] = 'Generic Wiris Quizzes Help';
$string['editingwq'] = 'Editing a generic Wiris Quizzes question';
Expand Down

0 comments on commit fa23839

Please sign in to comment.