<div class="page-header">
    <h2><?php echo _escape($title); ?></h2>
</div>
<div class="card bg-light mb-3">
    <div class="card-heading">
        <strong><?php echo _a('About') ?></strong>
    </div>
    <div class="card-text">
        <div class="media">
            <div class="float-left" style="margin-right: 20px;">
                <i class="fa <?php echo $data['icon'] ?: 'fa-th'; ?> fa-5x"></i>
            </div>
            <div class="media-body">
                <legend><?php echo _a('Module information'); ?></legend>
                <dl class="dl-horizontal">
                    <dt><?php echo _a('Title:'); ?>
                    <dd><?php echo _escape($data['title']); ?>
                    <dt><?php echo _a('Version:'); ?>
                    <dd><?php echo _escape($data['version']); ?>
                    <dt><?php echo _a('Update:'); ?>
                    <dd><?php echo _escape($data['update']); ?>
                    <dt><?php echo _a('Description:'); ?>
                    <dd><?php echo _escape($data['description']); ?>
                        <?php if (!empty($data['demo'])) { ?>
                    <dt><?php echo _a('Demo:'); ?>
                    <dd><?php echo _escape($data['demo']); ?>
                        <?php } ?>
                </dl>
                <legend><?php echo _a('Author information'); ?></legend>
                <dl class="dl-horizontal" style="margin-bottom: 0;">
                    <?php
                    foreach ($data['author'] as $key => $value) {
                        echo '<dt>' . _escape($key) . ':';
                        echo '<dd>' . _escape($value);
                    }
                    ?>
                </dl>
            </div>
        </div>
    </div>
</div>
<?php if (!empty($summary)) { ?>
    <div class="card bg-light mb-3">
        <div class="card-heading">
            <?php echo _a('Summary'); ?>
        </div>
        <div class="card-text">
            <?php echo $summary; ?>
        </div>
    </div>
<?php } ?>