@@ -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; ?> |
@@ -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; ?> |
@@ -124,9 +124,12 @@ discard block |
||
124 | 124 | <?= $enc->html( $this->translate( 'admin', 'Types for additional images like icons' ) ); ?> |
125 | 125 | </div> |
126 | 126 | </div> |
127 | - <?php else : ?> |
|
127 | + <?php else { |
|
128 | + : ?> |
|
128 | 129 | <input class="item-type" type="hidden" |
129 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'media', 'idx', 'media.type' ) ) ); ?>'.replace( 'idx', idx )" |
|
130 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'media', 'idx', 'media.type' ) ) ); |
|
131 | +} |
|
132 | +?>'.replace( 'idx', idx )" |
|
130 | 133 | value="<?= $enc->attr( key( $mediaTypes ) ); ?>" /> |
131 | 134 | <?php endif; ?> |
132 | 135 | |
@@ -204,9 +207,12 @@ discard block |
||
204 | 207 | <?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?> |
205 | 208 | </div> |
206 | 209 | </div> |
207 | - <?php else : ?> |
|
210 | + <?php else { |
|
211 | + : ?> |
|
208 | 212 | <input class="listitem-type" type="hidden" |
209 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'media', 'idx', 'supplier.lists.type' ) ) ); ?>'.replace( 'idx', idx )" |
|
213 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'media', 'idx', 'supplier.lists.type' ) ) ); |
|
214 | +} |
|
215 | +?>'.replace( 'idx', idx )" |
|
210 | 216 | value="<?= $enc->attr( key( $listTypes ) ); ?>" |
211 | 217 | v-model="items[idx]['supplier.lists.type']" /> |
212 | 218 | <?php endif; ?> |