place wrong and right texts for Station tasks in boxes
This commit is contained in:
parent
b511a960c8
commit
e4b7980500
1 changed files with 12 additions and 15 deletions
|
|
@ -175,9 +175,10 @@
|
||||||
<?php if(!is_null($task)) : ?>
|
<?php if(!is_null($task)) : ?>
|
||||||
<h1 id="task"><?=_('Task')?></h1>
|
<h1 id="task"><?=_('Task')?></h1>
|
||||||
|
|
||||||
<?php if($tried) : ?>
|
<?php if($solved) : ?>
|
||||||
<?php if($solved): ?>
|
<div class="success">
|
||||||
<div class="text">
|
<p class="fwb"><i class="fa fa-check-circle fa-fw"></i><?=_('solved')?></p>
|
||||||
|
<p><small><?=$t->t($station['righttext'])?></small></p>
|
||||||
<?php if(array_key_exists('rightimage', $station)) : ?>
|
<?php if(array_key_exists('rightimage', $station)) : ?>
|
||||||
<a href="<?=$linker->link(array('media','seminary',$seminary['url'],$station['rightimage']['url']))?>">
|
<a href="<?=$linker->link(array('media','seminary',$seminary['url'],$station['rightimage']['url']))?>">
|
||||||
<img src="<?=$linker->link(array('media','seminary',$seminary['url'],$station['rightimage']['url'],'charactergroupsqueststation'))?>" />
|
<img src="<?=$linker->link(array('media','seminary',$seminary['url'],$station['rightimage']['url'],'charactergroupsqueststation'))?>" />
|
||||||
|
|
@ -190,10 +191,11 @@
|
||||||
<video controls="controls" autoplay="autoplay" preload="metadata" src="<?=$linker->link(array('media','seminary',$seminary['url'],$station['rightav']['url']))?>"></video>
|
<video controls="controls" autoplay="autoplay" preload="metadata" src="<?=$linker->link(array('media','seminary',$seminary['url'],$station['rightav']['url']))?>"></video>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
<?=$t->t($station['righttext'])?>
|
|
||||||
</div>
|
</div>
|
||||||
<?php else : ?>
|
<?php elseif($tried) : ?>
|
||||||
<div class="text">
|
<div class="error">
|
||||||
|
<p class="fwb"><i class="fa fa-times-circle fa-fw"></i><?=_('unsolved')?></p>
|
||||||
|
<p><small><?=$t->t($station['wrongtext'])?></small></p>
|
||||||
<?php if(array_key_exists('wrongimage', $station)) : ?>
|
<?php if(array_key_exists('wrongimage', $station)) : ?>
|
||||||
<a href="<?=$linker->link(array('media','seminary',$seminary['url'],$station['wrongimage']['url']))?>">
|
<a href="<?=$linker->link(array('media','seminary',$seminary['url'],$station['wrongimage']['url']))?>">
|
||||||
<img src="<?=$linker->link(array('media','seminary',$seminary['url'],$station['wrongimage']['url'],'charactergroupsqueststation'))?>" />
|
<img src="<?=$linker->link(array('media','seminary',$seminary['url'],$station['wrongimage']['url'],'charactergroupsqueststation'))?>" />
|
||||||
|
|
@ -206,21 +208,16 @@
|
||||||
<video controls="controls" autoplay="autoplay" preload="metadata" src="<?=$linker->link(array('media','seminary',$seminary['url'],$station['wrongav']['url']))?>"></video>
|
<video controls="controls" autoplay="autoplay" preload="metadata" src="<?=$linker->link(array('media','seminary',$seminary['url'],$station['wrongav']['url']))?>"></video>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
<?=$t->t($station['wrongtext'])?>
|
|
||||||
</div>
|
</div>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
<p>
|
|
||||||
<a class="cta orange" href="<?=$linker->link(array('charactergroupsquests','quest',$seminary['url'],$groupsgroup['url'],$quest['url']))?>"><?=_('Back to overview')?></a>
|
|
||||||
</p>
|
|
||||||
<?php else : ?>
|
|
||||||
<div>
|
<div>
|
||||||
<?=$t->t($station['task'])?>
|
<?=$t->t($station['task'])?>
|
||||||
<?=$task?>
|
<?=$task?>
|
||||||
</div>
|
</div>
|
||||||
<?php endif ?>
|
<?php if($tried) : ?>
|
||||||
|
<p><a class="cta orange" href="<?=$linker->link(array('charactergroupsquests','quest',$seminary['url'],$groupsgroup['url'],$quest['url']))?>"><?=_('Back to overview')?></a></p>
|
||||||
|
<?php endif ?>
|
||||||
<?php else : ?>
|
<?php else : ?>
|
||||||
<p>
|
<p><a class="cta orange" href="<?=$linker->link(array('charactergroupsquests','quest',$seminary['url'],$groupsgroup['url'],$quest['url']))?>"><?=_('Back to overview')?></a></p>
|
||||||
<a class="cta orange" href="<?=$linker->link(array('charactergroupsquests','quest',$seminary['url'],$groupsgroup['url'],$quest['url']))?>"><?=_('Back to overview')?></a>
|
|
||||||
</p>
|
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
</section>
|
</section>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue