@@ -62,7 +62,7 @@ |
||
62 | 62 | if( $view->access( ['super'] ) ) |
63 | 63 | { |
64 | 64 | $search = $siteManager->createSearch()->setSlice( 0, 1000 ); |
65 | - $search->setSortations( [$search->sort( '+', 'locale.site.label')] ); |
|
65 | + $search->setSortations( [$search->sort( '+', 'locale.site.label' )] ); |
|
66 | 66 | $search->setConditions( $search->compare( '==', 'locale.site.level', 0 ) ); |
67 | 67 | |
68 | 68 | $view->pageSiteList = $siteManager->searchItems( $search ); |
@@ -279,7 +279,7 @@ |
||
279 | 279 | $manager = \Aimeos\MShop::create( $this->getContext(), 'customer/property/type' ); |
280 | 280 | |
281 | 281 | $search = $manager->createSearch( true )->setSlice( 0, 10000 ); |
282 | - $search->setSortations( [$search->sort( '+', 'customer.property.type.position')] ); |
|
282 | + $search->setSortations( [$search->sort( '+', 'customer.property.type.position' )] ); |
|
283 | 283 | |
284 | 284 | return $manager->searchItems( $search ); |
285 | 285 | } |
@@ -407,7 +407,7 @@ |
||
407 | 407 | $data['time'] = $fs->time( $data['attribute.code'] ); |
408 | 408 | $data['size'] = $fs->size( $data['attribute.code'] ); |
409 | 409 | } |
410 | - catch( \Exception $e ) { ; } // Show product even if file isn't available any more |
|
410 | + catch( \Exception $e ) {; } // Show product even if file isn't available any more |
|
411 | 411 | } |
412 | 412 | |
413 | 413 | return $data; |
@@ -281,7 +281,7 @@ |
||
281 | 281 | |
282 | 282 | $search = $manager->createSearch( true )->setSlice( 0, 10000 ); |
283 | 283 | $search->setConditions( $search->compare( '!=', 'product.property.type.code', $excludes ) ); |
284 | - $search->setSortations( [$search->sort( '+', 'product.property.type.position')] ); |
|
284 | + $search->setSortations( [$search->sort( '+', 'product.property.type.position' )] ); |
|
285 | 285 | |
286 | 286 | return $this->map( $manager->searchItems( $search ) ); |
287 | 287 | } |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | </th> |
25 | 25 | <th class="actions"> |
26 | 26 | <div class="btn act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
27 | - title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>" |
|
27 | + title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>" |
|
28 | 28 | v-on:click="addPropertyItem(idx)"> |
29 | 29 | </div> |
30 | 30 | </th> |
@@ -77,7 +77,7 @@ discard block |
||
77 | 77 | |
78 | 78 | <td class="actions"> |
79 | 79 | <div v-if="!checkSite('media.siteid', idx)" class="btn act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
80 | - title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>" |
|
80 | + title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>" |
|
81 | 81 | v-on:click.stop="removePropertyItem(idx, propidx)"> |
82 | 82 | </div> |
83 | 83 | </td> |
@@ -57,7 +57,7 @@ |
||
57 | 57 | |
58 | 58 | <?php foreach( array_values( $this->get( 'itemSubparts', [] ) ) as $idx => $subpart ) : ?> |
59 | 59 | <li class="nav-item <?= $enc->attr( $subpart ); ?>"> |
60 | - <a class="nav-link" href="#<?= $enc->attr( $subpart ); ?>" data-toggle="tab" role="tab" tabindex="<?= ++$idx+1; ?>"> |
|
60 | + <a class="nav-link" href="#<?= $enc->attr( $subpart ); ?>" data-toggle="tab" role="tab" tabindex="<?= ++$idx + 1; ?>"> |
|
61 | 61 | <?= $enc->html( $this->translate( 'admin', $subpart ) ); ?> |
62 | 62 | </a> |
63 | 63 | </li> |
@@ -109,7 +109,7 @@ discard block |
||
109 | 109 | <th class="actions"> |
110 | 110 | <a class="btn fa act-add" tabindex="1" |
111 | 111 | href="<?= $enc->attr( $this->url( $newTarget, $newCntl, $newAction, $params, [], $newConfig ) ); ?>" |
112 | - title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>" |
|
112 | + title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>" |
|
113 | 113 | aria-label="<?= $enc->attr( $this->translate( 'admin', 'Add' ) ); ?>"> |
114 | 114 | </a> |
115 | 115 | |
@@ -171,11 +171,11 @@ discard block |
||
171 | 171 | <td class="actions"> |
172 | 172 | <a class="btn act-copy fa" tabindex="1" |
173 | 173 | href="<?= $enc->attr( $this->url( $copyTarget, $copyCntl, $copyAction, ['id' => $id] + $params, [], $copyConfig ) ); ?>" |
174 | - title="<?= $enc->attr( $this->translate( 'admin', 'Copy this entry') ); ?>" |
|
174 | + title="<?= $enc->attr( $this->translate( 'admin', 'Copy this entry' ) ); ?>" |
|
175 | 175 | aria-label="<?= $enc->attr( $this->translate( 'admin', 'Copy' ) ); ?>"></a> |
176 | 176 | <a class="btn act-delete fa" tabindex="1" |
177 | 177 | href="<?= $enc->attr( $this->url( $delTarget, $delCntl, $delAction, ['id' => $id] + $params, [], $delConfig ) ); ?>" |
178 | - title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>" |
|
178 | + title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>" |
|
179 | 179 | aria-label="<?= $enc->attr( $this->translate( 'admin', 'Delete' ) ); ?>"></a> |
180 | 180 | </td> |
181 | 181 | </tr> |
@@ -57,7 +57,7 @@ |
||
57 | 57 | |
58 | 58 | <?php foreach( array_values( $this->get( 'itemSubparts', [] ) ) as $idx => $subpart ) : ?> |
59 | 59 | <li class="nav-item <?= $enc->attr( $subpart ); ?>"> |
60 | - <a class="nav-link" href="#<?= $enc->attr( $subpart ); ?>" data-toggle="tab" role="tab" tabindex="<?= ++$idx+1; ?>"> |
|
60 | + <a class="nav-link" href="#<?= $enc->attr( $subpart ); ?>" data-toggle="tab" role="tab" tabindex="<?= ++$idx + 1; ?>"> |
|
61 | 61 | <?= $enc->html( $this->translate( 'admin', $subpart ) ); ?> |
62 | 62 | </a> |
63 | 63 | </li> |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | </th> |
34 | 34 | <th class="actions"> |
35 | 35 | <div class="btn act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
36 | - title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>" |
|
36 | + title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>" |
|
37 | 37 | v-on:click="addItem()"> |
38 | 38 | </div> |
39 | 39 | </th> |
@@ -68,7 +68,7 @@ discard block |
||
68 | 68 | </td> |
69 | 69 | <td class="actions"> |
70 | 70 | <div v-if="!checkSite('product.lists.siteid', idx)" class="btn act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
71 | - title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>" |
|
71 | + title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>" |
|
72 | 72 | v-on:click.stop="removeItem(idx)"> |
73 | 73 | </td> |
74 | 74 |