Passed
Push — master ( e9b8b9...1d4a27 )
by Aimeos
05:44 queued 01:57
created
admin/jqadm/templates/common/page-standard.php 1 patch
Braces   +15 added lines, -6 removed lines patch added patch discarded remove patch
@@ -184,8 +184,11 @@  discard block
 block discarded – undo
184 184
 								<?php foreach( $this->pageSiteList as $siteItem ) : ?>
185 185
 									<?php if( $siteItem->getId() === $this->pageSiteTree->getId() ) : ?>
186 186
 										<?php $siteFcn( $this->pageSiteTree ); ?>
187
-									<?php else : ?>
188
-										<?php $siteFcn( $siteItem ); ?>
187
+									<?php else {
188
+	: ?>
189
+										<?php $siteFcn( $siteItem );
190
+}
191
+?>
189 192
 									<?php endif; ?>
190 193
 								<?php endforeach; ?>
191 194
 							</ul>
@@ -218,9 +221,12 @@  discard block
 block discarded – undo
218 221
 							</li>
219 222
 
220 223
 						<?php endif; ?>
221
-					<?php else : ?>
224
+					<?php else {
225
+	: ?>
222 226
 						<?php if( $this->access( $this->config( 'admin/jqadm/resource/' . $navitem . '/groups', [] ) ) ) : ?>
223
-							<?php $key = $this->config( 'admin/jqadm/resource/' . $navitem . '/key' ); ?>
227
+							<?php $key = $this->config( 'admin/jqadm/resource/' . $navitem . '/key' );
228
+}
229
+?>
224 230
 
225 231
 							<li class="<?= $enc->attr( $navitem ); ?> <?= $this->param( 'resource', $navfirst ) === $navitem ? 'active' : '' ?>">
226 232
 								<a href="<?= $enc->attr( $this->url( $searchTarget, $cntl, $action, array( 'resource' => $navitem ) + $params, [], $config ) ); ?>"
@@ -268,9 +274,12 @@  discard block
 block discarded – undo
268 274
 							</li>
269 275
 
270 276
 						<?php endif; ?>
271
-					<?php else : ?>
277
+					<?php else {
278
+	: ?>
272 279
 						<?php if( $this->access( $this->config( 'admin/jqadm/resource/' . $navitem . '/groups', [] ) ) ) : ?>
273
-							<?php $key = $this->config( 'admin/jqadm/resource/' . $navitem . '/key' ); ?>
280
+							<?php $key = $this->config( 'admin/jqadm/resource/' . $navitem . '/key' );
281
+}
282
+?>
274 283
 							<li class="<?= $enc->attr( $navitem ); ?> <?= $this->param( 'resource', $navfirst ) === $navitem ? 'active' : '' ?>">
275 284
 								<a href="<?= $enc->attr( $this->url( $searchTarget, $cntl, $action, array( 'resource' => $navitem ) + $params, [], $config ) ); ?>"
276 285
 									title="<?= $enc->attr( sprintf( $title, $this->translate( 'admin', $navitem ), $key ) ); ?>"
Please login to merge, or discard this patch.