@@ -53,7 +53,7 @@ |
||
53 | 53 | |
54 | 54 | <?php foreach( array_values( $this->get( 'itemSubparts', [] ) ) as $idx => $subpart ) : ?> |
55 | 55 | <li class="nav-item <?= $enc->attr( $subpart ); ?>"> |
56 | - <a class="nav-link" href="#<?= $enc->attr( $subpart ); ?>" data-toggle="tab" role="tab" tabindex="<?= ++$idx+1; ?>"> |
|
56 | + <a class="nav-link" href="#<?= $enc->attr( $subpart ); ?>" data-toggle="tab" role="tab" tabindex="<?= ++$idx + 1; ?>"> |
|
57 | 57 | <?= $enc->html( $this->translate( 'admin', $subpart ) ); ?> |
58 | 58 | </a> |
59 | 59 | </li> |
@@ -5,7 +5,8 @@ |
||
5 | 5 | * @copyright Aimeos (aimeos.org), 2017-2018 |
6 | 6 | */ |
7 | 7 | |
8 | -$selected = function( $key, $code ) { |
|
8 | +$selected = function( $key, $code ) |
|
9 | +{ |
|
9 | 10 | return ( $key == $code ? 'selected="selected"' : '' ); |
10 | 11 | }; |
11 | 12 |
@@ -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> |
@@ -53,7 +53,7 @@ |
||
53 | 53 | |
54 | 54 | <?php foreach( array_values( $this->get( 'itemSubparts', [] ) ) as $idx => $subpart ) : ?> |
55 | 55 | <li class="nav-item <?= $enc->attr( $subpart ); ?>"> |
56 | - <a class="nav-link" href="#<?= $enc->attr( $subpart ); ?>" data-toggle="tab" role="tab" tabindex="<?= ++$idx+1; ?>"> |
|
56 | + <a class="nav-link" href="#<?= $enc->attr( $subpart ); ?>" data-toggle="tab" role="tab" tabindex="<?= ++$idx + 1; ?>"> |
|
57 | 57 | <?= $enc->html( $this->translate( 'admin', $subpart ) ); ?> |
58 | 58 | </a> |
59 | 59 | </li> |
@@ -5,7 +5,8 @@ |
||
5 | 5 | * @copyright Aimeos (aimeos.org), 2017-2018 |
6 | 6 | */ |
7 | 7 | |
8 | -$selected = function( $key, $code ) { |
|
8 | +$selected = function( $key, $code ) |
|
9 | +{ |
|
9 | 10 | return ( $key == $code ? 'selected="selected"' : '' ); |
10 | 11 | }; |
11 | 12 |
@@ -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 | |
@@ -191,12 +191,12 @@ discard block |
||
191 | 191 | <td class="actions"> |
192 | 192 | <a class="btn act-copy fa" tabindex="1" |
193 | 193 | href="<?= $enc->attr( $this->url( $copyTarget, $copyCntl, $copyAction, ['id' => $id] + $params, [], $copyConfig ) ); ?>" |
194 | - title="<?= $enc->attr( $this->translate( 'admin', 'Copy this entry') ); ?>" |
|
194 | + title="<?= $enc->attr( $this->translate( 'admin', 'Copy this entry' ) ); ?>" |
|
195 | 195 | aria-label="<?= $enc->attr( $this->translate( 'admin', 'Copy' ) ); ?>"></a> |
196 | 196 | <?php if( !$this->site()->readonly( $item->getSiteId() ) ) : ?> |
197 | 197 | <a class="btn act-delete fa" tabindex="1" |
198 | 198 | href="<?= $enc->attr( $this->url( $delTarget, $delCntl, $delAction, ['id' => $id] + $params, [], $delConfig ) ); ?>" |
199 | - title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>" |
|
199 | + title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>" |
|
200 | 200 | aria-label="<?= $enc->attr( $this->translate( 'admin', 'Delete' ) ); ?>"></a> |
201 | 201 | <?php endif; ?> |
202 | 202 | </td> |
@@ -53,7 +53,7 @@ |
||
53 | 53 | |
54 | 54 | <?php foreach( array_values( $this->get( 'itemSubparts', [] ) ) as $idx => $subpart ) : ?> |
55 | 55 | <li class="nav-item <?= $enc->attr( $subpart ); ?>"> |
56 | - <a class="nav-link" href="#<?= $enc->attr( $subpart ); ?>" data-toggle="tab" role="tab" tabindex="<?= ++$idx+1; ?>"> |
|
56 | + <a class="nav-link" href="#<?= $enc->attr( $subpart ); ?>" data-toggle="tab" role="tab" tabindex="<?= ++$idx + 1; ?>"> |
|
57 | 57 | <?= $enc->html( $this->translate( 'admin', $subpart ) ); ?> |
58 | 58 | </a> |
59 | 59 | </li> |
@@ -5,7 +5,8 @@ |
||
5 | 5 | * @copyright Aimeos (aimeos.org), 2017-2018 |
6 | 6 | */ |
7 | 7 | |
8 | -$selected = function( $key, $code ) { |
|
8 | +$selected = function( $key, $code ) |
|
9 | +{ |
|
9 | 10 | return ( $key == $code ? 'selected="selected"' : '' ); |
10 | 11 | }; |
11 | 12 |
@@ -53,7 +53,7 @@ |
||
53 | 53 | |
54 | 54 | <?php foreach( array_values( $this->get( 'itemSubparts', [] ) ) as $idx => $subpart ) : ?> |
55 | 55 | <li class="nav-item <?= $enc->attr( $subpart ); ?>"> |
56 | - <a class="nav-link" href="#<?= $enc->attr( $subpart ); ?>" data-toggle="tab" role="tab" tabindex="<?= ++$idx+1; ?>"> |
|
56 | + <a class="nav-link" href="#<?= $enc->attr( $subpart ); ?>" data-toggle="tab" role="tab" tabindex="<?= ++$idx + 1; ?>"> |
|
57 | 57 | <?= $enc->html( $this->translate( 'admin', $subpart ) ); ?> |
58 | 58 | </a> |
59 | 59 | </li> |
@@ -5,7 +5,8 @@ |
||
5 | 5 | * @copyright Aimeos (aimeos.org), 2018 |
6 | 6 | */ |
7 | 7 | |
8 | -$selected = function( $key, $code ) { |
|
8 | +$selected = function( $key, $code ) |
|
9 | +{ |
|
9 | 10 | return ( $key == $code ? 'selected="selected"' : '' ); |
10 | 11 | }; |
11 | 12 |
@@ -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> |
@@ -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> |
@@ -53,7 +53,7 @@ |
||
53 | 53 | |
54 | 54 | <?php foreach( array_values( $this->get( 'itemSubparts', [] ) ) as $idx => $subpart ) : ?> |
55 | 55 | <li class="nav-item <?= $enc->attr( $subpart ); ?>"> |
56 | - <a class="nav-link" href="#<?= $enc->attr( $subpart ); ?>" data-toggle="tab" role="tab" tabindex="<?= ++$idx+1; ?>"> |
|
56 | + <a class="nav-link" href="#<?= $enc->attr( $subpart ); ?>" data-toggle="tab" role="tab" tabindex="<?= ++$idx + 1; ?>"> |
|
57 | 57 | <?= $enc->html( $this->translate( 'admin', $subpart ) ); ?> |
58 | 58 | </a> |
59 | 59 | </li> |
@@ -5,7 +5,8 @@ |
||
5 | 5 | * @copyright Aimeos (aimeos.org), 2017-2018 |
6 | 6 | */ |
7 | 7 | |
8 | -$selected = function( $key, $code ) { |
|
8 | +$selected = function( $key, $code ) |
|
9 | +{ |
|
9 | 10 | return ( $key == $code ? 'selected="selected"' : '' ); |
10 | 11 | }; |
11 | 12 |