@@ -374,8 +374,11 @@ |
||
| 374 | 374 | aria-label="<?= $enc->attr( $this->translate( 'admin', 'Show' ) ); ?>"> |
| 375 | 375 | <?= $enc->html( $refId ); ?> - <?= $enc->html( $refItem->getLabel() . ' (' . $refItem->getCode() . ')' ); ?> |
| 376 | 376 | </a> |
| 377 | - <?php else : ?> |
|
| 378 | - <?= $enc->html( $refId ); ?> (<?= $enc->html( $this->translate( 'admin', 'not available any more' ) ); ?>) |
|
| 377 | + <?php else { |
|
| 378 | + : ?> |
|
| 379 | + <?= $enc->html( $refId ); |
|
| 380 | +} |
|
| 381 | +?> (<?= $enc->html( $this->translate( 'admin', 'not available any more' ) ); ?>) |
|
| 379 | 382 | <?php endif; ?> |
| 380 | 383 | </td> |
| 381 | 384 | <?php endif; ?> |
@@ -374,8 +374,11 @@ |
||
| 374 | 374 | aria-label="<?= $enc->attr( $this->translate( 'admin', 'Show' ) ); ?>"> |
| 375 | 375 | <?= $enc->html( $refId ); ?> - <?= $enc->html( $refItem->getLabel() . ' (' . $refItem->getCode() . ')' ); ?> |
| 376 | 376 | </a> |
| 377 | - <?php else : ?> |
|
| 378 | - <?= $enc->html( $refId ); ?> (<?= $enc->html( $this->translate( 'admin', 'not available any more' ) ); ?>) |
|
| 377 | + <?php else { |
|
| 378 | + : ?> |
|
| 379 | + <?= $enc->html( $refId ); |
|
| 380 | +} |
|
| 381 | +?> (<?= $enc->html( $this->translate( 'admin', 'not available any more' ) ); ?>) |
|
| 379 | 382 | <?php endif; ?> |
| 380 | 383 | </td> |
| 381 | 384 | <?php endif; ?> |
@@ -374,8 +374,11 @@ |
||
| 374 | 374 | aria-label="<?= $enc->attr( $this->translate( 'admin', 'Show' ) ); ?>"> |
| 375 | 375 | <?= $enc->html( $refId ); ?> - <?= $enc->html( $refItem->getLabel() . ' (' . $refItem->getCode() . ')' ); ?> |
| 376 | 376 | </a> |
| 377 | - <?php else : ?> |
|
| 378 | - <?= $enc->html( $refId ); ?> (<?= $enc->html( $this->translate( 'admin', 'not available any more' ) ); ?>) |
|
| 377 | + <?php else { |
|
| 378 | + : ?> |
|
| 379 | + <?= $enc->html( $refId ); |
|
| 380 | +} |
|
| 381 | +?> (<?= $enc->html( $this->translate( 'admin', 'not available any more' ) ); ?>) |
|
| 379 | 382 | <?php endif; ?> |
| 380 | 383 | </td> |
| 381 | 384 | <?php endif; ?> |
@@ -305,8 +305,7 @@ |
||
| 305 | 305 | { |
| 306 | 306 | $propItem = $propItems[$entry['product.property.id']]; |
| 307 | 307 | unset( $propItems[$entry['product.property.id']] ); |
| 308 | - } |
|
| 309 | - else |
|
| 308 | + } else |
|
| 310 | 309 | { |
| 311 | 310 | $propItem = $manager->createItem(); |
| 312 | 311 | } |
@@ -87,9 +87,12 @@ |
||
| 87 | 87 | <div class="item-actions"> |
| 88 | 88 | <?php if( isset( $this->itemData ) ) : ?> |
| 89 | 89 | <?= $this->partial( $this->config( 'admin/jqadm/partial/itemactions', 'common/partials/itemactions-standard' ), ['params' => $params] ); ?> |
| 90 | - <?php else : ?> |
|
| 90 | + <?php else { |
|
| 91 | + : ?> |
|
| 91 | 92 | <span class="placeholder"> </span> |
| 92 | - <?php endif; ?> |
|
| 93 | + <?php endif; |
|
| 94 | +} |
|
| 95 | +?> |
|
| 93 | 96 | </div> |
| 94 | 97 | </nav> |
| 95 | 98 | |
@@ -291,8 +291,7 @@ |
||
| 291 | 291 | { |
| 292 | 292 | $propItem = $propItems[$entry['media.property.id']]; |
| 293 | 293 | unset( $propItems[$entry['media.property.id']] ); |
| 294 | - } |
|
| 295 | - else |
|
| 294 | + } else |
|
| 296 | 295 | { |
| 297 | 296 | $propItem = $propManager->createItem(); |
| 298 | 297 | } |
@@ -291,8 +291,7 @@ |
||
| 291 | 291 | { |
| 292 | 292 | $propItem = $propItems[$entry['media.property.id']]; |
| 293 | 293 | unset( $propItems[$entry['media.property.id']] ); |
| 294 | - } |
|
| 295 | - else |
|
| 294 | + } else |
|
| 296 | 295 | { |
| 297 | 296 | $propItem = $propManager->createItem(); |
| 298 | 297 | } |
@@ -291,8 +291,7 @@ |
||
| 291 | 291 | { |
| 292 | 292 | $propItem = $propItems[$entry['media.property.id']]; |
| 293 | 293 | unset( $propItems[$entry['media.property.id']] ); |
| 294 | - } |
|
| 295 | - else |
|
| 294 | + } else |
|
| 296 | 295 | { |
| 297 | 296 | $propItem = $propManager->createItem(); |
| 298 | 297 | } |
@@ -291,8 +291,7 @@ |
||
| 291 | 291 | { |
| 292 | 292 | $propItem = $propItems[$entry['media.property.id']]; |
| 293 | 293 | unset( $propItems[$entry['media.property.id']] ); |
| 294 | - } |
|
| 295 | - else |
|
| 294 | + } else |
|
| 296 | 295 | { |
| 297 | 296 | $propItem = $propManager->createItem(); |
| 298 | 297 | } |