@@ -124,9 +124,12 @@ discard block |
||
| 124 | 124 | <?= $enc->html( $this->translate( 'admin', 'Types for additional images like icons' ) ); ?> |
| 125 | 125 | </div> |
| 126 | 126 | </div> |
| 127 | - <?php else : ?> |
|
| 127 | + <?php else { |
|
| 128 | + : ?> |
|
| 128 | 129 | <input class="item-type" type="hidden" |
| 129 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'media', 'idx', 'media.type' ) ) ); ?>'.replace( 'idx', idx )" |
|
| 130 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'media', 'idx', 'media.type' ) ) ); |
|
| 131 | +} |
|
| 132 | +?>'.replace( 'idx', idx )" |
|
| 130 | 133 | value="<?= $enc->attr( key( $mediaTypes ) ); ?>" /> |
| 131 | 134 | <?php endif; ?> |
| 132 | 135 | |
@@ -204,9 +207,12 @@ discard block |
||
| 204 | 207 | <?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?> |
| 205 | 208 | </div> |
| 206 | 209 | </div> |
| 207 | - <?php else : ?> |
|
| 210 | + <?php else { |
|
| 211 | + : ?> |
|
| 208 | 212 | <input class="listitem-type" type="hidden" |
| 209 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'media', 'idx', 'catalog.lists.type' ) ) ); ?>'.replace( 'idx', idx )" |
|
| 213 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'media', 'idx', 'catalog.lists.type' ) ) ); |
|
| 214 | +} |
|
| 215 | +?>'.replace( 'idx', idx )" |
|
| 210 | 216 | value="<?= $enc->attr( key( $listTypes ) ); ?>" |
| 211 | 217 | v-model="items[idx]['catalog.lists.type']" /> |
| 212 | 218 | <?php endif; ?> |
@@ -124,9 +124,12 @@ discard block |
||
| 124 | 124 | <?= $enc->html( $this->translate( 'admin', 'Language of the entered text' ) ); ?> |
| 125 | 125 | </div> |
| 126 | 126 | </div> |
| 127 | - <?php else : ?> |
|
| 127 | + <?php else { |
|
| 128 | + : ?> |
|
| 128 | 129 | <input class="text-langid" type="hidden" |
| 129 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.languageid' ) ) ); ?>'.replace('idx', idx)" |
|
| 130 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.languageid' ) ) ); |
|
| 131 | +} |
|
| 132 | +?>'.replace('idx', idx)" |
|
| 130 | 133 | value="<?= $enc->attr( key( $languages ) ); ?>" /> |
| 131 | 134 | <?php endif; ?> |
| 132 | 135 | |
@@ -155,9 +158,12 @@ discard block |
||
| 155 | 158 | <?= $enc->html( $this->translate( 'admin', 'Types for additional texts like per one lb/kg or per month' ) ); ?> |
| 156 | 159 | </div> |
| 157 | 160 | </div> |
| 158 | - <?php else : ?> |
|
| 161 | + <?php else { |
|
| 162 | + : ?> |
|
| 159 | 163 | <input class="item-type" type="hidden" |
| 160 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.type' ) ) ); ?>'.replace('idx', idx)" |
|
| 164 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.type' ) ) ); |
|
| 165 | +} |
|
| 166 | +?>'.replace('idx', idx)" |
|
| 161 | 167 | value="<?= $enc->attr( key( $textTypes ) ); ?>" /> |
| 162 | 168 | <?php endif; ?> |
| 163 | 169 | |
@@ -213,9 +219,12 @@ discard block |
||
| 213 | 219 | <?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?> |
| 214 | 220 | </div> |
| 215 | 221 | </div> |
| 216 | - <?php else : ?> |
|
| 222 | + <?php else { |
|
| 223 | + : ?> |
|
| 217 | 224 | <input class="listitem-type" type="hidden" |
| 218 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'catalog.lists.type' ) ) ); ?>'.replace('idx', idx)" |
|
| 225 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'catalog.lists.type' ) ) ); |
|
| 226 | +} |
|
| 227 | +?>'.replace('idx', idx)" |
|
| 219 | 228 | value="<?= $enc->attr( key( $listTypes ) ); ?>" |
| 220 | 229 | v-model="items[idx]['catalog.lists.type']" /> |
| 221 | 230 | <?php endif; ?> |
@@ -160,9 +160,12 @@ discard block |
||
| 160 | 160 | </select> |
| 161 | 161 | </div> |
| 162 | 162 | </div> |
| 163 | - <?php else : ?> |
|
| 163 | + <?php else { |
|
| 164 | + : ?> |
|
| 164 | 165 | <input class="item-currencyid" type="hidden" |
| 165 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.currencyid' ) ) ); ?>'.replace('idx', idx)" |
|
| 166 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.currencyid' ) ) ); |
|
| 167 | +} |
|
| 168 | +?>'.replace('idx', idx)" |
|
| 166 | 169 | value="<?= $enc->attr( key( $currencies ) ); ?>" /> |
| 167 | 170 | <?php endif; ?> |
| 168 | 171 | |
@@ -190,9 +193,12 @@ discard block |
||
| 190 | 193 | <?= $enc->html( $this->translate( 'admin', 'Types for additional prices like per one lb/kg or per month' ) ); ?> |
| 191 | 194 | </div> |
| 192 | 195 | </div> |
| 193 | - <?php else : ?> |
|
| 196 | + <?php else { |
|
| 197 | + : ?> |
|
| 194 | 198 | <input class="item-type" type="hidden" |
| 195 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.type' ) ) ); ?>'.replace('idx', idx)" |
|
| 199 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.type' ) ) ); |
|
| 200 | +} |
|
| 201 | +?>'.replace('idx', idx)" |
|
| 196 | 202 | value="<?= $enc->attr( key( $priceTypes ) ); ?>" /> |
| 197 | 203 | <?php endif; ?> |
| 198 | 204 | |
@@ -248,9 +254,12 @@ discard block |
||
| 248 | 254 | <?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?> |
| 249 | 255 | </div> |
| 250 | 256 | </div> |
| 251 | - <?php else : ?> |
|
| 257 | + <?php else { |
|
| 258 | + : ?> |
|
| 252 | 259 | <input class="listitem-type" type="hidden" |
| 253 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'attribute.lists.type' ) ) ); ?>'.replace('idx', idx)" |
|
| 260 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'attribute.lists.type' ) ) ); |
|
| 261 | +} |
|
| 262 | +?>'.replace('idx', idx)" |
|
| 254 | 263 | value="<?= $enc->attr( key( $listTypes ) ); ?>" |
| 255 | 264 | v-model="items[idx]['attribute.lists.type']" /> |
| 256 | 265 | <?php endif; ?> |
@@ -124,9 +124,12 @@ discard block |
||
| 124 | 124 | <?= $enc->html( $this->translate( 'admin', 'Types for additional images like icons' ) ); ?> |
| 125 | 125 | </div> |
| 126 | 126 | </div> |
| 127 | - <?php else : ?> |
|
| 127 | + <?php else { |
|
| 128 | + : ?> |
|
| 128 | 129 | <input class="item-type" type="hidden" |
| 129 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'media', 'idx', 'media.type' ) ) ); ?>'.replace( 'idx', idx )" |
|
| 130 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'media', 'idx', 'media.type' ) ) ); |
|
| 131 | +} |
|
| 132 | +?>'.replace( 'idx', idx )" |
|
| 130 | 133 | value="<?= $enc->attr( key( $mediaTypes ) ); ?>" /> |
| 131 | 134 | <?php endif; ?> |
| 132 | 135 | |
@@ -204,9 +207,12 @@ discard block |
||
| 204 | 207 | <?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?> |
| 205 | 208 | </div> |
| 206 | 209 | </div> |
| 207 | - <?php else : ?> |
|
| 210 | + <?php else { |
|
| 211 | + : ?> |
|
| 208 | 212 | <input class="listitem-type" type="hidden" |
| 209 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'media', 'idx', 'attribute.lists.type' ) ) ); ?>'.replace( 'idx', idx )" |
|
| 213 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'media', 'idx', 'attribute.lists.type' ) ) ); |
|
| 214 | +} |
|
| 215 | +?>'.replace( 'idx', idx )" |
|
| 210 | 216 | value="<?= $enc->attr( key( $listTypes ) ); ?>" |
| 211 | 217 | v-model="items[idx]['attribute.lists.type']" /> |
| 212 | 218 | <?php endif; ?> |
@@ -124,9 +124,12 @@ discard block |
||
| 124 | 124 | <?= $enc->html( $this->translate( 'admin', 'Language of the entered text' ) ); ?> |
| 125 | 125 | </div> |
| 126 | 126 | </div> |
| 127 | - <?php else : ?> |
|
| 127 | + <?php else { |
|
| 128 | + : ?> |
|
| 128 | 129 | <input class="text-langid" type="hidden" |
| 129 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.languageid' ) ) ); ?>'.replace('idx', idx)" |
|
| 130 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.languageid' ) ) ); |
|
| 131 | +} |
|
| 132 | +?>'.replace('idx', idx)" |
|
| 130 | 133 | value="<?= $enc->attr( key( $languages ) ); ?>" /> |
| 131 | 134 | <?php endif; ?> |
| 132 | 135 | |
@@ -155,9 +158,12 @@ discard block |
||
| 155 | 158 | <?= $enc->html( $this->translate( 'admin', 'Types for additional texts like per one lb/kg or per month' ) ); ?> |
| 156 | 159 | </div> |
| 157 | 160 | </div> |
| 158 | - <?php else : ?> |
|
| 161 | + <?php else { |
|
| 162 | + : ?> |
|
| 159 | 163 | <input class="item-type" type="hidden" |
| 160 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.type' ) ) ); ?>'.replace('idx', idx)" |
|
| 164 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.type' ) ) ); |
|
| 165 | +} |
|
| 166 | +?>'.replace('idx', idx)" |
|
| 161 | 167 | value="<?= $enc->attr( key( $textTypes ) ); ?>" /> |
| 162 | 168 | <?php endif; ?> |
| 163 | 169 | |
@@ -213,9 +219,12 @@ discard block |
||
| 213 | 219 | <?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?> |
| 214 | 220 | </div> |
| 215 | 221 | </div> |
| 216 | - <?php else : ?> |
|
| 222 | + <?php else { |
|
| 223 | + : ?> |
|
| 217 | 224 | <input class="listitem-type" type="hidden" |
| 218 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'attribute.lists.type' ) ) ); ?>'.replace('idx', idx)" |
|
| 225 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'attribute.lists.type' ) ) ); |
|
| 226 | +} |
|
| 227 | +?>'.replace('idx', idx)" |
|
| 219 | 228 | value="<?= $enc->attr( key( $listTypes ) ); ?>" |
| 220 | 229 | v-model="items[idx]['attribute.lists.type']" /> |
| 221 | 230 | <?php endif; ?> |