show correct answer only with link (Issue #46)

This commit is contained in:
coderkun 2014-03-22 21:19:25 +01:00
commit 1cf1e86ff7
10 changed files with 48 additions and 41 deletions

View file

@ -64,7 +64,7 @@
<?php if(!is_null($nextquests) || !is_null($nextquestgroup)) : ?>
<section>
<p><?=_('Task successfully solved')?></p>
<p><?=_('Task successfully solved')?> (<a href="<?=$linker->link(null,0,false,array('show-answer'=>'true'))?>"><?=_('Show correct answer')?></a>)</p>
<h1><?=_('Go on') ?></h1>
<?php if(count($nextquests) > 0) : ?>
<ul>