Файл: concrete5.7.5.6/concrete/blocks/testimonial/form.php
Строк: 26
<?php defined('C5_EXECUTE') or die("Access Denied."); ?>
<?php
if ($fID > 0) {
$fo = File::getByID($fID);
if (!is_object($fo)) {
unset($fo);
}
}
?>
<div class="form-group">
<?php echo $form->label('fID', t('Picture'));?>
<?php
$al = Loader::helper('concrete/asset_library');
print $al->file('ccm-b-file', 'fID', t('Choose File'), $fo);
?>
</div>
<div class="form-group">
<?php echo $form->label('name', t('Name'));?>
<?php print $form->text('name', $name)?>
</div>
<div class="form-group">
<?php echo $form->label('position', t('Position'));?>
<?php print $form->text('position', $position)?>
</div>
<div class="form-group">
<?php echo $form->label('company', t('Company'));?>
<?php print $form->text('company', $company)?>
</div>
<div class="form-group">
<?php echo $form->label('companyURL', t('Company URL'));?>
<?php print $form->text('companyURL', $companyURL)?>
</div>
<div class="form-group">
<?php echo $form->label('paragraph', t('Bio/Quote')) ?>
<?php print $form->textarea('paragraph', $paragraph, array('rows' => 5))?>
</div>