@@ -31,7 +31,7 @@ |
||
| 31 | 31 | </th> |
| 32 | 32 | <th class="actions"> |
| 33 | 33 | <div class="btn act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 34 | - title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>" |
|
| 34 | + title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>" |
|
| 35 | 35 | v-on:click="addItem()"> |
| 36 | 36 | </div> |
| 37 | 37 | </th> |
@@ -553,7 +553,7 @@ |
||
| 553 | 553 | foreach( (array) $this->getValue( $data, 'config', [] ) as $idx => $entry ) |
| 554 | 554 | { |
| 555 | 555 | if( trim( $entry['key'] ?? '' ) !== '' ) { |
| 556 | - $conf[$entry['key']] = $entry['val'] ?? null ; |
|
| 556 | + $conf[$entry['key']] = $entry['val'] ?? null; |
|
| 557 | 557 | } |
| 558 | 558 | } |
| 559 | 559 | |
@@ -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> |
@@ -236,7 +236,7 @@ discard block |
||
| 236 | 236 | <th class="config-row-value"><?= $enc->html( $this->translate( 'admin', 'Value' ) ); ?></th> |
| 237 | 237 | <th class="actions"> |
| 238 | 238 | <div v-if="!readonly" class="btn act-add fa" tabindex="1" v-on:click="add()" |
| 239 | - title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>"></div> |
|
| 239 | + title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>"></div> |
|
| 240 | 240 | </th> |
| 241 | 241 | </tr> |
| 242 | 242 | </thead> |
@@ -255,7 +255,7 @@ discard block |
||
| 255 | 255 | </td> |
| 256 | 256 | <td class="actions"> |
| 257 | 257 | <div v-if="!readonly" class="btn act-delete fa" tabindex="1" v-on:click="remove(pos)" |
| 258 | - title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>"></div> |
|
| 258 | + title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>"></div> |
|
| 259 | 259 | </td> |
| 260 | 260 | </tr> |
| 261 | 261 | </tbody> |
@@ -45,7 +45,7 @@ discard block |
||
| 45 | 45 | v-bind:aria-controls="'item-text-group-data-' + idx" aria-expanded="false"> |
| 46 | 46 | <div class="card-tools-left"> |
| 47 | 47 | <div class="btn btn-card-header act-show fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 48 | - title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide this entry') ); ?>"> |
|
| 48 | + title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide this entry' ) ); ?>"> |
|
| 49 | 49 | </div> |
| 50 | 50 | </div> |
| 51 | 51 | <span class="item-label header-label" v-html="getLabel(idx)"></span> |
@@ -74,7 +74,7 @@ discard block |
||
| 74 | 74 | </div> |
| 75 | 75 | <div v-if="!checkSite('service.lists.siteid', idx)" |
| 76 | 76 | class="btn btn-card-header act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 77 | - title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>" |
|
| 77 | + title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>" |
|
| 78 | 78 | v-on:click.stop="removeItem(idx)"> |
| 79 | 79 | </div> |
| 80 | 80 | </div> |
@@ -214,7 +214,7 @@ discard block |
||
| 214 | 214 | <div v-on:click="toggle(idx)" class="col-xl-12 advanced" v-bind:class="{ 'collapsed': !advanced[idx] }"> |
| 215 | 215 | <div class="card-tools-left"> |
| 216 | 216 | <div class="btn act-show fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 217 | - title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide advanced data') ); ?>"> |
|
| 217 | + title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide advanced data' ) ); ?>"> |
|
| 218 | 218 | </div> |
| 219 | 219 | </div> |
| 220 | 220 | <span class="header-label"><?= $enc->html( $this->translate( 'admin', 'Advanced' ) ); ?></span> |
@@ -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> |
@@ -330,7 +330,7 @@ discard block |
||
| 330 | 330 | |
| 331 | 331 | <div slot="footer" class="card-tools-more"> |
| 332 | 332 | <div class="btn btn-primary btn-card-more act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 333 | - title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>" |
|
| 333 | + title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>" |
|
| 334 | 334 | v-on:click="addItem('service.lists.')" > |
| 335 | 335 | </div> |
| 336 | 336 | </div> |
@@ -239,7 +239,7 @@ discard block |
||
| 239 | 239 | |
| 240 | 240 | <?php foreach( array_values( $this->get( 'itemSubparts', [] ) ) as $idx => $subpart ) : ?> |
| 241 | 241 | <li class="nav-item <?= $enc->attr( $subpart ); ?>"> |
| 242 | - <a class="nav-link" href="#<?= $enc->attr( $subpart ); ?>" data-toggle="tab" role="tab" tabindex="<?= ++$idx+1; ?>"> |
|
| 242 | + <a class="nav-link" href="#<?= $enc->attr( $subpart ); ?>" data-toggle="tab" role="tab" tabindex="<?= ++$idx + 1; ?>"> |
|
| 243 | 243 | <?= $enc->html( $this->translate( 'admin', $subpart ) ); ?> |
| 244 | 244 | </a> |
| 245 | 245 | </li> |
@@ -428,7 +428,7 @@ discard block |
||
| 428 | 428 | <th class="config-row-value"><?= $enc->html( $this->translate( 'admin', 'Value' ) ); ?></th> |
| 429 | 429 | <th class="actions"> |
| 430 | 430 | <div v-if="!readonly" class="btn act-add fa" tabindex="1" v-on:click="add()" |
| 431 | - title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>"></div> |
|
| 431 | + title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>"></div> |
|
| 432 | 432 | </th> |
| 433 | 433 | </tr> |
| 434 | 434 | </thead> |
@@ -447,7 +447,7 @@ discard block |
||
| 447 | 447 | </td> |
| 448 | 448 | <td class="actions"> |
| 449 | 449 | <div v-if="!readonly" class="btn act-delete fa" tabindex="1" v-on:click="remove(pos)" |
| 450 | - title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>"></div> |
|
| 450 | + title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>"></div> |
|
| 451 | 451 | </td> |
| 452 | 452 | </tr> |
| 453 | 453 | </tbody> |
@@ -155,7 +155,7 @@ discard block |
||
| 155 | 155 | <th class="config-row-value"><?= $enc->html( $this->translate( 'admin', 'Value' ) ); ?></th> |
| 156 | 156 | <th class="actions"> |
| 157 | 157 | <div v-if="!readonly" class="btn act-add fa" tabindex="1" v-on:click="add()" |
| 158 | - title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>"></div> |
|
| 158 | + title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>"></div> |
|
| 159 | 159 | </th> |
| 160 | 160 | </tr> |
| 161 | 161 | </thead> |
@@ -174,7 +174,7 @@ discard block |
||
| 174 | 174 | </td> |
| 175 | 175 | <td class="actions"> |
| 176 | 176 | <div v-if="!readonly" class="btn act-delete fa" tabindex="1" v-on:click="remove(pos)" |
| 177 | - title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>"></div> |
|
| 177 | + title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>"></div> |
|
| 178 | 178 | </td> |
| 179 | 179 | </tr> |
| 180 | 180 | </tbody> |
@@ -77,7 +77,7 @@ discard block |
||
| 77 | 77 | <div is="taxrates" v-bind:key="idx" |
| 78 | 78 | v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.taxrates' ) ) ); ?>'.replace('idx', idx)" |
| 79 | 79 | v-bind:placeholder="'<?= $enc->attr( $this->translate( 'admin', 'Tax rate in %' ) ); ?>'" |
| 80 | - v-bind:types="JSON.parse('<?= $enc->attr($this->config( 'admin/tax', [] ) ) ?>')" |
|
| 80 | + v-bind:types="JSON.parse('<?= $enc->attr( $this->config( 'admin/tax', [] ) ) ?>')" |
|
| 81 | 81 | v-bind:tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 82 | 82 | v-bind:readonly="checkSite('price.siteid', idx)" |
| 83 | 83 | v-bind:taxrates="items[idx]['price.taxrates']" |
@@ -312,7 +312,7 @@ discard block |
||
| 312 | 312 | <th><?= $enc->html( $this->translate( 'admin', 'Value' ) ); ?></th> |
| 313 | 313 | <th class="actions"> |
| 314 | 314 | <div v-if="!readonly" class="btn act-add fa" tabindex="1" v-on:click="add()" |
| 315 | - title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>"></div> |
|
| 315 | + title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>"></div> |
|
| 316 | 316 | </th> |
| 317 | 317 | </tr> |
| 318 | 318 | </thead> |
@@ -331,7 +331,7 @@ discard block |
||
| 331 | 331 | </td> |
| 332 | 332 | <td class="actions"> |
| 333 | 333 | <div v-if="!readonly" class="btn act-delete fa" tabindex="1" v-on:click="remove(pos)" |
| 334 | - title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>"></div> |
|
| 334 | + title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>"></div> |
|
| 335 | 335 | </td> |
| 336 | 336 | </tr> |
| 337 | 337 | </tbody> |
@@ -43,7 +43,7 @@ discard block |
||
| 43 | 43 | v-bind:aria-controls="'item-media-group-data-' + idx" aria-expanded="false"> |
| 44 | 44 | <div class="card-tools-left"> |
| 45 | 45 | <div class="btn btn-card-header act-show fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 46 | - title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide this entry') ); ?>"> |
|
| 46 | + title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide this entry' ) ); ?>"> |
|
| 47 | 47 | </div> |
| 48 | 48 | </div> |
| 49 | 49 | <span class="item-label header-label" v-html="getLabel(idx)"></span> |
@@ -55,7 +55,7 @@ discard block |
||
| 55 | 55 | </div> |
| 56 | 56 | <div v-if="!checkSite('attribute.lists.siteid', idx)" |
| 57 | 57 | class="btn btn-card-header act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 58 | - title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>" |
|
| 58 | + title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>" |
|
| 59 | 59 | v-on:click.stop="removeItem(idx)"> |
| 60 | 60 | </div> |
| 61 | 61 | </div> |
@@ -77,7 +77,7 @@ discard block |
||
| 77 | 77 | v-bind:name="'<?= $enc->attr( $this->formparam( array( 'media', 'idx', 'media.url' ) ) ); ?>'.replace( 'idx', idx )" |
| 78 | 78 | v-model="items[idx]['media.url']" /> |
| 79 | 79 | <img v-if="items[idx]['media.preview']" class="item-preview" |
| 80 | - v-bind:src="getUrl('<?= $this->content('') ?>', items[idx]['media.preview'])" |
|
| 80 | + v-bind:src="getUrl('<?= $this->content( '' ) ?>', items[idx]['media.preview'])" |
|
| 81 | 81 | v-bind:alt="items[idx]['media.label']" /> |
| 82 | 82 | <p v-else class="item-preview"> |
| 83 | 83 | {{ items[idx]['media.label'] || '<?= $enc->html( $this->translate( 'admin', 'Select file' ) ) ?>' }} |
@@ -186,7 +186,7 @@ discard block |
||
| 186 | 186 | <div v-on:click="toggle(idx)" class="col-xl-12 advanced" v-bind:class="{ 'collapsed': !advanced[idx] }"> |
| 187 | 187 | <div class="card-tools-left"> |
| 188 | 188 | <div class="btn act-show fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 189 | - title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide advanced data') ); ?>"> |
|
| 189 | + title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide advanced data' ) ); ?>"> |
|
| 190 | 190 | </div> |
| 191 | 191 | </div> |
| 192 | 192 | <span class="header-label"><?= $enc->html( $this->translate( 'admin', 'Advanced' ) ); ?></span> |
@@ -264,7 +264,7 @@ discard block |
||
| 264 | 264 | <th class="config-row-value"><?= $enc->html( $this->translate( 'admin', 'Value' ) ); ?></th> |
| 265 | 265 | <th class="actions"> |
| 266 | 266 | <div v-if="!readonly" class="btn act-add fa" tabindex="1" v-on:click="add()" |
| 267 | - title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>"></div> |
|
| 267 | + title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>"></div> |
|
| 268 | 268 | </th> |
| 269 | 269 | </tr> |
| 270 | 270 | </thead> |
@@ -283,7 +283,7 @@ discard block |
||
| 283 | 283 | </td> |
| 284 | 284 | <td class="actions"> |
| 285 | 285 | <div v-if="!readonly" class="btn act-delete fa" tabindex="1" v-on:click="remove(pos)" |
| 286 | - title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>"></div> |
|
| 286 | + title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>"></div> |
|
| 287 | 287 | </td> |
| 288 | 288 | </tr> |
| 289 | 289 | </tbody> |
@@ -299,7 +299,7 @@ discard block |
||
| 299 | 299 | |
| 300 | 300 | <div slot="footer" class="card-tools-more"> |
| 301 | 301 | <div class="btn btn-primary btn-card-more act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 302 | - title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>" |
|
| 302 | + title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>" |
|
| 303 | 303 | v-on:click="addItem('attribute.lists.')" > |
| 304 | 304 | </div> |
| 305 | 305 | </div> |