@@ -118,10 +118,13 @@ |
||
118 | 118 | <?= $enc->html( $this->translate( 'mshop/code', 'status:-2' ) ); ?> |
119 | 119 | </option> |
120 | 120 | </select> |
121 | - <?php else : ?> |
|
121 | + <?php else { |
|
122 | + : ?> |
|
122 | 123 | <span class="form-control item-status"> |
123 | 124 | <?php $key = 'status:' . $this->get( 'itemData/review.status' ) ?> |
124 | - <?= $enc->html( $this->translate( 'mshop/code', $key ) ); ?> |
|
125 | + <?= $enc->html( $this->translate( 'mshop/code', $key ) ); |
|
126 | +} |
|
127 | +?> |
|
125 | 128 | </span> |
126 | 129 | <?php endif ?> |
127 | 130 | </div> |
@@ -185,9 +185,12 @@ |
||
185 | 185 | </option> |
186 | 186 | <?php endforeach; ?> |
187 | 187 | </select> |
188 | - <?php else : ?> |
|
188 | + <?php else { |
|
189 | + : ?> |
|
189 | 190 | <input class="item-languageid" type="hidden" |
190 | - name="<?= $enc->attr( $this->formparam( array( 'item', 'customer.languageid' ) ) ); ?>" |
|
191 | + name="<?= $enc->attr( $this->formparam( array( 'item', 'customer.languageid' ) ) ); |
|
192 | +} |
|
193 | +?>" |
|
191 | 194 | value="<?= $enc->attr( $languages->getCode()->first() ); ?>" /> |
192 | 195 | <?php endif; ?> |
193 | 196 | </div> |
@@ -139,9 +139,12 @@ |
||
139 | 139 | </select> |
140 | 140 | </div> |
141 | 141 | </div> |
142 | - <?php else : ?> |
|
142 | + <?php else { |
|
143 | + : ?> |
|
143 | 144 | <input class="item-type" type="hidden" |
144 | - name="<?= $enc->attr( $this->formparam( array( 'item', 'plugin.type' ) ) ); ?>" |
|
145 | + name="<?= $enc->attr( $this->formparam( array( 'item', 'plugin.type' ) ) ); |
|
146 | +} |
|
147 | +?>" |
|
145 | 148 | value="<?= $enc->attr( $types->getCode()->first() ) ?>" /> |
146 | 149 | <?php endif; ?> |
147 | 150 | <div class="form-group row mandatory"> |
@@ -355,9 +355,12 @@ |
||
355 | 355 | </select> |
356 | 356 | </div> |
357 | 357 | </div> |
358 | - <?php else : ?> |
|
358 | + <?php else { |
|
359 | + : ?> |
|
359 | 360 | <input class="item-type" type="hidden" |
360 | - name="<?= $enc->attr( $this->formparam( array( 'item', 'product.type' ) ) ); ?>" |
|
361 | + name="<?= $enc->attr( $this->formparam( array( 'item', 'product.type' ) ) ); |
|
362 | +} |
|
363 | +?>" |
|
361 | 364 | value="<?= $enc->attr( $types->firstKey() ) ?>" /> |
362 | 365 | <?php endif; ?> |
363 | 366 | <div class="form-group row mandatory"> |
@@ -139,9 +139,12 @@ |
||
139 | 139 | </select> |
140 | 140 | </div> |
141 | 141 | </div> |
142 | - <?php else : ?> |
|
142 | + <?php else { |
|
143 | + : ?> |
|
143 | 144 | <input class="item-type" type="hidden" |
144 | - name="<?= $enc->attr( $this->formparam( array( 'item', 'service.type' ) ) ); ?>" |
|
145 | + name="<?= $enc->attr( $this->formparam( array( 'item', 'service.type' ) ) ); |
|
146 | +} |
|
147 | +?>" |
|
145 | 148 | value="<?= $enc->attr( $types->getCode()->first() ) ?>" /> |
146 | 149 | <?php endif; ?> |
147 | 150 | <div class="form-group row mandatory"> |