@@ -9,7 +9,7 @@ |
||
9 | 9 | $primaryValue = isset($options['value']) ? $options['value'] : null; |
10 | 10 | $primaryValue = is_array($primaryValue) && isset($primaryValue['primary']) ? $primaryValue['primary'] : $primaryValue; |
11 | 11 | if (is_numeric($key) && !is_array($primaryValue) && $primaryValue !== '') { |
12 | - $primaryValue = (int)$primaryValue; |
|
12 | + $primaryValue = (int) $primaryValue; |
|
13 | 13 | } |
14 | 14 | if ( |
15 | 15 | (!is_array($primaryValue) && ($key === $primaryValue || (isset($form->userDataTree[$name]) && $form->userDataTree[$name] === $key))) || |
@@ -16,7 +16,7 @@ |
||
16 | 16 | </div> |
17 | 17 | <div class="col-md-9"> |
18 | 18 | <h2 class="category-name"><?= $category ? $category->name : 'Каталог продукции'; ?></h2> |
19 | - <?php $this->widget('Ecommerce\items/showOptions');?> |
|
19 | + <?php $this->widget('Ecommerce\items/showOptions'); ?> |
|
20 | 20 | <?php $this->widget('Ecommerce\items/icons', compact('items')); ?> |
21 | 21 | <?php $this->widget('Ecommerce\items/table', ['items' => $items, 'hide' => true]); ?> |
22 | 22 | <div class="text-center"> |
@@ -10,7 +10,7 @@ |
||
10 | 10 | </a> |
11 | 11 | </h4> |
12 | 12 | <a href="/ecommerce/view/<?= $item->id; ?>"> |
13 | - <img src="<?= Statics::file($item->image ? $item->image->path :false, '200x200', 'q'); ?>" class="img-responsive" style = 'margin:0 auto;'/> |
|
13 | + <img src="<?= Statics::file($item->image ? $item->image->path : false, '200x200', 'q'); ?>" class="img-responsive" style = 'margin:0 auto;'/> |
|
14 | 14 | </a> |
15 | 15 | <div class="item-actions"> |
16 | 16 | <div class="btn-group btn-group-justified"> |