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