@@ -24,7 +24,7 @@ discard block |
||
| 24 | 24 | </th> |
| 25 | 25 | <th class="actions"> |
| 26 | 26 | <div class="btn act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 27 | - title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>" |
|
| 27 | + title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>" |
|
| 28 | 28 | v-on:click="addPropertyItem(idx)"> |
| 29 | 29 | </div> |
| 30 | 30 | </th> |
@@ -77,7 +77,7 @@ discard block |
||
| 77 | 77 | |
| 78 | 78 | <td class="actions"> |
| 79 | 79 | <div v-if="!checkSite('price.siteid', idx)" class="btn act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
| 80 | - title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>" |
|
| 80 | + title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>" |
|
| 81 | 81 | v-on:click.stop="removePropertyItem(idx, propidx)"> |
| 82 | 82 | </div> |
| 83 | 83 | </td> |
@@ -158,9 +158,12 @@ discard block |
||
| 158 | 158 | </select> |
| 159 | 159 | </div> |
| 160 | 160 | </div> |
| 161 | - <?php else : ?> |
|
| 161 | + <?php else { |
|
| 162 | + : ?> |
|
| 162 | 163 | <input class="item-currencyid" type="hidden" |
| 163 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.currencyid' ) ) ); ?>'.replace('idx', idx)" |
|
| 164 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.currencyid' ) ) ); |
|
| 165 | +} |
|
| 166 | +?>'.replace('idx', idx)" |
|
| 164 | 167 | value="<?= $enc->attr( key( $currencies ) ); ?>" /> |
| 165 | 168 | <?php endif; ?> |
| 166 | 169 | |
@@ -188,9 +191,12 @@ discard block |
||
| 188 | 191 | <?= $enc->html( $this->translate( 'admin', 'Types for additional prices like per one lb/kg or per month' ) ); ?> |
| 189 | 192 | </div> |
| 190 | 193 | </div> |
| 191 | - <?php else : ?> |
|
| 194 | + <?php else { |
|
| 195 | + : ?> |
|
| 192 | 196 | <input class="item-type" type="hidden" |
| 193 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.type' ) ) ); ?>'.replace('idx', idx)" |
|
| 197 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.type' ) ) ); |
|
| 198 | +} |
|
| 199 | +?>'.replace('idx', idx)" |
|
| 194 | 200 | value="<?= $enc->attr( key( $priceTypes ) ); ?>" /> |
| 195 | 201 | <?php endif; ?> |
| 196 | 202 | |
@@ -246,9 +252,12 @@ discard block |
||
| 246 | 252 | <?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?> |
| 247 | 253 | </div> |
| 248 | 254 | </div> |
| 249 | - <?php else : ?> |
|
| 255 | + <?php else { |
|
| 256 | + : ?> |
|
| 250 | 257 | <input class="listitem-type" type="hidden" |
| 251 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'service.lists.type' ) ) ); ?>'.replace('idx', idx)" |
|
| 258 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'service.lists.type' ) ) ); |
|
| 259 | +} |
|
| 260 | +?>'.replace('idx', idx)" |
|
| 252 | 261 | value="<?= $enc->attr( key( $listTypes ) ); ?>" |
| 253 | 262 | v-model="items[idx]['service.lists.type']" /> |
| 254 | 263 | <?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; ?> |
@@ -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; ?> |
@@ -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; ?> |
@@ -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; ?> |
@@ -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; ?> |
@@ -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; ?> |