@@ -81,9 +81,12 @@ |
||
| 81 | 81 | </select> |
| 82 | 82 | </div> |
| 83 | 83 | </div> |
| 84 | - <?php else : ?> |
|
| 84 | + <?php else { |
|
| 85 | + : ?> |
|
| 85 | 86 | <input class="item-languageid" type="hidden" |
| 86 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'address', 'idx', 'supplier.address.languageid' ) ) ); ?>'.replace('idx', idx)" |
|
| 87 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'address', 'idx', 'supplier.address.languageid' ) ) ); |
|
| 88 | +} |
|
| 89 | +?>'.replace('idx', idx)" |
|
| 87 | 90 | value="<?= $enc->attr( key( $languages ) ); ?>" /> |
| 88 | 91 | <?php endif; ?> |
| 89 | 92 | <div class="form-group row optional"> |
@@ -31,19 +31,19 @@ discard block |
||
| 31 | 31 | v-bind:aria-controls="'item-address-group-data-' + idx" aria-expanded="false"> |
| 32 | 32 | <div class="card-tools-left"> |
| 33 | 33 | <div class="btn btn-card-header act-show fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 34 | - title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide this entry') ); ?>"> |
|
| 34 | + title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide this entry' ) ); ?>"> |
|
| 35 | 35 | </div> |
| 36 | 36 | </div> |
| 37 | 37 | <span class="item-label header-label">{{ getLabel(idx, 'supplier.address.') }}</span> |
| 38 | 38 | |
| 39 | 39 | <div class="card-tools-right"> |
| 40 | 40 | <div class="btn btn-card-header act-copy fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 41 | - title="<?= $enc->attr( $this->translate( 'admin', 'Duplicate entry (Ctrl+D)') ); ?>" |
|
| 41 | + title="<?= $enc->attr( $this->translate( 'admin', 'Duplicate entry (Ctrl+D)' ) ); ?>" |
|
| 42 | 42 | v-on:click.stop="duplicateItem(idx)"> |
| 43 | 43 | </div> |
| 44 | 44 | <div v-if="!checkSite('supplier.address.siteid', idx)" |
| 45 | 45 | class="btn btn-card-header act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 46 | - title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>" |
|
| 46 | + title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>" |
|
| 47 | 47 | v-on:click="removeItem(idx)"> |
| 48 | 48 | </div> |
| 49 | 49 | </div> |
@@ -337,7 +337,7 @@ discard block |
||
| 337 | 337 | |
| 338 | 338 | <div class="card-tools-more"> |
| 339 | 339 | <div class="btn btn-primary btn-card-more act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 340 | - title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>" |
|
| 340 | + title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>" |
|
| 341 | 341 | v-on:click="addItem('supplier.address.')" > |
| 342 | 342 | </div> |
| 343 | 343 | </div> |
@@ -87,9 +87,12 @@ |
||
| 87 | 87 | <div class="item-actions"> |
| 88 | 88 | <?php if( isset( $this->itemData ) ) : ?> |
| 89 | 89 | <?= $this->partial( $this->config( 'admin/jqadm/partial/itemactions', 'common/partials/itemactions-standard' ), ['params' => $params] ); ?> |
| 90 | - <?php else : ?> |
|
| 90 | + <?php else { |
|
| 91 | + : ?> |
|
| 91 | 92 | <span class="placeholder"> </span> |
| 92 | - <?php endif; ?> |
|
| 93 | + <?php endif; |
|
| 94 | +} |
|
| 95 | +?> |
|
| 93 | 96 | </div> |
| 94 | 97 | </nav> |
| 95 | 98 | |
@@ -127,7 +127,7 @@ discard block |
||
| 127 | 127 | |
| 128 | 128 | <?php foreach( array_values( $this->get( 'itemSubparts', [] ) ) as $idx => $subpart ) : ?> |
| 129 | 129 | <li class="nav-item <?= $enc->attr( $subpart ); ?>"> |
| 130 | - <a class="nav-link" href="#<?= $enc->attr( $subpart ); ?>" data-toggle="tab" role="tab" tabindex="<?= ++$idx+1; ?>"> |
|
| 130 | + <a class="nav-link" href="#<?= $enc->attr( $subpart ); ?>" data-toggle="tab" role="tab" tabindex="<?= ++$idx + 1; ?>"> |
|
| 131 | 131 | <?= $enc->html( $this->translate( 'admin', $subpart ) ); ?> |
| 132 | 132 | </a> |
| 133 | 133 | </li> |
@@ -237,7 +237,7 @@ discard block |
||
| 237 | 237 | <th class="actions"> |
| 238 | 238 | <?php if( !$this->site()->readonly( $this->get( 'itemData/catalog.siteid' ) ) ) : ?> |
| 239 | 239 | <div class="btn act-add fa" tabindex="1" |
| 240 | - title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>"> |
|
| 240 | + title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>"> |
|
| 241 | 241 | </div> |
| 242 | 242 | <?php endif; ?> |
| 243 | 243 | </th> |
@@ -262,7 +262,7 @@ discard block |
||
| 262 | 262 | <td class="actions"> |
| 263 | 263 | <?php if( !$this->site()->readonly( $this->get( 'itemData/catalog.siteid' ) ) ) : ?> |
| 264 | 264 | <div class="btn act-delete fa" tabindex="1" |
| 265 | - title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>"> |
|
| 265 | + title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>"> |
|
| 266 | 266 | </div> |
| 267 | 267 | <?php endif; ?> |
| 268 | 268 | </td> |
@@ -281,7 +281,7 @@ discard block |
||
| 281 | 281 | <td class="actions"> |
| 282 | 282 | <?php if( !$this->site()->readonly( $this->get( 'itemData/catalog.siteid' ) ) ) : ?> |
| 283 | 283 | <div class="btn act-delete fa" tabindex="1" |
| 284 | - title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>"> |
|
| 284 | + title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>"> |
|
| 285 | 285 | </div> |
| 286 | 286 | <?php endif; ?> |
| 287 | 287 | </td> |
@@ -115,9 +115,12 @@ discard block |
||
| 115 | 115 | <?= $enc->html( $this->translate( 'admin', 'Language of the entered text' ) ); ?> |
| 116 | 116 | </div> |
| 117 | 117 | </div> |
| 118 | - <?php else : ?> |
|
| 118 | + <?php else { |
|
| 119 | + : ?> |
|
| 119 | 120 | <input class="text-langid" type="hidden" |
| 120 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.languageid' ) ) ); ?>'.replace('idx', idx)" |
|
| 121 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.languageid' ) ) ); |
|
| 122 | +} |
|
| 123 | +?>'.replace('idx', idx)" |
|
| 121 | 124 | value="<?= $enc->attr( key( $languages ) ); ?>" /> |
| 122 | 125 | <?php endif; ?> |
| 123 | 126 | |
@@ -146,9 +149,12 @@ discard block |
||
| 146 | 149 | <?= $enc->html( $this->translate( 'admin', 'Types for additional texts like per one lb/kg or per month' ) ); ?> |
| 147 | 150 | </div> |
| 148 | 151 | </div> |
| 149 | - <?php else : ?> |
|
| 152 | + <?php else { |
|
| 153 | + : ?> |
|
| 150 | 154 | <input class="item-type" type="hidden" |
| 151 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.type' ) ) ); ?>'.replace('idx', idx)" |
|
| 155 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.type' ) ) ); |
|
| 156 | +} |
|
| 157 | +?>'.replace('idx', idx)" |
|
| 152 | 158 | value="<?= $enc->attr( key( $textTypes ) ); ?>" /> |
| 153 | 159 | <?php endif; ?> |
| 154 | 160 | |
@@ -204,9 +210,12 @@ discard block |
||
| 204 | 210 | <?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?> |
| 205 | 211 | </div> |
| 206 | 212 | </div> |
| 207 | - <?php else : ?> |
|
| 213 | + <?php else { |
|
| 214 | + : ?> |
|
| 208 | 215 | <input class="listitem-type" type="hidden" |
| 209 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'supplier.lists.type' ) ) ); ?>'.replace('idx', idx)" |
|
| 216 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'supplier.lists.type' ) ) ); |
|
| 217 | +} |
|
| 218 | +?>'.replace('idx', idx)" |
|
| 210 | 219 | value="<?= $enc->attr( key( $listTypes ) ); ?>" |
| 211 | 220 | v-model="items[idx]['supplier.lists.type']" /> |
| 212 | 221 | <?php endif; ?> |
@@ -29,7 +29,7 @@ discard block |
||
| 29 | 29 | v-bind:aria-controls="'item-text-group-data-' + idx" aria-expanded="false"> |
| 30 | 30 | <div class="card-tools-left"> |
| 31 | 31 | <div class="btn btn-card-header act-show fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 32 | - title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide this entry') ); ?>"> |
|
| 32 | + title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide this entry' ) ); ?>"> |
|
| 33 | 33 | </div> |
| 34 | 34 | </div> |
| 35 | 35 | <span class="item-label header-label" v-html="getLabel(idx)"></span> |
@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | <div class="card-tools-right"> |
| 38 | 38 | <div v-if="!checkSite('supplier.lists.siteid', idx)" |
| 39 | 39 | class="btn btn-card-header act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 40 | - title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>" |
|
| 40 | + title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>" |
|
| 41 | 41 | v-on:click.stop="removeItem(idx)"> |
| 42 | 42 | </div> |
| 43 | 43 | </div> |
@@ -172,7 +172,7 @@ discard block |
||
| 172 | 172 | <div v-on:click="toggle(idx)" class="col-xl-12 advanced" v-bind:class="{ 'collapsed': !advanced[idx] }"> |
| 173 | 173 | <div class="card-tools-left"> |
| 174 | 174 | <div class="btn act-show fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 175 | - title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide advanced data') ); ?>"> |
|
| 175 | + title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide advanced data' ) ); ?>"> |
|
| 176 | 176 | </div> |
| 177 | 177 | </div> |
| 178 | 178 | <span class="header-label"><?= $enc->html( $this->translate( 'admin', 'Advanced' ) ); ?></span> |
@@ -254,7 +254,7 @@ discard block |
||
| 254 | 254 | </th> |
| 255 | 255 | <th class="actions"> |
| 256 | 256 | <div class="btn act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 257 | - title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>" |
|
| 257 | + title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>" |
|
| 258 | 258 | v-bind:readonly="checkSite('supplier.lists.siteid', idx)" |
| 259 | 259 | v-on:click="addConfig(idx)" > |
| 260 | 260 | </div> |
@@ -281,7 +281,7 @@ discard block |
||
| 281 | 281 | <td class="actions"> |
| 282 | 282 | <div v-if="!checkSite('supplier.lists.siteid', idx)" v-on:click="removeConfig(idx, pos)" |
| 283 | 283 | class="btn act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 284 | - title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>"> |
|
| 284 | + title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>"> |
|
| 285 | 285 | </div> |
| 286 | 286 | </td> |
| 287 | 287 | </tr> |
@@ -297,7 +297,7 @@ discard block |
||
| 297 | 297 | |
| 298 | 298 | <div class="card-tools-more"> |
| 299 | 299 | <div class="btn btn-primary btn-card-more act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 300 | - title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>" |
|
| 300 | + title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>" |
|
| 301 | 301 | v-on:click="addItem('supplier.lists.')" > |
| 302 | 302 | </div> |
| 303 | 303 | </div> |
@@ -115,9 +115,12 @@ discard block |
||
| 115 | 115 | <?= $enc->html( $this->translate( 'admin', 'Language of the entered text' ) ); ?> |
| 116 | 116 | </div> |
| 117 | 117 | </div> |
| 118 | - <?php else : ?> |
|
| 118 | + <?php else { |
|
| 119 | + : ?> |
|
| 119 | 120 | <input class="text-langid" type="hidden" |
| 120 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.languageid' ) ) ); ?>'.replace('idx', idx)" |
|
| 121 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.languageid' ) ) ); |
|
| 122 | +} |
|
| 123 | +?>'.replace('idx', idx)" |
|
| 121 | 124 | value="<?= $enc->attr( key( $languages ) ); ?>" /> |
| 122 | 125 | <?php endif; ?> |
| 123 | 126 | |
@@ -146,9 +149,12 @@ discard block |
||
| 146 | 149 | <?= $enc->html( $this->translate( 'admin', 'Types for additional texts like per one lb/kg or per month' ) ); ?> |
| 147 | 150 | </div> |
| 148 | 151 | </div> |
| 149 | - <?php else : ?> |
|
| 152 | + <?php else { |
|
| 153 | + : ?> |
|
| 150 | 154 | <input class="item-type" type="hidden" |
| 151 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.type' ) ) ); ?>'.replace('idx', idx)" |
|
| 155 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.type' ) ) ); |
|
| 156 | +} |
|
| 157 | +?>'.replace('idx', idx)" |
|
| 152 | 158 | value="<?= $enc->attr( key( $textTypes ) ); ?>" /> |
| 153 | 159 | <?php endif; ?> |
| 154 | 160 | |
@@ -204,9 +210,12 @@ discard block |
||
| 204 | 210 | <?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?> |
| 205 | 211 | </div> |
| 206 | 212 | </div> |
| 207 | - <?php else : ?> |
|
| 213 | + <?php else { |
|
| 214 | + : ?> |
|
| 208 | 215 | <input class="listitem-type" type="hidden" |
| 209 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'catalog.lists.type' ) ) ); ?>'.replace('idx', idx)" |
|
| 216 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'catalog.lists.type' ) ) ); |
|
| 217 | +} |
|
| 218 | +?>'.replace('idx', idx)" |
|
| 210 | 219 | value="<?= $enc->attr( key( $listTypes ) ); ?>" |
| 211 | 220 | v-model="items[idx]['catalog.lists.type']" /> |
| 212 | 221 | <?php endif; ?> |
@@ -29,7 +29,7 @@ discard block |
||
| 29 | 29 | v-bind:aria-controls="'item-text-group-data-' + idx" aria-expanded="false"> |
| 30 | 30 | <div class="card-tools-left"> |
| 31 | 31 | <div class="btn btn-card-header act-show fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 32 | - title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide this entry') ); ?>"> |
|
| 32 | + title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide this entry' ) ); ?>"> |
|
| 33 | 33 | </div> |
| 34 | 34 | </div> |
| 35 | 35 | <span class="item-label header-label" v-html="getLabel(idx)"></span> |
@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | <div class="card-tools-right"> |
| 38 | 38 | <div v-if="!checkSite('catalog.lists.siteid', idx)" |
| 39 | 39 | class="btn btn-card-header act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 40 | - title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>" |
|
| 40 | + title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>" |
|
| 41 | 41 | v-on:click.stop="removeItem(idx)"> |
| 42 | 42 | </div> |
| 43 | 43 | </div> |
@@ -172,7 +172,7 @@ discard block |
||
| 172 | 172 | <div v-on:click="toggle(idx)" class="col-xl-12 advanced" v-bind:class="{ 'collapsed': !advanced[idx] }"> |
| 173 | 173 | <div class="card-tools-left"> |
| 174 | 174 | <div class="btn act-show fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 175 | - title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide advanced data') ); ?>"> |
|
| 175 | + title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide advanced data' ) ); ?>"> |
|
| 176 | 176 | </div> |
| 177 | 177 | </div> |
| 178 | 178 | <span class="header-label"><?= $enc->html( $this->translate( 'admin', 'Advanced' ) ); ?></span> |
@@ -254,7 +254,7 @@ discard block |
||
| 254 | 254 | </th> |
| 255 | 255 | <th class="actions"> |
| 256 | 256 | <div class="btn act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 257 | - title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>" |
|
| 257 | + title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>" |
|
| 258 | 258 | v-bind:readonly="checkSite('catalog.lists.siteid', idx)" |
| 259 | 259 | v-on:click="addConfig(idx)" > |
| 260 | 260 | </div> |
@@ -281,7 +281,7 @@ discard block |
||
| 281 | 281 | <td class="actions"> |
| 282 | 282 | <div v-if="!checkSite('catalog.lists.siteid', idx)" v-on:click="removeConfig(idx, pos)" |
| 283 | 283 | class="btn act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 284 | - title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>"> |
|
| 284 | + title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>"> |
|
| 285 | 285 | </div> |
| 286 | 286 | </td> |
| 287 | 287 | </tr> |
@@ -297,7 +297,7 @@ discard block |
||
| 297 | 297 | |
| 298 | 298 | <div class="card-tools-more"> |
| 299 | 299 | <div class="btn btn-primary btn-card-more act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 300 | - title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>" |
|
| 300 | + title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>" |
|
| 301 | 301 | v-on:click="addItem('catalog.lists.')" > |
| 302 | 302 | </div> |
| 303 | 303 | </div> |
@@ -115,9 +115,12 @@ discard block |
||
| 115 | 115 | <?= $enc->html( $this->translate( 'admin', 'Language of the entered text' ) ); ?> |
| 116 | 116 | </div> |
| 117 | 117 | </div> |
| 118 | - <?php else : ?> |
|
| 118 | + <?php else { |
|
| 119 | + : ?> |
|
| 119 | 120 | <input class="text-langid" type="hidden" |
| 120 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.languageid' ) ) ); ?>'.replace('idx', idx)" |
|
| 121 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.languageid' ) ) ); |
|
| 122 | +} |
|
| 123 | +?>'.replace('idx', idx)" |
|
| 121 | 124 | value="<?= $enc->attr( key( $languages ) ); ?>" /> |
| 122 | 125 | <?php endif; ?> |
| 123 | 126 | |
@@ -146,9 +149,12 @@ discard block |
||
| 146 | 149 | <?= $enc->html( $this->translate( 'admin', 'Types for additional texts like per one lb/kg or per month' ) ); ?> |
| 147 | 150 | </div> |
| 148 | 151 | </div> |
| 149 | - <?php else : ?> |
|
| 152 | + <?php else { |
|
| 153 | + : ?> |
|
| 150 | 154 | <input class="item-type" type="hidden" |
| 151 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.type' ) ) ); ?>'.replace('idx', idx)" |
|
| 155 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.type' ) ) ); |
|
| 156 | +} |
|
| 157 | +?>'.replace('idx', idx)" |
|
| 152 | 158 | value="<?= $enc->attr( key( $textTypes ) ); ?>" /> |
| 153 | 159 | <?php endif; ?> |
| 154 | 160 | |
@@ -204,9 +210,12 @@ discard block |
||
| 204 | 210 | <?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?> |
| 205 | 211 | </div> |
| 206 | 212 | </div> |
| 207 | - <?php else : ?> |
|
| 213 | + <?php else { |
|
| 214 | + : ?> |
|
| 208 | 215 | <input class="listitem-type" type="hidden" |
| 209 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'attribute.lists.type' ) ) ); ?>'.replace('idx', idx)" |
|
| 216 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'attribute.lists.type' ) ) ); |
|
| 217 | +} |
|
| 218 | +?>'.replace('idx', idx)" |
|
| 210 | 219 | value="<?= $enc->attr( key( $listTypes ) ); ?>" |
| 211 | 220 | v-model="items[idx]['attribute.lists.type']" /> |
| 212 | 221 | <?php endif; ?> |
@@ -29,7 +29,7 @@ discard block |
||
| 29 | 29 | v-bind:aria-controls="'item-text-group-data-' + idx" aria-expanded="false"> |
| 30 | 30 | <div class="card-tools-left"> |
| 31 | 31 | <div class="btn btn-card-header act-show fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 32 | - title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide this entry') ); ?>"> |
|
| 32 | + title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide this entry' ) ); ?>"> |
|
| 33 | 33 | </div> |
| 34 | 34 | </div> |
| 35 | 35 | <span class="item-label header-label" v-html="getLabel(idx)"></span> |
@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | <div class="card-tools-right"> |
| 38 | 38 | <div v-if="!checkSite('attribute.lists.siteid', idx)" |
| 39 | 39 | class="btn btn-card-header act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 40 | - title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>" |
|
| 40 | + title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>" |
|
| 41 | 41 | v-on:click.stop="removeItem(idx)"> |
| 42 | 42 | </div> |
| 43 | 43 | </div> |
@@ -172,7 +172,7 @@ discard block |
||
| 172 | 172 | <div v-on:click="toggle(idx)" class="col-xl-12 advanced" v-bind:class="{ 'collapsed': !advanced[idx] }"> |
| 173 | 173 | <div class="card-tools-left"> |
| 174 | 174 | <div class="btn act-show fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 175 | - title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide advanced data') ); ?>"> |
|
| 175 | + title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide advanced data' ) ); ?>"> |
|
| 176 | 176 | </div> |
| 177 | 177 | </div> |
| 178 | 178 | <span class="header-label"><?= $enc->html( $this->translate( 'admin', 'Advanced' ) ); ?></span> |
@@ -254,7 +254,7 @@ discard block |
||
| 254 | 254 | </th> |
| 255 | 255 | <th class="actions"> |
| 256 | 256 | <div class="btn act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 257 | - title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>" |
|
| 257 | + title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>" |
|
| 258 | 258 | v-bind:readonly="checkSite('attribute.lists.siteid', idx)" |
| 259 | 259 | v-on:click="addConfig(idx)" > |
| 260 | 260 | </div> |
@@ -281,7 +281,7 @@ discard block |
||
| 281 | 281 | <td class="actions"> |
| 282 | 282 | <div v-if="!checkSite('attribute.lists.siteid', idx)" v-on:click="removeConfig(idx, pos)" |
| 283 | 283 | class="btn act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 284 | - title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>"> |
|
| 284 | + title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>"> |
|
| 285 | 285 | </div> |
| 286 | 286 | </td> |
| 287 | 287 | </tr> |
@@ -297,7 +297,7 @@ discard block |
||
| 297 | 297 | |
| 298 | 298 | <div class="card-tools-more"> |
| 299 | 299 | <div class="btn btn-primary btn-card-more act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 300 | - title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>" |
|
| 300 | + title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>" |
|
| 301 | 301 | v-on:click="addItem('attribute.lists.')" > |
| 302 | 302 | </div> |
| 303 | 303 | </div> |
@@ -154,9 +154,12 @@ discard block |
||
| 154 | 154 | </select> |
| 155 | 155 | </div> |
| 156 | 156 | </div> |
| 157 | - <?php else : ?> |
|
| 157 | + <?php else { |
|
| 158 | + : ?> |
|
| 158 | 159 | <input class="item-currencyid" type="hidden" |
| 159 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.currencyid' ) ) ); ?>'.replace('idx', idx)" |
|
| 160 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.currencyid' ) ) ); |
|
| 161 | +} |
|
| 162 | +?>'.replace('idx', idx)" |
|
| 160 | 163 | value="<?= $enc->attr( key( $currencies ) ); ?>" /> |
| 161 | 164 | <?php endif; ?> |
| 162 | 165 | |
@@ -184,9 +187,12 @@ discard block |
||
| 184 | 187 | <?= $enc->html( $this->translate( 'admin', 'Types for additional prices like per one lb/kg or per month' ) ); ?> |
| 185 | 188 | </div> |
| 186 | 189 | </div> |
| 187 | - <?php else : ?> |
|
| 190 | + <?php else { |
|
| 191 | + : ?> |
|
| 188 | 192 | <input class="item-type" type="hidden" |
| 189 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.type' ) ) ); ?>'.replace('idx', idx)" |
|
| 193 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.type' ) ) ); |
|
| 194 | +} |
|
| 195 | +?>'.replace('idx', idx)" |
|
| 190 | 196 | value="<?= $enc->attr( key( $priceTypes ) ); ?>" /> |
| 191 | 197 | <?php endif; ?> |
| 192 | 198 | |
@@ -242,9 +248,12 @@ discard block |
||
| 242 | 248 | <?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?> |
| 243 | 249 | </div> |
| 244 | 250 | </div> |
| 245 | - <?php else : ?> |
|
| 251 | + <?php else { |
|
| 252 | + : ?> |
|
| 246 | 253 | <input class="listitem-type" type="hidden" |
| 247 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'attribute.lists.type' ) ) ); ?>'.replace('idx', idx)" |
|
| 254 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'attribute.lists.type' ) ) ); |
|
| 255 | +} |
|
| 256 | +?>'.replace('idx', idx)" |
|
| 248 | 257 | value="<?= $enc->attr( key( $listTypes ) ); ?>" |
| 249 | 258 | v-model="items[idx]['attribute.lists.type']" /> |
| 250 | 259 | <?php endif; ?> |
@@ -31,7 +31,7 @@ discard block |
||
| 31 | 31 | v-bind:aria-controls="'item-price-group-data-' + idx" aria-expanded="false"> |
| 32 | 32 | <div class="card-tools-left"> |
| 33 | 33 | <div class="btn btn-card-header act-show fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 34 | - title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide this entry') ); ?>"> |
|
| 34 | + title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide this entry' ) ); ?>"> |
|
| 35 | 35 | </div> |
| 36 | 36 | </div> |
| 37 | 37 | <span class="item-label header-label" v-html="getLabel(idx)"></span> |
@@ -39,7 +39,7 @@ discard block |
||
| 39 | 39 | <div class="card-tools-right"> |
| 40 | 40 | <div v-if="!checkSite('attribute.lists.siteid', idx)" |
| 41 | 41 | class="btn btn-card-header act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 42 | - title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>" |
|
| 42 | + title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>" |
|
| 43 | 43 | v-on:click.stop="removeItem(idx)"> |
| 44 | 44 | </div> |
| 45 | 45 | </div> |
@@ -210,7 +210,7 @@ discard block |
||
| 210 | 210 | <div v-on:click="toggle(idx)" class="col-xl-12 advanced" v-bind:class="{ 'collapsed': !advanced[idx] }"> |
| 211 | 211 | <div class="card-tools-left"> |
| 212 | 212 | <div class="btn act-show fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 213 | - title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide advanced data') ); ?>"> |
|
| 213 | + title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide advanced data' ) ); ?>"> |
|
| 214 | 214 | </div> |
| 215 | 215 | </div> |
| 216 | 216 | <span class="header-label"><?= $enc->html( $this->translate( 'admin', 'Advanced' ) ); ?></span> |
@@ -292,7 +292,7 @@ discard block |
||
| 292 | 292 | </th> |
| 293 | 293 | <th class="actions"> |
| 294 | 294 | <div class="btn act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 295 | - title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>" |
|
| 295 | + title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>" |
|
| 296 | 296 | v-bind:readonly="checkSite('attribute.lists.siteid', idx)" |
| 297 | 297 | v-on:click="addConfig(idx)" > |
| 298 | 298 | </div> |
@@ -319,7 +319,7 @@ discard block |
||
| 319 | 319 | <td class="actions"> |
| 320 | 320 | <div v-if="!checkSite('attribute.lists.siteid', idx)" v-on:click="removeConfig(idx, pos)" |
| 321 | 321 | class="btn act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 322 | - title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>"> |
|
| 322 | + title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>"> |
|
| 323 | 323 | </div> |
| 324 | 324 | </td> |
| 325 | 325 | </tr> |
@@ -335,7 +335,7 @@ discard block |
||
| 335 | 335 | |
| 336 | 336 | <div class="card-tools-more"> |
| 337 | 337 | <div class="btn btn-primary btn-card-more act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 338 | - title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>" |
|
| 338 | + title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>" |
|
| 339 | 339 | v-on:click="addItem('attribute.lists.')" > |
| 340 | 340 | </div> |
| 341 | 341 | </div> |
@@ -73,9 +73,12 @@ |
||
| 73 | 73 | <?php endforeach; ?> |
| 74 | 74 | </select> |
| 75 | 75 | </td> |
| 76 | - <?php else : ?> |
|
| 76 | + <?php else { |
|
| 77 | + : ?> |
|
| 77 | 78 | <input class="item-type" type="hidden" |
| 78 | - name="<?= $enc->attr( $this->formparam( array( 'stock', 'stock.type', '' ) ) ); ?>" |
|
| 79 | + name="<?= $enc->attr( $this->formparam( array( 'stock', 'stock.type', '' ) ) ); |
|
| 80 | +} |
|
| 81 | +?>" |
|
| 79 | 82 | value="<?= $enc->attr( key( $stockTypes ) ); ?>" /> |
| 80 | 83 | <?php endif; ?> |
| 81 | 84 | <td class="stock-stocklevel optional"> |
@@ -46,7 +46,7 @@ discard block |
||
| 46 | 46 | </th> |
| 47 | 47 | <th class="actions"> |
| 48 | 48 | <div v-if="(items['stock.id'] || []).length < numtypes" class="btn act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 49 | - title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>" |
|
| 49 | + title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>" |
|
| 50 | 50 | v-on:click="addItem()"> |
| 51 | 51 | </div> |
| 52 | 52 | </th> |
@@ -96,7 +96,7 @@ discard block |
||
| 96 | 96 | name="<?= $enc->attr( $this->formparam( array( 'stock', 'stock.id', '' ) ) ); ?>" /> |
| 97 | 97 | |
| 98 | 98 | <div v-if="!checkSite('stock.siteid', idx)" class="btn act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 99 | - title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>" |
|
| 99 | + title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>" |
|
| 100 | 100 | v-on:click.stop="removeItem(idx)"> |
| 101 | 101 | </div> |
| 102 | 102 | </td> |
@@ -115,9 +115,12 @@ discard block |
||
| 115 | 115 | <?= $enc->html( $this->translate( 'admin', 'Language of the entered text' ) ); ?> |
| 116 | 116 | </div> |
| 117 | 117 | </div> |
| 118 | - <?php else : ?> |
|
| 118 | + <?php else { |
|
| 119 | + : ?> |
|
| 119 | 120 | <input class="text-langid" type="hidden" |
| 120 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.languageid' ) ) ); ?>'.replace('idx', idx)" |
|
| 121 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.languageid' ) ) ); |
|
| 122 | +} |
|
| 123 | +?>'.replace('idx', idx)" |
|
| 121 | 124 | value="<?= $enc->attr( key( $languages ) ); ?>" /> |
| 122 | 125 | <?php endif; ?> |
| 123 | 126 | |
@@ -146,9 +149,12 @@ discard block |
||
| 146 | 149 | <?= $enc->html( $this->translate( 'admin', 'Types for additional texts like per one lb/kg or per month' ) ); ?> |
| 147 | 150 | </div> |
| 148 | 151 | </div> |
| 149 | - <?php else : ?> |
|
| 152 | + <?php else { |
|
| 153 | + : ?> |
|
| 150 | 154 | <input class="item-type" type="hidden" |
| 151 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.type' ) ) ); ?>'.replace('idx', idx)" |
|
| 155 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.type' ) ) ); |
|
| 156 | +} |
|
| 157 | +?>'.replace('idx', idx)" |
|
| 152 | 158 | value="<?= $enc->attr( key( $textTypes ) ); ?>" /> |
| 153 | 159 | <?php endif; ?> |
| 154 | 160 | |
@@ -204,9 +210,12 @@ discard block |
||
| 204 | 210 | <?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?> |
| 205 | 211 | </div> |
| 206 | 212 | </div> |
| 207 | - <?php else : ?> |
|
| 213 | + <?php else { |
|
| 214 | + : ?> |
|
| 208 | 215 | <input class="listitem-type" type="hidden" |
| 209 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'product.lists.type' ) ) ); ?>'.replace('idx', idx)" |
|
| 216 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'product.lists.type' ) ) ); |
|
| 217 | +} |
|
| 218 | +?>'.replace('idx', idx)" |
|
| 210 | 219 | value="<?= $enc->attr( key( $listTypes ) ); ?>" |
| 211 | 220 | v-model="items[idx]['product.lists.type']" /> |
| 212 | 221 | <?php endif; ?> |
@@ -29,7 +29,7 @@ discard block |
||
| 29 | 29 | v-bind:aria-controls="'item-text-group-data-' + idx" aria-expanded="false"> |
| 30 | 30 | <div class="card-tools-left"> |
| 31 | 31 | <div class="btn btn-card-header act-show fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 32 | - title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide this entry') ); ?>"> |
|
| 32 | + title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide this entry' ) ); ?>"> |
|
| 33 | 33 | </div> |
| 34 | 34 | </div> |
| 35 | 35 | <span class="item-label header-label" v-html="getLabel(idx)"></span> |
@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | <div class="card-tools-right"> |
| 38 | 38 | <div v-if="!checkSite('product.lists.siteid', idx)" |
| 39 | 39 | class="btn btn-card-header act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 40 | - title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>" |
|
| 40 | + title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>" |
|
| 41 | 41 | v-on:click.stop="removeItem(idx)"> |
| 42 | 42 | </div> |
| 43 | 43 | </div> |
@@ -172,7 +172,7 @@ discard block |
||
| 172 | 172 | <div v-on:click="toggle(idx)" class="col-xl-12 advanced" v-bind:class="{ 'collapsed': !advanced[idx] }"> |
| 173 | 173 | <div class="card-tools-left"> |
| 174 | 174 | <div class="btn act-show fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 175 | - title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide advanced data') ); ?>"> |
|
| 175 | + title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide advanced data' ) ); ?>"> |
|
| 176 | 176 | </div> |
| 177 | 177 | </div> |
| 178 | 178 | <span class="header-label"><?= $enc->html( $this->translate( 'admin', 'Advanced' ) ); ?></span> |
@@ -254,7 +254,7 @@ discard block |
||
| 254 | 254 | </th> |
| 255 | 255 | <th class="actions"> |
| 256 | 256 | <div class="btn act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 257 | - title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>" |
|
| 257 | + title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>" |
|
| 258 | 258 | v-bind:readonly="checkSite('product.lists.siteid', idx)" |
| 259 | 259 | v-on:click="addConfig(idx)" > |
| 260 | 260 | </div> |
@@ -281,7 +281,7 @@ discard block |
||
| 281 | 281 | <td class="actions"> |
| 282 | 282 | <div v-if="!checkSite('product.lists.siteid', idx)" v-on:click="removeConfig(idx, pos)" |
| 283 | 283 | class="btn act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 284 | - title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>"> |
|
| 284 | + title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>"> |
|
| 285 | 285 | </div> |
| 286 | 286 | </td> |
| 287 | 287 | </tr> |
@@ -297,7 +297,7 @@ discard block |
||
| 297 | 297 | |
| 298 | 298 | <div class="card-tools-more"> |
| 299 | 299 | <div class="btn btn-primary btn-card-more act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 300 | - title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>" |
|
| 300 | + title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>" |
|
| 301 | 301 | v-on:click="addItem('product.lists.')" > |
| 302 | 302 | </div> |
| 303 | 303 | </div> |
@@ -154,9 +154,12 @@ discard block |
||
| 154 | 154 | </select> |
| 155 | 155 | </div> |
| 156 | 156 | </div> |
| 157 | - <?php else : ?> |
|
| 157 | + <?php else { |
|
| 158 | + : ?> |
|
| 158 | 159 | <input class="item-currencyid" type="hidden" |
| 159 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.currencyid' ) ) ); ?>'.replace('idx', idx)" |
|
| 160 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.currencyid' ) ) ); |
|
| 161 | +} |
|
| 162 | +?>'.replace('idx', idx)" |
|
| 160 | 163 | value="<?= $enc->attr( key( $currencies ) ); ?>" /> |
| 161 | 164 | <?php endif; ?> |
| 162 | 165 | |
@@ -184,9 +187,12 @@ discard block |
||
| 184 | 187 | <?= $enc->html( $this->translate( 'admin', 'Types for additional prices like per one lb/kg or per month' ) ); ?> |
| 185 | 188 | </div> |
| 186 | 189 | </div> |
| 187 | - <?php else : ?> |
|
| 190 | + <?php else { |
|
| 191 | + : ?> |
|
| 188 | 192 | <input class="item-type" type="hidden" |
| 189 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.type' ) ) ); ?>'.replace('idx', idx)" |
|
| 193 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.type' ) ) ); |
|
| 194 | +} |
|
| 195 | +?>'.replace('idx', idx)" |
|
| 190 | 196 | value="<?= $enc->attr( key( $priceTypes ) ); ?>" /> |
| 191 | 197 | <?php endif; ?> |
| 192 | 198 | |
@@ -242,9 +248,12 @@ discard block |
||
| 242 | 248 | <?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?> |
| 243 | 249 | </div> |
| 244 | 250 | </div> |
| 245 | - <?php else : ?> |
|
| 251 | + <?php else { |
|
| 252 | + : ?> |
|
| 246 | 253 | <input class="listitem-type" type="hidden" |
| 247 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'product.lists.type' ) ) ); ?>'.replace('idx', idx)" |
|
| 254 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'product.lists.type' ) ) ); |
|
| 255 | +} |
|
| 256 | +?>'.replace('idx', idx)" |
|
| 248 | 257 | value="<?= $enc->attr( key( $listTypes ) ); ?>" |
| 249 | 258 | v-model="items[idx]['product.lists.type']" /> |
| 250 | 259 | <?php endif; ?> |
@@ -31,7 +31,7 @@ discard block |
||
| 31 | 31 | v-bind:aria-controls="'item-price-group-data-' + idx" aria-expanded="false"> |
| 32 | 32 | <div class="card-tools-left"> |
| 33 | 33 | <div class="btn btn-card-header act-show fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 34 | - title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide this entry') ); ?>"> |
|
| 34 | + title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide this entry' ) ); ?>"> |
|
| 35 | 35 | </div> |
| 36 | 36 | </div> |
| 37 | 37 | <span class="item-label header-label" v-html="getLabel(idx)"></span> |
@@ -39,7 +39,7 @@ discard block |
||
| 39 | 39 | <div class="card-tools-right"> |
| 40 | 40 | <div v-if="!checkSite('product.lists.siteid', idx)" |
| 41 | 41 | class="btn btn-card-header act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 42 | - title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>" |
|
| 42 | + title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>" |
|
| 43 | 43 | v-on:click.stop="removeItem(idx)"> |
| 44 | 44 | </div> |
| 45 | 45 | </div> |
@@ -210,7 +210,7 @@ discard block |
||
| 210 | 210 | <div v-on:click="toggle(idx)" class="col-xl-12 advanced" v-bind:class="{ 'collapsed': !advanced[idx] }"> |
| 211 | 211 | <div class="card-tools-left"> |
| 212 | 212 | <div class="btn act-show fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 213 | - title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide advanced data') ); ?>"> |
|
| 213 | + title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide advanced data' ) ); ?>"> |
|
| 214 | 214 | </div> |
| 215 | 215 | </div> |
| 216 | 216 | <span class="header-label"><?= $enc->html( $this->translate( 'admin', 'Advanced' ) ); ?></span> |
@@ -292,7 +292,7 @@ discard block |
||
| 292 | 292 | </th> |
| 293 | 293 | <th class="actions"> |
| 294 | 294 | <div class="btn act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 295 | - title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>" |
|
| 295 | + title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>" |
|
| 296 | 296 | v-bind:readonly="checkSite('product.lists.siteid', idx)" |
| 297 | 297 | v-on:click="addConfig(idx)" > |
| 298 | 298 | </div> |
@@ -319,7 +319,7 @@ discard block |
||
| 319 | 319 | <td class="actions"> |
| 320 | 320 | <div v-if="!checkSite('product.lists.siteid', idx)" v-on:click="removeConfig(idx, pos)" |
| 321 | 321 | class="btn act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 322 | - title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>"> |
|
| 322 | + title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>"> |
|
| 323 | 323 | </div> |
| 324 | 324 | </td> |
| 325 | 325 | </tr> |
@@ -335,7 +335,7 @@ discard block |
||
| 335 | 335 | |
| 336 | 336 | <div class="card-tools-more"> |
| 337 | 337 | <div class="btn btn-primary btn-card-more act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 338 | - title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>" |
|
| 338 | + title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>" |
|
| 339 | 339 | v-on:click="addItem('product.lists.')" > |
| 340 | 340 | </div> |
| 341 | 341 | </div> |