View file modules/admin/templates/antispy_scan_result.phtml

File size: 1.07Kb
<?php

/**
 * This file is part of JohnCMS Content Management System.
 *
 * @copyright JohnCMS Community
 * @license   https://opensource.org/licenses/GPL-3.0 GPL-3.0
 * @link      https://johncms.com JohnCMS Project
 */

/**
 * @var $title
 * @var $page_title
 * @var $data
 */

$this->layout(
    'system::layout/default',
    [
        'title'      => $title,
        'page_title' => $page_title,
    ]
);
$this->sectionReplace('sidebar-menu', $this->fetch('admin::sidebar-admin-menu', ['sec_menu' => ['antispy' => true]]));
?>

<div class="alert alert-danger">
    <div class="pb-2">
        <?= __('Snapshot Inconsistency<br>Warning! You need to pay attention to all files from the list. They have been added or modified since the image created.') ?>
    </div>
</div>

<div class="mb-3">
    <h3><?= __('List of files') ?></h3>
    <ul>
        <?php foreach ($data['bad_files'] as $file): ?>
            <li><?= $file['file_path'] ?></li>
        <?php endforeach; ?>
    </ul>
</div>
<div>
    <a href="<?= $data['back_url'] ?>" class="btn btn-outline-secondary"><?= __('Back') ?></a>
</div>