Passed
Push — master ( 17aaa1...386302 )
by Aimeos
03:34
created
templates/admin/jqadm/subscription/item.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,8 @@  discard block
 block discarded – undo
35 35
 			<span class="navbar-label">
36 36
 				<?php if( $this->get( 'itemData/subscription.id' ) ) : ?>
37 37
 					<?= $enc->html( $this->get( 'itemData/subscription.datenext' ) . ' ' . $this->get( 'itemData/subscription.interval' ) ) ?>
38
-				<?php else : ?>
38
+				<?php else {
39
+	: ?>
39 40
 					<?= $enc->html( $this->translate( 'admin', 'New' ) ) ?>
40 41
 				<?php endif ?>
41 42
 			</span>
@@ -314,6 +315,7 @@  discard block
 block discarded – undo
314 315
 													\Aimeos\MShop\Common\Item\Address\Base::SALUTATION_MR,
315 316
 													\Aimeos\MShop\Common\Item\Address\Base::SALUTATION_MS,
316 317
 												);
318
+}
317 319
 
318 320
 												echo preg_replace( "/\n+/m", "<br>", trim( $enc->html( sprintf(
319 321
 													/// Address format with company (%1$s), salutation (%2$s), title (%3$s), first name (%4$s), last name (%5$s),
Please login to merge, or discard this patch.
templates/admin/jqadm/settings/item.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -86,7 +86,8 @@  discard block
 block discarded – undo
86 86
 								<?php if( $logos = $this->get( 'itemData/locale.site.logo' ) ) : ?>
87 87
 									<img class="item-preview"
88 88
 										src="<?= $enc->attr( $this->content( end( $logos ) ) ) ?>">
89
-								<?php else : ?>
89
+								<?php else {
90
+	: ?>
90 91
 									<p class="item-preview">
91 92
 										<?= $enc->html( $this->translate( 'admin', 'Upload shop logo' ) ) ?>
92 93
 									</p>
@@ -100,7 +101,9 @@  discard block
 block discarded – undo
100 101
 						<div class="box">
101 102
 
102 103
 							<div class="form-group media-preview">
103
-								<input class="fileupload" type="file" tabindex="<?= $this->get( 'tabindex', 1 ); ?>"
104
+								<input class="fileupload" type="file" tabindex="<?= $this->get( 'tabindex', 1 );
105
+}
106
+?>"
104 107
 									name="media[icon]">
105 108
 								<?php if( $icon = $this->get( 'itemData/locale.site.icon' ) ) : ?>
106 109
 									<img class="item-preview"
Please login to merge, or discard this patch.