mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
insert modified submission form for mobile phone output
This commit is contained in:
parent
1ebc0e6238
commit
6d8ddde3f3
1 changed files with 1 additions and 1 deletions
|
@ -198,7 +198,7 @@
|
|||
default:
|
||||
$hp->remove_nav_buttons();
|
||||
}
|
||||
if ($CFG->hotpotismobile) {
|
||||
if (isset($hp->real_outputformat) && $hp->real_outputformat==HOTPOT_OUTPUTFORMAT_MOBILE) {
|
||||
$hp->insert_submission_form($attemptid, '<!-- BeginSubmissionForm -->', '<!-- EndSubmissionForm -->', true);
|
||||
} else {
|
||||
$hp->insert_submission_form($attemptid, '<!-- BeginSubmissionForm -->', '<!-- EndSubmissionForm -->');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue