<?
/**
 * @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'); ?>

<? if (option('track_downloads')): ?>
    <?= helper('behavior.download_tracker'); ?>
<? endif; ?>

<div class="docman_document_layout">


    <? // Document | Import partial template from document view ?>
    <?= import('com://site/docman/document/document.html', [
        'document' => $document,
        'heading'  => '1',
        'buttonstyle' => 'btn-primary',
        'link'     => 1
    ]) ?>

</div>