@@ -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; ?> |
@@ -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; ?> |
@@ -52,8 +52,11 @@ |
||
52 | 52 | </option> |
53 | 53 | <?php endforeach; ?> |
54 | 54 | </select> |
55 | - <?php else : ?> |
|
56 | - <input class="form-control" type="<?= $enc->attr( $type ); ?>" tabindex="<?= $this->get( 'tabindex' ); ?>" |
|
55 | + <?php else { |
|
56 | + : ?> |
|
57 | + <input class="form-control" type="<?= $enc->attr( $type ); |
|
58 | +} |
|
59 | +?>" tabindex="<?= $this->get( 'tabindex' ); ?>" |
|
57 | 60 | name="<?= $enc->attr( $this->formparam( array_merge( $group, ['filter', 'val', $idx] ) ) ); ?>" |
58 | 61 | value="<?= $enc->attr( $this->value( $filter, 'val/' . $idx, '' ) ); ?>" /> |
59 | 62 | <?php endif; ?> |
@@ -56,16 +56,14 @@ |
||
56 | 56 | $controller = $this->config( 'admin/jqadm/url/get/controller', 'Jqadm' ); |
57 | 57 | $action = $this->config( 'admin/jqadm/url/get/action', 'get' ); |
58 | 58 | $config = $this->config( 'admin/jqadm/url/get/config', [] ); |
59 | - } |
|
60 | - else |
|
59 | + } else |
|
61 | 60 | { |
62 | 61 | $target = $this->config( 'admin/jqadm/url/create/target' ); |
63 | 62 | $controller = $this->config( 'admin/jqadm/url/create/controller', 'Jqadm' ); |
64 | 63 | $action = $this->config( 'admin/jqadm/url/create/action', 'create' ); |
65 | 64 | $config = $this->config( 'admin/jqadm/url/create/config', [] ); |
66 | 65 | } |
67 | -} |
|
68 | -else |
|
66 | +} else |
|
69 | 67 | { |
70 | 68 | $target = $this->config( 'admin/jqadm/url/search/target' ); |
71 | 69 | $controller = $this->config( 'admin/jqadm/url/search/controller', 'Jqadm' ); |
@@ -50,7 +50,7 @@ |
||
50 | 50 | $id = $siteManager->searchItems( $search )->keys()->first() ?: $siteItem->getId(); |
51 | 51 | } |
52 | 52 | } |
53 | - catch( \Exception $e ) { ; } |
|
53 | + catch( \Exception $e ) {; } |
|
54 | 54 | |
55 | 55 | if( $view->access( ['admin', 'super'] ) ) { |
56 | 56 | $level = \Aimeos\MW\Tree\Manager\Base::LEVEL_TREE; |
@@ -50,7 +50,9 @@ discard block |
||
50 | 50 | $id = $siteManager->searchItems( $search )->keys()->first() ?: $siteItem->getId(); |
51 | 51 | } |
52 | 52 | } |
53 | - catch( \Exception $e ) { ; } |
|
53 | + catch( \Exception $e ) |
|
54 | + { |
|
55 | +; } |
|
54 | 56 | |
55 | 57 | if( $view->access( ['admin', 'super'] ) ) { |
56 | 58 | $level = \Aimeos\MW\Tree\Manager\Base::LEVEL_TREE; |
@@ -77,8 +79,7 @@ discard block |
||
77 | 79 | if( ( $rootItem = $sitePath->first() ) !== null ) { |
78 | 80 | $view->pageSiteTree = $siteManager->getTree( $rootItem->getId(), [], $level ); |
79 | 81 | } |
80 | - } |
|
81 | - else |
|
82 | + } else |
|
82 | 83 | { |
83 | 84 | $view->pageSiteList = map( [$view->pageSiteTree] ); |
84 | 85 | } |
@@ -294,8 +294,7 @@ |
||
294 | 294 | $propItem->setValue( $value ); |
295 | 295 | |
296 | 296 | $item->addPropertyItem( $propItem ); |
297 | - } |
|
298 | - else |
|
297 | + } else |
|
299 | 298 | { |
300 | 299 | $item->deletePropertyItems( $propItems->toArray() ); |
301 | 300 | } |