@@ -31,7 +31,7 @@ discard block |
||
| 31 | 31 | v-bind:aria-controls="'item-price-group-data-' + idx" aria-expanded="false"> |
| 32 | 32 | <div class="card-tools-left"> |
| 33 | 33 | <div class="btn btn-card-header act-show fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 34 | - title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide this entry') ); ?>"> |
|
| 34 | + title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide this entry' ) ); ?>"> |
|
| 35 | 35 | </div> |
| 36 | 36 | </div> |
| 37 | 37 | <span class="item-label header-label" v-html="getLabel(idx)"></span> |
@@ -39,7 +39,7 @@ discard block |
||
| 39 | 39 | <div class="card-tools-right"> |
| 40 | 40 | <div v-if="!checkSite('service.lists.siteid', idx)" |
| 41 | 41 | class="btn btn-card-header act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 42 | - title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>" |
|
| 42 | + title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>" |
|
| 43 | 43 | v-on:click.stop="removeItem(idx)"> |
| 44 | 44 | </div> |
| 45 | 45 | </div> |
@@ -210,7 +210,7 @@ discard block |
||
| 210 | 210 | <div v-on:click="toggle(idx)" class="col-xl-12 advanced" v-bind:class="{ 'collapsed': !advanced[idx] }"> |
| 211 | 211 | <div class="card-tools-left"> |
| 212 | 212 | <div class="btn act-show fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 213 | - title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide advanced data') ); ?>"> |
|
| 213 | + title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide advanced data' ) ); ?>"> |
|
| 214 | 214 | </div> |
| 215 | 215 | </div> |
| 216 | 216 | <span class="header-label"><?= $enc->html( $this->translate( 'admin', 'Advanced' ) ); ?></span> |
@@ -292,7 +292,7 @@ discard block |
||
| 292 | 292 | </th> |
| 293 | 293 | <th class="actions"> |
| 294 | 294 | <div class="btn act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 295 | - title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>" |
|
| 295 | + title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>" |
|
| 296 | 296 | v-bind:readonly="checkSite('service.lists.siteid', idx)" |
| 297 | 297 | v-on:click="addConfig(idx)" > |
| 298 | 298 | </div> |
@@ -319,7 +319,7 @@ discard block |
||
| 319 | 319 | <td class="actions"> |
| 320 | 320 | <div v-if="!checkSite('service.lists.siteid', idx)" v-on:click="removeConfig(idx, pos)" |
| 321 | 321 | class="btn act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 322 | - title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>"> |
|
| 322 | + title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>"> |
|
| 323 | 323 | </div> |
| 324 | 324 | </td> |
| 325 | 325 | </tr> |
@@ -335,7 +335,7 @@ discard block |
||
| 335 | 335 | |
| 336 | 336 | <div class="card-tools-more"> |
| 337 | 337 | <div class="btn btn-primary btn-card-more act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 338 | - title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>" |
|
| 338 | + title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>" |
|
| 339 | 339 | v-on:click="addItem('service.lists.')" > |
| 340 | 340 | </div> |
| 341 | 341 | </div> |
@@ -29,7 +29,7 @@ discard block |
||
| 29 | 29 | v-bind:aria-controls="'item-media-group-data-' + idx" aria-expanded="false"> |
| 30 | 30 | <div class="card-tools-left"> |
| 31 | 31 | <div class="btn btn-card-header act-show fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 32 | - title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide this entry') ); ?>"> |
|
| 32 | + title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide this entry' ) ); ?>"> |
|
| 33 | 33 | </div> |
| 34 | 34 | </div> |
| 35 | 35 | <span class="item-label header-label" v-html="getLabel(idx)"></span> |
@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | <div class="card-tools-right"> |
| 38 | 38 | <div v-if="!checkSite('service.lists.siteid', idx)" |
| 39 | 39 | class="btn btn-card-header act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 40 | - title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>" |
|
| 40 | + title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>" |
|
| 41 | 41 | v-on:click.stop="removeItem(idx)"> |
| 42 | 42 | </div> |
| 43 | 43 | </div> |
@@ -62,7 +62,7 @@ discard block |
||
| 62 | 62 | v-bind:name="'<?= $enc->attr( $this->formparam( array( 'media', 'idx', 'media.url' ) ) ); ?>'.replace( 'idx', idx )" |
| 63 | 63 | v-model="items[idx]['media.url']" /> |
| 64 | 64 | <img v-if="items[idx]['media.preview']" class="item-preview" |
| 65 | - v-bind:src="getUrl('<?= $this->content('') ?>', items[idx]['media.preview'])" |
|
| 65 | + v-bind:src="getUrl('<?= $this->content( '' ) ?>', items[idx]['media.preview'])" |
|
| 66 | 66 | v-bind:alt="items[idx]['media.label']" /> |
| 67 | 67 | <p v-else class="item-preview"> |
| 68 | 68 | {{ items[idx]['media.label'] || '<?= $enc->html( $this->translate( 'admin', 'Select file' ) ) ?>' }} |
@@ -171,7 +171,7 @@ discard block |
||
| 171 | 171 | <div v-on:click="toggle(idx)" class="col-xl-12 advanced" v-bind:class="{ 'collapsed': !advanced[idx] }"> |
| 172 | 172 | <div class="card-tools-left"> |
| 173 | 173 | <div class="btn act-show fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 174 | - title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide advanced data') ); ?>"> |
|
| 174 | + title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide advanced data' ) ); ?>"> |
|
| 175 | 175 | </div> |
| 176 | 176 | </div> |
| 177 | 177 | <span class="header-label"><?= $enc->html( $this->translate( 'admin', 'Advanced' ) ); ?></span> |
@@ -250,7 +250,7 @@ discard block |
||
| 250 | 250 | </th> |
| 251 | 251 | <th class="actions"> |
| 252 | 252 | <div class="btn act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 253 | - title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>" |
|
| 253 | + title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>" |
|
| 254 | 254 | v-bind:readonly="checkSite('service.lists.siteid', idx)" |
| 255 | 255 | v-on:click="addConfig(idx)" > |
| 256 | 256 | </div> |
@@ -277,7 +277,7 @@ discard block |
||
| 277 | 277 | <td class="actions"> |
| 278 | 278 | <div v-if="!checkSite('service.lists.siteid', idx)" v-on:click="removeConfig(idx, pos)" |
| 279 | 279 | class="btn act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 280 | - title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>"> |
|
| 280 | + title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>"> |
|
| 281 | 281 | </div> |
| 282 | 282 | </td> |
| 283 | 283 | </tr> |
@@ -293,7 +293,7 @@ discard block |
||
| 293 | 293 | |
| 294 | 294 | <div class="card-tools-more"> |
| 295 | 295 | <div class="btn btn-primary btn-card-more act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 296 | - title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>" |
|
| 296 | + title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>" |
|
| 297 | 297 | v-on:click="addItem('service.lists.')" > |
| 298 | 298 | </div> |
| 299 | 299 | </div> |
@@ -105,7 +105,7 @@ |
||
| 105 | 105 | $file = $this->getMockBuilder( \Psr\Http\Message\UploadedFileInterface::class )->getMock(); |
| 106 | 106 | $request = $this->getMockBuilder( \Psr\Http\Message\ServerRequestInterface::class )->getMock(); |
| 107 | 107 | $request->expects( $this->any() )->method( 'getUploadedFiles' ) |
| 108 | - ->will( $this->returnValue( ['media' => [0 => ['file' => $file] ] ] ) ); |
|
| 108 | + ->will( $this->returnValue( ['media' => [0 => ['file' => $file]]] ) ); |
|
| 109 | 109 | |
| 110 | 110 | $helper = new \Aimeos\MW\View\Helper\Request\Standard( $this->view, $request, '127.0.0.1', 'test' ); |
| 111 | 111 | $this->view ->addHelper( 'request', $helper ); |
@@ -218,7 +218,7 @@ |
||
| 218 | 218 | |
| 219 | 219 | $search = $manager->createSearch( true )->setSlice( 0, 10000 ); |
| 220 | 220 | $search->setConditions( $search->compare( '==', 'media.property.type.domain', 'service' ) ); |
| 221 | - $search->setSortations( [$search->sort( '+', 'media.property.type.position')] ); |
|
| 221 | + $search->setSortations( [$search->sort( '+', 'media.property.type.position' )] ); |
|
| 222 | 222 | |
| 223 | 223 | $view->propertyTypes = $this->map( $manager->searchItems( $search ) ); |
| 224 | 224 | |
@@ -279,7 +279,7 @@ |
||
| 279 | 279 | $manager = \Aimeos\MShop::create( $this->getContext(), 'attribute/property/type' ); |
| 280 | 280 | |
| 281 | 281 | $search = $manager->createSearch( true )->setSlice( 0, 10000 ); |
| 282 | - $search->setSortations( [$search->sort( '+', 'attribute.property.type.position')] ); |
|
| 282 | + $search->setSortations( [$search->sort( '+', 'attribute.property.type.position' )] ); |
|
| 283 | 283 | |
| 284 | 284 | return $manager->searchItems( $search ); |
| 285 | 285 | } |
@@ -40,7 +40,7 @@ |
||
| 40 | 40 | $manager = \Aimeos\MAdmin::create( $context, 'log' ); |
| 41 | 41 | |
| 42 | 42 | $search = $manager->createSearch(); |
| 43 | - $search->setSortations( [$search->sort( '-', 'log.timestamp')] ); |
|
| 43 | + $search->setSortations( [$search->sort( '-', 'log.timestamp' )] ); |
|
| 44 | 44 | $search = $this->initCriteria( $search, $params ); |
| 45 | 45 | |
| 46 | 46 | $view->items = $manager->searchItems( $search, [], $total ); |
@@ -279,7 +279,7 @@ |
||
| 279 | 279 | $manager = \Aimeos\MShop::create( $context, 'locale/currency' ); |
| 280 | 280 | |
| 281 | 281 | $search = $manager->createSearch(); |
| 282 | - $search->setSortations( [$search->sort( '-', 'locale.currency.status'), $search->sort( '+', 'locale.currency.id')] ); |
|
| 282 | + $search->setSortations( [$search->sort( '-', 'locale.currency.status' ), $search->sort( '+', 'locale.currency.id' )] ); |
|
| 283 | 283 | $search = $this->initCriteria( $search, $params ); |
| 284 | 284 | |
| 285 | 285 | $view->items = $manager->searchItems( $search, [], $total ); |
@@ -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 ); |
@@ -432,7 +432,7 @@ discard block |
||
| 432 | 432 | $manager = \Aimeos\MShop::create( $this->getContext(), 'locale/currency' ); |
| 433 | 433 | |
| 434 | 434 | $search = $manager->createSearch( true ); |
| 435 | - $search->setSortations( [$search->sort( '+', 'locale.currency.id')] ); |
|
| 435 | + $search->setSortations( [$search->sort( '+', 'locale.currency.id' )] ); |
|
| 436 | 436 | $search->setSlice( 0, 250 ); |
| 437 | 437 | |
| 438 | 438 | return $manager->searchItems( $search ); |
@@ -449,7 +449,7 @@ discard block |
||
| 449 | 449 | $manager = \Aimeos\MShop::create( $this->getContext(), 'locale/language' ); |
| 450 | 450 | |
| 451 | 451 | $search = $manager->createSearch( true ); |
| 452 | - $search->setSortations( [$search->sort( '+', 'locale.language.id')] ); |
|
| 452 | + $search->setSortations( [$search->sort( '+', 'locale.language.id' )] ); |
|
| 453 | 453 | $search->setSlice( 0, 250 ); |
| 454 | 454 | |
| 455 | 455 | return $manager->searchItems( $search ); |