|
| 1 | +<?php |
| 2 | +$formStem = $block->getFormStem(); |
| 3 | +$options = $block->getOptions(); |
| 4 | +?> |
| 5 | +<div class="selected-items"> |
| 6 | + <h4><?php echo __('Items'); ?></h4> |
| 7 | + <?php echo $this->exhibitFormAttachments($block); ?> |
| 8 | +</div> |
| 9 | + |
| 10 | +<div class="layout-options"> |
| 11 | + <div class="block-header"> |
| 12 | + <h4><?php echo __('Layout Options'); ?></h4> |
| 13 | + <div class="drawer"></div> |
| 14 | + </div> |
| 15 | + |
| 16 | + <div class="file-position"> |
| 17 | + <?php echo $this->formLabel($formStem . '[options][file-position]', __('File position')); ?> |
| 18 | + <?php |
| 19 | + echo $this->formSelect($formStem . '[options][file-position]', |
| 20 | + @$options['file-position'], array(), |
| 21 | + array('left' => __('Left'), 'right' => __('Right'), 'center' => __('Center'))); |
| 22 | + ?> |
| 23 | + </div> |
| 24 | + |
| 25 | + <div class="file-size"> |
| 26 | + <?php echo $this->formLabel($formStem . '[options][file-size]', __('File size')); ?> |
| 27 | + <?php |
| 28 | + echo $this->formSelect($formStem . '[options][file-size]', |
| 29 | + @$options['file-size'], array(), |
| 30 | + array( |
| 31 | + 'fullsize' => __('Fullsize'), |
| 32 | + 'thumbnail' => __('Thumbnail'), |
| 33 | + 'square_thumbnail' => __('Square Thumbnail') |
| 34 | + )); |
| 35 | + ?> |
| 36 | + </div> |
| 37 | + |
| 38 | + <div class="captions-position"> |
| 39 | + <?php echo $this->formLabel($formStem . '[options][captions-position]', __('Captions position')); ?> |
| 40 | + <?php |
| 41 | + echo $this->formSelect($formStem . '[options][captions-position]', |
| 42 | + @$options['captions-position'], array(), |
| 43 | + array( |
| 44 | + 'center' => __('Center'), |
| 45 | + 'left' => __('Left'), |
| 46 | + 'right' => __('Right') |
| 47 | + )); |
| 48 | + ?> |
| 49 | + </div> |
| 50 | + |
| 51 | +</div> |
0 commit comments