<?
/**
 * @package     DOCman
 * @copyright   Copyright (C) 2019 Timble CVBA. (http://www.timble.net)
 * @license     GNU GPLv3 <http://www.gnu.org/licenses/gpl.html>
 * @link        http://www.joomlatools.com
 */
defined('FOLIOKIT') or die; ?>

<?= helper('ui.load'); ?>
<?= helper('behavior.jquery'); ?>
<?= helper('behavior.modal'); ?>

<? foreach ($documents as $document): ?>
    <? // Document | Import child template from document view ?>
    <?= import('com://site/docman/document/document.html', [
        'document'    => $document,
        'heading'     => '4',
        'buttonstyle' => 'btn-default',
        'link'        => 1,
        'description' => 'summary',
        'manage'      => false
    ]) ?>
<? endforeach ?>
