@@ -238,7 +238,7 @@ discard block |
||
| 238 | 238 | <th class="config-row-value"><?= $enc->html( $this->translate( 'admin', 'Value' ) ); ?></th> |
| 239 | 239 | <th class="actions"> |
| 240 | 240 | <div v-if="!readonly" class="btn act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>" v-on:click="add()" |
| 241 | - title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>"></div> |
|
| 241 | + title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>"></div> |
|
| 242 | 242 | </th> |
| 243 | 243 | </tr> |
| 244 | 244 | </thead> |
@@ -257,7 +257,7 @@ discard block |
||
| 257 | 257 | </td> |
| 258 | 258 | <td class="actions"> |
| 259 | 259 | <div v-if="!readonly" class="btn act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>" v-on:click="remove(pos)" |
| 260 | - title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>"></div> |
|
| 260 | + title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>"></div> |
|
| 261 | 261 | </td> |
| 262 | 262 | </tr> |
| 263 | 263 | </tbody> |
@@ -123,9 +123,12 @@ discard block |
||
| 123 | 123 | <?= $enc->html( $this->translate( 'admin', 'Types for additional images like icons' ) ); ?> |
| 124 | 124 | </div> |
| 125 | 125 | </div> |
| 126 | - <?php else : ?> |
|
| 126 | + <?php else { |
|
| 127 | + : ?> |
|
| 127 | 128 | <input class="item-type" type="hidden" |
| 128 | - v-bind:name="'<?= $enc->attr( $this->formparam( ['media', '_idx_', 'media.type'] ) ); ?>'.replace('_idx_', idx)" |
|
| 129 | + v-bind:name="'<?= $enc->attr( $this->formparam( ['media', '_idx_', 'media.type'] ) ); |
|
| 130 | +} |
|
| 131 | +?>'.replace('_idx_', idx)" |
|
| 129 | 132 | value="<?= $enc->attr( key( $mediaTypes ) ) ?>" /> |
| 130 | 133 | <?php endif; ?> |
| 131 | 134 | |
@@ -188,9 +191,12 @@ discard block |
||
| 188 | 191 | <?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?> |
| 189 | 192 | </div> |
| 190 | 193 | </div> |
| 191 | - <?php else : ?> |
|
| 194 | + <?php else { |
|
| 195 | + : ?> |
|
| 192 | 196 | <input class="listitem-type" type="hidden" |
| 193 | - v-bind:name="'<?= $enc->attr( $this->formparam( ['media', '_idx_', 'attribute.lists.type'] ) ); ?>'.replace('_idx_', idx)" |
|
| 197 | + v-bind:name="'<?= $enc->attr( $this->formparam( ['media', '_idx_', 'attribute.lists.type'] ) ); |
|
| 198 | +} |
|
| 199 | +?>'.replace('_idx_', idx)" |
|
| 194 | 200 | value="<?= $enc->attr( key( $listTypes ) ) ?>" /> |
| 195 | 201 | <?php endif; ?> |
| 196 | 202 | <div class="form-group row optional"> |
@@ -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> |
@@ -193,7 +193,7 @@ discard block |
||
| 193 | 193 | <div v-on:click="toggle(idx)" class="col-xl-12 advanced" v-bind:class="{ 'collapsed': !advanced[idx] }"> |
| 194 | 194 | <div class="card-tools-left"> |
| 195 | 195 | <div class="btn act-show fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 196 | - title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide advanced data') ); ?>"> |
|
| 196 | + title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide advanced data' ) ); ?>"> |
|
| 197 | 197 | </div> |
| 198 | 198 | </div> |
| 199 | 199 | <span class="header-label"><?= $enc->html( $this->translate( 'admin', 'Advanced' ) ); ?></span> |
@@ -268,7 +268,7 @@ discard block |
||
| 268 | 268 | <th class="config-row-value"><?= $enc->html( $this->translate( 'admin', 'Value' ) ); ?></th> |
| 269 | 269 | <th class="actions"> |
| 270 | 270 | <div v-if="!readonly" class="btn act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>" v-on:click="add()" |
| 271 | - title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>"></div> |
|
| 271 | + title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>"></div> |
|
| 272 | 272 | </th> |
| 273 | 273 | </tr> |
| 274 | 274 | </thead> |
@@ -287,7 +287,7 @@ discard block |
||
| 287 | 287 | </td> |
| 288 | 288 | <td class="actions"> |
| 289 | 289 | <div v-if="!readonly" class="btn act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>" v-on:click="remove(pos)" |
| 290 | - title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>"></div> |
|
| 290 | + title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>"></div> |
|
| 291 | 291 | </td> |
| 292 | 292 | </tr> |
| 293 | 293 | </tbody> |
@@ -303,7 +303,7 @@ discard block |
||
| 303 | 303 | |
| 304 | 304 | <div slot="footer" class="card-tools-more"> |
| 305 | 305 | <div class="btn btn-primary btn-card-more act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 306 | - title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>" |
|
| 306 | + title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>" |
|
| 307 | 307 | v-on:click="addItem('service.lists.')" > |
| 308 | 308 | </div> |
| 309 | 309 | </div> |
@@ -145,9 +145,12 @@ discard block |
||
| 145 | 145 | <?= $enc->html( $this->translate( 'admin', 'Language of the entered text' ) ); ?> |
| 146 | 146 | </div> |
| 147 | 147 | </div> |
| 148 | - <?php else : ?> |
|
| 148 | + <?php else { |
|
| 149 | + : ?> |
|
| 149 | 150 | <input class="text-langid" type="hidden" |
| 150 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.languageid' ) ) ); ?>'.replace('idx', idx)" |
|
| 151 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.languageid' ) ) ); |
|
| 152 | +} |
|
| 153 | +?>'.replace('idx', idx)" |
|
| 151 | 154 | value="<?= $enc->attr( key( $languages ) ) ?>" /> |
| 152 | 155 | <?php endif; ?> |
| 153 | 156 | |
@@ -167,9 +170,12 @@ discard block |
||
| 167 | 170 | <?= $enc->html( $this->translate( 'admin', 'Types for additional texts like per one lb/kg or per month' ) ); ?> |
| 168 | 171 | </div> |
| 169 | 172 | </div> |
| 170 | - <?php else : ?> |
|
| 173 | + <?php else { |
|
| 174 | + : ?> |
|
| 171 | 175 | <input class="item-type" type="hidden" |
| 172 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.type' ) ) ); ?>'.replace('idx', idx)" |
|
| 176 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.type' ) ) ); |
|
| 177 | +} |
|
| 178 | +?>'.replace('idx', idx)" |
|
| 173 | 179 | value="<?= $enc->attr( key( $textTypes ) ) ?>" /> |
| 174 | 180 | <?php endif; ?> |
| 175 | 181 | |
@@ -217,9 +223,12 @@ discard block |
||
| 217 | 223 | <?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?> |
| 218 | 224 | </div> |
| 219 | 225 | </div> |
| 220 | - <?php else : ?> |
|
| 226 | + <?php else { |
|
| 227 | + : ?> |
|
| 221 | 228 | <input class="listitem-type" type="hidden" |
| 222 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'service.lists.type' ) ) ); ?>'.replace('idx', idx)" |
|
| 229 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'service.lists.type' ) ) ); |
|
| 230 | +} |
|
| 231 | +?>'.replace('idx', idx)" |
|
| 223 | 232 | value="<?= $enc->attr( key( $listTypes ) ) ?>" /> |
| 224 | 233 | <?php endif; ?> |
| 225 | 234 | |
@@ -284,7 +284,7 @@ discard block |
||
| 284 | 284 | <th class="config-row-value"><?= $enc->html( $this->translate( 'admin', 'Value' ) ); ?></th> |
| 285 | 285 | <th class="actions"> |
| 286 | 286 | <div v-if="!readonly" class="btn act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>" v-on:click="add()" |
| 287 | - title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>"></div> |
|
| 287 | + title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>"></div> |
|
| 288 | 288 | </th> |
| 289 | 289 | </tr> |
| 290 | 290 | </thead> |
@@ -303,7 +303,7 @@ discard block |
||
| 303 | 303 | </td> |
| 304 | 304 | <td class="actions"> |
| 305 | 305 | <div v-if="!readonly" class="btn act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>" v-on:click="remove(pos)" |
| 306 | - title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>"></div> |
|
| 306 | + title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>"></div> |
|
| 307 | 307 | </td> |
| 308 | 308 | </tr> |
| 309 | 309 | </tbody> |
@@ -161,9 +161,12 @@ discard block |
||
| 161 | 161 | </select> |
| 162 | 162 | </div> |
| 163 | 163 | </div> |
| 164 | - <?php else : ?> |
|
| 164 | + <?php else { |
|
| 165 | + : ?> |
|
| 165 | 166 | <input class="item-currencyid" type="hidden" |
| 166 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.currencyid' ) ) ); ?>'.replace('idx', idx)" |
|
| 167 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.currencyid' ) ) ); |
|
| 168 | +} |
|
| 169 | +?>'.replace('idx', idx)" |
|
| 167 | 170 | value="<?= $enc->attr( key( $currencies ) ) ?>" /> |
| 168 | 171 | <?php endif; ?> |
| 169 | 172 | |
@@ -183,9 +186,12 @@ discard block |
||
| 183 | 186 | <?= $enc->html( $this->translate( 'admin', 'Types for additional prices like per one lb/kg or per month' ) ); ?> |
| 184 | 187 | </div> |
| 185 | 188 | </div> |
| 186 | - <?php else : ?> |
|
| 189 | + <?php else { |
|
| 190 | + : ?> |
|
| 187 | 191 | <input class="item-type" type="hidden" |
| 188 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.type' ) ) ); ?>'.replace('idx', idx)" |
|
| 192 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.type' ) ) ); |
|
| 193 | +} |
|
| 194 | +?>'.replace('idx', idx)" |
|
| 189 | 195 | value="<?= $enc->attr( key( $priceTypes ) ) ?>" /> |
| 190 | 196 | <?php endif; ?> |
| 191 | 197 | |
@@ -233,9 +239,12 @@ discard block |
||
| 233 | 239 | <?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?> |
| 234 | 240 | </div> |
| 235 | 241 | </div> |
| 236 | - <?php else : ?> |
|
| 242 | + <?php else { |
|
| 243 | + : ?> |
|
| 237 | 244 | <input class="listitem-type" type="hidden" |
| 238 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'service.lists.type' ) ) ); ?>'.replace('idx', idx)" |
|
| 245 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'service.lists.type' ) ) ); |
|
| 246 | +} |
|
| 247 | +?>'.replace('idx', idx)" |
|
| 239 | 248 | value="<?= $enc->attr( key( $listTypes ) ) ?>" /> |
| 240 | 249 | <?php endif; ?> |
| 241 | 250 | |
@@ -238,7 +238,7 @@ discard block |
||
| 238 | 238 | <th class="config-row-value"><?= $enc->html( $this->translate( 'admin', 'Value' ) ); ?></th> |
| 239 | 239 | <th class="actions"> |
| 240 | 240 | <div v-if="!readonly" class="btn act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>" v-on:click="add()" |
| 241 | - title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>"></div> |
|
| 241 | + title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>"></div> |
|
| 242 | 242 | </th> |
| 243 | 243 | </tr> |
| 244 | 244 | </thead> |
@@ -257,7 +257,7 @@ discard block |
||
| 257 | 257 | </td> |
| 258 | 258 | <td class="actions"> |
| 259 | 259 | <div v-if="!readonly" class="btn act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>" v-on:click="remove(pos)" |
| 260 | - title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>"></div> |
|
| 260 | + title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>"></div> |
|
| 261 | 261 | </td> |
| 262 | 262 | </tr> |
| 263 | 263 | </tbody> |
@@ -123,9 +123,12 @@ discard block |
||
| 123 | 123 | <?= $enc->html( $this->translate( 'admin', 'Types for additional images like icons' ) ); ?> |
| 124 | 124 | </div> |
| 125 | 125 | </div> |
| 126 | - <?php else : ?> |
|
| 126 | + <?php else { |
|
| 127 | + : ?> |
|
| 127 | 128 | <input class="item-type" type="hidden" |
| 128 | - v-bind:name="'<?= $enc->attr( $this->formparam( ['media', '_idx_', 'media.type'] ) ); ?>'.replace('_idx_', idx)" |
|
| 129 | + v-bind:name="'<?= $enc->attr( $this->formparam( ['media', '_idx_', 'media.type'] ) ); |
|
| 130 | +} |
|
| 131 | +?>'.replace('_idx_', idx)" |
|
| 129 | 132 | value="<?= $enc->attr( key( $mediaTypes ) ) ?>" /> |
| 130 | 133 | <?php endif; ?> |
| 131 | 134 | |
@@ -188,9 +191,12 @@ discard block |
||
| 188 | 191 | <?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?> |
| 189 | 192 | </div> |
| 190 | 193 | </div> |
| 191 | - <?php else : ?> |
|
| 194 | + <?php else { |
|
| 195 | + : ?> |
|
| 192 | 196 | <input class="listitem-type" type="hidden" |
| 193 | - v-bind:name="'<?= $enc->attr( $this->formparam( ['media', '_idx_', 'service.lists.type'] ) ); ?>'.replace('_idx_', idx)" |
|
| 197 | + v-bind:name="'<?= $enc->attr( $this->formparam( ['media', '_idx_', 'service.lists.type'] ) ); |
|
| 198 | +} |
|
| 199 | +?>'.replace('_idx_', idx)" |
|
| 194 | 200 | value="<?= $enc->attr( key( $listTypes ) ) ?>" /> |
| 195 | 201 | <?php endif; ?> |
| 196 | 202 | <div class="form-group row optional"> |