add correct abstract to seminary page

This commit is contained in:
coderkun 2014-03-19 00:49:19 +01:00
commit def8b192e1
4 changed files with 78 additions and 6 deletions

View file

@ -1,6 +1,6 @@
<h1><?=_('Seminaries')?></h1>
<h2><?=$seminary['title']?></h2>
<h3>Beschreibung</h3>
<h3><?=_('Description')?></h3>
<p><?=\hhu\z\Utils::t($seminary['description'])?></p>
<?php foreach($questgroupshierarchy as &$hierarchy) : ?>
@ -18,7 +18,9 @@
</div>
<p class="xpnumeric">350 / 450 XP</p>
</div>
<p>Einleitungstext: Mit völlig verseuchtem Tagewerk machst du dich an die Arbeit und stellst schnell fest...</p>
<?php if(array_key_exists('text', $group)) : ?>
<p><?=$group['text']?></p>
<?php endif ?>
<a href="<?=$linker->link(array('questgroups','questgroup',$seminary['url'],$group['url']))?>" class="cta orange">Auf ins Abenteuer!</a>
<?php else : ?>
<?=_('locked')?></p>
@ -39,4 +41,4 @@
</nav>
<p>
<?=sprintf(_('created by %s on %s'), $seminary['creator']['username'], $dateFormatter->format(new \DateTime($seminary['created'])))?>
</p>
</p>