Browse files

insert modified submission form for mobile phone output

  • Loading branch information...
1 parent 1ebc0e6 commit 6d8ddde3f32692af8280fb69e431a01e296dfeb9 gbateson committed Oct 12, 2005
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/hotpot/view.php
View
2 mod/hotpot/view.php
@@ -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 -->');

0 comments on commit 6d8ddde

Please sign in to comment.