mirror of
https://github.com/Karaka-Management/oms-Knowledgebase.git
synced 2026-02-08 14:28:41 +00:00
fix bugs
This commit is contained in:
parent
573d45454d
commit
d0eeef405d
|
|
@ -38,7 +38,7 @@ echo $this->data['nav']->render(); ?>
|
||||||
<?= Markdown::parse(\substr($doc->docRaw, 0, 500)); ?>
|
<?= Markdown::parse(\substr($doc->docRaw, 0, 500)); ?>
|
||||||
</article>
|
</article>
|
||||||
<?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); ?>"><?= empty($tag->icon) ? '' : '<i class="g-icon">' . $this->printHtml($tag->icon) . '</i>'; ?><?= $this->printHtml($tag->getL11n()); ?></span>
|
<span class="tag" style="background: <?= $this->printHtml($tag->color); ?>"><?= empty($tag->icon) ? '' : ''; ?><?= $this->printHtml($tag->getL11n()); ?></span>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="portlet-foot">
|
<div class="portlet-foot">
|
||||||
|
|
|
||||||
|
|
@ -42,7 +42,7 @@ echo $this->data['nav']->render();
|
||||||
<article><?= $doc->doc; ?></article>
|
<article><?= $doc->doc; ?></article>
|
||||||
|
|
||||||
<?php foreach ($tags as $tag) : ?>
|
<?php foreach ($tags as $tag) : ?>
|
||||||
<span class="tag" style="background: <?= $this->printHtml($tag->color); ?>"><?= empty($tag->icon) ? '' : '<i class="g-icon">' . $this->printHtml($tag->icon) . '</i>'; ?><?= $this->printHtml($tag->getL11n()); ?></span>
|
<span class="tag" style="background: <?= $this->printHtml($tag->color); ?>"><?= empty($tag->icon) ? '' : ''; ?><?= $this->printHtml($tag->getL11n()); ?></span>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
|
|
||||||
<?php $files = $doc->getMedia(); foreach ($files as $file) : ?>
|
<?php $files = $doc->getMedia(); foreach ($files as $file) : ?>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user