Completed
Push — master ( 0229de...f71bfb )
by Aimeos
04:41
created
admin/jqadm/templates/common/partials/listsearch-standard.php 1 patch
Spacing   +28 added lines, -28 removed lines patch added patch discarded remove patch
@@ -17,14 +17,14 @@  discard block
 block discarded – undo
17 17
  */
18 18
 
19 19
 
20
-$selected = function( $key, $code ) {
21
-	return ( (string) $key === (string) $code ? 'selected="selected"' : '' );
20
+$selected = function($key, $code) {
21
+	return ((string) $key === (string) $code ? 'selected="selected"' : '');
22 22
 };
23 23
 
24 24
 
25
-$group = (array) $this->get( 'group', [] );
26
-$filter = $this->get( 'filter', [] );
27
-$fields = $this->get( 'fields', [] );
25
+$group = (array) $this->get('group', []);
26
+$filter = $this->get('filter', []);
27
+$fields = $this->get('fields', []);
28 28
 $idx = 0;
29 29
 
30 30
 $enc = $this->encoder();
@@ -32,41 +32,41 @@  discard block
 block discarded – undo
32 32
 
33 33
 ?>
34 34
 <tr class="list-search">
35
-	<?php foreach( $this->get( 'data', [] ) as $key => $list ) : $idx++ ?>
36
-		<?php if( in_array( $key, $fields ) ) : ?>
37
-			<td class="<?= str_replace( '.', '-', $key ); ?>">
38
-				<input type="hidden" value="<?= $enc->attr( $key ); ?>"
39
-					name="<?= $enc->attr( $this->formparam( array_merge( $group, ['filter', 'key', $idx] ) ) ); ?>" />
40
-				<input type="hidden" value="<?= $enc->attr( $this->value( $list, 'op', '=~' ) ); ?>"
41
-					name="<?= $enc->attr( $this->formparam( array_merge( $group, ['filter', 'op', $idx] ) ) ); ?>" />
35
+	<?php foreach ($this->get('data', []) as $key => $list) : $idx++ ?>
36
+		<?php if (in_array($key, $fields)) : ?>
37
+			<td class="<?= str_replace('.', '-', $key); ?>">
38
+				<input type="hidden" value="<?= $enc->attr($key); ?>"
39
+					name="<?= $enc->attr($this->formparam(array_merge($group, ['filter', 'key', $idx]))); ?>" />
40
+				<input type="hidden" value="<?= $enc->attr($this->value($list, 'op', '=~')); ?>"
41
+					name="<?= $enc->attr($this->formparam(array_merge($group, ['filter', 'op', $idx]))); ?>" />
42 42
 
43
-				<?php if( ( $type = $this->value( $list, 'type', 'text' ) ) === 'select' ) : ?>
44
-					<select class="form-control custom-select" tabindex="<?= $this->get( 'tabindex' ); ?>"
45
-						name="<?= $enc->attr( $this->formparam( array_merge( $group, ['filter', 'val', $idx] ) ) ); ?>">
46
-						<option value=""><?= $enc->attr( $this->translate( 'admin', 'All' ) ); ?></option>
43
+				<?php if (($type = $this->value($list, 'type', 'text')) === 'select') : ?>
44
+					<select class="form-control custom-select" tabindex="<?= $this->get('tabindex'); ?>"
45
+						name="<?= $enc->attr($this->formparam(array_merge($group, ['filter', 'val', $idx]))); ?>">
46
+						<option value=""><?= $enc->attr($this->translate('admin', 'All')); ?></option>
47 47
 
48
-						<?php foreach( (array) $this->value( $list, 'val', [] ) as $val => $name ) : ?>
49
-							<option value="<?= $enc->attr( $val ); ?>" <?= $selected( $this->value( $filter, 'val/' . $idx ), $val ); ?> >
50
-								<?= $enc->html( $name ); ?>
48
+						<?php foreach ((array) $this->value($list, 'val', []) as $val => $name) : ?>
49
+							<option value="<?= $enc->attr($val); ?>" <?= $selected($this->value($filter, 'val/' . $idx), $val); ?> >
50
+								<?= $enc->html($name); ?>
51 51
 							</option>
52 52
 						<?php endforeach; ?>
53 53
 					</select>
54 54
 				<?php else : ?>
55
-					<input class="form-control" type="<?= $enc->attr( $type ); ?>" tabindex="<?= $this->get( 'tabindex' ); ?>"
56
-						name="<?= $enc->attr( $this->formparam( array_merge( $group, ['filter', 'val', $idx] ) ) ); ?>"
57
-						value="<?= $enc->attr( $this->value( $filter, 'val/' . $idx ) ); ?>" />
55
+					<input class="form-control" type="<?= $enc->attr($type); ?>" tabindex="<?= $this->get('tabindex'); ?>"
56
+						name="<?= $enc->attr($this->formparam(array_merge($group, ['filter', 'val', $idx]))); ?>"
57
+						value="<?= $enc->attr($this->value($filter, 'val/' . $idx)); ?>" />
58 58
 				<?php endif; ?>
59 59
 			</td>
60 60
 		<?php endif; ?>
61 61
 	<?php endforeach; ?>
62 62
 
63 63
 	<td class="actions">
64
-		<button type="submit" class="btn act-search fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
65
-			title="<?= $enc->attr( $this->translate( 'admin', 'Search') ); ?>"
66
-			aria-label="<?= $enc->attr( $this->translate( 'admin', 'Search' ) ); ?>">
64
+		<button type="submit" class="btn act-search fa" tabindex="<?= $this->get('tabindex'); ?>"
65
+			title="<?= $enc->attr($this->translate('admin', 'Search')); ?>"
66
+			aria-label="<?= $enc->attr($this->translate('admin', 'Search')); ?>">
67 67
 		</button>
68
-		<a class="btn act-reset fa" href="#" tabindex="<?= $this->get( 'tabindex' ); ?>"
69
-			title="<?= $enc->attr( $this->translate( 'admin', 'Reset') ); ?>"
70
-			aria-label="<?= $enc->attr( $this->translate( 'admin', 'Reset' ) ); ?>"></a>
68
+		<a class="btn act-reset fa" href="#" tabindex="<?= $this->get('tabindex'); ?>"
69
+			title="<?= $enc->attr($this->translate('admin', 'Reset')); ?>"
70
+			aria-label="<?= $enc->attr($this->translate('admin', 'Reset')); ?>"></a>
71 71
 	</td>
72 72
 </tr>
Please login to merge, or discard this patch.
admin/jqadm/templates/dashboard/list-order-standard.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -6,10 +6,10 @@
 block discarded – undo
6 6
  */
7 7
 
8 8
 $enc = $this->encoder();
9
-$currencies = array_keys( $this->get( 'orderCurrencyItems', [] ) );
9
+$currencies = array_keys($this->get('orderCurrencyItems', []));
10 10
 
11 11
 
12 12
 ?>
13
-<div class="dashboard-order row" data-currencies="<?= $enc->attr( json_encode( $currencies ) ) ?>">
14
-	<?= $this->get( 'orderBody' ); ?>
13
+<div class="dashboard-order row" data-currencies="<?= $enc->attr(json_encode($currencies)) ?>">
14
+	<?= $this->get('orderBody'); ?>
15 15
 </div>
Please login to merge, or discard this patch.
admin/jqadm/templates/product/item-physical-standard.php 1 patch
Spacing   +26 added lines, -26 removed lines patch added patch discarded remove patch
@@ -10,48 +10,48 @@
 block discarded – undo
10 10
 
11 11
 ?>
12 12
 <div id="physical" class="row item-physical tab-pane fade" role="tabpanel" aria-labelledby="physical">
13
-	<div class="col-xl-6 content-block <?= $this->site()->readonly( $this->get( 'itemData/product.siteid' ) ) ?>">
13
+	<div class="col-xl-6 content-block <?= $this->site()->readonly($this->get('itemData/product.siteid')) ?>">
14 14
 		<div class="form-group row optional">
15
-			<label class="col-sm-4 form-control-label"><?= $enc->html( $this->translate( 'admin', 'Length' ) ); ?></label>
15
+			<label class="col-sm-4 form-control-label"><?= $enc->html($this->translate('admin', 'Length')); ?></label>
16 16
 			<div class="col-sm-8">
17
-				<input class="form-control item-package-length" type="number" step="any" min="0" tabindex="<?= $this->get( 'tabindex' ); ?>"
18
-					name="<?= $enc->attr( $this->formparam( array( 'physical', 'package-length' ) ) ); ?>"
19
-					placeholder="<?= $enc->attr( $this->translate( 'admin', 'Product length, e.g. 30.0 (in yard, inch, etc.)' ) ); ?>"
20
-					value="<?= $enc->attr( $this->get( 'physicalData/package-length' ) ); ?>"
21
-					<?= $this->site()->readonly( $this->get( 'itemData/product.siteid' ) ) ?> >
17
+				<input class="form-control item-package-length" type="number" step="any" min="0" tabindex="<?= $this->get('tabindex'); ?>"
18
+					name="<?= $enc->attr($this->formparam(array('physical', 'package-length'))); ?>"
19
+					placeholder="<?= $enc->attr($this->translate('admin', 'Product length, e.g. 30.0 (in yard, inch, etc.)')); ?>"
20
+					value="<?= $enc->attr($this->get('physicalData/package-length')); ?>"
21
+					<?= $this->site()->readonly($this->get('itemData/product.siteid')) ?> >
22 22
 			</div>
23 23
 		</div>
24 24
 		<div class="form-group row optional">
25
-			<label class="col-sm-4 form-control-label"><?= $enc->html( $this->translate( 'admin', 'Width' ) ); ?></label>
25
+			<label class="col-sm-4 form-control-label"><?= $enc->html($this->translate('admin', 'Width')); ?></label>
26 26
 			<div class="col-sm-8">
27
-				<input class="form-control item-package-width" type="number" step="any" min="0" tabindex="<?= $this->get( 'tabindex' ); ?>"
28
-					name="<?= $enc->attr( $this->formparam( array( 'physical', 'package-width' ) ) ); ?>"
29
-					placeholder="<?= $enc->attr( $this->translate( 'admin', 'Product width, e.g. 17.5 (in yard, inch etc.)' ) ); ?>"
30
-					value="<?= $enc->attr( $this->get( 'physicalData/package-width' ) ); ?>"
31
-					<?= $this->site()->readonly( $this->get( 'itemData/product.siteid' ) ) ?> >
27
+				<input class="form-control item-package-width" type="number" step="any" min="0" tabindex="<?= $this->get('tabindex'); ?>"
28
+					name="<?= $enc->attr($this->formparam(array('physical', 'package-width'))); ?>"
29
+					placeholder="<?= $enc->attr($this->translate('admin', 'Product width, e.g. 17.5 (in yard, inch etc.)')); ?>"
30
+					value="<?= $enc->attr($this->get('physicalData/package-width')); ?>"
31
+					<?= $this->site()->readonly($this->get('itemData/product.siteid')) ?> >
32 32
 			</div>
33 33
 		</div>
34 34
 		<div class="form-group row optional">
35
-			<label class="col-sm-4 form-control-label"><?= $enc->html( $this->translate( 'admin', 'Height' ) ); ?></label>
35
+			<label class="col-sm-4 form-control-label"><?= $enc->html($this->translate('admin', 'Height')); ?></label>
36 36
 			<div class="col-sm-8">
37
-				<input class="form-control item-package-height" type="number" step="any" min="0" tabindex="<?= $this->get( 'tabindex' ); ?>"
38
-					name="<?= $enc->attr( $this->formparam( array( 'physical', 'package-height' ) ) ); ?>"
39
-					placeholder="<?= $enc->attr( $this->translate( 'admin', 'Product height, e.g. 20.0 (in yard, inch, etc.)' ) ); ?>"
40
-					value="<?= $enc->attr( $this->get( 'physicalData/package-height' ) ); ?>"
41
-					<?= $this->site()->readonly( $this->get( 'itemData/product.siteid' ) ) ?> >
37
+				<input class="form-control item-package-height" type="number" step="any" min="0" tabindex="<?= $this->get('tabindex'); ?>"
38
+					name="<?= $enc->attr($this->formparam(array('physical', 'package-height'))); ?>"
39
+					placeholder="<?= $enc->attr($this->translate('admin', 'Product height, e.g. 20.0 (in yard, inch, etc.)')); ?>"
40
+					value="<?= $enc->attr($this->get('physicalData/package-height')); ?>"
41
+					<?= $this->site()->readonly($this->get('itemData/product.siteid')) ?> >
42 42
 			</div>
43 43
 		</div>
44 44
 		<div class="form-group row optional">
45
-			<label class="col-sm-4 form-control-label"><?= $enc->html( $this->translate( 'admin', 'Weight' ) ); ?></label>
45
+			<label class="col-sm-4 form-control-label"><?= $enc->html($this->translate('admin', 'Weight')); ?></label>
46 46
 			<div class="col-sm-8">
47
-				<input class="form-control item-package-weight" type="number" step="any" min="0" tabindex="<?= $this->get( 'tabindex' ); ?>"
48
-					name="<?= $enc->attr( $this->formparam( array( 'physical', 'package-weight' ) ) ); ?>"
49
-					placeholder="<?= $enc->attr( $this->translate( 'admin', 'Product weight, e.g. 1.25 (in pound, ounce, etc.)' ) ); ?>"
50
-					value="<?= $enc->attr( $this->get( 'physicalData/package-weight' ) ); ?>"
51
-					<?= $this->site()->readonly( $this->get( 'itemData/product.siteid' ) ) ?> >
47
+				<input class="form-control item-package-weight" type="number" step="any" min="0" tabindex="<?= $this->get('tabindex'); ?>"
48
+					name="<?= $enc->attr($this->formparam(array('physical', 'package-weight'))); ?>"
49
+					placeholder="<?= $enc->attr($this->translate('admin', 'Product weight, e.g. 1.25 (in pound, ounce, etc.)')); ?>"
50
+					value="<?= $enc->attr($this->get('physicalData/package-weight')); ?>"
51
+					<?= $this->site()->readonly($this->get('itemData/product.siteid')) ?> >
52 52
 			</div>
53 53
 		</div>
54 54
 	</div>
55 55
 
56
-	<?= $this->get( 'physicalBody' ); ?>
56
+	<?= $this->get('physicalBody'); ?>
57 57
 </div>
Please login to merge, or discard this patch.
admin/jqadm/templates/common/partials/navsearch-standard.php 1 patch
Spacing   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -17,49 +17,49 @@
 block discarded – undo
17 17
  */
18 18
 
19 19
 
20
-$selected = function( array $filter, $key, $code ) {
21
-	return ( isset( $filter[$key][0] ) && $filter[$key][0] == $code ? 'selected="selected"' : '' );
20
+$selected = function(array $filter, $key, $code) {
21
+	return (isset($filter[$key][0]) && $filter[$key][0] == $code ? 'selected="selected"' : '');
22 22
 };
23 23
 
24 24
 
25
-$target = $this->config( 'admin/jqadm/url/search/target' );
26
-$controller = $this->config( 'admin/jqadm/url/search/controller', 'Jqadm' );
27
-$action = $this->config( 'admin/jqadm/url/search/action', 'search' );
28
-$config = $this->config( 'admin/jqadm/url/search/config', [] );
25
+$target = $this->config('admin/jqadm/url/search/target');
26
+$controller = $this->config('admin/jqadm/url/search/controller', 'Jqadm');
27
+$action = $this->config('admin/jqadm/url/search/action', 'search');
28
+$config = $this->config('admin/jqadm/url/search/config', []);
29 29
 
30
-$filter = $this->get( 'filter', [] );
31
-$params = $this->get( 'params', [] );
30
+$filter = $this->get('filter', []);
31
+$params = $this->get('params', []);
32 32
 $params['page']['start'] = 0;
33
-unset( $params['filter'] );
33
+unset($params['filter']);
34 34
 
35 35
 $enc = $this->encoder();
36 36
 
37 37
 
38 38
 ?>
39
-<form class="form-inline" method="POST" action="<?= $enc->attr( $this->url( $target, $controller, $action, $params, [], $config ) ); ?>">
39
+<form class="form-inline" method="POST" action="<?= $enc->attr($this->url($target, $controller, $action, $params, [], $config)); ?>">
40 40
 	<?= $this->csrf()->formfield(); ?>
41 41
 
42 42
 	<i class="fa more"></i>
43 43
 
44 44
 	<div class="input-group">
45
-		<select class="custom-select filter-key" name="<?= $this->formparam( ['filter', 'key', '0'] ); ?>">
46
-			<?php foreach( $this->get( 'filterAttributes', [] ) as $code => $attrItem ) : ?>
47
-				<?php if( $attrItem->isPublic() ) : ?>
48
-					<option value="<?= $enc->attr( $code ); ?>" data-type="<?= $enc->attr( $attrItem->getType() ); ?>" <?= $selected( $filter, 'key', $code ); ?> >
49
-						<?= $enc->html( $this->translate( 'admin/ext', $attrItem->getLabel() ) ); ?>
45
+		<select class="custom-select filter-key" name="<?= $this->formparam(['filter', 'key', '0']); ?>">
46
+			<?php foreach ($this->get('filterAttributes', []) as $code => $attrItem) : ?>
47
+				<?php if ($attrItem->isPublic()) : ?>
48
+					<option value="<?= $enc->attr($code); ?>" data-type="<?= $enc->attr($attrItem->getType()); ?>" <?= $selected($filter, 'key', $code); ?> >
49
+						<?= $enc->html($this->translate('admin/ext', $attrItem->getLabel())); ?>
50 50
 					</option>
51 51
 				<?php endif; ?>
52 52
 			<?php endforeach; ?>
53 53
 		</select>
54
-		<select class="custom-select filter-operator" name="<?= $this->formparam( ['filter', 'op', '0'] ); ?>">
55
-			<?php foreach( $this->get( 'filterOperators/compare', [] ) as $code ) : ?>
56
-				<option value="<?= $enc->attr( $code ); ?>" <?= $selected( $filter, 'op', $code ); ?> >
57
-					<?= $enc->html( $code ) . ( strlen( $code ) === 1 ? '&nbsp;' : '' ); ?>&nbsp;&nbsp;<?= $enc->html( $this->translate( 'admin/ext', $code ) ); ?>
54
+		<select class="custom-select filter-operator" name="<?= $this->formparam(['filter', 'op', '0']); ?>">
55
+			<?php foreach ($this->get('filterOperators/compare', []) as $code) : ?>
56
+				<option value="<?= $enc->attr($code); ?>" <?= $selected($filter, 'op', $code); ?> >
57
+					<?= $enc->html($code) . (strlen($code) === 1 ? '&nbsp;' : ''); ?>&nbsp;&nbsp;<?= $enc->html($this->translate('admin/ext', $code)); ?>
58 58
 				</option>
59 59
 			<?php endforeach; ?>
60 60
 		</select>
61
-		<input type="text" class="form-control filter-value" name="<?= $this->formparam( ['filter', 'val', '0'] ); ?>"
62
-			 value="<?= $enc->attr( ( isset( $filter['val'][0] ) ? $filter['val'][0] : '' ) ); ?>" >
61
+		<input type="text" class="form-control filter-value" name="<?= $this->formparam(['filter', 'val', '0']); ?>"
62
+			 value="<?= $enc->attr((isset($filter['val'][0]) ? $filter['val'][0] : '')); ?>" >
63 63
 		<div class="input-group-append">
64 64
 			<button class="btn btn-primary fa fa-search"></button>
65 65
 		</div>
Please login to merge, or discard this patch.
admin/jqadm/templates/supplier/item-address-standard.php 1 patch
Spacing   +112 added lines, -112 removed lines patch added patch discarded remove patch
@@ -20,8 +20,8 @@  discard block
 block discarded – undo
20 20
 ?>
21 21
 <div id="address" class="item-address content-block tab-pane fade" role="tabpanel" aria-labelledby="address">
22 22
 	<div id="item-address-group" role="tablist" aria-multiselectable="true"
23
-		data-items="<?= $enc->attr( json_encode( $this->get( 'addressData', [] ) ) ); ?>"
24
-		data-keys="<?= $enc->attr( json_encode( $keys ) ) ?>"
23
+		data-items="<?= $enc->attr(json_encode($this->get('addressData', []))); ?>"
24
+		data-keys="<?= $enc->attr(json_encode($keys)) ?>"
25 25
 		data-siteid="<?= $this->site()->siteid() ?>" >
26 26
 
27 27
 		<div v-for="(entry, idx) in items" v-bind:key="idx" class="group-item card">
@@ -30,20 +30,20 @@  discard block
 block discarded – undo
30 30
 				v-bind:data-target="'#item-address-group-data-' + idx" data-toggle="collapse" role="tab" class="card-header header"
31 31
 				v-bind:aria-controls="'item-address-group-data-' + idx" aria-expanded="false">
32 32
 				<div class="card-tools-left">
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') ); ?>">
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')); ?>">
35 35
 					</div>
36 36
 				</div>
37 37
 				<span class="item-label header-label">{{ getLabel(idx, 'supplier.address.') }}</span>
38 38
 				&nbsp;
39 39
 				<div class="card-tools-right">
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)') ); ?>"
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)')); ?>"
42 42
 						v-on:click.stop="duplicateItem(idx)">
43 43
 					</div>
44 44
 					<div v-if="!checkSite('supplier.address.siteid', idx)"
45
-						class="btn btn-card-header act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
46
-						title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>"
45
+						class="btn btn-card-header act-delete fa" tabindex="<?= $this->get('tabindex'); ?>"
46
+						title="<?= $enc->attr($this->translate('admin', 'Delete this entry')); ?>"
47 47
 						v-on:click="removeItem(idx)">
48 48
 					</div>
49 49
 				</div>
@@ -53,29 +53,29 @@  discard block
 block discarded – undo
53 53
 				v-bind:aria-labelledby="'item-address-group-item-' + idx" role="tabpanel" class="card-block collapse row">
54 54
 
55 55
 				<div class="col-xl-6 content-block">
56
-					<h2 class="col-sm-12 item-header"><?= $enc->html( $this->translate( 'admin', 'Personal data' ) ); ?></h2>
56
+					<h2 class="col-sm-12 item-header"><?= $enc->html($this->translate('admin', 'Personal data')); ?></h2>
57 57
 
58 58
 					<input class="item-id" type="hidden"
59
-						v-bind:name="'<?= $enc->attr( $this->formparam( array( 'address', 'idx', 'supplier.address.id' ) ) ); ?>'.replace('idx', idx)"
59
+						v-bind:name="'<?= $enc->attr($this->formparam(array('address', 'idx', 'supplier.address.id'))); ?>'.replace('idx', idx)"
60 60
 						v-bind:value="items[idx]['supplier.address.id']" />
61 61
 
62
-					<?php $languages = $this->get( 'pageLangItems', [] ) ?>
63
-					<?php if( count( $languages ) > 1 ) : ?>
62
+					<?php $languages = $this->get('pageLangItems', []) ?>
63
+					<?php if (count($languages) > 1) : ?>
64 64
 						<div class="form-group row mandatory">
65
-							<label class="col-sm-4 form-control-label"><?= $enc->html( $this->translate( 'admin', 'Language' ) ); ?></label>
65
+							<label class="col-sm-4 form-control-label"><?= $enc->html($this->translate('admin', 'Language')); ?></label>
66 66
 							<div class="col-sm-8">
67
-								<select class="form-control custom-select item-languageid" tabindex="<?= $this->get( 'tabindex' ); ?>"
68
-									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'address', 'idx', 'supplier.address.languageid' ) ) ); ?>'.replace('idx', idx)"
67
+								<select class="form-control custom-select item-languageid" tabindex="<?= $this->get('tabindex'); ?>"
68
+									v-bind:name="'<?= $enc->attr($this->formparam(array('address', 'idx', 'supplier.address.languageid'))); ?>'.replace('idx', idx)"
69 69
 									v-bind:readonly="checkSite('supplier.address.siteid', idx)"
70 70
 									v-model="items[idx]['supplier.address.languageid']" >
71 71
 
72 72
 									<option value="" disable >
73
-										<?= $enc->attr( $this->translate( 'admin', 'Please select' ) ); ?>
73
+										<?= $enc->attr($this->translate('admin', 'Please select')); ?>
74 74
 									</option>
75 75
 
76
-									<?php foreach( $languages as $langId => $langItem ) : ?>
77
-										<option value="<?= $enc->attr( $langId ); ?>" v-bind:selected="entry['supplier.address.languageid'] == '<?= $enc->attr( $langId ) ?>'" >
78
-											<?= $enc->html( $langItem->getLabel() ); ?>
76
+									<?php foreach ($languages as $langId => $langItem) : ?>
77
+										<option value="<?= $enc->attr($langId); ?>" v-bind:selected="entry['supplier.address.languageid'] == '<?= $enc->attr($langId) ?>'" >
78
+											<?= $enc->html($langItem->getLabel()); ?>
79 79
 										</option>
80 80
 									<?php endforeach; ?>
81 81
 								</select>
@@ -83,261 +83,261 @@  discard block
 block discarded – undo
83 83
 						</div>
84 84
 					<?php else : ?>
85 85
 						<input class="item-languageid" type="hidden"
86
-							v-bind:name="'<?= $enc->attr( $this->formparam( array( 'address', 'idx', 'supplier.address.languageid' ) ) ); ?>'.replace('idx', idx)"
87
-							value="<?= $enc->attr( key( $languages ) ); ?>" />
86
+							v-bind:name="'<?= $enc->attr($this->formparam(array('address', 'idx', 'supplier.address.languageid'))); ?>'.replace('idx', idx)"
87
+							value="<?= $enc->attr(key($languages)); ?>" />
88 88
 					<?php endif; ?>
89 89
 					<div class="form-group row optional">
90
-						<label class="col-sm-4 form-control-label help"><?= $enc->html( $this->translate( 'admin', 'Salutation' ) ); ?></label>
90
+						<label class="col-sm-4 form-control-label help"><?= $enc->html($this->translate('admin', 'Salutation')); ?></label>
91 91
 						<div class="col-sm-8">
92
-							<select class="form-control custom-select item-salutation" tabindex="<?= $this->get( 'tabindex' ); ?>"
93
-								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'address', 'idx', 'supplier.address.salutation' ) ) ); ?>'.replace('idx', idx)"
92
+							<select class="form-control custom-select item-salutation" tabindex="<?= $this->get('tabindex'); ?>"
93
+								v-bind:name="'<?= $enc->attr($this->formparam(array('address', 'idx', 'supplier.address.salutation'))); ?>'.replace('idx', idx)"
94 94
 								v-bind:readonly="checkSite('supplier.address.siteid', idx)"
95 95
 								v-model="items[idx]['supplier.address.salutation']" >
96 96
 								<option value="company" v-bind:selected="items[idx]['supplier.address.salutation'] == 'company'" >
97
-									<?= $enc->html( $this->translate( 'mshop/code', 'company' ) ); ?>
97
+									<?= $enc->html($this->translate('mshop/code', 'company')); ?>
98 98
 								</option>
99 99
 								<option value="mr" v-bind:selected="items[idx]['supplier.address.salutation'] == 'mr'" >
100
-									<?= $enc->html( $this->translate( 'mshop/code', 'mr' ) ); ?>
100
+									<?= $enc->html($this->translate('mshop/code', 'mr')); ?>
101 101
 								</option>
102 102
 								<option value="mrs" v-bind:selected="items[idx]['supplier.address.salutation'] == 'mrs'" >
103
-									<?= $enc->html( $this->translate( 'mshop/code', 'mrs' ) ); ?>
103
+									<?= $enc->html($this->translate('mshop/code', 'mrs')); ?>
104 104
 								</option>
105 105
 								<option value="miss" v-bind:selected="items[idx]['supplier.address.salutation'] == 'miss'" >
106
-									<?= $enc->html( $this->translate( 'mshop/code', 'miss' ) ); ?>
106
+									<?= $enc->html($this->translate('mshop/code', 'miss')); ?>
107 107
 								</option>
108 108
 							</select>
109 109
 						</div>
110 110
 						<div class="col-sm-12 form-text text-muted help-text">
111
-							<?= $enc->html( $this->translate( 'admin', 'How the supplier is addressed in e-mails' ) ); ?>
111
+							<?= $enc->html($this->translate('admin', 'How the supplier is addressed in e-mails')); ?>
112 112
 						</div>
113 113
 					</div>
114 114
 					<div class="form-group row optional">
115
-						<label class="col-sm-4 form-control-label help"><?= $enc->html( $this->translate( 'admin', 'Title' ) ); ?></label>
115
+						<label class="col-sm-4 form-control-label help"><?= $enc->html($this->translate('admin', 'Title')); ?></label>
116 116
 						<div class="col-sm-8">
117
-							<input class="form-control item-title" type="text" tabindex="<?= $this->get( 'tabindex' ); ?>"
118
-								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'address', 'idx', 'supplier.address.title' ) ) ); ?>'.replace('idx', idx)"
119
-								placeholder="<?= $enc->attr( $this->translate( 'admin', 'Honorary title (optional)' ) ); ?>"
117
+							<input class="form-control item-title" type="text" tabindex="<?= $this->get('tabindex'); ?>"
118
+								v-bind:name="'<?= $enc->attr($this->formparam(array('address', 'idx', 'supplier.address.title'))); ?>'.replace('idx', idx)"
119
+								placeholder="<?= $enc->attr($this->translate('admin', 'Honorary title (optional)')); ?>"
120 120
 								v-bind:readonly="checkSite('supplier.address.siteid', idx)"
121 121
 								v-model="items[idx]['supplier.address.title']" />
122 122
 						</div>
123 123
 						<div class="col-sm-12 form-text text-muted help-text">
124
-							<?= $enc->html( $this->translate( 'admin', 'Honorary titles like Dr., Ph.D, etc.' ) ); ?>
124
+							<?= $enc->html($this->translate('admin', 'Honorary titles like Dr., Ph.D, etc.')); ?>
125 125
 						</div>
126 126
 					</div>
127 127
 					<div class="form-group row mandatory">
128
-						<label class="col-sm-4 form-control-label help"><?= $enc->html( $this->translate( 'admin', 'Last name' ) ); ?></label>
128
+						<label class="col-sm-4 form-control-label help"><?= $enc->html($this->translate('admin', 'Last name')); ?></label>
129 129
 						<div class="col-sm-8">
130
-							<input class="form-control item-lastname" type="text" required="required" tabindex="<?= $this->get( 'tabindex' ); ?>"
131
-								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'address', 'idx', 'supplier.address.lastname' ) ) ); ?>'.replace('idx', idx)"
132
-								placeholder="<?= $enc->attr( $this->translate( 'admin', 'Last name (required)' ) ); ?>"
130
+							<input class="form-control item-lastname" type="text" required="required" tabindex="<?= $this->get('tabindex'); ?>"
131
+								v-bind:name="'<?= $enc->attr($this->formparam(array('address', 'idx', 'supplier.address.lastname'))); ?>'.replace('idx', idx)"
132
+								placeholder="<?= $enc->attr($this->translate('admin', 'Last name (required)')); ?>"
133 133
 								v-bind:readonly="checkSite('supplier.address.siteid', idx)"
134 134
 								v-model="items[idx]['supplier.address.lastname']" />
135 135
 						</div>
136 136
 						<div class="col-sm-12 form-text text-muted help-text">
137
-							<?= $enc->html( $this->translate( 'admin', 'Last name of the person or full name in cultures where no first names are used' ) ); ?>
137
+							<?= $enc->html($this->translate('admin', 'Last name of the person or full name in cultures where no first names are used')); ?>
138 138
 						</div>
139 139
 					</div>
140 140
 					<div class="form-group row optional">
141
-						<label class="col-sm-4 form-control-label help"><?= $enc->html( $this->translate( 'admin', 'First name' ) ); ?></label>
141
+						<label class="col-sm-4 form-control-label help"><?= $enc->html($this->translate('admin', 'First name')); ?></label>
142 142
 						<div class="col-sm-8">
143
-							<input class="form-control item-firstname" type="text" tabindex="<?= $this->get( 'tabindex' ); ?>"
144
-								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'address', 'idx', 'supplier.address.firstname' ) ) ); ?>'.replace('idx', idx)"
145
-								placeholder="<?= $enc->attr( $this->translate( 'admin', 'First name (optional)' ) ); ?>"
143
+							<input class="form-control item-firstname" type="text" tabindex="<?= $this->get('tabindex'); ?>"
144
+								v-bind:name="'<?= $enc->attr($this->formparam(array('address', 'idx', 'supplier.address.firstname'))); ?>'.replace('idx', idx)"
145
+								placeholder="<?= $enc->attr($this->translate('admin', 'First name (optional)')); ?>"
146 146
 								v-bind:readonly="checkSite('supplier.address.siteid', idx)"
147 147
 								v-model="items[idx]['supplier.address.firstname']" />
148 148
 						</div>
149 149
 						<div class="col-sm-12 form-text text-muted help-text">
150
-							<?= $enc->html( $this->translate( 'admin', 'First name of the person if used in cultures where they are used' ) ); ?>
150
+							<?= $enc->html($this->translate('admin', 'First name of the person if used in cultures where they are used')); ?>
151 151
 						</div>
152 152
 					</div>
153 153
 				</div><!--
154 154
 
155 155
 				--><div class="col-xl-6 content-block">
156
-					<h2 class="col-sm-12 item-header"><?= $enc->html( $this->translate( 'admin', 'Delivery address' ) ); ?></h2>
156
+					<h2 class="col-sm-12 item-header"><?= $enc->html($this->translate('admin', 'Delivery address')); ?></h2>
157 157
 					<div class="form-group row optional">
158
-						<label class="col-sm-4 form-control-label help"><?= $enc->html( $this->translate( 'admin', 'Street' ) ); ?></label>
158
+						<label class="col-sm-4 form-control-label help"><?= $enc->html($this->translate('admin', 'Street')); ?></label>
159 159
 						<div class="col-sm-8">
160
-							<input class="form-control item-address1" type="text" tabindex="<?= $this->get( 'tabindex' ); ?>"
161
-								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'address', 'idx', 'supplier.address.address1' ) ) ); ?>'.replace('idx', idx)"
162
-								placeholder="<?= $enc->attr( $this->translate( 'admin', 'Street name (optional)' ) ); ?>"
160
+							<input class="form-control item-address1" type="text" tabindex="<?= $this->get('tabindex'); ?>"
161
+								v-bind:name="'<?= $enc->attr($this->formparam(array('address', 'idx', 'supplier.address.address1'))); ?>'.replace('idx', idx)"
162
+								placeholder="<?= $enc->attr($this->translate('admin', 'Street name (optional)')); ?>"
163 163
 								v-bind:readonly="checkSite('supplier.address.siteid', idx)"
164 164
 								v-model="items[idx]['supplier.address.address1']" />
165 165
 						</div>
166 166
 						<div class="col-sm-12 form-text text-muted help-text">
167
-							<?= $enc->html( $this->translate( 'admin', 'First name of the person if used in cultures where they are used' ) ); ?>
167
+							<?= $enc->html($this->translate('admin', 'First name of the person if used in cultures where they are used')); ?>
168 168
 						</div>
169 169
 					</div>
170 170
 					<div class="form-group row optional">
171
-						<label class="col-sm-4 form-control-label help"><?= $enc->html( $this->translate( 'admin', 'House number' ) ); ?></label>
171
+						<label class="col-sm-4 form-control-label help"><?= $enc->html($this->translate('admin', 'House number')); ?></label>
172 172
 						<div class="col-sm-8">
173
-							<input class="form-control item-address2" type="text" tabindex="<?= $this->get( 'tabindex' ); ?>"
174
-								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'address', 'idx', 'supplier.address.address2' ) ) ); ?>'.replace('idx', idx)"
175
-								placeholder="<?= $enc->attr( $this->translate( 'admin', 'House number (optional)' ) ); ?>"
173
+							<input class="form-control item-address2" type="text" tabindex="<?= $this->get('tabindex'); ?>"
174
+								v-bind:name="'<?= $enc->attr($this->formparam(array('address', 'idx', 'supplier.address.address2'))); ?>'.replace('idx', idx)"
175
+								placeholder="<?= $enc->attr($this->translate('admin', 'House number (optional)')); ?>"
176 176
 								v-bind:readonly="checkSite('supplier.address.siteid', idx)"
177 177
 								v-model="items[idx]['supplier.address.address2']" />
178 178
 						</div>
179 179
 						<div class="col-sm-12 form-text text-muted help-text">
180
-							<?= $enc->html( $this->translate( 'admin', 'Address identifier of the supplier\'s house for delivery' ) ); ?>
180
+							<?= $enc->html($this->translate('admin', 'Address identifier of the supplier\'s house for delivery')); ?>
181 181
 						</div>
182 182
 					</div>
183 183
 					<div class="form-group row optional">
184
-						<label class="col-sm-4 form-control-label help"><?= $enc->html( $this->translate( 'admin', 'Floor / Appartment' ) ); ?></label>
184
+						<label class="col-sm-4 form-control-label help"><?= $enc->html($this->translate('admin', 'Floor / Appartment')); ?></label>
185 185
 						<div class="col-sm-8">
186
-							<input class="form-control item-address3" type="text" tabindex="<?= $this->get( 'tabindex' ); ?>"
187
-								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'address', 'idx', 'supplier.address.address3' ) ) ); ?>'.replace('idx', idx)"
188
-								placeholder="<?= $enc->attr( $this->translate( 'admin', 'Floor and/or apartment (optional)' ) ); ?>"
186
+							<input class="form-control item-address3" type="text" tabindex="<?= $this->get('tabindex'); ?>"
187
+								v-bind:name="'<?= $enc->attr($this->formparam(array('address', 'idx', 'supplier.address.address3'))); ?>'.replace('idx', idx)"
188
+								placeholder="<?= $enc->attr($this->translate('admin', 'Floor and/or apartment (optional)')); ?>"
189 189
 								v-bind:readonly="checkSite('supplier.address.siteid', idx)"
190 190
 								v-model="items[idx]['supplier.address.address3']" />
191 191
 						</div>
192 192
 						<div class="col-sm-12 form-text text-muted help-text">
193
-							<?= $enc->html( $this->translate( 'admin', 'Additional information where the supplier\'s apartment can be found' ) ); ?>
193
+							<?= $enc->html($this->translate('admin', 'Additional information where the supplier\'s apartment can be found')); ?>
194 194
 						</div>
195 195
 					</div>
196 196
 					<div class="form-group row optional">
197
-						<label class="col-sm-4 form-control-label help"><?= $enc->html( $this->translate( 'admin', 'Zip code' ) ); ?></label>
197
+						<label class="col-sm-4 form-control-label help"><?= $enc->html($this->translate('admin', 'Zip code')); ?></label>
198 198
 						<div class="col-sm-8">
199
-							<input class="form-control item-postal" type="text" tabindex="<?= $this->get( 'tabindex' ); ?>"
200
-								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'address', 'idx', 'supplier.address.postal' ) ) ); ?>'.replace('idx', idx)"
201
-								placeholder="<?= $enc->attr( $this->translate( 'admin', 'Zip code (optional)' ) ); ?>"
199
+							<input class="form-control item-postal" type="text" tabindex="<?= $this->get('tabindex'); ?>"
200
+								v-bind:name="'<?= $enc->attr($this->formparam(array('address', 'idx', 'supplier.address.postal'))); ?>'.replace('idx', idx)"
201
+								placeholder="<?= $enc->attr($this->translate('admin', 'Zip code (optional)')); ?>"
202 202
 								v-bind:readonly="checkSite('supplier.address.siteid', idx)"
203 203
 								v-model="items[idx]['supplier.address.postal']" />
204 204
 						</div>
205 205
 						<div class="col-sm-12 form-text text-muted help-text">
206
-							<?= $enc->html( $this->translate( 'admin', 'Postal code for delivery if used in the area the supplier is living' ) ); ?>
206
+							<?= $enc->html($this->translate('admin', 'Postal code for delivery if used in the area the supplier is living')); ?>
207 207
 						</div>
208 208
 					</div>
209 209
 					<div class="form-group row mandatory">
210
-						<label class="col-sm-4 form-control-label"><?= $enc->html( $this->translate( 'admin', 'City' ) ); ?></label>
210
+						<label class="col-sm-4 form-control-label"><?= $enc->html($this->translate('admin', 'City')); ?></label>
211 211
 						<div class="col-sm-8">
212
-							<input class="form-control item-city" type="text" required="required" tabindex="<?= $this->get( 'tabindex' ); ?>"
213
-								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'address', 'idx', 'supplier.address.city' ) ) ); ?>'.replace('idx', idx)"
214
-								placeholder="<?= $enc->attr( $this->translate( 'admin', 'City or town name (required)' ) ); ?>"
212
+							<input class="form-control item-city" type="text" required="required" tabindex="<?= $this->get('tabindex'); ?>"
213
+								v-bind:name="'<?= $enc->attr($this->formparam(array('address', 'idx', 'supplier.address.city'))); ?>'.replace('idx', idx)"
214
+								placeholder="<?= $enc->attr($this->translate('admin', 'City or town name (required)')); ?>"
215 215
 								v-bind:readonly="checkSite('supplier.address.siteid', idx)"
216 216
 								v-model="items[idx]['supplier.address.city']" />
217 217
 						</div>
218 218
 					</div>
219 219
 					<div class="form-group row mandatory">
220
-						<label class="col-sm-4 form-control-label help"><?= $enc->html( $this->translate( 'admin', 'Country' ) ); ?></label>
220
+						<label class="col-sm-4 form-control-label help"><?= $enc->html($this->translate('admin', 'Country')); ?></label>
221 221
 						<div class="col-sm-8">
222 222
 							<select is="combo-box" class="form-control c-select item-countryid" required="required"
223
-								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'address', 'idx', 'supplier.address.countryid' ) ) ); ?>'.replace('idx', idx)"
223
+								v-bind:name="'<?= $enc->attr($this->formparam(array('address', 'idx', 'supplier.address.countryid'))); ?>'.replace('idx', idx)"
224 224
 								v-bind:readonly="checkSite('supplier.address.siteid', idx)"
225
-								v-bind:tabindex="'<?= $this->get( 'tabindex' ); ?>'"
225
+								v-bind:tabindex="'<?= $this->get('tabindex'); ?>'"
226 226
 								v-bind:getfcn="getCountries"
227 227
 								v-model="items[idx]['supplier.address.countryid']" >
228 228
 								<option value=""></option>
229 229
 							</select>
230 230
 						</div>
231 231
 						<div class="col-sm-12 form-text text-muted help-text">
232
-							<?= $enc->html( $this->translate( 'admin', 'Two letter ISO country code' ) ); ?>
232
+							<?= $enc->html($this->translate('admin', 'Two letter ISO country code')); ?>
233 233
 						</div>
234 234
 					</div>
235 235
 					<div class="form-group row optional">
236
-						<label class="col-sm-4 form-control-label help"><?= $enc->html( $this->translate( 'admin', 'State' ) ); ?></label>
236
+						<label class="col-sm-4 form-control-label help"><?= $enc->html($this->translate('admin', 'State')); ?></label>
237 237
 						<div class="col-sm-8">
238
-							<input class="form-control item-state" type="text" tabindex="<?= $this->get( 'tabindex' ); ?>"
239
-								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'address', 'idx', 'supplier.address.state' ) ) ); ?>'.replace('idx', idx)"
240
-								placeholder="<?= $enc->attr( $this->translate( 'admin', 'Country state code (optional)' ) ); ?>"
238
+							<input class="form-control item-state" type="text" tabindex="<?= $this->get('tabindex'); ?>"
239
+								v-bind:name="'<?= $enc->attr($this->formparam(array('address', 'idx', 'supplier.address.state'))); ?>'.replace('idx', idx)"
240
+								placeholder="<?= $enc->attr($this->translate('admin', 'Country state code (optional)')); ?>"
241 241
 								v-bind:readonly="checkSite('supplier.address.siteid', idx)"
242 242
 								v-model="items[idx]['supplier.address.state']" />
243 243
 						</div>
244 244
 						<div class="col-sm-12 form-text text-muted help-text">
245
-							<?= $enc->html( $this->translate( 'admin', 'Short state code (e.g. NY) if used in the country the supplier is living' ) ); ?>
245
+							<?= $enc->html($this->translate('admin', 'Short state code (e.g. NY) if used in the country the supplier is living')); ?>
246 246
 						</div>
247 247
 					</div>
248 248
 				</div><!--
249 249
 
250 250
 				--><div class="col-xl-6 content-block">
251
-					<h2 class="col-sm-12 item-header"><?= $enc->html( $this->translate( 'admin', 'Communication' ) ); ?></h2>
251
+					<h2 class="col-sm-12 item-header"><?= $enc->html($this->translate('admin', 'Communication')); ?></h2>
252 252
 					<div class="form-group row optional">
253
-						<label class="col-sm-4 form-control-label help"><?= $enc->html( $this->translate( 'admin', 'Telephone' ) ); ?></label>
253
+						<label class="col-sm-4 form-control-label help"><?= $enc->html($this->translate('admin', 'Telephone')); ?></label>
254 254
 						<div class="col-sm-8">
255
-							<input class="form-control item-telephone" type="tel" tabindex="<?= $this->get( 'tabindex' ); ?>"
256
-								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'address', 'idx', 'supplier.address.telephone' ) ) ); ?>'.replace('idx', idx)"
257
-								placeholder="<?= $enc->attr( $this->translate( 'admin', 'Telephone number (optional)' ) ); ?>"
255
+							<input class="form-control item-telephone" type="tel" tabindex="<?= $this->get('tabindex'); ?>"
256
+								v-bind:name="'<?= $enc->attr($this->formparam(array('address', 'idx', 'supplier.address.telephone'))); ?>'.replace('idx', idx)"
257
+								placeholder="<?= $enc->attr($this->translate('admin', 'Telephone number (optional)')); ?>"
258 258
 								v-bind:readonly="checkSite('supplier.address.siteid', idx)"
259 259
 								v-model="items[idx]['supplier.address.telephone']" />
260 260
 						</div>
261 261
 						<div class="col-sm-12 form-text text-muted help-text">
262
-							<?= $enc->html( $this->translate( 'admin', '(International) telephone number without separation characters, can start with a "+"' ) ); ?>
262
+							<?= $enc->html($this->translate('admin', '(International) telephone number without separation characters, can start with a "+"')); ?>
263 263
 						</div>
264 264
 					</div>
265 265
 					<div class="form-group row optional">
266
-						<label class="col-sm-4 form-control-label help"><?= $enc->html( $this->translate( 'admin', 'Facsimile' ) ); ?></label>
266
+						<label class="col-sm-4 form-control-label help"><?= $enc->html($this->translate('admin', 'Facsimile')); ?></label>
267 267
 						<div class="col-sm-8">
268
-							<input class="form-control item-telefax" type="text" tabindex="<?= $this->get( 'tabindex' ); ?>"
269
-								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'address', 'idx', 'supplier.address.telefax' ) ) ); ?>'.replace('idx', idx)"
270
-								placeholder="<?= $enc->attr( $this->translate( 'admin', 'Facsimile number (optional)' ) ); ?>"
268
+							<input class="form-control item-telefax" type="text" tabindex="<?= $this->get('tabindex'); ?>"
269
+								v-bind:name="'<?= $enc->attr($this->formparam(array('address', 'idx', 'supplier.address.telefax'))); ?>'.replace('idx', idx)"
270
+								placeholder="<?= $enc->attr($this->translate('admin', 'Facsimile number (optional)')); ?>"
271 271
 								v-bind:readonly="checkSite('supplier.address.siteid', idx)"
272 272
 								v-model="items[idx]['supplier.address.telefax']" />
273 273
 						</div>
274 274
 						<div class="col-sm-12 form-text text-muted help-text">
275
-							<?= $enc->html( $this->translate( 'admin', '(International) facsimilie number without separation characters, can start with a "+"' ) ); ?>
275
+							<?= $enc->html($this->translate('admin', '(International) facsimilie number without separation characters, can start with a "+"')); ?>
276 276
 						</div>
277 277
 					</div>
278 278
 					<div class="form-group row optional">
279
-						<label class="col-sm-4 form-control-label help"><?= $enc->html( $this->translate( 'admin', 'E-mail' ) ); ?></label>
279
+						<label class="col-sm-4 form-control-label help"><?= $enc->html($this->translate('admin', 'E-mail')); ?></label>
280 280
 						<div class="col-sm-8">
281
-							<input class="form-control item-email" type="email" tabindex="<?= $this->get( 'tabindex' ); ?>"
282
-								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'address', 'idx', 'supplier.address.email' ) ) ); ?>'.replace('idx', idx)"
283
-								placeholder="<?= $enc->attr( $this->translate( 'admin', 'E-mail address (optional)' ) ); ?>"
281
+							<input class="form-control item-email" type="email" tabindex="<?= $this->get('tabindex'); ?>"
282
+								v-bind:name="'<?= $enc->attr($this->formparam(array('address', 'idx', 'supplier.address.email'))); ?>'.replace('idx', idx)"
283
+								placeholder="<?= $enc->attr($this->translate('admin', 'E-mail address (optional)')); ?>"
284 284
 								v-bind:readonly="checkSite('supplier.address.siteid', idx)"
285 285
 								v-model="items[idx]['supplier.address.email']" />
286 286
 						</div>
287 287
 						<div class="col-sm-12 form-text text-muted help-text">
288
-							<?= $enc->html( $this->translate( 'admin', 'E-mail address that belongs to the address' ) ); ?>
288
+							<?= $enc->html($this->translate('admin', 'E-mail address that belongs to the address')); ?>
289 289
 						</div>
290 290
 					</div>
291 291
 					<div class="form-group row optional">
292
-						<label class="col-sm-4 form-control-label help"><?= $enc->html( $this->translate( 'admin', 'Web site' ) ); ?></label>
292
+						<label class="col-sm-4 form-control-label help"><?= $enc->html($this->translate('admin', 'Web site')); ?></label>
293 293
 						<div class="col-sm-8">
294
-							<input class="form-control item-website" type="url" tabindex="<?= $this->get( 'tabindex' ); ?>"
295
-								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'address', 'idx', 'supplier.address.website' ) ) ); ?>'.replace('idx', idx)"
296
-								placeholder="<?= $enc->attr( $this->translate( 'admin', 'Web site URL (optional)' ) ); ?>"
294
+							<input class="form-control item-website" type="url" tabindex="<?= $this->get('tabindex'); ?>"
295
+								v-bind:name="'<?= $enc->attr($this->formparam(array('address', 'idx', 'supplier.address.website'))); ?>'.replace('idx', idx)"
296
+								placeholder="<?= $enc->attr($this->translate('admin', 'Web site URL (optional)')); ?>"
297 297
 								v-bind:readonly="checkSite('supplier.address.siteid', idx)"
298 298
 								v-model="items[idx]['supplier.address.website']" />
299 299
 						</div>
300 300
 						<div class="col-sm-12 form-text text-muted help-text">
301
-							<?= $enc->html( $this->translate( 'admin', 'URL of the supplier web site' ) ); ?>
301
+							<?= $enc->html($this->translate('admin', 'URL of the supplier web site')); ?>
302 302
 						</div>
303 303
 					</div>
304 304
 				</div><!--
305 305
 
306 306
 				--><div class="col-xl-6 content-block">
307
-					<h2 class="col-sm-12 item-header"><?= $enc->html( $this->translate( 'admin', 'Company details' ) ); ?></h2>
307
+					<h2 class="col-sm-12 item-header"><?= $enc->html($this->translate('admin', 'Company details')); ?></h2>
308 308
 					<div class="form-group row optional">
309
-						<label class="col-sm-4 form-control-label"><?= $enc->html( $this->translate( 'admin', 'Company' ) ); ?></label>
309
+						<label class="col-sm-4 form-control-label"><?= $enc->html($this->translate('admin', 'Company')); ?></label>
310 310
 						<div class="col-sm-8">
311
-							<input class="form-control item-company" type="text" tabindex="<?= $this->get( 'tabindex' ); ?>"
312
-								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'address', 'idx', 'supplier.address.company' ) ) ); ?>'.replace('idx', idx)"
313
-								placeholder="<?= $enc->attr( $this->translate( 'admin', 'Company name (optional)' ) ); ?>"
311
+							<input class="form-control item-company" type="text" tabindex="<?= $this->get('tabindex'); ?>"
312
+								v-bind:name="'<?= $enc->attr($this->formparam(array('address', 'idx', 'supplier.address.company'))); ?>'.replace('idx', idx)"
313
+								placeholder="<?= $enc->attr($this->translate('admin', 'Company name (optional)')); ?>"
314 314
 								v-bind:readonly="checkSite('supplier.address.siteid', idx)"
315 315
 								v-model="items[idx]['supplier.address.company']" />
316 316
 						</div>
317 317
 					</div>
318 318
 					<div class="form-group row optional">
319
-						<label class="col-sm-4 form-control-label help"><?= $enc->html( $this->translate( 'admin', 'VAT ID' ) ); ?></label>
319
+						<label class="col-sm-4 form-control-label help"><?= $enc->html($this->translate('admin', 'VAT ID')); ?></label>
320 320
 						<div class="col-sm-8">
321
-							<input class="form-control item-vatid" type="text" tabindex="<?= $this->get( 'tabindex' ); ?>"
322
-								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'address', 'idx', 'supplier.address.vatid' ) ) ); ?>'.replace('idx', idx)"
323
-								placeholder="<?= $enc->attr( $this->translate( 'admin', 'Value added tax identifier (optional)' ) ); ?>"
321
+							<input class="form-control item-vatid" type="text" tabindex="<?= $this->get('tabindex'); ?>"
322
+								v-bind:name="'<?= $enc->attr($this->formparam(array('address', 'idx', 'supplier.address.vatid'))); ?>'.replace('idx', idx)"
323
+								placeholder="<?= $enc->attr($this->translate('admin', 'Value added tax identifier (optional)')); ?>"
324 324
 								v-bind:readonly="checkSite('supplier.address.siteid', idx)"
325 325
 								v-model="items[idx]['supplier.address.vatid']" />
326 326
 						</div>
327 327
 						<div class="col-sm-12 form-text text-muted help-text">
328
-							<?= $enc->html( $this->translate( 'admin', 'Official VAT ID to determine if the tax needs to be billed in invoices' ) ); ?>
328
+							<?= $enc->html($this->translate('admin', 'Official VAT ID to determine if the tax needs to be billed in invoices')); ?>
329 329
 						</div>
330 330
 					</div>
331 331
 				</div>
332 332
 
333
-				<?= $this->get( 'addressBody' ); ?>
333
+				<?= $this->get('addressBody'); ?>
334 334
 
335 335
 			</div>
336 336
 		</div>
337 337
 
338 338
 		<div class="card-tools-more">
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)') ); ?>"
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)')); ?>"
341 341
 				v-on:click="addItem('supplier.address.')" >
342 342
 			</div>
343 343
 		</div>
Please login to merge, or discard this patch.
admin/jqadm/templates/customer/item-address-standard.php 1 patch
Spacing   +112 added lines, -112 removed lines patch added patch discarded remove patch
@@ -20,8 +20,8 @@  discard block
 block discarded – undo
20 20
 ?>
21 21
 <div id="address" class="item-address content-block tab-pane fade" role="tabpanel" aria-labelledby="address">
22 22
 	<div id="item-address-group" role="tablist" aria-multiselectable="true"
23
-		data-items="<?= $enc->attr( json_encode( $this->get( 'addressData', [] ) ) ); ?>"
24
-		data-keys="<?= $enc->attr( json_encode( $keys ) ) ?>"
23
+		data-items="<?= $enc->attr(json_encode($this->get('addressData', []))); ?>"
24
+		data-keys="<?= $enc->attr(json_encode($keys)) ?>"
25 25
 		data-siteid="<?= $this->site()->siteid() ?>" >
26 26
 
27 27
 		<div v-for="(entry, idx) in items" v-bind:key="idx" class="group-item card">
@@ -30,20 +30,20 @@  discard block
 block discarded – undo
30 30
 				v-bind:data-target="'#item-address-group-data-' + idx" data-toggle="collapse" role="tab" class="card-header header"
31 31
 				v-bind:aria-controls="'item-address-group-data-' + idx" aria-expanded="false">
32 32
 				<div class="card-tools-left">
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') ); ?>">
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')); ?>">
35 35
 					</div>
36 36
 				</div>
37 37
 				<span class="item-label header-label">{{ getLabel(idx, 'customer.address.') }}</span>
38 38
 				&nbsp;
39 39
 				<div class="card-tools-right">
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)') ); ?>"
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)')); ?>"
42 42
 						v-on:click.stop="duplicateItem(idx)">
43 43
 					</div>
44 44
 					<div v-if="!checkSite('customer.address.siteid', idx)"
45
-						class="btn btn-card-header act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
46
-						title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>"
45
+						class="btn btn-card-header act-delete fa" tabindex="<?= $this->get('tabindex'); ?>"
46
+						title="<?= $enc->attr($this->translate('admin', 'Delete this entry')); ?>"
47 47
 						v-on:click="removeItem(idx)">
48 48
 					</div>
49 49
 				</div>
@@ -53,29 +53,29 @@  discard block
 block discarded – undo
53 53
 				v-bind:aria-labelledby="'item-address-group-item-' + idx" role="tabpanel" class="card-block collapse row">
54 54
 
55 55
 				<div class="col-xl-6 content-block">
56
-					<h2 class="col-sm-12 item-header"><?= $enc->html( $this->translate( 'admin', 'Personal data' ) ); ?></h2>
56
+					<h2 class="col-sm-12 item-header"><?= $enc->html($this->translate('admin', 'Personal data')); ?></h2>
57 57
 
58 58
 					<input class="item-id" type="hidden"
59
-						v-bind:name="'<?= $enc->attr( $this->formparam( array( 'address', 'idx', 'customer.address.id' ) ) ); ?>'.replace('idx', idx)"
59
+						v-bind:name="'<?= $enc->attr($this->formparam(array('address', 'idx', 'customer.address.id'))); ?>'.replace('idx', idx)"
60 60
 						v-bind:value="items[idx]['customer.address.id']" />
61 61
 
62
-					<?php $languages = $this->get( 'pageLangItems', [] ) ?>
63
-					<?php if( count( $languages ) > 1 ) : ?>
62
+					<?php $languages = $this->get('pageLangItems', []) ?>
63
+					<?php if (count($languages) > 1) : ?>
64 64
 						<div class="form-group row mandatory">
65
-							<label class="col-sm-4 form-control-label"><?= $enc->html( $this->translate( 'admin', 'Language' ) ); ?></label>
65
+							<label class="col-sm-4 form-control-label"><?= $enc->html($this->translate('admin', 'Language')); ?></label>
66 66
 							<div class="col-sm-8">
67
-								<select class="form-control custom-select item-languageid" tabindex="<?= $this->get( 'tabindex' ); ?>"
68
-									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'address', 'idx', 'customer.address.languageid' ) ) ); ?>'.replace('idx', idx)"
67
+								<select class="form-control custom-select item-languageid" tabindex="<?= $this->get('tabindex'); ?>"
68
+									v-bind:name="'<?= $enc->attr($this->formparam(array('address', 'idx', 'customer.address.languageid'))); ?>'.replace('idx', idx)"
69 69
 									v-bind:readonly="checkSite('customer.address.siteid', idx)"
70 70
 									v-model="items[idx]['customer.address.languageid']" >
71 71
 
72 72
 									<option value="" disable >
73
-										<?= $enc->attr( $this->translate( 'admin', 'Please select' ) ); ?>
73
+										<?= $enc->attr($this->translate('admin', 'Please select')); ?>
74 74
 									</option>
75 75
 
76
-									<?php foreach( $languages as $langId => $langItem ) : ?>
77
-										<option value="<?= $enc->attr( $langId ); ?>" v-bind:selected="entry['customer.address.languageid'] == '<?= $enc->attr( $langId ) ?>'" >
78
-											<?= $enc->html( $langItem->getLabel() ); ?>
76
+									<?php foreach ($languages as $langId => $langItem) : ?>
77
+										<option value="<?= $enc->attr($langId); ?>" v-bind:selected="entry['customer.address.languageid'] == '<?= $enc->attr($langId) ?>'" >
78
+											<?= $enc->html($langItem->getLabel()); ?>
79 79
 										</option>
80 80
 									<?php endforeach; ?>
81 81
 								</select>
@@ -83,261 +83,261 @@  discard block
 block discarded – undo
83 83
 						</div>
84 84
 					<?php else : ?>
85 85
 						<input class="item-languageid" type="hidden"
86
-							v-bind:name="'<?= $enc->attr( $this->formparam( array( 'address', 'idx', 'customer.address.languageid' ) ) ); ?>'.replace('idx', idx)"
87
-							value="<?= $enc->attr( key( $languages ) ); ?>" />
86
+							v-bind:name="'<?= $enc->attr($this->formparam(array('address', 'idx', 'customer.address.languageid'))); ?>'.replace('idx', idx)"
87
+							value="<?= $enc->attr(key($languages)); ?>" />
88 88
 					<?php endif; ?>
89 89
 					<div class="form-group row optional">
90
-						<label class="col-sm-4 form-control-label help"><?= $enc->html( $this->translate( 'admin', 'Salutation' ) ); ?></label>
90
+						<label class="col-sm-4 form-control-label help"><?= $enc->html($this->translate('admin', 'Salutation')); ?></label>
91 91
 						<div class="col-sm-8">
92
-							<select class="form-control custom-select item-salutation" tabindex="<?= $this->get( 'tabindex' ); ?>"
93
-								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'address', 'idx', 'customer.address.salutation' ) ) ); ?>'.replace('idx', idx)"
92
+							<select class="form-control custom-select item-salutation" tabindex="<?= $this->get('tabindex'); ?>"
93
+								v-bind:name="'<?= $enc->attr($this->formparam(array('address', 'idx', 'customer.address.salutation'))); ?>'.replace('idx', idx)"
94 94
 								v-bind:readonly="checkSite('customer.address.siteid', idx)"
95 95
 								v-model="items[idx]['customer.address.salutation']" >
96 96
 								<option value="company" v-bind:selected="items[idx]['customer.address.salutation'] == 'company'" >
97
-									<?= $enc->html( $this->translate( 'mshop/code', 'company' ) ); ?>
97
+									<?= $enc->html($this->translate('mshop/code', 'company')); ?>
98 98
 								</option>
99 99
 								<option value="mr" v-bind:selected="items[idx]['customer.address.salutation'] == 'mr'" >
100
-									<?= $enc->html( $this->translate( 'mshop/code', 'mr' ) ); ?>
100
+									<?= $enc->html($this->translate('mshop/code', 'mr')); ?>
101 101
 								</option>
102 102
 								<option value="mrs" v-bind:selected="items[idx]['customer.address.salutation'] == 'mrs'" >
103
-									<?= $enc->html( $this->translate( 'mshop/code', 'mrs' ) ); ?>
103
+									<?= $enc->html($this->translate('mshop/code', 'mrs')); ?>
104 104
 								</option>
105 105
 								<option value="miss" v-bind:selected="items[idx]['customer.address.salutation'] == 'miss'" >
106
-									<?= $enc->html( $this->translate( 'mshop/code', 'miss' ) ); ?>
106
+									<?= $enc->html($this->translate('mshop/code', 'miss')); ?>
107 107
 								</option>
108 108
 							</select>
109 109
 						</div>
110 110
 						<div class="col-sm-12 form-text text-muted help-text">
111
-							<?= $enc->html( $this->translate( 'admin', 'How the customer is addressed in e-mails' ) ); ?>
111
+							<?= $enc->html($this->translate('admin', 'How the customer is addressed in e-mails')); ?>
112 112
 						</div>
113 113
 					</div>
114 114
 					<div class="form-group row optional">
115
-						<label class="col-sm-4 form-control-label help"><?= $enc->html( $this->translate( 'admin', 'Title' ) ); ?></label>
115
+						<label class="col-sm-4 form-control-label help"><?= $enc->html($this->translate('admin', 'Title')); ?></label>
116 116
 						<div class="col-sm-8">
117
-							<input class="form-control item-title" type="text" tabindex="<?= $this->get( 'tabindex' ); ?>"
118
-								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'address', 'idx', 'customer.address.title' ) ) ); ?>'.replace('idx', idx)"
119
-								placeholder="<?= $enc->attr( $this->translate( 'admin', 'Honorary title (optional)' ) ); ?>"
117
+							<input class="form-control item-title" type="text" tabindex="<?= $this->get('tabindex'); ?>"
118
+								v-bind:name="'<?= $enc->attr($this->formparam(array('address', 'idx', 'customer.address.title'))); ?>'.replace('idx', idx)"
119
+								placeholder="<?= $enc->attr($this->translate('admin', 'Honorary title (optional)')); ?>"
120 120
 								v-bind:readonly="checkSite('customer.address.siteid', idx)"
121 121
 								v-model="items[idx]['customer.address.title']" />
122 122
 						</div>
123 123
 						<div class="col-sm-12 form-text text-muted help-text">
124
-							<?= $enc->html( $this->translate( 'admin', 'Honorary titles like Dr., Ph.D, etc.' ) ); ?>
124
+							<?= $enc->html($this->translate('admin', 'Honorary titles like Dr., Ph.D, etc.')); ?>
125 125
 						</div>
126 126
 					</div>
127 127
 					<div class="form-group row mandatory">
128
-						<label class="col-sm-4 form-control-label help"><?= $enc->html( $this->translate( 'admin', 'Last name' ) ); ?></label>
128
+						<label class="col-sm-4 form-control-label help"><?= $enc->html($this->translate('admin', 'Last name')); ?></label>
129 129
 						<div class="col-sm-8">
130
-							<input class="form-control item-lastname" type="text" required="required" tabindex="<?= $this->get( 'tabindex' ); ?>"
131
-								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'address', 'idx', 'customer.address.lastname' ) ) ); ?>'.replace('idx', idx)"
132
-								placeholder="<?= $enc->attr( $this->translate( 'admin', 'Last name (required)' ) ); ?>"
130
+							<input class="form-control item-lastname" type="text" required="required" tabindex="<?= $this->get('tabindex'); ?>"
131
+								v-bind:name="'<?= $enc->attr($this->formparam(array('address', 'idx', 'customer.address.lastname'))); ?>'.replace('idx', idx)"
132
+								placeholder="<?= $enc->attr($this->translate('admin', 'Last name (required)')); ?>"
133 133
 								v-bind:readonly="checkSite('customer.address.siteid', idx)"
134 134
 								v-model="items[idx]['customer.address.lastname']" />
135 135
 						</div>
136 136
 						<div class="col-sm-12 form-text text-muted help-text">
137
-							<?= $enc->html( $this->translate( 'admin', 'Last name of the person or full name in cultures where no first names are used' ) ); ?>
137
+							<?= $enc->html($this->translate('admin', 'Last name of the person or full name in cultures where no first names are used')); ?>
138 138
 						</div>
139 139
 					</div>
140 140
 					<div class="form-group row optional">
141
-						<label class="col-sm-4 form-control-label help"><?= $enc->html( $this->translate( 'admin', 'First name' ) ); ?></label>
141
+						<label class="col-sm-4 form-control-label help"><?= $enc->html($this->translate('admin', 'First name')); ?></label>
142 142
 						<div class="col-sm-8">
143
-							<input class="form-control item-firstname" type="text" tabindex="<?= $this->get( 'tabindex' ); ?>"
144
-								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'address', 'idx', 'customer.address.firstname' ) ) ); ?>'.replace('idx', idx)"
145
-								placeholder="<?= $enc->attr( $this->translate( 'admin', 'First name (optional)' ) ); ?>"
143
+							<input class="form-control item-firstname" type="text" tabindex="<?= $this->get('tabindex'); ?>"
144
+								v-bind:name="'<?= $enc->attr($this->formparam(array('address', 'idx', 'customer.address.firstname'))); ?>'.replace('idx', idx)"
145
+								placeholder="<?= $enc->attr($this->translate('admin', 'First name (optional)')); ?>"
146 146
 								v-bind:readonly="checkSite('customer.address.siteid', idx)"
147 147
 								v-model="items[idx]['customer.address.firstname']" />
148 148
 						</div>
149 149
 						<div class="col-sm-12 form-text text-muted help-text">
150
-							<?= $enc->html( $this->translate( 'admin', 'First name of the person if used in cultures where they are used' ) ); ?>
150
+							<?= $enc->html($this->translate('admin', 'First name of the person if used in cultures where they are used')); ?>
151 151
 						</div>
152 152
 					</div>
153 153
 				</div><!--
154 154
 
155 155
 				--><div class="col-xl-6 content-block">
156
-					<h2 class="col-sm-12 item-header"><?= $enc->html( $this->translate( 'admin', 'Delivery address' ) ); ?></h2>
156
+					<h2 class="col-sm-12 item-header"><?= $enc->html($this->translate('admin', 'Delivery address')); ?></h2>
157 157
 					<div class="form-group row optional">
158
-						<label class="col-sm-4 form-control-label help"><?= $enc->html( $this->translate( 'admin', 'Street' ) ); ?></label>
158
+						<label class="col-sm-4 form-control-label help"><?= $enc->html($this->translate('admin', 'Street')); ?></label>
159 159
 						<div class="col-sm-8">
160
-							<input class="form-control item-address1" type="text" tabindex="<?= $this->get( 'tabindex' ); ?>"
161
-								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'address', 'idx', 'customer.address.address1' ) ) ); ?>'.replace('idx', idx)"
162
-								placeholder="<?= $enc->attr( $this->translate( 'admin', 'Street name (optional)' ) ); ?>"
160
+							<input class="form-control item-address1" type="text" tabindex="<?= $this->get('tabindex'); ?>"
161
+								v-bind:name="'<?= $enc->attr($this->formparam(array('address', 'idx', 'customer.address.address1'))); ?>'.replace('idx', idx)"
162
+								placeholder="<?= $enc->attr($this->translate('admin', 'Street name (optional)')); ?>"
163 163
 								v-bind:readonly="checkSite('customer.address.siteid', idx)"
164 164
 								v-model="items[idx]['customer.address.address1']" />
165 165
 						</div>
166 166
 						<div class="col-sm-12 form-text text-muted help-text">
167
-							<?= $enc->html( $this->translate( 'admin', 'First name of the person if used in cultures where they are used' ) ); ?>
167
+							<?= $enc->html($this->translate('admin', 'First name of the person if used in cultures where they are used')); ?>
168 168
 						</div>
169 169
 					</div>
170 170
 					<div class="form-group row optional">
171
-						<label class="col-sm-4 form-control-label help"><?= $enc->html( $this->translate( 'admin', 'House number' ) ); ?></label>
171
+						<label class="col-sm-4 form-control-label help"><?= $enc->html($this->translate('admin', 'House number')); ?></label>
172 172
 						<div class="col-sm-8">
173
-							<input class="form-control item-address2" type="text" tabindex="<?= $this->get( 'tabindex' ); ?>"
174
-								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'address', 'idx', 'customer.address.address2' ) ) ); ?>'.replace('idx', idx)"
175
-								placeholder="<?= $enc->attr( $this->translate( 'admin', 'House number (optional)' ) ); ?>"
173
+							<input class="form-control item-address2" type="text" tabindex="<?= $this->get('tabindex'); ?>"
174
+								v-bind:name="'<?= $enc->attr($this->formparam(array('address', 'idx', 'customer.address.address2'))); ?>'.replace('idx', idx)"
175
+								placeholder="<?= $enc->attr($this->translate('admin', 'House number (optional)')); ?>"
176 176
 								v-bind:readonly="checkSite('customer.address.siteid', idx)"
177 177
 								v-model="items[idx]['customer.address.address2']" />
178 178
 						</div>
179 179
 						<div class="col-sm-12 form-text text-muted help-text">
180
-							<?= $enc->html( $this->translate( 'admin', 'Address identifier of the customer\'s house for delivery' ) ); ?>
180
+							<?= $enc->html($this->translate('admin', 'Address identifier of the customer\'s house for delivery')); ?>
181 181
 						</div>
182 182
 					</div>
183 183
 					<div class="form-group row optional">
184
-						<label class="col-sm-4 form-control-label help"><?= $enc->html( $this->translate( 'admin', 'Floor / Appartment' ) ); ?></label>
184
+						<label class="col-sm-4 form-control-label help"><?= $enc->html($this->translate('admin', 'Floor / Appartment')); ?></label>
185 185
 						<div class="col-sm-8">
186
-							<input class="form-control item-address3" type="text" tabindex="<?= $this->get( 'tabindex' ); ?>"
187
-								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'address', 'idx', 'customer.address.address3' ) ) ); ?>'.replace('idx', idx)"
188
-								placeholder="<?= $enc->attr( $this->translate( 'admin', 'Floor and/or apartment (optional)' ) ); ?>"
186
+							<input class="form-control item-address3" type="text" tabindex="<?= $this->get('tabindex'); ?>"
187
+								v-bind:name="'<?= $enc->attr($this->formparam(array('address', 'idx', 'customer.address.address3'))); ?>'.replace('idx', idx)"
188
+								placeholder="<?= $enc->attr($this->translate('admin', 'Floor and/or apartment (optional)')); ?>"
189 189
 								v-bind:readonly="checkSite('customer.address.siteid', idx)"
190 190
 								v-model="items[idx]['customer.address.address3']" />
191 191
 						</div>
192 192
 						<div class="col-sm-12 form-text text-muted help-text">
193
-							<?= $enc->html( $this->translate( 'admin', 'Additional information where the customer\'s apartment can be found' ) ); ?>
193
+							<?= $enc->html($this->translate('admin', 'Additional information where the customer\'s apartment can be found')); ?>
194 194
 						</div>
195 195
 					</div>
196 196
 					<div class="form-group row optional">
197
-						<label class="col-sm-4 form-control-label help"><?= $enc->html( $this->translate( 'admin', 'Zip code' ) ); ?></label>
197
+						<label class="col-sm-4 form-control-label help"><?= $enc->html($this->translate('admin', 'Zip code')); ?></label>
198 198
 						<div class="col-sm-8">
199
-							<input class="form-control item-postal" type="text" tabindex="<?= $this->get( 'tabindex' ); ?>"
200
-								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'address', 'idx', 'customer.address.postal' ) ) ); ?>'.replace('idx', idx)"
201
-								placeholder="<?= $enc->attr( $this->translate( 'admin', 'Zip code (optional)' ) ); ?>"
199
+							<input class="form-control item-postal" type="text" tabindex="<?= $this->get('tabindex'); ?>"
200
+								v-bind:name="'<?= $enc->attr($this->formparam(array('address', 'idx', 'customer.address.postal'))); ?>'.replace('idx', idx)"
201
+								placeholder="<?= $enc->attr($this->translate('admin', 'Zip code (optional)')); ?>"
202 202
 								v-bind:readonly="checkSite('customer.address.siteid', idx)"
203 203
 								v-model="items[idx]['customer.address.postal']" />
204 204
 						</div>
205 205
 						<div class="col-sm-12 form-text text-muted help-text">
206
-							<?= $enc->html( $this->translate( 'admin', 'Postal code for delivery if used in the area the customer is living' ) ); ?>
206
+							<?= $enc->html($this->translate('admin', 'Postal code for delivery if used in the area the customer is living')); ?>
207 207
 						</div>
208 208
 					</div>
209 209
 					<div class="form-group row mandatory">
210
-						<label class="col-sm-4 form-control-label"><?= $enc->html( $this->translate( 'admin', 'City' ) ); ?></label>
210
+						<label class="col-sm-4 form-control-label"><?= $enc->html($this->translate('admin', 'City')); ?></label>
211 211
 						<div class="col-sm-8">
212
-							<input class="form-control item-city" type="text" required="required" tabindex="<?= $this->get( 'tabindex' ); ?>"
213
-								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'address', 'idx', 'customer.address.city' ) ) ); ?>'.replace('idx', idx)"
214
-								placeholder="<?= $enc->attr( $this->translate( 'admin', 'City or town name (required)' ) ); ?>"
212
+							<input class="form-control item-city" type="text" required="required" tabindex="<?= $this->get('tabindex'); ?>"
213
+								v-bind:name="'<?= $enc->attr($this->formparam(array('address', 'idx', 'customer.address.city'))); ?>'.replace('idx', idx)"
214
+								placeholder="<?= $enc->attr($this->translate('admin', 'City or town name (required)')); ?>"
215 215
 								v-bind:readonly="checkSite('customer.address.siteid', idx)"
216 216
 								v-model="items[idx]['customer.address.city']" />
217 217
 						</div>
218 218
 					</div>
219 219
 					<div class="form-group row mandatory">
220
-						<label class="col-sm-4 form-control-label help"><?= $enc->html( $this->translate( 'admin', 'Country' ) ); ?></label>
220
+						<label class="col-sm-4 form-control-label help"><?= $enc->html($this->translate('admin', 'Country')); ?></label>
221 221
 						<div class="col-sm-8">
222 222
 							<select is="combo-box" class="form-control c-select item-countryid" required="required"
223
-								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'address', 'idx', 'customer.address.countryid' ) ) ); ?>'.replace('idx', idx)"
223
+								v-bind:name="'<?= $enc->attr($this->formparam(array('address', 'idx', 'customer.address.countryid'))); ?>'.replace('idx', idx)"
224 224
 								v-bind:readonly="checkSite('customer.address.siteid', idx)"
225
-								v-bind:tabindex="'<?= $this->get( 'tabindex' ); ?>'"
225
+								v-bind:tabindex="'<?= $this->get('tabindex'); ?>'"
226 226
 								v-bind:getfcn="getCountries"
227 227
 								v-model="items[idx]['customer.address.countryid']" >
228 228
 								<option value=""></option>
229 229
 							</select>
230 230
 						</div>
231 231
 						<div class="col-sm-12 form-text text-muted help-text">
232
-							<?= $enc->html( $this->translate( 'admin', 'Two letter ISO country code' ) ); ?>
232
+							<?= $enc->html($this->translate('admin', 'Two letter ISO country code')); ?>
233 233
 						</div>
234 234
 					</div>
235 235
 					<div class="form-group row optional">
236
-						<label class="col-sm-4 form-control-label help"><?= $enc->html( $this->translate( 'admin', 'State' ) ); ?></label>
236
+						<label class="col-sm-4 form-control-label help"><?= $enc->html($this->translate('admin', 'State')); ?></label>
237 237
 						<div class="col-sm-8">
238
-							<input class="form-control item-state" type="text" tabindex="<?= $this->get( 'tabindex' ); ?>"
239
-								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'address', 'idx', 'customer.address.state' ) ) ); ?>'.replace('idx', idx)"
240
-								placeholder="<?= $enc->attr( $this->translate( 'admin', 'Country state code (optional)' ) ); ?>"
238
+							<input class="form-control item-state" type="text" tabindex="<?= $this->get('tabindex'); ?>"
239
+								v-bind:name="'<?= $enc->attr($this->formparam(array('address', 'idx', 'customer.address.state'))); ?>'.replace('idx', idx)"
240
+								placeholder="<?= $enc->attr($this->translate('admin', 'Country state code (optional)')); ?>"
241 241
 								v-bind:readonly="checkSite('customer.address.siteid', idx)"
242 242
 								v-model="items[idx]['customer.address.state']" />
243 243
 						</div>
244 244
 						<div class="col-sm-12 form-text text-muted help-text">
245
-							<?= $enc->html( $this->translate( 'admin', 'Short state code (e.g. NY) if used in the country the customer is living' ) ); ?>
245
+							<?= $enc->html($this->translate('admin', 'Short state code (e.g. NY) if used in the country the customer is living')); ?>
246 246
 						</div>
247 247
 					</div>
248 248
 				</div><!--
249 249
 
250 250
 				--><div class="col-xl-6 content-block">
251
-					<h2 class="col-sm-12 item-header"><?= $enc->html( $this->translate( 'admin', 'Communication' ) ); ?></h2>
251
+					<h2 class="col-sm-12 item-header"><?= $enc->html($this->translate('admin', 'Communication')); ?></h2>
252 252
 					<div class="form-group row optional">
253
-						<label class="col-sm-4 form-control-label help"><?= $enc->html( $this->translate( 'admin', 'Telephone' ) ); ?></label>
253
+						<label class="col-sm-4 form-control-label help"><?= $enc->html($this->translate('admin', 'Telephone')); ?></label>
254 254
 						<div class="col-sm-8">
255
-							<input class="form-control item-telephone" type="tel" tabindex="<?= $this->get( 'tabindex' ); ?>"
256
-								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'address', 'idx', 'customer.address.telephone' ) ) ); ?>'.replace('idx', idx)"
257
-								placeholder="<?= $enc->attr( $this->translate( 'admin', 'Telephone number (optional)' ) ); ?>"
255
+							<input class="form-control item-telephone" type="tel" tabindex="<?= $this->get('tabindex'); ?>"
256
+								v-bind:name="'<?= $enc->attr($this->formparam(array('address', 'idx', 'customer.address.telephone'))); ?>'.replace('idx', idx)"
257
+								placeholder="<?= $enc->attr($this->translate('admin', 'Telephone number (optional)')); ?>"
258 258
 								v-bind:readonly="checkSite('customer.address.siteid', idx)"
259 259
 								v-model="items[idx]['customer.address.telephone']" />
260 260
 						</div>
261 261
 						<div class="col-sm-12 form-text text-muted help-text">
262
-							<?= $enc->html( $this->translate( 'admin', '(International) telephone number without separation characters, can start with a "+"' ) ); ?>
262
+							<?= $enc->html($this->translate('admin', '(International) telephone number without separation characters, can start with a "+"')); ?>
263 263
 						</div>
264 264
 					</div>
265 265
 					<div class="form-group row optional">
266
-						<label class="col-sm-4 form-control-label help"><?= $enc->html( $this->translate( 'admin', 'Facsimile' ) ); ?></label>
266
+						<label class="col-sm-4 form-control-label help"><?= $enc->html($this->translate('admin', 'Facsimile')); ?></label>
267 267
 						<div class="col-sm-8">
268
-							<input class="form-control item-telefax" type="text" tabindex="<?= $this->get( 'tabindex' ); ?>"
269
-								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'address', 'idx', 'customer.address.telefax' ) ) ); ?>'.replace('idx', idx)"
270
-								placeholder="<?= $enc->attr( $this->translate( 'admin', 'Facsimile number (optional)' ) ); ?>"
268
+							<input class="form-control item-telefax" type="text" tabindex="<?= $this->get('tabindex'); ?>"
269
+								v-bind:name="'<?= $enc->attr($this->formparam(array('address', 'idx', 'customer.address.telefax'))); ?>'.replace('idx', idx)"
270
+								placeholder="<?= $enc->attr($this->translate('admin', 'Facsimile number (optional)')); ?>"
271 271
 								v-bind:readonly="checkSite('customer.address.siteid', idx)"
272 272
 								v-model="items[idx]['customer.address.telefax']" />
273 273
 						</div>
274 274
 						<div class="col-sm-12 form-text text-muted help-text">
275
-							<?= $enc->html( $this->translate( 'admin', '(International) facsimilie number without separation characters, can start with a "+"' ) ); ?>
275
+							<?= $enc->html($this->translate('admin', '(International) facsimilie number without separation characters, can start with a "+"')); ?>
276 276
 						</div>
277 277
 					</div>
278 278
 					<div class="form-group row optional">
279
-						<label class="col-sm-4 form-control-label help"><?= $enc->html( $this->translate( 'admin', 'E-mail' ) ); ?></label>
279
+						<label class="col-sm-4 form-control-label help"><?= $enc->html($this->translate('admin', 'E-mail')); ?></label>
280 280
 						<div class="col-sm-8">
281
-							<input class="form-control item-email" type="email" tabindex="<?= $this->get( 'tabindex' ); ?>"
282
-								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'address', 'idx', 'customer.address.email' ) ) ); ?>'.replace('idx', idx)"
283
-								placeholder="<?= $enc->attr( $this->translate( 'admin', 'E-mail address (optional)' ) ); ?>"
281
+							<input class="form-control item-email" type="email" tabindex="<?= $this->get('tabindex'); ?>"
282
+								v-bind:name="'<?= $enc->attr($this->formparam(array('address', 'idx', 'customer.address.email'))); ?>'.replace('idx', idx)"
283
+								placeholder="<?= $enc->attr($this->translate('admin', 'E-mail address (optional)')); ?>"
284 284
 								v-bind:readonly="checkSite('customer.address.siteid', idx)"
285 285
 								v-model="items[idx]['customer.address.email']" />
286 286
 						</div>
287 287
 						<div class="col-sm-12 form-text text-muted help-text">
288
-							<?= $enc->html( $this->translate( 'admin', 'E-mail address that belongs to the address' ) ); ?>
288
+							<?= $enc->html($this->translate('admin', 'E-mail address that belongs to the address')); ?>
289 289
 						</div>
290 290
 					</div>
291 291
 					<div class="form-group row optional">
292
-						<label class="col-sm-4 form-control-label help"><?= $enc->html( $this->translate( 'admin', 'Web site' ) ); ?></label>
292
+						<label class="col-sm-4 form-control-label help"><?= $enc->html($this->translate('admin', 'Web site')); ?></label>
293 293
 						<div class="col-sm-8">
294
-							<input class="form-control item-website" type="url" tabindex="<?= $this->get( 'tabindex' ); ?>"
295
-								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'address', 'idx', 'customer.address.website' ) ) ); ?>'.replace('idx', idx)"
296
-								placeholder="<?= $enc->attr( $this->translate( 'admin', 'Web site URL (optional)' ) ); ?>"
294
+							<input class="form-control item-website" type="url" tabindex="<?= $this->get('tabindex'); ?>"
295
+								v-bind:name="'<?= $enc->attr($this->formparam(array('address', 'idx', 'customer.address.website'))); ?>'.replace('idx', idx)"
296
+								placeholder="<?= $enc->attr($this->translate('admin', 'Web site URL (optional)')); ?>"
297 297
 								v-bind:readonly="checkSite('customer.address.siteid', idx)"
298 298
 								v-model="items[idx]['customer.address.website']" />
299 299
 						</div>
300 300
 						<div class="col-sm-12 form-text text-muted help-text">
301
-							<?= $enc->html( $this->translate( 'admin', 'URL of the customer web site' ) ); ?>
301
+							<?= $enc->html($this->translate('admin', 'URL of the customer web site')); ?>
302 302
 						</div>
303 303
 					</div>
304 304
 				</div><!--
305 305
 
306 306
 				--><div class="col-xl-6 content-block">
307
-					<h2 class="col-sm-12 item-header"><?= $enc->html( $this->translate( 'admin', 'Company details' ) ); ?></h2>
307
+					<h2 class="col-sm-12 item-header"><?= $enc->html($this->translate('admin', 'Company details')); ?></h2>
308 308
 					<div class="form-group row optional">
309
-						<label class="col-sm-4 form-control-label"><?= $enc->html( $this->translate( 'admin', 'Company' ) ); ?></label>
309
+						<label class="col-sm-4 form-control-label"><?= $enc->html($this->translate('admin', 'Company')); ?></label>
310 310
 						<div class="col-sm-8">
311
-							<input class="form-control item-company" type="text" tabindex="<?= $this->get( 'tabindex' ); ?>"
312
-								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'address', 'idx', 'customer.address.company' ) ) ); ?>'.replace('idx', idx)"
313
-								placeholder="<?= $enc->attr( $this->translate( 'admin', 'Company name (optional)' ) ); ?>"
311
+							<input class="form-control item-company" type="text" tabindex="<?= $this->get('tabindex'); ?>"
312
+								v-bind:name="'<?= $enc->attr($this->formparam(array('address', 'idx', 'customer.address.company'))); ?>'.replace('idx', idx)"
313
+								placeholder="<?= $enc->attr($this->translate('admin', 'Company name (optional)')); ?>"
314 314
 								v-bind:readonly="checkSite('customer.address.siteid', idx)"
315 315
 								v-model="items[idx]['customer.address.company']" />
316 316
 						</div>
317 317
 					</div>
318 318
 					<div class="form-group row optional">
319
-						<label class="col-sm-4 form-control-label help"><?= $enc->html( $this->translate( 'admin', 'VAT ID' ) ); ?></label>
319
+						<label class="col-sm-4 form-control-label help"><?= $enc->html($this->translate('admin', 'VAT ID')); ?></label>
320 320
 						<div class="col-sm-8">
321
-							<input class="form-control item-vatid" type="text" tabindex="<?= $this->get( 'tabindex' ); ?>"
322
-								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'address', 'idx', 'customer.address.vatid' ) ) ); ?>'.replace('idx', idx)"
323
-								placeholder="<?= $enc->attr( $this->translate( 'admin', 'Value added tax identifier (optional)' ) ); ?>"
321
+							<input class="form-control item-vatid" type="text" tabindex="<?= $this->get('tabindex'); ?>"
322
+								v-bind:name="'<?= $enc->attr($this->formparam(array('address', 'idx', 'customer.address.vatid'))); ?>'.replace('idx', idx)"
323
+								placeholder="<?= $enc->attr($this->translate('admin', 'Value added tax identifier (optional)')); ?>"
324 324
 								v-bind:readonly="checkSite('customer.address.siteid', idx)"
325 325
 								v-model="items[idx]['customer.address.vatid']" />
326 326
 						</div>
327 327
 						<div class="col-sm-12 form-text text-muted help-text">
328
-							<?= $enc->html( $this->translate( 'admin', 'Official VAT ID to determine if the tax needs to be billed in invoices' ) ); ?>
328
+							<?= $enc->html($this->translate('admin', 'Official VAT ID to determine if the tax needs to be billed in invoices')); ?>
329 329
 						</div>
330 330
 					</div>
331 331
 				</div>
332 332
 
333
-				<?= $this->get( 'addressBody' ); ?>
333
+				<?= $this->get('addressBody'); ?>
334 334
 
335 335
 			</div>
336 336
 		</div>
337 337
 
338 338
 		<div class="card-tools-more">
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)') ); ?>"
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)')); ?>"
341 341
 				v-on:click="addItem('customer.address.')" >
342 342
 			</div>
343 343
 		</div>
Please login to merge, or discard this patch.
admin/jqadm/templates/product/item-subscription-standard.php 1 patch
Spacing   +30 added lines, -30 removed lines patch added patch discarded remove patch
@@ -17,39 +17,39 @@  discard block
 block discarded – undo
17 17
 <div id="subscription" class="item-subscription tab-pane fade" role="tablist" aria-labelledby="subscription">
18 18
 
19 19
 	<table class="subscription-list table table-default col-xl-12 content-block"
20
-		data-items="<?= $enc->attr( json_encode( $this->get( 'subscriptionData', [] ) ) ); ?>"
21
-		data-keys="<?= $enc->attr( json_encode( $keys ) ) ?>"
20
+		data-items="<?= $enc->attr(json_encode($this->get('subscriptionData', []))); ?>"
21
+		data-keys="<?= $enc->attr(json_encode($keys)) ?>"
22 22
 		data-siteid="<?= $this->site()->siteid() ?>" >
23 23
 
24 24
 		<thead>
25 25
 			<tr>
26 26
 				<th>
27
-					<span class="help"><?= $enc->html( $this->translate( 'admin', 'Active' ) ); ?></span>
27
+					<span class="help"><?= $enc->html($this->translate('admin', 'Active')); ?></span>
28 28
 					<div class="form-text text-muted help-text">
29
-						<?= $enc->html( $this->translate( 'admin', 'Available intervals in the front-end' ) ); ?>
29
+						<?= $enc->html($this->translate('admin', 'Available intervals in the front-end')); ?>
30 30
 					</div>
31 31
 				</th>
32 32
 				<th>
33
-					<span class="help"><?= $enc->html( $this->translate( 'admin', 'Label' ) ); ?></span>
33
+					<span class="help"><?= $enc->html($this->translate('admin', 'Label')); ?></span>
34 34
 					<div class="form-text text-muted help-text">
35
-						<?= $enc->html( $this->translate( 'admin', 'Label describing the interval, will be used if no name is available' ) ); ?>
35
+						<?= $enc->html($this->translate('admin', 'Label describing the interval, will be used if no name is available')); ?>
36 36
 					</div>
37 37
 				</th>
38 38
 				<th>
39
-					<?= $enc->html( $this->translate( 'admin', 'Years' ) ); ?>
39
+					<?= $enc->html($this->translate('admin', 'Years')); ?>
40 40
 				</th>
41 41
 				<th>
42
-					<?= $enc->html( $this->translate( 'admin', 'Months' ) ); ?>
42
+					<?= $enc->html($this->translate('admin', 'Months')); ?>
43 43
 				</th>
44 44
 				<th>
45
-					<?= $enc->html( $this->translate( 'admin', 'Weeks' ) ); ?>
45
+					<?= $enc->html($this->translate('admin', 'Weeks')); ?>
46 46
 				</th>
47 47
 				<th>
48
-					<?= $enc->html( $this->translate( 'admin', 'Days' ) ); ?>
48
+					<?= $enc->html($this->translate('admin', 'Days')); ?>
49 49
 				</th>
50 50
 				<th class="actions">
51
-					<div class="btn act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
52
-						title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>"
51
+					<div class="btn act-add fa" tabindex="<?= $this->get('tabindex'); ?>"
52
+						title="<?= $enc->attr($this->translate('admin', 'Insert new entry (Ctrl+I)')); ?>"
53 53
 						v-on:click="addItem()">
54 54
 					</div>
55 55
 				</th>
@@ -60,57 +60,57 @@  discard block
 block discarded – undo
60 60
 				v-bind:class="entry['product.lists.siteid'] != '<?= $this->site()->siteid() ?>' ? 'readonly' : ''">
61 61
 
62 62
 				<td class="interval-check">
63
-					<input class="form-control item-id" type="checkbox" tabindex="<?= $this->get( 'tabindex' ); ?>"
64
-						v-bind:name="'<?= $enc->attr( $this->formparam( array( 'subscription', 'idx', 'attribute.id' ) ) ); ?>'.replace( 'idx', idx )"
63
+					<input class="form-control item-id" type="checkbox" tabindex="<?= $this->get('tabindex'); ?>"
64
+						v-bind:name="'<?= $enc->attr($this->formparam(array('subscription', 'idx', 'attribute.id'))); ?>'.replace( 'idx', idx )"
65 65
 						v-bind:checked="entry['product.lists.id'] || !entry['attribute.id'] ? 'checked' : ''"
66 66
 						v-bind:value="entry['attribute.id']" />
67 67
 				</td>
68 68
 				<td class="interval-label mandatory">
69
-					<input class="form-control item-label" type="text" required="required" tabindex="<?= $this->get( 'tabindex' ); ?>"
70
-						v-bind:name="'<?= $enc->attr( $this->formparam( array( 'subscription', 'idx', 'attribute.label' ) ) ); ?>'.replace( 'idx', idx )"
69
+					<input class="form-control item-label" type="text" required="required" tabindex="<?= $this->get('tabindex'); ?>"
70
+						v-bind:name="'<?= $enc->attr($this->formparam(array('subscription', 'idx', 'attribute.label'))); ?>'.replace( 'idx', idx )"
71 71
 						v-bind:readonly="getReadOnly(idx)"
72 72
 						v-model="items[idx]['attribute.label']" />
73 73
 				</td>
74 74
 				<td class="interval-field mandatory">
75
-					<input class="form-control field-year" type="number" step="1" min="0" required="required" tabindex="<?= $this->get( 'tabindex' ); ?>"
76
-						v-bind:name="'<?= $enc->attr( $this->formparam( array( 'subscription', 'idx', 'Y' ) ) ); ?>'.replace( 'idx', idx )"
75
+					<input class="form-control field-year" type="number" step="1" min="0" required="required" tabindex="<?= $this->get('tabindex'); ?>"
76
+						v-bind:name="'<?= $enc->attr($this->formparam(array('subscription', 'idx', 'Y'))); ?>'.replace( 'idx', idx )"
77 77
 						v-bind:readonly="getReadOnly(idx)"
78 78
 						v-model="items[idx]['Y']" />
79 79
 				</td>
80 80
 				<td class="interval-field mandatory">
81
-					<input class="form-control field-month" type="number" step="1" min="0" required="required" tabindex="<?= $this->get( 'tabindex' ); ?>"
82
-						v-bind:name="'<?= $enc->attr( $this->formparam( array( 'subscription', 'idx', 'M' ) ) ); ?>'.replace( 'idx', idx )"
81
+					<input class="form-control field-month" type="number" step="1" min="0" required="required" tabindex="<?= $this->get('tabindex'); ?>"
82
+						v-bind:name="'<?= $enc->attr($this->formparam(array('subscription', 'idx', 'M'))); ?>'.replace( 'idx', idx )"
83 83
 						v-bind:readonly="getReadOnly(idx)"
84 84
 						v-model="items[idx]['M']" />
85 85
 				</td>
86 86
 				<td class="interval-field mandatory">
87
-					<input class="form-control field-week" type="number" step="1" min="0" required="required" tabindex="<?= $this->get( 'tabindex' ); ?>"
88
-						v-bind:name="'<?= $enc->attr( $this->formparam( array( 'subscription', 'idx', 'W' ) ) ); ?>'.replace( 'idx', idx )"
87
+					<input class="form-control field-week" type="number" step="1" min="0" required="required" tabindex="<?= $this->get('tabindex'); ?>"
88
+						v-bind:name="'<?= $enc->attr($this->formparam(array('subscription', 'idx', 'W'))); ?>'.replace( 'idx', idx )"
89 89
 						v-bind:readonly="getReadOnly(idx)"
90 90
 						v-model="items[idx]['W']" />
91 91
 				</td>
92 92
 				<td class="interval-field mandatory">
93
-					<input class="form-control field-day" type="number" step="1" min="0" required="required" tabindex="<?= $this->get( 'tabindex' ); ?>"
94
-						v-bind:name="'<?= $enc->attr( $this->formparam( array( 'subscription', 'idx', 'D' ) ) ); ?>'.replace( 'idx', idx )"
93
+					<input class="form-control field-day" type="number" step="1" min="0" required="required" tabindex="<?= $this->get('tabindex'); ?>"
94
+						v-bind:name="'<?= $enc->attr($this->formparam(array('subscription', 'idx', 'D'))); ?>'.replace( 'idx', idx )"
95 95
 						v-bind:readonly="getReadOnly(idx)"
96 96
 						v-model="items[idx]['D']" />
97 97
 				</td>
98 98
 				<td class="actions">
99 99
 					<input class="item-code" type="hidden"
100
-						v-bind:name="'<?= $enc->attr( $this->formparam( array( 'subscription', 'idx', 'attribute.code' ) ) ); ?>'.replace( 'idx', idx )"
100
+						v-bind:name="'<?= $enc->attr($this->formparam(array('subscription', 'idx', 'attribute.code'))); ?>'.replace( 'idx', idx )"
101 101
 						v-bind:value="getAttributeValue(idx)" />
102 102
 
103 103
 					<input class="item-listid" type="hidden"
104
-						v-bind:name="'<?= $enc->attr( $this->formparam( array( 'subscription', 'idx', 'product.lists.id' ) ) ); ?>'.replace( 'idx', idx )"
104
+						v-bind:name="'<?= $enc->attr($this->formparam(array('subscription', 'idx', 'product.lists.id'))); ?>'.replace( 'idx', idx )"
105 105
 						v-bind:value="entry['product.lists.id']" />
106 106
 
107 107
 					<input class="item-siteid" type="hidden"
108
-						v-bind:name="'<?= $enc->attr( $this->formparam( array( 'subscription', 'idx', 'product.lists.siteid' ) ) ); ?>'.replace( 'idx', idx )"
108
+						v-bind:name="'<?= $enc->attr($this->formparam(array('subscription', 'idx', 'product.lists.siteid'))); ?>'.replace( 'idx', idx )"
109 109
 						v-bind:value="entry['product.lists.siteid']" />
110 110
 
111 111
 					<div v-if="entry['attribute.id'] == ''" v-on:click="removeItem(idx)"
112
-						class="btn act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
113
-						title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>">
112
+						class="btn act-delete fa" tabindex="<?= $this->get('tabindex'); ?>"
113
+						title="<?= $enc->attr($this->translate('admin', 'Delete this entry')); ?>">
114 114
 					</div>
115 115
 				</td>
116 116
 
@@ -118,6 +118,6 @@  discard block
 block discarded – undo
118 118
 		</tbody>
119 119
 	</table>
120 120
 
121
-	<?= $this->get( 'subscriptionBody' ); ?>
121
+	<?= $this->get('subscriptionBody'); ?>
122 122
 
123 123
 </div>
Please login to merge, or discard this patch.
admin/jqadm/templates/product/item-characteristic-attribute-standard.php 1 patch
Spacing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -18,22 +18,22 @@  discard block
 block discarded – undo
18 18
 <div class="col-xl-6 content-block item-characteristic-attribute">
19 19
 
20 20
 	<table class="attribute-list table table-default"
21
-		data-items="<?= $enc->attr( json_encode( $this->get( 'attributeData', [] ) ) ); ?>"
22
-		data-keys="<?= $enc->attr( json_encode( $keys ) ) ?>"
21
+		data-items="<?= $enc->attr(json_encode($this->get('attributeData', []))); ?>"
22
+		data-keys="<?= $enc->attr(json_encode($keys)) ?>"
23 23
 		data-prefix="product.lists."
24 24
 		data-siteid="<?= $this->site()->siteid() ?>" >
25 25
 
26 26
 		<thead>
27 27
 			<tr>
28 28
 				<th>
29
-					<span class="help"><?= $enc->html( $this->translate( 'admin', 'Attributes' ) ); ?></span>
29
+					<span class="help"><?= $enc->html($this->translate('admin', 'Attributes')); ?></span>
30 30
 					<div class="form-text text-muted help-text">
31
-						<?= $enc->html( $this->translate( 'admin', 'Product attributes that are used by other products too' ) ); ?>
31
+						<?= $enc->html($this->translate('admin', 'Product attributes that are used by other products too')); ?>
32 32
 					</div>
33 33
 				</th>
34 34
 				<th class="actions">
35
-					<div class="btn act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
36
-						title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>"
35
+					<div class="btn act-add fa" tabindex="<?= $this->get('tabindex'); ?>"
36
+						title="<?= $enc->attr($this->translate('admin', 'Insert new entry (Ctrl+I)')); ?>"
37 37
 						v-on:click="addItem()">
38 38
 					</div>
39 39
 				</th>
@@ -46,18 +46,18 @@  discard block
 block discarded – undo
46 46
 
47 47
 				<td>
48 48
 					<input class="item-listid" type="hidden" v-model="items['product.lists.id'][idx]"
49
-						name="<?= $enc->attr( $this->formparam( array( 'characteristic', 'attribute', 'product.lists.id', '' ) ) ); ?>" />
49
+						name="<?= $enc->attr($this->formparam(array('characteristic', 'attribute', 'product.lists.id', ''))); ?>" />
50 50
 
51 51
 					<input class="item-label" type="hidden" v-model="items['attribute.label'][idx]"
52
-						name="<?= $enc->attr( $this->formparam( array( 'characteristic', 'attribute', 'attribute.label', '' ) ) ); ?>" />
52
+						name="<?= $enc->attr($this->formparam(array('characteristic', 'attribute', 'attribute.label', ''))); ?>" />
53 53
 
54 54
 					<input class="item-type" type="hidden" v-model="items['attribute.type'][idx]"
55
-						name="<?= $enc->attr( $this->formparam( array( 'characteristic', 'attribute', 'attribute.type', '' ) ) ); ?>" />
55
+						name="<?= $enc->attr($this->formparam(array('characteristic', 'attribute', 'attribute.type', ''))); ?>" />
56 56
 
57 57
 					<select is="combo-box" class="form-control custom-select item-refid"
58
-						v-bind:name="'<?= $enc->attr( $this->formparam( array( 'characteristic', 'attribute', 'product.lists.refid', '' ) ) ); ?>'"
58
+						v-bind:name="'<?= $enc->attr($this->formparam(array('characteristic', 'attribute', 'product.lists.refid', ''))); ?>'"
59 59
 						v-bind:readonly="checkSite('product.lists.siteid', idx) || id != ''"
60
-						v-bind:tabindex="'<?= $this->get( 'tabindex' ); ?>'"
60
+						v-bind:tabindex="'<?= $this->get('tabindex'); ?>'"
61 61
 						v-bind:label="getLabel(idx)"
62 62
 						v-bind:required="'required'"
63 63
 						v-bind:getfcn="getItems"
@@ -67,8 +67,8 @@  discard block
 block discarded – undo
67 67
 					</select>
68 68
 				</td>
69 69
 				<td class="actions">
70
-					<div v-if="!checkSite('product.lists.siteid', idx)" class="btn act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
71
-						title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>"
70
+					<div v-if="!checkSite('product.lists.siteid', idx)" class="btn act-delete fa" tabindex="<?= $this->get('tabindex'); ?>"
71
+						title="<?= $enc->attr($this->translate('admin', 'Delete this entry')); ?>"
72 72
 						v-on:click.stop="removeItem(idx)">
73 73
 				</td>
74 74
 
@@ -77,6 +77,6 @@  discard block
 block discarded – undo
77 77
 
78 78
 	</table>
79 79
 
80
-	<?= $this->get( 'attributeBody' ); ?>
80
+	<?= $this->get('attributeBody'); ?>
81 81
 
82 82
 </div>
Please login to merge, or discard this patch.
admin/jqadm/templates/product/item-characteristic-variant-standard.php 1 patch
Spacing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -18,22 +18,22 @@  discard block
 block discarded – undo
18 18
 <div class="col-xl-6 content-block item-characteristic-variant">
19 19
 
20 20
 	<table class="attribute-list table table-default"
21
-		data-items="<?= $enc->attr( json_encode( $this->get( 'variantData', [] ) ) ); ?>"
22
-		data-keys="<?= $enc->attr( json_encode( $keys ) ) ?>"
21
+		data-items="<?= $enc->attr(json_encode($this->get('variantData', []))); ?>"
22
+		data-keys="<?= $enc->attr(json_encode($keys)) ?>"
23 23
 		data-prefix="product.lists."
24 24
 		data-siteid="<?= $this->site()->siteid() ?>" >
25 25
 
26 26
 		<thead>
27 27
 			<tr>
28 28
 				<th>
29
-					<span class="help"><?= $enc->html( $this->translate( 'admin', 'Variant attributes' ) ); ?></span>
29
+					<span class="help"><?= $enc->html($this->translate('admin', 'Variant attributes')); ?></span>
30 30
 					<div class="form-text text-muted help-text">
31
-						<?= $enc->html( $this->translate( 'admin', 'Variant product attributes that are stored with the ordered products' ) ); ?>
31
+						<?= $enc->html($this->translate('admin', 'Variant product attributes that are stored with the ordered products')); ?>
32 32
 					</div>
33 33
 				</th>
34 34
 				<th class="actions">
35
-					<div class="btn act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
36
-						title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>"
35
+					<div class="btn act-add fa" tabindex="<?= $this->get('tabindex'); ?>"
36
+						title="<?= $enc->attr($this->translate('admin', 'Insert new entry (Ctrl+I)')); ?>"
37 37
 						v-on:click="addItem()">
38 38
 					</div>
39 39
 				</th>
@@ -46,18 +46,18 @@  discard block
 block discarded – undo
46 46
 
47 47
 				<td>
48 48
 					<input class="item-listid" type="hidden" v-model="items['product.lists.id'][idx]"
49
-						name="<?= $enc->attr( $this->formparam( array( 'characteristic', 'variant', 'product.lists.id', '' ) ) ); ?>" />
49
+						name="<?= $enc->attr($this->formparam(array('characteristic', 'variant', 'product.lists.id', ''))); ?>" />
50 50
 
51 51
 					<input class="item-label" type="hidden" v-model="items['attribute.label'][idx]"
52
-						name="<?= $enc->attr( $this->formparam( array( 'characteristic', 'variant', 'attribute.label', '' ) ) ); ?>" />
52
+						name="<?= $enc->attr($this->formparam(array('characteristic', 'variant', 'attribute.label', ''))); ?>" />
53 53
 
54 54
 					<input class="item-type" type="hidden" v-model="items['attribute.type'][idx]"
55
-						name="<?= $enc->attr( $this->formparam( array( 'characteristic', 'variant', 'attribute.type', '' ) ) ); ?>" />
55
+						name="<?= $enc->attr($this->formparam(array('characteristic', 'variant', 'attribute.type', ''))); ?>" />
56 56
 
57 57
 					<select is="combo-box" class="form-control custom-select item-refid"
58
-						v-bind:name="'<?= $enc->attr( $this->formparam( array( 'characteristic', 'variant', 'product.lists.refid', '' ) ) ); ?>'"
58
+						v-bind:name="'<?= $enc->attr($this->formparam(array('characteristic', 'variant', 'product.lists.refid', ''))); ?>'"
59 59
 						v-bind:readonly="checkSite('product.lists.siteid', idx) || id != ''"
60
-						v-bind:tabindex="'<?= $this->get( 'tabindex' ); ?>'"
60
+						v-bind:tabindex="'<?= $this->get('tabindex'); ?>'"
61 61
 						v-bind:label="getLabel(idx)"
62 62
 						v-bind:required="'required'"
63 63
 						v-bind:getfcn="getItems"
@@ -67,8 +67,8 @@  discard block
 block discarded – undo
67 67
 					</select>
68 68
 				</td>
69 69
 				<td class="actions">
70
-					<div v-if="!checkSite('product.lists.siteid', idx)" class="btn act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
71
-						title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>"
70
+					<div v-if="!checkSite('product.lists.siteid', idx)" class="btn act-delete fa" tabindex="<?= $this->get('tabindex'); ?>"
71
+						title="<?= $enc->attr($this->translate('admin', 'Delete this entry')); ?>"
72 72
 						v-on:click.stop="removeItem(idx)">
73 73
 				</td>
74 74
 
@@ -77,6 +77,6 @@  discard block
 block discarded – undo
77 77
 
78 78
 	</table>
79 79
 
80
-	<?= $this->get( 'variantBody' ); ?>
80
+	<?= $this->get('variantBody'); ?>
81 81
 
82 82
 </div>
Please login to merge, or discard this patch.