|
@@ -6,6 +6,7 @@
|
|
|
* @copyright Copyright (c) 2016 FecShop Software LLC
|
|
|
* @license http://www.fecshop.com/license/
|
|
|
*/
|
|
|
+
|
|
|
?>
|
|
|
<?php $options_attr_arr = $parentThis['options']; ?>
|
|
|
|
|
@@ -13,7 +14,21 @@
|
|
|
<?php if(is_array($options_attr_arr) && !empty($options_attr_arr)): ?>
|
|
|
<?php foreach($options_attr_arr as $one): ?>
|
|
|
<div class="pg">
|
|
|
- <div class="label size-label"><?= Yii::$service->page->translate->__(ucfirst($one['label']).':'); ?></div>
|
|
|
+ <div class="label size-label"><?= Yii::$service->page->translate->__(ucfirst($one['label']).':'); ?>
|
|
|
+
|
|
|
+ <?php if(is_array($one['value']) && !empty($one['value'])): ?>
|
|
|
+ <?php foreach($one['value'] as $info): ?>
|
|
|
+ <?php $attr_val = $info['attr_val']; ?>
|
|
|
+ <?php $active = $info['active']; ?>
|
|
|
+
|
|
|
+ <?php if($active == 'current'): ?>
|
|
|
+ <?= Yii::$service->page->translate->__($attr_val); ?>
|
|
|
+ <?php endif; ?>
|
|
|
+ <?php endforeach; ?>
|
|
|
+ <?php endif; ?>
|
|
|
+
|
|
|
+
|
|
|
+ </div>
|
|
|
<div class="chose_size rg">
|
|
|
<ul>
|
|
|
<?php if(is_array($one['value']) && !empty($one['value'])): ?>
|