%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/vacivi36/intranet.vacivitta.com.br/protected/modules/wiki/widgets/views/
Upload File :
Create Path :
Current File : /home/vacivi36/intranet.vacivitta.com.br/protected/modules/wiki/widgets/views/categoryListView.php

<?php

use humhub\libs\Html;
use humhub\modules\wiki\widgets\CategoryListItem;

/* @var $contentContainer \humhub\modules\content\components\ContentContainerActiveRecord */
/* @var $categories \humhub\modules\wiki\models\WikiPage[] */
/* @var $unsortedPages \humhub\modules\wiki\models\WikiPage[] */
/* @var $options [] */
/* @var $showAddPage bool */
/* @var $showDrag bool */
?>
<?= Html::beginTag('ul', $options) ?>

    <?php foreach ($categories as $category): ?>
        <?php if ($category->content->canView()) : ?>
            <?= CategoryListItem::widget([
                'category' => $category,
                'contentContainer' => $contentContainer,
                'showDrag' => $showDrag,
                'showAddPage' => $showAddPage,
            ]) ?>
        <?php endif; ?>
    <?php endforeach; ?>


    <?php if (count($unsortedPages)) : ?>
        <?= CategoryListItem::widget([
            'title' => Yii::t('WikiModule.base', 'Pages without category'),
            'hideTitle' => empty($categories),
            'pages' => $unsortedPages,
            'contentContainer' => $contentContainer
        ]) ?>
    <?php endif; ?>

<?= Html::endTag('ul') ?>

Zerion Mini Shell 1.0