Completed
Push — master ( 0229de...f71bfb )
by Aimeos
04:41
created
admin/jqadm/templates/locale/item-standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,8 +35,11 @@
 block discarded – undo
35 35
 			<?= $enc->html( $this->get( 'itemData/locale.id' ) ); ?> -
36 36
 			<?php if( $this->get( 'itemData/locale.currencyid' ) ) : ?>
37 37
 				<?= $enc->html( $this->get( 'itemData/locale.languageid' ) . '/' . $this->get( 'itemData/locale.currencyid' ) ); ?>
38
-			<?php else : ?>
39
-				<?= $enc->html( $this->translate( 'admin', 'New' ) ); ?>
38
+			<?php else {
39
+	: ?>
40
+				<?= $enc->html( $this->translate( 'admin', 'New' ) );
41
+}
42
+?>
40 43
 			<?php endif; ?>
41 44
 			<span class="navbar-secondary">(<?= $enc->html( $this->site()->match( $this->get( 'itemData/locale.siteid' ) ) ); ?>)</span>
42 45
 		</span>
Please login to merge, or discard this patch.
admin/jqadm/templates/customer/item-standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -133,8 +133,11 @@
 block discarded – undo
133 133
 										</option>
134 134
 									<?php endforeach; ?>
135 135
 								</select>
136
-							<?php else : ?>
137
-								<?php $language = ( ( $item = reset( $languages ) ) !== false ? $item->getId() : '' ); ?>
136
+							<?php else {
137
+	: ?>
138
+								<?php $language = ( ( $item = reset( $languages ) ) !== false ? $item->getId() : '' );
139
+}
140
+?>
138 141
 								<input class="item-languageid" type="hidden" name="<?= $enc->attr( $this->formparam( array( 'item', 'customer.languageid' ) ) ); ?>" value="<?= $enc->attr( $language ); ?>" />
139 142
 							<?php endif; ?>
140 143
 						</div>
Please login to merge, or discard this patch.
admin/jqadm/templates/customer/item-product-standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -374,8 +374,11 @@
 block discarded – undo
374 374
 									aria-label="<?= $enc->attr( $this->translate( 'admin', 'Show' ) ); ?>">
375 375
 									<?= $enc->html( $refId ); ?> - <?= $enc->html( $refItem->getLabel() . ' (' . $refItem->getCode() . ')' ); ?>
376 376
 								</a>
377
-							<?php else : ?>
378
-								<?= $enc->html( $refId ); ?> (<?= $enc->html( $this->translate( 'admin', 'not available any more' ) ); ?>)
377
+							<?php else {
378
+	: ?>
379
+								<?= $enc->html( $refId );
380
+}
381
+?> (<?= $enc->html( $this->translate( 'admin', 'not available any more' ) ); ?>)
379 382
 							<?php endif; ?>
380 383
 						</td>
381 384
 					<?php endif; ?>
Please login to merge, or discard this patch.
admin/jqadm/templates/catalog/item-product-standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -374,8 +374,11 @@
 block discarded – undo
374 374
 									aria-label="<?= $enc->attr( $this->translate( 'admin', 'Show' ) ); ?>">
375 375
 									<?= $enc->html( $refId ); ?> - <?= $enc->html( $refItem->getLabel() . ' (' . $refItem->getCode() . ')' ); ?>
376 376
 								</a>
377
-							<?php else : ?>
378
-								<?= $enc->html( $refId ); ?> (<?= $enc->html( $this->translate( 'admin', 'not available any more' ) ); ?>)
377
+							<?php else {
378
+	: ?>
379
+								<?= $enc->html( $refId );
380
+}
381
+?> (<?= $enc->html( $this->translate( 'admin', 'not available any more' ) ); ?>)
379 382
 							<?php endif; ?>
380 383
 						</td>
381 384
 					<?php endif; ?>
Please login to merge, or discard this patch.
admin/jqadm/templates/common/partials/listhead-standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,8 +39,7 @@
 block discarded – undo
39 39
 	$controller = $this->config( 'admin/jqadm/url/get/controller', 'Jqadm' );
40 40
 	$action = $this->config( 'admin/jqadm/url/get/action', 'get' );
41 41
 	$config = $this->config( 'admin/jqadm/url/get/config', [] );
42
-}
43
-else
42
+} else
44 43
 {
45 44
 	$target = $this->config( 'admin/jqadm/url/search/target' );
46 45
 	$controller = $this->config( 'admin/jqadm/url/search/controller', 'Jqadm' );
Please login to merge, or discard this patch.
admin/jqadm/templates/common/partials/pagination-standard.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -56,16 +56,14 @@
 block discarded – undo
56 56
 		$controller = $this->config( 'admin/jqadm/url/get/controller', 'Jqadm' );
57 57
 		$action = $this->config( 'admin/jqadm/url/get/action', 'get' );
58 58
 		$config = $this->config( 'admin/jqadm/url/get/config', [] );
59
-	}
60
-	else
59
+	} else
61 60
 	{
62 61
 		$target = $this->config( 'admin/jqadm/url/create/target' );
63 62
 		$controller = $this->config( 'admin/jqadm/url/create/controller', 'Jqadm' );
64 63
 		$action = $this->config( 'admin/jqadm/url/create/action', 'create' );
65 64
 		$config = $this->config( 'admin/jqadm/url/create/config', [] );
66 65
 	}
67
-}
68
-else
66
+} else
69 67
 {
70 68
 	$target = $this->config( 'admin/jqadm/url/search/target' );
71 69
 	$controller = $this->config( 'admin/jqadm/url/search/controller', 'Jqadm' );
Please login to merge, or discard this patch.
admin/jqadm/templates/common/partials/listsearch-standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,8 +51,11 @@
 block discarded – undo
51 51
 							</option>
52 52
 						<?php endforeach; ?>
53 53
 					</select>
54
-				<?php else : ?>
55
-					<input class="form-control" type="<?= $enc->attr( $type ); ?>" tabindex="<?= $this->get( 'tabindex' ); ?>"
54
+				<?php else {
55
+	: ?>
56
+					<input class="form-control" type="<?= $enc->attr( $type );
57
+}
58
+?>" tabindex="<?= $this->get( 'tabindex' ); ?>"
56 59
 						name="<?= $enc->attr( $this->formparam( array_merge( $group, ['filter', 'val', $idx] ) ) ); ?>"
57 60
 						value="<?= $enc->attr( $this->value( $filter, 'val/' . $idx ) ); ?>" />
58 61
 				<?php endif; ?>
Please login to merge, or discard this patch.
admin/jqadm/templates/supplier/item-product-standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -374,8 +374,11 @@
 block discarded – undo
374 374
 									aria-label="<?= $enc->attr( $this->translate( 'admin', 'Show' ) ); ?>">
375 375
 									<?= $enc->html( $refId ); ?> - <?= $enc->html( $refItem->getLabel() . ' (' . $refItem->getCode() . ')' ); ?>
376 376
 								</a>
377
-							<?php else : ?>
378
-								<?= $enc->html( $refId ); ?> (<?= $enc->html( $this->translate( 'admin', 'not available any more' ) ); ?>)
377
+							<?php else {
378
+	: ?>
379
+								<?= $enc->html( $refId );
380
+}
381
+?> (<?= $enc->html( $this->translate( 'admin', 'not available any more' ) ); ?>)
379 382
 							<?php endif; ?>
380 383
 						</td>
381 384
 					<?php endif; ?>
Please login to merge, or discard this patch.
admin/jqadm/templates/common/page-standard.php 1 patch
Braces   +15 added lines, -6 removed lines patch added patch discarded remove patch
@@ -262,8 +262,11 @@  discard block
 block discarded – undo
262 262
 							<?php foreach( $this->pageSiteList as $siteItem ) : ?>
263 263
 								<?php if( $siteItem->getId() === $this->pageSiteTree->getId() ) : ?>
264 264
 									<?php $siteFcn( $this->pageSiteTree ); ?>
265
-								<?php else : ?>
266
-									<?php $siteFcn( $siteItem ); ?>
265
+								<?php else {
266
+	: ?>
267
+									<?php $siteFcn( $siteItem );
268
+}
269
+?>
267 270
 								<?php endif; ?>
268 271
 							<?php endforeach; ?>
269 272
 						</ul>
@@ -295,9 +298,12 @@  discard block
 block discarded – undo
295 298
 							</li>
296 299
 
297 300
 						<?php endif; ?>
298
-					<?php else : ?>
301
+					<?php else {
302
+	: ?>
299 303
 						<?php if( $this->access( $this->config( 'admin/jqadm/resource/' . $navitem . '/groups', [] ) ) ) : ?>
300
-							<?php $key = $this->config( 'admin/jqadm/resource/' . $navitem . '/key' ); ?>
304
+							<?php $key = $this->config( 'admin/jqadm/resource/' . $navitem . '/key' );
305
+}
306
+?>
301 307
 
302 308
 							<li class="<?= $enc->attr( $navitem ); ?> <?= $this->param( 'resource', $navfirst ) === $navitem ? 'active' : '' ?>">
303 309
 								<a href="<?= $enc->attr( $this->url( $searchTarget, $cntl, $action, array( 'resource' => $navitem ) + $params, [], $config ) ); ?>"
@@ -344,10 +350,13 @@  discard block
 block discarded – undo
344 350
 							</li>
345 351
 
346 352
 						<?php endif; ?>
347
-					<?php else : ?>
353
+					<?php else {
354
+	: ?>
348 355
 						<?php if( $this->access( $this->config( 'admin/jqadm/resource/' . $navitem . '/groups', [] ) ) ) : ?>
349 356
 
350
-							<?php $key = $this->config( 'admin/jqadm/resource/' . $navitem . '/key' ); ?>
357
+							<?php $key = $this->config( 'admin/jqadm/resource/' . $navitem . '/key' );
358
+}
359
+?>
351 360
 							<li class="<?= $enc->attr( $navitem ); ?> <?= $this->param( 'resource', $navfirst ) === $navitem ? 'active' : '' ?>">
352 361
 								<a href="<?= $enc->attr( $this->url( $searchTarget, $cntl, $action, array( 'resource' => $navitem ) + $params, [], $config ) ); ?>"
353 362
 									title="<?= $enc->attr( sprintf( $title, $this->translate( 'admin', $navitem ), $key ) ); ?>"
Please login to merge, or discard this patch.