belanglose vervollst?ndigung / test
This commit is contained in:
commit
a017c7a79d
177 changed files with 14495 additions and 0 deletions
52
views/html/questgroups/questgroup.tpl
Normal file
52
views/html/questgroups/questgroup.tpl
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
<h1><?=_('Seminaries')?></h1>
|
||||
<h2><?=$seminary['title']?></h2>
|
||||
|
||||
<?=$questgroupshierarchypath?>
|
||||
<?=$questgroupspicture?>
|
||||
|
||||
<h3><?=$questgroupshierarchy['title_singular']?> <?=$questgroup['pos']?>: <?=$questgroup['title']?></h3>
|
||||
<?php foreach($texts as &$text) : ?>
|
||||
<p><?=\hhu\z\Utils::t($text['text'])?></p>
|
||||
<?php endforeach ?>
|
||||
|
||||
<?php foreach($childquestgroupshierarchy as &$hierarchy) : ?>
|
||||
<?php if(count($hierarchy['questgroups']) > 0) : ?>
|
||||
<h3><?=$hierarchy['title_plural']?></h3>
|
||||
<ul>
|
||||
<?php foreach($hierarchy['questgroups'] as &$group) : ?>
|
||||
<li>
|
||||
<?=$hierarchy['title_singular']?> <?=$group['pos']?>:
|
||||
<?php if(!array_key_exists('access', $group) || $group['access']) : ?>
|
||||
<a href="<?=$linker->link(array('questgroups','questgroup',$seminary['url'],$group['url']))?>"><?=$group['title']?></a>
|
||||
<?php else : ?>
|
||||
<?=_('locked')?>
|
||||
<?php endif ?>
|
||||
</li>
|
||||
<?php endforeach?>
|
||||
</ul>
|
||||
<?php endif ?>
|
||||
<?php endforeach ?>
|
||||
|
||||
<?php if(isset($quests) && !is_null($quests)) : ?>
|
||||
<h3><?=_('Quests')?></h3>
|
||||
<ul>
|
||||
<?php foreach($quests as &$quest) : ?>
|
||||
<li>
|
||||
<?php if(!array_key_exists('access', $quest) || $quest['access']) : ?>
|
||||
<a href="<?=$linker->link(array('quests','quest',$seminary['url'],$questgroup['url'],$quest['url']))?>"><?=$quest['title']?></a>
|
||||
<?php if(count($quest['sidequests']) > 0) : ?>
|
||||
<br />
|
||||
<?=_('containing optional Quests')?>:
|
||||
<ul>
|
||||
<?php foreach($quest['sidequests'] as &$sidequest) : ?>
|
||||
<li><?=$sidequest['title']?></li>
|
||||
<?php endforeach ?>
|
||||
</ul>
|
||||
<?php endif ?>
|
||||
<?php else : ?>
|
||||
<?=_('locked')?>
|
||||
<?php endif ?>
|
||||
</li>
|
||||
<?php endforeach ?>
|
||||
</ul>
|
||||
<?php endif ?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue