Passed
Push — master ( 195440...f98667 )
by Aimeos
10:58
created
admin/jqadm/templates/customer/item-standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -185,9 +185,12 @@
 block discarded – undo
185 185
 														</option>
186 186
 													<?php endforeach; ?>
187 187
 												</select>
188
-											<?php else : ?>
188
+											<?php else {
189
+	: ?>
189 190
 												<input class="item-languageid" type="hidden"
190
-													name="<?= $enc->attr( $this->formparam( array( 'item', 'customer.languageid' ) ) ); ?>"
191
+													name="<?= $enc->attr( $this->formparam( array( 'item', 'customer.languageid' ) ) );
192
+}
193
+?>"
191 194
 													value="<?= $enc->attr( $languages->getCode()->first() ); ?>" />
192 195
 											<?php endif; ?>
193 196
 										</div>
Please login to merge, or discard this patch.
admin/jqadm/templates/plugin/item-standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -139,9 +139,12 @@
 block discarded – undo
139 139
 										</select>
140 140
 									</div>
141 141
 								</div>
142
-							<?php else : ?>
142
+							<?php else {
143
+	: ?>
143 144
 								<input class="item-type" type="hidden"
144
-									name="<?= $enc->attr( $this->formparam( array( 'item', 'plugin.type' ) ) ); ?>"
145
+									name="<?= $enc->attr( $this->formparam( array( 'item', 'plugin.type' ) ) );
146
+}
147
+?>"
145 148
 									value="<?= $enc->attr( $types->getCode()->first() ) ?>" />
146 149
 							<?php endif; ?>
147 150
 							<div class="form-group row mandatory">
Please login to merge, or discard this patch.
admin/jqadm/templates/product/item-standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -355,9 +355,12 @@
 block discarded – undo
355 355
 										</select>
356 356
 									</div>
357 357
 								</div>
358
-							<?php else : ?>
358
+							<?php else {
359
+	: ?>
359 360
 								<input class="item-type" type="hidden"
360
-									name="<?= $enc->attr( $this->formparam( array( 'item', 'product.type' ) ) ); ?>"
361
+									name="<?= $enc->attr( $this->formparam( array( 'item', 'product.type' ) ) );
362
+}
363
+?>"
361 364
 									value="<?= $enc->attr( $types->firstKey() ) ?>" />
362 365
 							<?php endif; ?>
363 366
 							<div class="form-group row mandatory">
Please login to merge, or discard this patch.
admin/jqadm/templates/service/item-standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -139,9 +139,12 @@
 block discarded – undo
139 139
 										</select>
140 140
 									</div>
141 141
 								</div>
142
-							<?php else : ?>
142
+							<?php else {
143
+	: ?>
143 144
 								<input class="item-type" type="hidden"
144
-									name="<?= $enc->attr( $this->formparam( array( 'item', 'service.type' ) ) ); ?>"
145
+									name="<?= $enc->attr( $this->formparam( array( 'item', 'service.type' ) ) );
146
+}
147
+?>"
145 148
 									value="<?= $enc->attr( $types->getCode()->first() ) ?>" />
146 149
 							<?php endif; ?>
147 150
 							<div class="form-group row mandatory">
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
@@ -190,14 +190,18 @@  discard block
 block discarded – undo
190 190
 								<?php foreach( $this->pageSiteList as $siteItem ) : ?>
191 191
 									<?php if( $siteItem->getId() === $this->pageSiteTree->getId() ) : ?>
192 192
 										<?php $siteFcn( $this->pageSiteTree ); ?>
193
-									<?php else : ?>
194
-										<?php $siteFcn( $siteItem ); ?>
193
+									<?php else {
194
+	: ?>
195
+										<?php $siteFcn( $siteItem );
196
+}
197
+?>
195 198
 									<?php endif; ?>
196 199
 								<?php endforeach; ?>
197 200
 							</ul>
198 201
 						</div>
199 202
 					</li>
200
-				<?php else : ?>
203
+				<?php else {
204
+	: ?>
201 205
 					<li class="none <?= $before === null ? 'before' : '' ?>"></li>
202 206
 				<?php endif ?>
203 207
 
@@ -207,7 +211,9 @@  discard block
 block discarded – undo
207 211
 							<li class="treeview <?= $enc->attr( $nav ) ?> <?= $navitem === $before ? 'before' : '' ?> <?= in_array( $resource, $navitem ) !== false ? 'active' : '' ?> <?= $navitem === $after ? 'after' : '' ?>">
208 212
 								<span>
209 213
 									<i class="icon"></i>
210
-									<span class="title"><?= $enc->attr( $this->translate( 'admin', $nav ) ); ?></span>
214
+									<span class="title"><?= $enc->attr( $this->translate( 'admin', $nav ) );
215
+}
216
+?></span>
211 217
 								</span>
212 218
 								<div class="tree-menu-wrapper">
213 219
 									<div class="menu-header">
@@ -230,9 +236,12 @@  discard block
 block discarded – undo
230 236
 							</li>
231 237
 
232 238
 						<?php endif; ?>
233
-					<?php else : ?>
239
+					<?php else {
240
+	: ?>
234 241
 						<?php if( $this->access( $this->config( 'admin/jqadm/resource/' . $navitem . '/groups', [] ) ) ) : ?>
235
-							<?php $nav = $navitem; $key = $this->config( 'admin/jqadm/resource/' . $navitem . '/key' ); ?>
242
+							<?php $nav = $navitem;
243
+}
244
+$key = $this->config( 'admin/jqadm/resource/' . $navitem . '/key' ); ?>
236 245
 
237 246
 							<li class="<?= $enc->attr( $navitem ); ?> <?= $nav === $before ? 'before' : '' ?> <?= !strncmp( $resource, $nav, strlen( $nav ) ) ? 'active' : '' ?> <?= $nav === $after ? 'after' : '' ?>">
238 247
 								<a href="<?= $enc->attr( $this->url( $searchTarget, $cntl, $action, array( 'resource' => $navitem ) + $params, [], $config ) ); ?>"
Please login to merge, or discard this patch.