@@ -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> |
@@ -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> |
@@ -32,7 +32,7 @@ |
||
32 | 32 | </th> |
33 | 33 | <th class="actions"> |
34 | 34 | <div class="btn act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
35 | - title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>" |
|
35 | + title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>" |
|
36 | 36 | v-on:click="addItem('product.lists.')"> |
37 | 37 | </th> |
38 | 38 | </tr> |
@@ -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> |
@@ -79,9 +79,12 @@ |
||
79 | 79 | </option> |
80 | 80 | <?php endforeach; ?> |
81 | 81 | </select> |
82 | - <?php else : ?> |
|
82 | + <?php else { |
|
83 | + : ?> |
|
83 | 84 | <input class="item-type" type="hidden" |
84 | - v-bind:name="'<?= $enc->attr( $this->formparam( ['stock', 'idx', 'stock.type'] ) ); ?>'.replace( 'idx', idx )" |
|
85 | + v-bind:name="'<?= $enc->attr( $this->formparam( ['stock', 'idx', 'stock.type'] ) ); |
|
86 | +} |
|
87 | +?>'.replace( 'idx', idx )" |
|
85 | 88 | value="<?= $enc->attr( key( $stockTypes ) ); ?>" /> |
86 | 89 | <?php endif; ?> |
87 | 90 | </td> |
@@ -334,8 +334,7 @@ |
||
334 | 334 | { |
335 | 335 | $stockItem = $stocks[$id]; |
336 | 336 | unset( $stocks[$id] ); |
337 | - } |
|
338 | - else |
|
337 | + } else |
|
339 | 338 | { |
340 | 339 | $stockItem = $manager->createItem(); |
341 | 340 | } |
@@ -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> |
@@ -52,8 +52,11 @@ |
||
52 | 52 | </option> |
53 | 53 | <?php endforeach; ?> |
54 | 54 | </select> |
55 | - <?php else : ?> |
|
56 | - <input class="form-control" type="<?= $enc->attr( $type ); ?>" tabindex="<?= $this->get( 'tabindex' ); ?>" |
|
55 | + <?php else { |
|
56 | + : ?> |
|
57 | + <input class="form-control" type="<?= $enc->attr( $type ); |
|
58 | +} |
|
59 | +?>" tabindex="<?= $this->get( 'tabindex' ); ?>" |
|
57 | 60 | name="<?= $enc->attr( $this->formparam( array_merge( $group, ['filter', 'val', $idx] ) ) ); ?>" |
58 | 61 | value="<?= $enc->attr( $this->value( $filter, 'val/' . $idx, '' ) ); ?>" /> |
59 | 62 | <?php endif; ?> |