@@ -62,7 +62,7 @@ |
||
| 62 | 62 | throw new \Aimeos\Admin\JQAdm\Exception( sprintf( 'Invalid factory "%1$s"', $factory ) ); |
| 63 | 63 | } |
| 64 | 64 | |
| 65 | - return $client->setAimeos( $aimeos )->setView( $view );; |
|
| 65 | + return $client->setAimeos( $aimeos )->setView( $view ); ; |
|
| 66 | 66 | } |
| 67 | 67 | |
| 68 | 68 | } |
@@ -285,7 +285,7 @@ |
||
| 285 | 285 | $manager = \Aimeos\MShop::create( $context, 'index' ); |
| 286 | 286 | |
| 287 | 287 | $search = $manager->createSearch(); |
| 288 | - $search->setSortations( [$search->sort( '+', 'product.id')] ); |
|
| 288 | + $search->setSortations( [$search->sort( '+', 'product.id' )] ); |
|
| 289 | 289 | $search = $this->initCriteria( $search, $params ); |
| 290 | 290 | |
| 291 | 291 | $view->items = $manager->searchItems( $search, array_diff( $this->getDomains(), ['product'] ), $total ); |
@@ -416,7 +416,7 @@ |
||
| 416 | 416 | |
| 417 | 417 | if( $file && $file->getError() !== UPLOAD_ERR_NO_FILE ) { |
| 418 | 418 | $refItem = $cntl->add( $refItem, $file ); |
| 419 | - } elseif ( $refItem->getId() === null && $refItem->getUrl() !== '' ) { |
|
| 419 | + } elseif( $refItem->getId() === null && $refItem->getUrl() !== '' ) { |
|
| 420 | 420 | $refItem = $cntl->copy( $refItem ); |
| 421 | 421 | } |
| 422 | 422 | |
@@ -214,7 +214,7 @@ |
||
| 214 | 214 | |
| 215 | 215 | <?php foreach( $navitem as $subresource ) : ?> |
| 216 | 216 | <?php if( $this->access( $this->config( 'admin/jqadm/resource/' . $subresource . '/groups', [] ) ) ) : ?> |
| 217 | - <li class="<?= str_replace( '/', '-', $subresource); ?>"> |
|
| 217 | + <li class="<?= str_replace( '/', '-', $subresource ); ?>"> |
|
| 218 | 218 | <a href="<?= $enc->attr( $this->url( $searchTarget, $cntl, $action, ['resource' => $subresource] + $params, [], $config ) ); ?>"> |
| 219 | 219 | <span class="name"><?= $enc->html( $this->translate( 'admin', $subresource ) ); ?></span> |
| 220 | 220 | </a> |
@@ -218,7 +218,7 @@ |
||
| 218 | 218 | |
| 219 | 219 | $search = $manager->createSearch( true )->setSlice( 0, 10000 ); |
| 220 | 220 | $search->setConditions( $search->compare( '==', 'price.property.type.domain', 'price' ) ); |
| 221 | - $search->setSortations( [$search->sort( '+', 'price.property.type.position')] ); |
|
| 221 | + $search->setSortations( [$search->sort( '+', 'price.property.type.position' )] ); |
|
| 222 | 222 | |
| 223 | 223 | $view->propertyTypes = $this->map( $manager->searchItems( $search ) ); |
| 224 | 224 | |
@@ -116,7 +116,7 @@ discard block |
||
| 116 | 116 | <th class="actions"> |
| 117 | 117 | <a class="btn fa act-add" tabindex="1" |
| 118 | 118 | href="<?= $enc->attr( $this->url( $newTarget, $newCntl, $newAction, $params, [], $newConfig ) ); ?>" |
| 119 | - title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>" |
|
| 119 | + title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>" |
|
| 120 | 120 | aria-label="<?= $enc->attr( $this->translate( 'admin', 'Add' ) ); ?>"> |
| 121 | 121 | </a> |
| 122 | 122 | |
@@ -180,12 +180,12 @@ discard block |
||
| 180 | 180 | <td class="actions"> |
| 181 | 181 | <a class="btn act-copy fa" tabindex="1" |
| 182 | 182 | href="<?= $enc->attr( $this->url( $copyTarget, $copyCntl, $copyAction, ['id' => $id] + $params, [], $copyConfig ) ); ?>" |
| 183 | - title="<?= $enc->attr( $this->translate( 'admin', 'Copy this entry') ); ?>" |
|
| 183 | + title="<?= $enc->attr( $this->translate( 'admin', 'Copy this entry' ) ); ?>" |
|
| 184 | 184 | aria-label="<?= $enc->attr( $this->translate( 'admin', 'Copy' ) ); ?>"> |
| 185 | 185 | </a> |
| 186 | 186 | <a class="btn act-delete fa" tabindex="1" |
| 187 | 187 | href="<?= $enc->attr( $this->url( $delTarget, $delCntl, $delAction, ['id' => $id] + $params, [], $delConfig ) ); ?>" |
| 188 | - title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>" |
|
| 188 | + title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>" |
|
| 189 | 189 | aria-label="<?= $enc->attr( $this->translate( 'admin', 'Delete' ) ); ?>"> |
| 190 | 190 | </a> |
| 191 | 191 | </td> |
@@ -127,7 +127,7 @@ discard block |
||
| 127 | 127 | <th class="actions"> |
| 128 | 128 | <a class="btn fa act-add" tabindex="1" |
| 129 | 129 | href="<?= $enc->attr( $this->url( $newTarget, $newCntl, $newAction, $params, [], $newConfig ) ); ?>" |
| 130 | - title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>" |
|
| 130 | + title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>" |
|
| 131 | 131 | aria-label="<?= $enc->attr( $this->translate( 'admin', 'Add' ) ); ?>"> |
| 132 | 132 | </a> |
| 133 | 133 | |
@@ -209,13 +209,13 @@ discard block |
||
| 209 | 209 | <td class="actions"> |
| 210 | 210 | <a class="btn act-copy fa" tabindex="1" |
| 211 | 211 | href="<?= $enc->attr( $this->url( $copyTarget, $copyCntl, $copyAction, ['id' => $id] + $params, [], $copyConfig ) ); ?>" |
| 212 | - title="<?= $enc->attr( $this->translate( 'admin', 'Copy this entry') ); ?>" |
|
| 212 | + title="<?= $enc->attr( $this->translate( 'admin', 'Copy this entry' ) ); ?>" |
|
| 213 | 213 | aria-label="<?= $enc->attr( $this->translate( 'admin', 'Copy' ) ); ?>"> |
| 214 | 214 | </a> |
| 215 | 215 | <?php if( !$this->site()->readonly( $item->getSiteId() ) ) : ?> |
| 216 | 216 | <a class="btn act-delete fa" tabindex="1" |
| 217 | 217 | href="<?= $enc->attr( $this->url( $delTarget, $delCntl, $delAction, ['id' => $id] + $params, [], $delConfig ) ); ?>" |
| 218 | - title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>" |
|
| 218 | + title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>" |
|
| 219 | 219 | aria-label="<?= $enc->attr( $this->translate( 'admin', 'Delete' ) ); ?>"> |
| 220 | 220 | </a> |
| 221 | 221 | <?php endif; ?> |
@@ -127,7 +127,7 @@ discard block |
||
| 127 | 127 | <th class="actions"> |
| 128 | 128 | <a class="btn fa act-add" tabindex="1" |
| 129 | 129 | href="<?= $enc->attr( $this->url( $newTarget, $newCntl, $newAction, $params, [], $newConfig ) ); ?>" |
| 130 | - title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>" |
|
| 130 | + title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>" |
|
| 131 | 131 | aria-label="<?= $enc->attr( $this->translate( 'admin', 'Add' ) ); ?>"> |
| 132 | 132 | </a> |
| 133 | 133 | |
@@ -209,13 +209,13 @@ discard block |
||
| 209 | 209 | <td class="actions"> |
| 210 | 210 | <a class="btn act-copy fa" tabindex="1" |
| 211 | 211 | href="<?= $enc->attr( $this->url( $copyTarget, $copyCntl, $copyAction, ['id' => $id] + $params, [], $copyConfig ) ); ?>" |
| 212 | - title="<?= $enc->attr( $this->translate( 'admin', 'Copy this entry') ); ?>" |
|
| 212 | + title="<?= $enc->attr( $this->translate( 'admin', 'Copy this entry' ) ); ?>" |
|
| 213 | 213 | aria-label="<?= $enc->attr( $this->translate( 'admin', 'Copy' ) ); ?>"> |
| 214 | 214 | </a> |
| 215 | 215 | <?php if( !$this->site()->readonly( $item->getSiteId() ) ) : ?> |
| 216 | 216 | <a class="btn act-delete fa" tabindex="1" |
| 217 | 217 | href="<?= $enc->attr( $this->url( $delTarget, $delCntl, $delAction, ['id' => $id] + $params, [], $delConfig ) ); ?>" |
| 218 | - title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>" |
|
| 218 | + title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>" |
|
| 219 | 219 | aria-label="<?= $enc->attr( $this->translate( 'admin', 'Delete' ) ); ?>"> |
| 220 | 220 | </a> |
| 221 | 221 | <?php endif; ?> |
@@ -127,7 +127,7 @@ discard block |
||
| 127 | 127 | <th class="actions"> |
| 128 | 128 | <a class="btn fa act-add" tabindex="1" |
| 129 | 129 | href="<?= $enc->attr( $this->url( $newTarget, $newCntl, $newAction, $params, [], $newConfig ) ); ?>" |
| 130 | - title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>" |
|
| 130 | + title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>" |
|
| 131 | 131 | aria-label="<?= $enc->attr( $this->translate( 'admin', 'Add' ) ); ?>"> |
| 132 | 132 | </a> |
| 133 | 133 | |
@@ -209,13 +209,13 @@ discard block |
||
| 209 | 209 | <td class="actions"> |
| 210 | 210 | <a class="btn act-copy fa" tabindex="1" |
| 211 | 211 | href="<?= $enc->attr( $this->url( $copyTarget, $copyCntl, $copyAction, ['id' => $id] + $params, [], $copyConfig ) ); ?>" |
| 212 | - title="<?= $enc->attr( $this->translate( 'admin', 'Copy this entry') ); ?>" |
|
| 212 | + title="<?= $enc->attr( $this->translate( 'admin', 'Copy this entry' ) ); ?>" |
|
| 213 | 213 | aria-label="<?= $enc->attr( $this->translate( 'admin', 'Copy' ) ); ?>"> |
| 214 | 214 | </a> |
| 215 | 215 | <?php if( !$this->site()->readonly( $item->getSiteId() ) ) : ?> |
| 216 | 216 | <a class="btn act-delete fa" tabindex="1" |
| 217 | 217 | href="<?= $enc->attr( $this->url( $delTarget, $delCntl, $delAction, ['id' => $id] + $params, [], $delConfig ) ); ?>" |
| 218 | - title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>" |
|
| 218 | + title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>" |
|
| 219 | 219 | aria-label="<?= $enc->attr( $this->translate( 'admin', 'Delete' ) ); ?>"> |
| 220 | 220 | </a> |
| 221 | 221 | <?php endif; ?> |