PHP Classes

File: src/views/default/blacklist.php

Recommend this page to a friend!
  Classes of Insolita   Yii2 Opcache   src/views/default/blacklist.php   Download  
File: src/views/default/blacklist.php
Role: Auxiliary script
Content type: text/plain
Description: View script
Class: Yii2 Opcache
Show and update the PHP Opcache settings
Author: By
Last change:
Date: 1 month ago
Size: 1,153 bytes
 

Contents

Class file image Download
<?php
/**
 * @var \yii\web\View $this
 * @var \insolita\opcache\controllers\DefaultController $context
 * @var string $version
 * @var array $blackList
 * @var string $blackFile
 **/
?>
<div class="panel panel-info">
    <div class="panel-heading">
        <div class="panel-title"><?= $version ?></div>
    </div>
    <div class="panel-body">
        <?=$this->render('_menu')?>
<?php if(empty($blackList)):?>
<?=\insolita\opcache\utils\Translator::t('black_list_notice')?>
<?php else:?>
<table class="table table-condensed table-stripped">
                <caption>
                    <b><?=\insolita\opcache\utils\Translator::t('black_list_file')?> <?=$blackFile?></b>
                </caption>
                <tr><th> <?=\insolita\opcache\utils\Translator::t('black_list_ignors')?></th></tr>
                <?php foreach ($blackList as $file):?>
<tr>
                        <td> <?=$file?></td>
                    </tr>
                <?php endforeach;?>
</table>
        <?php endif;?>
</div>
</div>