Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php echo $form->label('link', 'Link');?>
- <?php echo $form->text('link', $link, array('style' => 'width: 320px'));?>
- <?php echo $form->label('title', 'Title');?>
- <?php echo $form->text('title', $title, array('style' => 'width: 320px'));?>
- <?php echo $form->label('content', 'Content');?>
- <?php echo $form->textarea('content', $content, array('style' => 'width: 320px'));?>
- <!--<?php echo $form->label('file', 'File');?>
- <?php echo $form->file('file', $file, array('style' => 'width: 320px'));?>-->
- <?php
- defined('C5_EXECUTE') or die(_("Access Denied."));
- $includeAssetLibrary = true;
- $assetLibraryPassThru = array(
- 'type' => 'image'
- );
- $al = Loader::helper('concrete/asset_library');
- $bf = null;
- $bfo = null;
- if ($controller->getFileID() > 0) {
- $bf = $controller->getFileObject();
- }
- if ($controller->getFileOnstateID() > 0) {
- $bfo = $controller->getFileOnstateObject();
- }
- ?>
- <div class="ccm-block-field-group">
- <h2><?php echo t('Image')?></h2>
- <?php echo $al->image('ccm-b-image', 'file', t('Choose Image'), $bf);?>
- </div>
Add Comment
Please, Sign In to add comment