Файл: concrete5.7.5.6/concrete/blocks/core_scrapbook_display/edit.php
Строк: 17
<?php
use ConcreteCoreBlockViewBlockView;
defined('C5_EXECUTE') or die("Access Denied.");
$bo = Block::getByID($bOriginalID);
$bp = new Permissions($bo);
$bo->setProxyBlock($b);
if ($bp->canWrite()) {
$bv = new BlockView($bo);
?>
<div class="ccm-ui">
<div class="alert alert-info">
<?php echo t("This block was copied from another location. Editing it will create a new instance of it.") ?>
</div>
</div>
<?php
$bv->addScopeItems($view->getScopeItems());
$bv->render('edit');
}