Completed
Push — master ( 0229de...f71bfb )
by Aimeos
04:41
created
admin/jqadm/templates/dashboard/item-order-servicepayment-standard.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,11 +17,11 @@
 block discarded – undo
17 17
 			<div class="btn btn-card-header act-show fa"></div>
18 18
 		</div>
19 19
 		<span class="item-label header-label">
20
-			<?= $enc->html( $this->translate( 'admin', 'Payment types' ) ); ?>
20
+			<?= $enc->html($this->translate('admin', 'Payment types')); ?>
21 21
 		</span>
22 22
 	</div>
23 23
 	<div id="order-servicepayment-data" class="card-block collapse show content loading" role="tabpanel"
24 24
 		aria-labelledby="order-servicepayment-head">
25 25
 	</div>
26 26
 </div>
27
-<?= $this->get( 'orderpaymenttypeBody' ); ?>
27
+<?= $this->get('orderpaymenttypeBody'); ?>
Please login to merge, or discard this patch.
admin/jqadm/templates/dashboard/item-order-salesmonth-standard.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
 			<div class="btn btn-card-header act-show fa"></div>
18 18
 		</div>
19 19
 		<span class="item-label header-label">
20
-			<?= $enc->html( $this->translate( 'admin', 'Sales per month' ) ); ?>
20
+			<?= $enc->html($this->translate('admin', 'Sales per month')); ?>
21 21
 		</span>
22 22
 	</div>
23 23
 	<div id="order-salesmonth-data" class="card-block collapse show content loading" role="tabpanel"
Please login to merge, or discard this patch.
admin/jqadm/templates/dashboard/list-job-standard.php 1 patch
Spacing   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -7,21 +7,21 @@  discard block
 block discarded – undo
7 7
 
8 8
 $enc = $this->encoder();
9 9
 $params = $this->param();
10
-$items = $this->get( 'jobItems', [] );
10
+$items = $this->get('jobItems', []);
11 11
 
12
-$getTarget = $this->config( 'admin/jqadm/url/get/target' );
13
-$getCntl = $this->config( 'admin/jqadm/url/get/controller', 'Jqadm' );
14
-$getAction = $this->config( 'admin/jqadm/url/get/action', 'get' );
15
-$getConfig = $this->config( 'admin/jqadm/url/get/config', [] );
12
+$getTarget = $this->config('admin/jqadm/url/get/target');
13
+$getCntl = $this->config('admin/jqadm/url/get/controller', 'Jqadm');
14
+$getAction = $this->config('admin/jqadm/url/get/action', 'get');
15
+$getConfig = $this->config('admin/jqadm/url/get/config', []);
16 16
 
17
-$delTarget = $this->config( 'admin/jqadm/url/delete/target' );
18
-$delCntl = $this->config( 'admin/jqadm/url/delete/controller', 'Jqadm' );
19
-$delAction = $this->config( 'admin/jqadm/url/delete/action', 'delete' );
20
-$delConfig = $this->config( 'admin/jqadm/url/delete/config', [] );
17
+$delTarget = $this->config('admin/jqadm/url/delete/target');
18
+$delCntl = $this->config('admin/jqadm/url/delete/controller', 'Jqadm');
19
+$delAction = $this->config('admin/jqadm/url/delete/action', 'delete');
20
+$delConfig = $this->config('admin/jqadm/url/delete/config', []);
21 21
 
22 22
 
23 23
 ?>
24
-<?php if( !empty( $items ) ) : ?>
24
+<?php if (!empty($items)) : ?>
25 25
 	<div class="dashboard-job row">
26 26
 		<div class="job-list card col-lg-12">
27 27
 			<div id="job-list-head" class="card-header header" role="tab"
@@ -31,28 +31,28 @@  discard block
 block discarded – undo
31 31
 					<div class="btn btn-card-header act-show fa"></div>
32 32
 				</div>
33 33
 				<span class="item-label header-label">
34
-					<?= $enc->html( $this->translate( 'admin', 'Import/Export jobs' ) ); ?>
34
+					<?= $enc->html($this->translate('admin', 'Import/Export jobs')); ?>
35 35
 				</span>
36 36
 			</div>
37 37
 			<div id="job-list-data" class="card-block content collapse show" role="tabpanel" aria-labelledby="job-list-head">
38 38
 				<div class="table-responsive">
39 39
 					<table class="list-items table table-hover">
40 40
 						<tbody>
41
-							<?php foreach( $items as $id => $item ) : ?>
41
+							<?php foreach ($items as $id => $item) : ?>
42 42
 								<tr>
43
-									<td class="job-label"><?= $enc->html( $item->getLabel() ); ?></td>
44
-									<td class="job-mtime"><?= $enc->html( $item->getTimeModified() ); ?></td>
43
+									<td class="job-label"><?= $enc->html($item->getLabel()); ?></td>
44
+									<td class="job-mtime"><?= $enc->html($item->getTimeModified()); ?></td>
45 45
 									<td class="actions">
46
-										<?php if( !$this->site()->readonly( $item->getSiteId() ) ) : ?>
46
+										<?php if (!$this->site()->readonly($item->getSiteId())) : ?>
47 47
 											<a class="btn act-delete fa" tabindex="1"
48
-												href="<?= $enc->attr( $this->url( $delTarget, $delCntl, $delAction, ['resource' => 'dashboard', 'id' => $id] + $params, [], $delConfig ) ); ?>"
49
-												title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>"
50
-												aria-label="<?= $enc->attr( $this->translate( 'admin', 'Delete' ) ); ?>"></a>
48
+												href="<?= $enc->attr($this->url($delTarget, $delCntl, $delAction, ['resource' => 'dashboard', 'id' => $id] + $params, [], $delConfig)); ?>"
49
+												title="<?= $enc->attr($this->translate('admin', 'Delete this entry')); ?>"
50
+												aria-label="<?= $enc->attr($this->translate('admin', 'Delete')); ?>"></a>
51 51
 										<?php endif; ?>
52 52
 										<a class="btn act-download fa" tabindex="1"
53
-											href="<?= $enc->attr( $this->url( $getTarget, $getCntl, $getAction, ['resource' => 'dashboard', 'id' => $id] + $params, [], $getConfig ) ); ?>"
54
-											title="<?= $enc->attr( $this->translate( 'admin', 'Download this file') ); ?>"
55
-											aria-label="<?= $enc->attr( $this->translate( 'admin', 'Download' ) ); ?>"></a>
53
+											href="<?= $enc->attr($this->url($getTarget, $getCntl, $getAction, ['resource' => 'dashboard', 'id' => $id] + $params, [], $getConfig)); ?>"
54
+											title="<?= $enc->attr($this->translate('admin', 'Download this file')); ?>"
55
+											aria-label="<?= $enc->attr($this->translate('admin', 'Download')); ?>"></a>
56 56
 									</td>
57 57
 								</tr>
58 58
 							<?php endforeach; ?>
Please login to merge, or discard this patch.
admin/jqadm/templates/dashboard/item-order-counthour-standard.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,11 +17,11 @@
 block discarded – undo
17 17
 			<div class="btn btn-card-header act-show fa"></div>
18 18
 		</div>
19 19
 		<span class="item-label header-label">
20
-			<?= $enc->html( $this->translate( 'admin', 'Orders by hour' ) ); ?>
20
+			<?= $enc->html($this->translate('admin', 'Orders by hour')); ?>
21 21
 		</span>
22 22
 	</div>
23 23
 	<div id="order-counthour-data" class="card-block collapse show content loading" role="tabpanel"
24 24
 		aria-labelledby="order-counthour-head">
25 25
 	</div>
26 26
 </div>
27
-<?= $this->get( 'orderhourBody' ); ?>
27
+<?= $this->get('orderhourBody'); ?>
Please login to merge, or discard this patch.
admin/jqadm/templates/dashboard/item-order-countday-standard.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,11 +17,11 @@
 block discarded – undo
17 17
 			<div class="btn btn-card-header act-show fa"></div>
18 18
 		</div>
19 19
 		<span class="item-label header-label">
20
-			<?= $enc->html( $this->translate( 'admin', 'Orders by day' ) ); ?>
20
+			<?= $enc->html($this->translate('admin', 'Orders by day')); ?>
21 21
 		</span>
22 22
 	</div>
23 23
 	<div id="order-countday-data" class="card-block collapse show content loading" role="tabpanel"
24 24
 		aria-labelledby="order-countday-head">
25 25
 	</div>
26 26
 </div>
27
-<?= $this->get( 'orderdayBody' ); ?>
27
+<?= $this->get('orderdayBody'); ?>
Please login to merge, or discard this patch.
admin/jqadm/templates/product/item-option-standard.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,5 +9,5 @@
 block discarded – undo
9 9
 
10 10
 ?>
11 11
 <div id="option" class="row item-option tab-pane fade" role="tabpanel" aria-labelledby="option">
12
-	<?= $this->get( 'optionBody' ); ?>
12
+	<?= $this->get('optionBody'); ?>
13 13
 </div>
Please login to merge, or discard this patch.
admin/jqadm/templates/product/item-special-standard.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,5 +9,5 @@
 block discarded – undo
9 9
 
10 10
 ?>
11 11
 <div id="special" class="row item-special tab-pane fade" role="tabpanel" aria-labelledby="special">
12
-	<?= $this->get( 'specialBody' ); ?>
12
+	<?= $this->get('specialBody'); ?>
13 13
 </div>
Please login to merge, or discard this patch.
admin/jqadm/templates/product/item-special-price-standard.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -12,17 +12,17 @@
 block discarded – undo
12 12
 <div id="special-price" class="col-xl-6 content-block item-special-price">
13 13
 
14 14
 	<div class="form-group row optional warning">
15
-		<label class="col-sm-4 form-control-label help"><?= $enc->html( $this->translate( 'admin', 'Allow custom price' ) ); ?></label>
15
+		<label class="col-sm-4 form-control-label help"><?= $enc->html($this->translate('admin', 'Allow custom price')); ?></label>
16 16
 		<div class="col-sm-8">
17
-			<input class="form-control item-special-price-custom" type="checkbox" value="1" tabindex="<?= $this->get( 'tabindex' ); ?>"
18
-				name="<?= $enc->attr( $this->formparam( array( 'specialprice', 'custom' ) ) ); ?>"
19
-				<?= $this->get( 'specialpriceData/custom', 0 ) ? 'checked="checked"' : ''; ?>
17
+			<input class="form-control item-special-price-custom" type="checkbox" value="1" tabindex="<?= $this->get('tabindex'); ?>"
18
+				name="<?= $enc->attr($this->formparam(array('specialprice', 'custom'))); ?>"
19
+				<?= $this->get('specialpriceData/custom', 0) ? 'checked="checked"' : ''; ?>
20 20
 			/>
21 21
 		</div>
22 22
 		<div class="col-sm-12 form-text text-muted help-text">
23
-			<?= $enc->html( $this->translate( 'admin', 'Allow customers to choose themselves how much they want to pay' ) ); ?>
23
+			<?= $enc->html($this->translate('admin', 'Allow customers to choose themselves how much they want to pay')); ?>
24 24
 		</div>
25 25
 	</div>
26 26
 
27
-	<?= $this->get( 'specialpriceBody' ); ?>
27
+	<?= $this->get('specialpriceBody'); ?>
28 28
 </div>
Please login to merge, or discard this patch.
admin/jqadm/templates/product/item-characteristic-standard.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,5 +9,5 @@
 block discarded – undo
9 9
 
10 10
 ?>
11 11
 <div id="characteristic" class="row item-characteristic tab-pane fade" role="tabpanel" aria-labelledby="characteristic">
12
-	<?= $this->get( 'characteristicBody' ); ?>
12
+	<?= $this->get('characteristicBody'); ?>
13 13
 </div>
Please login to merge, or discard this patch.