fix languages

This commit is contained in:
Dennis Eichhorn 2021-02-07 15:03:40 +01:00
parent 8d90a78b26
commit 60005d61e0
2 changed files with 5 additions and 5 deletions

View File

@ -43,7 +43,7 @@ echo $this->getData('nav')->render(); ?>
<?php $tags = $doc->getTags(); foreach ($tags as $tag) : ?> <?php $tags = $doc->getTags(); foreach ($tags as $tag) : ?>
<span class="tag" style="background: <?= $this->printHtml($tag->color); ?>"><?= $tag->icon !== null ? '<i class="' . $this->printHtml($tag->icon ?? '') . '"></i>' : ''; ?><?= $this->printHtml($tag->getTitle()); ?></span> <span class="tag" style="background: <?= $this->printHtml($tag->color); ?>"><?= $tag->icon !== null ? '<i class="' . $this->printHtml($tag->icon ?? '') . '"></i>' : ''; ?><?= $this->printHtml($tag->getTitle()); ?></span>
<?php endforeach; ?> <?php endforeach; ?>
<a href="<?= $url; ?>" class="button floatRight">More</a> <a href="<?= $url; ?>" class="button floatRight"><?= $this->getHtml('More', '0', '0'); ?></a>
</div> </div>
</div> </div>
</div> </div>
@ -54,7 +54,7 @@ echo $this->getData('nav')->render(); ?>
<div class="col-xs-12 col-md-4 col-lg-3"> <div class="col-xs-12 col-md-4 col-lg-3">
<section class="portlet"> <section class="portlet">
<div class="portlet-head">App</div> <div class="portlet-head"><?= $this->getHtml('App'); ?></div>
<div class="portlet-body"> <div class="portlet-body">
<form> <form>
<select> <select>
@ -67,7 +67,7 @@ echo $this->getData('nav')->render(); ?>
</section> </section>
<section class="portlet"> <section class="portlet">
<div class="portlet-head">Categories</div> <div class="portlet-head"><?= $this->getHtml('Categories'); ?></div>
<div class="portlet-body"> <div class="portlet-body">
<ul> <ul>
<?php foreach ($categories as $category) : ?> <?php foreach ($categories as $category) : ?>

View File

@ -51,7 +51,7 @@ echo $this->getData('nav')->render();
</div> </div>
<?php if ($editable) : ?> <?php if ($editable) : ?>
<div class="col-xs-6 rightText"> <div class="col-xs-6 rightText">
<a tabindex="0" class="button" href="<?= \phpOMS\Uri\UriFactory::build('{/prefix}wiki/doc/edit?id=' . $doc->getId()); ?>">Edit</a> <a tabindex="0" class="button" href="<?= \phpOMS\Uri\UriFactory::build('{/prefix}wiki/doc/edit?id=' . $doc->getId()); ?>"><?= $this->getHtml('Edit', '0', '0'); ?></a>
</div> </div>
<?php endif; ?> <?php endif; ?>
</div> </div>
@ -62,7 +62,7 @@ echo $this->getData('nav')->render();
<div class="col-xs-12 col-md-4 col-lg-3"> <div class="col-xs-12 col-md-4 col-lg-3">
<section class="portlet"> <section class="portlet">
<div class="portlet-head">Categories</div> <div class="portlet-head"><?= $this->getHtml('Categories'); ?></div>
<div class="portlet-body"> <div class="portlet-body">
<ul> <ul>
<?php foreach ($categories as $category) : ?> <?php foreach ($categories as $category) : ?>