fixed order of achievement title and count
This commit is contained in:
commit
df3dd6466c
3459 changed files with 594367 additions and 0 deletions
11
questtypes/textinput/html/quest.tpl
Normal file
11
questtypes/textinput/html/quest.tpl
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<form method="post" class="textinput">
|
||||
<p>
|
||||
<?php foreach($texts as $i => &$text) : ?>
|
||||
<?php if($i > 0) : ?>
|
||||
<input type="text" name="answers[<?=$i-1?>]" value="<?=$regexs[$i-1]['answer']?>" />
|
||||
<?php endif ?>
|
||||
<?=$t->t($text)?>
|
||||
<?php endforeach ?>
|
||||
</p>
|
||||
<input type="submit" name="submit" value="<?=_('solve')?>" />
|
||||
</form>
|
||||
7
questtypes/textinput/html/submission.tpl
Normal file
7
questtypes/textinput/html/submission.tpl
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
<?php foreach($texts as $i => &$text) : ?>
|
||||
<?php if($i > 0) : ?>
|
||||
<span style="background-color:grey"><?=$regexs[$i-1]['answer']?></span>
|
||||
<?php if($regexs[$i-1]['right']) : ?>✓<?php else: ?>✕<?php endif ?>
|
||||
<?php endif ?>
|
||||
<?=$t->t($text)?>
|
||||
<?php endforeach ?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue