Questtype ?textinput?: store number of correct answers between redirects (fixes #90)
This commit is contained in:
parent
989a0019c3
commit
f5a8e51cbd
4 changed files with 35 additions and 18 deletions
|
|
@ -9,8 +9,8 @@
|
|||
<?php endforeach ?>
|
||||
<?=$t->t(mb_substr($task['text'], $posStart, mb_strlen($task['text'], 'UTF-8')-$posStart, 'UTF-8'))?>
|
||||
</p>
|
||||
<?php if($showcount) : ?>
|
||||
<p><?=sprintf(_('You filled %d of %d fields correctly'), $count, count($fields))?>.</p>
|
||||
<?php if(!is_null($nCorrectAnswers)) : ?>
|
||||
<p><?=sprintf(_('You filled %d of %d fields correctly'), $nCorrectAnswers, count($fields))?>.</p>
|
||||
<?php endif ?>
|
||||
<input type="submit" name="submit" value="<?=_('solve')?>" />
|
||||
</form>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue