@@ -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; ?> |
@@ -295,7 +295,7 @@ discard block |
||
295 | 295 | <th class="config-row-value"><?= $enc->html( $this->translate( 'admin', 'Value' ) ); ?></th> |
296 | 296 | <th class="actions"> |
297 | 297 | <div v-if="!readonly" class="btn act-add fa" tabindex="1" v-on:click="add()" |
298 | - title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>"></div> |
|
298 | + title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>"></div> |
|
299 | 299 | </th> |
300 | 300 | </tr> |
301 | 301 | </thead> |
@@ -314,7 +314,7 @@ discard block |
||
314 | 314 | </td> |
315 | 315 | <td class="actions"> |
316 | 316 | <div v-if="!readonly" class="btn act-delete fa" tabindex="1" v-on:click="remove(pos)" |
317 | - title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>"></div> |
|
317 | + title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>"></div> |
|
318 | 318 | </td> |
319 | 319 | </tr> |
320 | 320 | </tbody> |
@@ -87,9 +87,12 @@ |
||
87 | 87 | </select> |
88 | 88 | </div> |
89 | 89 | </div> |
90 | - <?php else : ?> |
|
90 | + <?php else { |
|
91 | + : ?> |
|
91 | 92 | <input class="item-languageid" type="hidden" |
92 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'address', 'idx', 'supplier.address.languageid' ) ) ); ?>'.replace('idx', idx)" |
|
93 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'address', 'idx', 'supplier.address.languageid' ) ) ); |
|
94 | +} |
|
95 | +?>'.replace('idx', idx)" |
|
93 | 96 | value="<?= $enc->attr( key( $languages ) ); ?>" /> |
94 | 97 | <?php endif; ?> |
95 | 98 | <div class="form-group row optional"> |
@@ -124,9 +124,12 @@ discard block |
||
124 | 124 | <?= $enc->html( $this->translate( 'admin', 'Language of the entered text' ) ); ?> |
125 | 125 | </div> |
126 | 126 | </div> |
127 | - <?php else : ?> |
|
127 | + <?php else { |
|
128 | + : ?> |
|
128 | 129 | <input class="text-langid" type="hidden" |
129 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.languageid' ) ) ); ?>'.replace('idx', idx)" |
|
130 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.languageid' ) ) ); |
|
131 | +} |
|
132 | +?>'.replace('idx', idx)" |
|
130 | 133 | value="<?= $enc->attr( key( $languages ) ); ?>" /> |
131 | 134 | <?php endif; ?> |
132 | 135 | |
@@ -155,9 +158,12 @@ discard block |
||
155 | 158 | <?= $enc->html( $this->translate( 'admin', 'Types for additional texts like per one lb/kg or per month' ) ); ?> |
156 | 159 | </div> |
157 | 160 | </div> |
158 | - <?php else : ?> |
|
161 | + <?php else { |
|
162 | + : ?> |
|
159 | 163 | <input class="item-type" type="hidden" |
160 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.type' ) ) ); ?>'.replace('idx', idx)" |
|
164 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.type' ) ) ); |
|
165 | +} |
|
166 | +?>'.replace('idx', idx)" |
|
161 | 167 | value="<?= $enc->attr( key( $textTypes ) ); ?>" /> |
162 | 168 | <?php endif; ?> |
163 | 169 | |
@@ -213,9 +219,12 @@ discard block |
||
213 | 219 | <?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?> |
214 | 220 | </div> |
215 | 221 | </div> |
216 | - <?php else : ?> |
|
222 | + <?php else { |
|
223 | + : ?> |
|
217 | 224 | <input class="listitem-type" type="hidden" |
218 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'supplier.lists.type' ) ) ); ?>'.replace('idx', idx)" |
|
225 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'supplier.lists.type' ) ) ); |
|
226 | +} |
|
227 | +?>'.replace('idx', idx)" |
|
219 | 228 | value="<?= $enc->attr( key( $listTypes ) ); ?>" |
220 | 229 | v-model="items[idx]['supplier.lists.type']" /> |
221 | 230 | <?php endif; ?> |
@@ -295,7 +295,7 @@ discard block |
||
295 | 295 | <th class="config-row-value"><?= $enc->html( $this->translate( 'admin', 'Value' ) ); ?></th> |
296 | 296 | <th class="actions"> |
297 | 297 | <div v-if="!readonly" class="btn act-add fa" tabindex="1" v-on:click="add()" |
298 | - title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>"></div> |
|
298 | + title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>"></div> |
|
299 | 299 | </th> |
300 | 300 | </tr> |
301 | 301 | </thead> |
@@ -314,7 +314,7 @@ discard block |
||
314 | 314 | </td> |
315 | 315 | <td class="actions"> |
316 | 316 | <div v-if="!readonly" class="btn act-delete fa" tabindex="1" v-on:click="remove(pos)" |
317 | - title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>"></div> |
|
317 | + title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>"></div> |
|
318 | 318 | </td> |
319 | 319 | </tr> |
320 | 320 | </tbody> |