@@ -85,9 +85,12 @@ |
||
85 | 85 | </select> |
86 | 86 | </div> |
87 | 87 | </div> |
88 | - <?php else : ?> |
|
88 | + <?php else { |
|
89 | + : ?> |
|
89 | 90 | <input class="item-languageid" type="hidden" |
90 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'address', 'idx', 'customer.address.languageid' ) ) ); ?>'.replace('idx', idx)" |
|
91 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'address', 'idx', 'customer.address.languageid' ) ) ); |
|
92 | +} |
|
93 | +?>'.replace('idx', idx)" |
|
91 | 94 | value="<?= $enc->attr( key( $languages ) ); ?>" /> |
92 | 95 | <?php endif; ?> |
93 | 96 | <div class="form-group row optional"> |
@@ -32,14 +32,14 @@ discard block |
||
32 | 32 | v-bind:aria-controls="'item-address-group-data-' + idx" aria-expanded="false"> |
33 | 33 | <div class="card-tools-left"> |
34 | 34 | <div class="btn btn-card-header act-show fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
35 | - title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide this entry') ); ?>"> |
|
35 | + title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide this entry' ) ); ?>"> |
|
36 | 36 | </div> |
37 | 37 | </div> |
38 | 38 | <span class="item-label header-label">{{ getLabel(idx, 'customer.address.') }}</span> |
39 | 39 | |
40 | 40 | <div class="card-tools-right"> |
41 | 41 | <div class="btn btn-card-header act-copy fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
42 | - title="<?= $enc->attr( $this->translate( 'admin', 'Duplicate entry (Ctrl+D)') ); ?>" |
|
42 | + title="<?= $enc->attr( $this->translate( 'admin', 'Duplicate entry (Ctrl+D)' ) ); ?>" |
|
43 | 43 | v-on:click.stop="duplicateItem(idx)"> |
44 | 44 | </div> |
45 | 45 | <div v-if="!checkSite('customer.address.siteid', idx)" |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | </div> |
49 | 49 | <div v-if="!checkSite('customer.address.siteid', idx)" |
50 | 50 | class="btn btn-card-header act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
51 | - title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>" |
|
51 | + title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>" |
|
52 | 52 | v-on:click="removeItem(idx)"> |
53 | 53 | </div> |
54 | 54 | </div> |
@@ -342,7 +342,7 @@ discard block |
||
342 | 342 | |
343 | 343 | <div slot="footer" class="card-tools-more"> |
344 | 344 | <div class="btn btn-primary btn-card-more act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
345 | - title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>" |
|
345 | + title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>" |
|
346 | 346 | v-on:click="addItem('customer.address.')" > |
347 | 347 | </div> |
348 | 348 | </div> |
@@ -122,9 +122,12 @@ discard block |
||
122 | 122 | <?= $enc->html( $this->translate( 'admin', 'Types for additional images like icons' ) ); ?> |
123 | 123 | </div> |
124 | 124 | </div> |
125 | - <?php else : ?> |
|
125 | + <?php else { |
|
126 | + : ?> |
|
126 | 127 | <input class="item-type" type="hidden" |
127 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'media', 'idx', 'media.type' ) ) ); ?>'.replace( 'idx', idx )" |
|
128 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'media', 'idx', 'media.type' ) ) ); |
|
129 | +} |
|
130 | +?>'.replace( 'idx', idx )" |
|
128 | 131 | value="<?= $enc->attr( key( $mediaTypes ) ); ?>" /> |
129 | 132 | <?php endif; ?> |
130 | 133 | |
@@ -202,9 +205,12 @@ discard block |
||
202 | 205 | <?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?> |
203 | 206 | </div> |
204 | 207 | </div> |
205 | - <?php else : ?> |
|
208 | + <?php else { |
|
209 | + : ?> |
|
206 | 210 | <input class="listitem-type" type="hidden" |
207 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'media', 'idx', 'supplier.lists.type' ) ) ); ?>'.replace( 'idx', idx )" |
|
211 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'media', 'idx', 'supplier.lists.type' ) ) ); |
|
212 | +} |
|
213 | +?>'.replace( 'idx', idx )" |
|
208 | 214 | value="<?= $enc->attr( key( $listTypes ) ); ?>" |
209 | 215 | v-model="items[idx]['supplier.lists.type']" /> |
210 | 216 | <?php endif; ?> |
@@ -122,9 +122,12 @@ discard block |
||
122 | 122 | <?= $enc->html( $this->translate( 'admin', 'Language of the entered text' ) ); ?> |
123 | 123 | </div> |
124 | 124 | </div> |
125 | - <?php else : ?> |
|
125 | + <?php else { |
|
126 | + : ?> |
|
126 | 127 | <input class="text-langid" type="hidden" |
127 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.languageid' ) ) ); ?>'.replace('idx', idx)" |
|
128 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.languageid' ) ) ); |
|
129 | +} |
|
130 | +?>'.replace('idx', idx)" |
|
128 | 131 | value="<?= $enc->attr( key( $languages ) ); ?>" /> |
129 | 132 | <?php endif; ?> |
130 | 133 | |
@@ -153,9 +156,12 @@ discard block |
||
153 | 156 | <?= $enc->html( $this->translate( 'admin', 'Types for additional texts like per one lb/kg or per month' ) ); ?> |
154 | 157 | </div> |
155 | 158 | </div> |
156 | - <?php else : ?> |
|
159 | + <?php else { |
|
160 | + : ?> |
|
157 | 161 | <input class="item-type" type="hidden" |
158 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.type' ) ) ); ?>'.replace('idx', idx)" |
|
162 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.type' ) ) ); |
|
163 | +} |
|
164 | +?>'.replace('idx', idx)" |
|
159 | 165 | value="<?= $enc->attr( key( $textTypes ) ); ?>" /> |
160 | 166 | <?php endif; ?> |
161 | 167 | |
@@ -211,9 +217,12 @@ discard block |
||
211 | 217 | <?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?> |
212 | 218 | </div> |
213 | 219 | </div> |
214 | - <?php else : ?> |
|
220 | + <?php else { |
|
221 | + : ?> |
|
215 | 222 | <input class="listitem-type" type="hidden" |
216 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'supplier.lists.type' ) ) ); ?>'.replace('idx', idx)" |
|
223 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'supplier.lists.type' ) ) ); |
|
224 | +} |
|
225 | +?>'.replace('idx', idx)" |
|
217 | 226 | value="<?= $enc->attr( key( $listTypes ) ); ?>" |
218 | 227 | v-model="items[idx]['supplier.lists.type']" /> |
219 | 228 | <?php endif; ?> |
@@ -85,9 +85,12 @@ |
||
85 | 85 | </select> |
86 | 86 | </div> |
87 | 87 | </div> |
88 | - <?php else : ?> |
|
88 | + <?php else { |
|
89 | + : ?> |
|
89 | 90 | <input class="item-languageid" type="hidden" |
90 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'address', 'idx', 'supplier.address.languageid' ) ) ); ?>'.replace('idx', idx)" |
|
91 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'address', 'idx', 'supplier.address.languageid' ) ) ); |
|
92 | +} |
|
93 | +?>'.replace('idx', idx)" |
|
91 | 94 | value="<?= $enc->attr( key( $languages ) ); ?>" /> |
92 | 95 | <?php endif; ?> |
93 | 96 | <div class="form-group row optional"> |
@@ -122,9 +122,12 @@ discard block |
||
122 | 122 | <?= $enc->html( $this->translate( 'admin', 'Types for additional images like icons' ) ); ?> |
123 | 123 | </div> |
124 | 124 | </div> |
125 | - <?php else : ?> |
|
125 | + <?php else { |
|
126 | + : ?> |
|
126 | 127 | <input class="item-type" type="hidden" |
127 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'media', 'idx', 'media.type' ) ) ); ?>'.replace( 'idx', idx )" |
|
128 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'media', 'idx', 'media.type' ) ) ); |
|
129 | +} |
|
130 | +?>'.replace( 'idx', idx )" |
|
128 | 131 | value="<?= $enc->attr( key( $mediaTypes ) ); ?>" /> |
129 | 132 | <?php endif; ?> |
130 | 133 | |
@@ -202,9 +205,12 @@ discard block |
||
202 | 205 | <?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?> |
203 | 206 | </div> |
204 | 207 | </div> |
205 | - <?php else : ?> |
|
208 | + <?php else { |
|
209 | + : ?> |
|
206 | 210 | <input class="listitem-type" type="hidden" |
207 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'media', 'idx', 'catalog.lists.type' ) ) ); ?>'.replace( 'idx', idx )" |
|
211 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'media', 'idx', 'catalog.lists.type' ) ) ); |
|
212 | +} |
|
213 | +?>'.replace( 'idx', idx )" |
|
208 | 214 | value="<?= $enc->attr( key( $listTypes ) ); ?>" |
209 | 215 | v-model="items[idx]['catalog.lists.type']" /> |
210 | 216 | <?php endif; ?> |
@@ -122,9 +122,12 @@ discard block |
||
122 | 122 | <?= $enc->html( $this->translate( 'admin', 'Language of the entered text' ) ); ?> |
123 | 123 | </div> |
124 | 124 | </div> |
125 | - <?php else : ?> |
|
125 | + <?php else { |
|
126 | + : ?> |
|
126 | 127 | <input class="text-langid" type="hidden" |
127 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.languageid' ) ) ); ?>'.replace('idx', idx)" |
|
128 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.languageid' ) ) ); |
|
129 | +} |
|
130 | +?>'.replace('idx', idx)" |
|
128 | 131 | value="<?= $enc->attr( key( $languages ) ); ?>" /> |
129 | 132 | <?php endif; ?> |
130 | 133 | |
@@ -153,9 +156,12 @@ discard block |
||
153 | 156 | <?= $enc->html( $this->translate( 'admin', 'Types for additional texts like per one lb/kg or per month' ) ); ?> |
154 | 157 | </div> |
155 | 158 | </div> |
156 | - <?php else : ?> |
|
159 | + <?php else { |
|
160 | + : ?> |
|
157 | 161 | <input class="item-type" type="hidden" |
158 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.type' ) ) ); ?>'.replace('idx', idx)" |
|
162 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.type' ) ) ); |
|
163 | +} |
|
164 | +?>'.replace('idx', idx)" |
|
159 | 165 | value="<?= $enc->attr( key( $textTypes ) ); ?>" /> |
160 | 166 | <?php endif; ?> |
161 | 167 | |
@@ -211,9 +217,12 @@ discard block |
||
211 | 217 | <?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?> |
212 | 218 | </div> |
213 | 219 | </div> |
214 | - <?php else : ?> |
|
220 | + <?php else { |
|
221 | + : ?> |
|
215 | 222 | <input class="listitem-type" type="hidden" |
216 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'catalog.lists.type' ) ) ); ?>'.replace('idx', idx)" |
|
223 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'catalog.lists.type' ) ) ); |
|
224 | +} |
|
225 | +?>'.replace('idx', idx)" |
|
217 | 226 | value="<?= $enc->attr( key( $listTypes ) ); ?>" |
218 | 227 | v-model="items[idx]['catalog.lists.type']" /> |
219 | 228 | <?php endif; ?> |
@@ -159,9 +159,12 @@ discard block |
||
159 | 159 | </select> |
160 | 160 | </div> |
161 | 161 | </div> |
162 | - <?php else : ?> |
|
162 | + <?php else { |
|
163 | + : ?> |
|
163 | 164 | <input class="item-currencyid" type="hidden" |
164 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.currencyid' ) ) ); ?>'.replace('idx', idx)" |
|
165 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.currencyid' ) ) ); |
|
166 | +} |
|
167 | +?>'.replace('idx', idx)" |
|
165 | 168 | value="<?= $enc->attr( key( $currencies ) ); ?>" /> |
166 | 169 | <?php endif; ?> |
167 | 170 | |
@@ -189,9 +192,12 @@ discard block |
||
189 | 192 | <?= $enc->html( $this->translate( 'admin', 'Types for additional prices like per one lb/kg or per month' ) ); ?> |
190 | 193 | </div> |
191 | 194 | </div> |
192 | - <?php else : ?> |
|
195 | + <?php else { |
|
196 | + : ?> |
|
193 | 197 | <input class="item-type" type="hidden" |
194 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.type' ) ) ); ?>'.replace('idx', idx)" |
|
198 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.type' ) ) ); |
|
199 | +} |
|
200 | +?>'.replace('idx', idx)" |
|
195 | 201 | value="<?= $enc->attr( key( $priceTypes ) ); ?>" /> |
196 | 202 | <?php endif; ?> |
197 | 203 | |
@@ -247,9 +253,12 @@ discard block |
||
247 | 253 | <?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?> |
248 | 254 | </div> |
249 | 255 | </div> |
250 | - <?php else : ?> |
|
256 | + <?php else { |
|
257 | + : ?> |
|
251 | 258 | <input class="listitem-type" type="hidden" |
252 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'service.lists.type' ) ) ); ?>'.replace('idx', idx)" |
|
259 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'service.lists.type' ) ) ); |
|
260 | +} |
|
261 | +?>'.replace('idx', idx)" |
|
253 | 262 | value="<?= $enc->attr( key( $listTypes ) ); ?>" |
254 | 263 | v-model="items[idx]['service.lists.type']" /> |
255 | 264 | <?php endif; ?> |
@@ -116,7 +116,7 @@ discard block |
||
116 | 116 | <th class="actions"> |
117 | 117 | <a class="btn fa act-add" tabindex="1" |
118 | 118 | href="<?= $enc->attr( $this->url( $newTarget, $newCntl, $newAction, $params, [], $newConfig ) ); ?>" |
119 | - title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>" |
|
119 | + title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>" |
|
120 | 120 | aria-label="<?= $enc->attr( $this->translate( 'admin', 'Add' ) ); ?>"> |
121 | 121 | </a> |
122 | 122 | |
@@ -180,12 +180,12 @@ discard block |
||
180 | 180 | <td class="actions"> |
181 | 181 | <a class="btn act-copy fa" tabindex="1" |
182 | 182 | href="<?= $enc->attr( $this->url( $copyTarget, $copyCntl, $copyAction, ['id' => $id] + $params, [], $copyConfig ) ); ?>" |
183 | - title="<?= $enc->attr( $this->translate( 'admin', 'Copy this entry') ); ?>" |
|
183 | + title="<?= $enc->attr( $this->translate( 'admin', 'Copy this entry' ) ); ?>" |
|
184 | 184 | aria-label="<?= $enc->attr( $this->translate( 'admin', 'Copy' ) ); ?>"> |
185 | 185 | </a> |
186 | 186 | <a class="btn act-delete fa" tabindex="1" |
187 | 187 | href="<?= $enc->attr( $this->url( $delTarget, $delCntl, $delAction, ['id' => $id] + $params, [], $delConfig ) ); ?>" |
188 | - title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>" |
|
188 | + title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>" |
|
189 | 189 | aria-label="<?= $enc->attr( $this->translate( 'admin', 'Delete' ) ); ?>"> |
190 | 190 | </a> |
191 | 191 | </td> |
@@ -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; ?> |