@@ -119,7 +119,7 @@ discard block |
||
| 119 | 119 | <th class="actions"> |
| 120 | 120 | <a class="btn fa act-add" tabindex="1" |
| 121 | 121 | href="<?= $enc->attr( $this->url( $newTarget, $newCntl, $newAction, $params, [], $newConfig ) ); ?>" |
| 122 | - title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>" |
|
| 122 | + title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>" |
|
| 123 | 123 | aria-label="<?= $enc->attr( $this->translate( 'admin', 'Add' ) ); ?>"> |
| 124 | 124 | </a> |
| 125 | 125 | |
@@ -199,12 +199,12 @@ discard block |
||
| 199 | 199 | <td class="actions"> |
| 200 | 200 | <a class="btn act-copy fa" tabindex="1" |
| 201 | 201 | href="<?= $enc->attr( $this->url( $copyTarget, $copyCntl, $copyAction, ['id' => $id] + $params, [], $copyConfig ) ); ?>" |
| 202 | - title="<?= $enc->attr( $this->translate( 'admin', 'Copy this entry') ); ?>" |
|
| 202 | + title="<?= $enc->attr( $this->translate( 'admin', 'Copy this entry' ) ); ?>" |
|
| 203 | 203 | aria-label="<?= $enc->attr( $this->translate( 'admin', 'Copy' ) ); ?>"></a> |
| 204 | 204 | <?php if( !$this->site()->readonly( $item->getSiteId() ) ) : ?> |
| 205 | 205 | <a class="btn act-delete fa" tabindex="1" |
| 206 | 206 | href="<?= $enc->attr( $this->url( $delTarget, $delCntl, $delAction, ['id' => $id] + $params, [], $delConfig ) ); ?>" |
| 207 | - title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>" |
|
| 207 | + title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>" |
|
| 208 | 208 | aria-label="<?= $enc->attr( $this->translate( 'admin', 'Delete' ) ); ?>"></a> |
| 209 | 209 | <?php endif; ?> |
| 210 | 210 | </td> |
@@ -42,7 +42,7 @@ |
||
| 42 | 42 | $first = ( $offset > 0 ? 0 : null ); |
| 43 | 43 | $prev = ( $offset - $limit >= 0 ? $offset - $limit : null ); |
| 44 | 44 | $next = ( $offset + $limit < $total ? $offset + $limit : null ); |
| 45 | -$last = ( floor(($total - 1) / $limit) * $limit > $offset ? floor(($total - 1) / $limit) * $limit : null ); |
|
| 45 | +$last = ( floor( ( $total - 1 ) / $limit ) * $limit > $offset ? floor( ( $total - 1 ) / $limit ) * $limit : null ); |
|
| 46 | 46 | |
| 47 | 47 | $pageCurrent = floor( $offset / $limit ) + 1; |
| 48 | 48 | $pageTotal = ( $total != 0 ? ceil( $total / $limit ) : 1 ); |
@@ -154,7 +154,7 @@ discard block |
||
| 154 | 154 | |
| 155 | 155 | <?php foreach( array_values( $this->get( 'itemSubparts', [] ) ) as $idx => $subpart ) : ?> |
| 156 | 156 | <li class="nav-item <?= $enc->attr( $subpart ); ?>"> |
| 157 | - <a class="nav-link" href="#<?= $enc->attr( $subpart ); ?>" data-toggle="tab" role="tab" tabindex="<?= ++$idx+1; ?>"> |
|
| 157 | + <a class="nav-link" href="#<?= $enc->attr( $subpart ); ?>" data-toggle="tab" role="tab" tabindex="<?= ++$idx + 1; ?>"> |
|
| 158 | 158 | <?= $enc->html( $this->translate( 'admin', $subpart ) ); ?> |
| 159 | 159 | </a> |
| 160 | 160 | </li> |
@@ -321,7 +321,7 @@ discard block |
||
| 321 | 321 | <th class="actions"> |
| 322 | 322 | <?php if( !$this->site()->readonly( $this->get( 'itemData/product.siteid' ) ) ) : ?> |
| 323 | 323 | <div class="btn act-add fa" tabindex="1" |
| 324 | - title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>"> |
|
| 324 | + title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>"> |
|
| 325 | 325 | </div> |
| 326 | 326 | <?php endif; ?> |
| 327 | 327 | </th> |
@@ -346,7 +346,7 @@ discard block |
||
| 346 | 346 | <td class="actions"> |
| 347 | 347 | <?php if( !$this->site()->readonly( $this->get( 'itemData/product.siteid' ) ) ) : ?> |
| 348 | 348 | <div class="btn act-delete fa" tabindex="1" |
| 349 | - title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>"> |
|
| 349 | + title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>"> |
|
| 350 | 350 | </div> |
| 351 | 351 | <?php endif; ?> |
| 352 | 352 | </td> |
@@ -365,7 +365,7 @@ discard block |
||
| 365 | 365 | <td class="actions"> |
| 366 | 366 | <?php if( !$this->site()->readonly( $this->get( 'itemData/product.siteid' ) ) ) : ?> |
| 367 | 367 | <div class="btn act-delete fa" tabindex="1" |
| 368 | - title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>"> |
|
| 368 | + title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>"> |
|
| 369 | 369 | </div> |
| 370 | 370 | <?php endif; ?> |
| 371 | 371 | </td> |
@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | </th> |
| 33 | 33 | <th class="actions"> |
| 34 | 34 | <div class="btn act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 35 | - title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>" |
|
| 35 | + title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>" |
|
| 36 | 36 | v-on:click="addItem('product.lists.')"> |
| 37 | 37 | </th> |
| 38 | 38 | </tr> |
@@ -66,7 +66,7 @@ discard block |
||
| 66 | 66 | </td> |
| 67 | 67 | <td class="actions"> |
| 68 | 68 | <div v-if="!checkSite('product.lists.siteid', idx)" class="btn act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 69 | - title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>" |
|
| 69 | + title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>" |
|
| 70 | 70 | v-on:click.stop="removeItem(idx)"> |
| 71 | 71 | </td> |
| 72 | 72 | |
@@ -279,7 +279,7 @@ |
||
| 279 | 279 | $manager = \Aimeos\MShop::create( $context, 'locale/language' ); |
| 280 | 280 | |
| 281 | 281 | $search = $manager->createSearch(); |
| 282 | - $search->setSortations( [$search->sort( '-', 'locale.language.status'), $search->sort( '+', 'locale.language.id')] ); |
|
| 282 | + $search->setSortations( [$search->sort( '-', 'locale.language.status' ), $search->sort( '+', 'locale.language.id' )] ); |
|
| 283 | 283 | $search = $this->initCriteria( $search, $params ); |
| 284 | 284 | |
| 285 | 285 | $view->items = $manager->searchItems( $search, [], $total ); |
@@ -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; |
@@ -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> |