Completed
Push — master ( 5cb027...31060c )
by Aimeos
08:31
created
client/html/templates/common/partials/selection-standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -156,10 +156,13 @@
 block discarded – undo
156 156
 						<?php endforeach; ?>
157 157
 					</ul>
158 158
 
159
-				<?php else : ?>
159
+				<?php else {
160
+	: ?>
160 161
 
161 162
 					<select class="form-control select-list"
162
-						name="<?= $enc->attr( $this->formparam( array( 'b_prod', 0, 'attrvarid', $code ) ) ); ?>"
163
+						name="<?= $enc->attr( $this->formparam( array( 'b_prod', 0, 'attrvarid', $code ) ) );
164
+}
165
+?>"
163 166
 						data-index="<?= $index++; ?>" data-type="<?= $enc->attr( $code ); ?>" >
164 167
 
165 168
 						<?php if( $preselect === false ) : ?>
Please login to merge, or discard this patch.
client/html/templates/common/partials/attribute-standard.php 1 patch
Braces   +15 added lines, -6 removed lines patch added patch discarded remove patch
@@ -132,8 +132,11 @@  discard block
 block discarded – undo
132 132
 											$this->translate( 'currency', $priceItem->getCurrencyId() ),
133 133
 											( $value < 0 ? '−' : '+' )
134 134
 										), $enc::TRUST ); ?>
135
-									<?php else : ?>
136
-										<?= $enc->html( $attribute->getName(), $enc::TRUST ); ?>
135
+									<?php else {
136
+	: ?>
137
+										<?= $enc->html( $attribute->getName(), $enc::TRUST );
138
+}
139
+?>
137 140
 									<?php endif; ?>
138 141
 
139 142
 								</label>
@@ -142,10 +145,13 @@  discard block
 block discarded – undo
142 145
 						<?php endforeach; ?>
143 146
 					</ul>
144 147
 
145
-				<?php else : ?>
148
+				<?php else {
149
+	: ?>
146 150
 
147 151
 					<input type="hidden" value="1"
148
-						name="<?= $enc->attr( $this->formparam( array( 'b_prod', 0, 'attrconfid', 'qty', '' ) ) ); ?>"
152
+						name="<?= $enc->attr( $this->formparam( array( 'b_prod', 0, 'attrconfid', 'qty', '' ) ) );
153
+}
154
+?>"
149 155
 					/>
150 156
 
151 157
 					<select class="form-control select-list" name="<?= $enc->attr( $this->formparam( array( 'b_prod', 0, 'attrconfid', 'id', '' ) ) ); ?>">
@@ -165,8 +171,11 @@  discard block
 block discarded – undo
165 171
 										$this->translate( 'currency', $priceItem->getCurrencyId() ),
166 172
 										( $value < 0 ? '−' : '+' )
167 173
 									), $enc::TRUST ); ?>
168
-								<?php else : ?>
169
-									<?= $enc->html( $attribute->getName(), $enc::TRUST ); ?>
174
+								<?php else {
175
+	: ?>
176
+									<?= $enc->html( $attribute->getName(), $enc::TRUST );
177
+}
178
+?>
170 179
 								<?php endif; ?>
171 180
 
172 181
 							</option>
Please login to merge, or discard this patch.
client/html/templates/common/summary/service-standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,8 +38,11 @@
 block discarded – undo
38 38
 						<span class="name">
39 39
 							<?php if( $attribute->getName() != '' ) : ?>
40 40
 								<?= $enc->html( $attribute->getName() ); ?>
41
-							<?php else : ?>
42
-								<?= $enc->html( $this->translate( 'client/code', $attribute->getCode() ) ); ?>
41
+							<?php else {
42
+	: ?>
43
+								<?= $enc->html( $this->translate( 'client/code', $attribute->getCode() ) );
44
+}
45
+?>
43 46
 							<?php endif; ?>
44 47
 						</span>
45 48
 
Please login to merge, or discard this patch.
client/html/templates/email/account/text-body-standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,8 +20,11 @@
 block discarded – undo
20 20
 
21 21
 <?php if( ( $pass = $this->get( 'extAccountPassword' ) ) !== null ) : ?>
22 22
 	<?= $this->translate( 'client', 'Password' ); ?>: <?= $pass; ?>
23
-<?php else : ?>
24
-	<?= $this->translate( 'client', 'Password' ); ?>: <?= $this->translate( 'client', 'Like entered by you' ); ?>
23
+<?php else {
24
+	: ?>
25
+	<?= $this->translate( 'client', 'Password' );
26
+}
27
+?>: <?= $this->translate( 'client', 'Like entered by you' ); ?>
25 28
 <?php endif; ?>
26 29
 
27 30
 
Please login to merge, or discard this patch.
client/html/src/Client/Html/Email/Payment/Standard.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -522,12 +522,10 @@
 block discarded – undo
522 522
 				{
523 523
 					throw new \Aimeos\Client\Html\Exception( $e->getMessage() );
524 524
 				}
525
-			}
526
-			else if( function_exists( 'mime_content_type' ) )
525
+			} else if( function_exists( 'mime_content_type' ) )
527 526
 			{
528 527
 				$mimetype = mime_content_type( $filename );
529
-			}
530
-			else
528
+			} else
531 529
 			{
532 530
 				$mimetype = 'application/binary';
533 531
 			}
Please login to merge, or discard this patch.
client/html/src/Client/Html/Catalog/Stage/Standard.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -190,8 +190,7 @@  discard block
 block discarded – undo
190 190
 			}
191 191
 
192 192
 			$html = $view->render( $view->config( $tplconf, $default ) );
193
-		}
194
-		else
193
+		} else
195 194
 		{
196 195
 			$html = $this->modifyBody( $html, $uid );
197 196
 		}
@@ -261,8 +260,7 @@  discard block
 block discarded – undo
261 260
 			{
262 261
 				$this->logException( $e );
263 262
 			}
264
-		}
265
-		else
263
+		} else
266 264
 		{
267 265
 			$html = $this->modifyHeader( $html, $uid );
268 266
 		}
Please login to merge, or discard this patch.
client/html/src/Client/Html/Catalog/Filter/Standard.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -190,8 +190,7 @@  discard block
 block discarded – undo
190 190
 			}
191 191
 
192 192
 			$html = $view->render( $view->config( $tplconf, $default ) );
193
-		}
194
-		else
193
+		} else
195 194
 		{
196 195
 			$html = $this->modifyBody( $html, $uid );
197 196
 		}
@@ -261,8 +260,7 @@  discard block
 block discarded – undo
261 260
 			{
262 261
 				$this->logException( $e );
263 262
 			}
264
-		}
265
-		else
263
+		} else
266 264
 		{
267 265
 			$html = $this->modifyHeader( $html, $uid );
268 266
 		}
Please login to merge, or discard this patch.
client/html/templates/checkout/standard/summary-body-standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -87,8 +87,11 @@
 block discarded – undo
87 87
 						$this->config( 'client/html/checkout/standard/summary/address', 'common/summary/address-standard' ),
88 88
 						array( 'addresses' => $addresses['delivery'], 'type' => 'delivery' )
89 89
 					); ?>
90
-				<?php else : ?>
91
-					<?= $enc->html( $this->translate( 'client', 'like billing address' ), $enc::TRUST ); ?>
90
+				<?php else {
91
+	: ?>
92
+					<?= $enc->html( $this->translate( 'client', 'like billing address' ), $enc::TRUST );
93
+}
94
+?>
92 95
 				<?php endif; ?>
93 96
 			</div>
94 97
 		</div>
Please login to merge, or discard this patch.
client/html/templates/checkout/confirm/order-body-standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,8 +58,11 @@
 block discarded – undo
58 58
 						$this->config( 'client/html/checkout/confirm/summary/address', 'common/summary/address-standard' ),
59 59
 						array( 'addresses' => $addresses['delivery'], 'type' => 'delivery' )
60 60
 					); ?>
61
-				<?php else : ?>
62
-					<?= $enc->html( $this->translate( 'client', 'like billing address' ), $enc::TRUST ); ?>
61
+				<?php else {
62
+	: ?>
63
+					<?= $enc->html( $this->translate( 'client', 'like billing address' ), $enc::TRUST );
64
+}
65
+?>
63 66
 				<?php endif; ?>
64 67
 			</div>
65 68
 		</div>
Please login to merge, or discard this patch.