Файл: concrete5.7.5.6/concrete/blocks/file/composer.php
Строк: 21
<?php defined('C5_EXECUTE') or die("Access Denied.");
$form = Loader::helper('form');
$html = Loader::helper('html');
$url = Loader::helper('concrete/urls');
if ($controller->getFileID() > 0) {
$bf = $controller->getFileObject();
}
$setcontrol = $control->getPageTypeComposerFormLayoutSetControlObject();
$al = Loader::helper('concrete/asset_library');
?>
<div class="control-group">
<label class="control-label"><?php echo $label?></label>
<?php if($description): ?>
<i class="fa fa-question-circle launch-tooltip" title="" data-original-title="<?php echo $description?>"></i>
<?php endif; ?>
<div class="controls">
<?php echo $al->file('ccm-b-file-'.$setcontrol->getPageTypeComposerFormLayoutSetControlID(), $view->field('fID'), t('Choose File'), $bf); ?>
</div>
</div>