| @@ -95,8 +95,7 @@ | ||
| 95 | 95 | $textStock[$level], | 
| 96 | 96 | date_create( $date )->format( $dateFormat ) | 
| 97 | 97 | ); | 
| 98 | - } | |
| 99 | - else | |
| 98 | + } else | |
| 100 | 99 |  		{ | 
| 101 | 100 | $text = sprintf( $textStockIn, | 
| 102 | 101 | $typeText[$stockType], | 
| @@ -146,8 +146,7 @@ discard block | ||
| 146 | 146 | |
| 147 | 147 | $html = $view->render( $view->config( $tplconf, $default ) ); | 
| 148 | 148 | $this->setBasketCached( $key, $html ); | 
| 149 | - } | |
| 150 | - else | |
| 149 | + } else | |
| 151 | 150 |  		{ | 
| 152 | 151 | $html = $this->modifyBody( $html, $uid ); | 
| 153 | 152 | } | 
| @@ -216,8 +215,7 @@ discard block | ||
| 216 | 215 |  			{ | 
| 217 | 216 | $this->logException( $e ); | 
| 218 | 217 | } | 
| 219 | - } | |
| 220 | - else | |
| 218 | + } else | |
| 221 | 219 |  		{ | 
| 222 | 220 | $html = $this->modifyHeader( $html, $uid ); | 
| 223 | 221 | } | 
| @@ -190,8 +190,7 @@ discard block | ||
| 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 | ||
| 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 | } | 
| @@ -205,8 +205,7 @@ discard block | ||
| 205 | 205 | } | 
| 206 | 206 | |
| 207 | 207 | $html = $view->render( $this->getTemplatePath( $tplconf, $default ) ); | 
| 208 | - } | |
| 209 | - else | |
| 208 | + } else | |
| 210 | 209 |  		{ | 
| 211 | 210 | $html = $this->modifyBody( $html, $uid ); | 
| 212 | 211 | } | 
| @@ -290,8 +289,7 @@ discard block | ||
| 290 | 289 |  			{ | 
| 291 | 290 | $this->logException( $e ); | 
| 292 | 291 | } | 
| 293 | - } | |
| 294 | - else | |
| 292 | + } else | |
| 295 | 293 |  		{ | 
| 296 | 294 | $html = $this->modifyHeader( $html, $uid ); | 
| 297 | 295 | } | 
| @@ -249,13 +249,11 @@ | ||
| 249 | 249 | $response->withHeader( 'Expires', '0' ); | 
| 250 | 250 | |
| 251 | 251 | $response->withBody( $response->createStream( $fs->reads( $value ) ) ); | 
| 252 | - } | |
| 253 | - elseif( filter_var( $value, FILTER_VALIDATE_URL ) !== false ) | |
| 252 | + } elseif( filter_var( $value, FILTER_VALIDATE_URL ) !== false ) | |
| 254 | 253 |  		{ | 
| 255 | 254 | $response->withHeader( 'Location', $value ); | 
| 256 | 255 | $response->withStatus( 303 ); | 
| 257 | - } | |
| 258 | - else | |
| 256 | + } else | |
| 259 | 257 |  		{ | 
| 260 | 258 | $response->withStatus( 404 ); | 
| 261 | 259 | } | 
| @@ -522,12 +522,10 @@ | ||
| 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 | } | 
| @@ -59,8 +59,11 @@ | ||
| 59 | 59 | |
| 60 | 60 | <?php elseif( ( $search = $this->param( 'f_search', null ) ) != null ) : /// Product search hint with user provided search string (%1$s) ?> | 
| 61 | 61 | <title><?= $enc->html( sprintf( $this->translate( 'client', 'Result for "%1$s"' ), strip_tags( $search ) ) ); ?></title> | 
| 62 | - <?php else : ?> | |
| 63 | - <title><?= $enc->html( $this->translate( 'client', 'Our products' ) ); ?></title> | |
| 62 | +	<?php else { | |
| 63 | + : ?> | |
| 64 | + <title><?= $enc->html( $this->translate( 'client', 'Our products' ) ); | |
| 65 | +} | |
| 66 | +?></title> | |
| 64 | 67 | <?php endif; ?> | 
| 65 | 68 | |
| 66 | 69 | |
| @@ -38,8 +38,11 @@ | ||
| 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 | |
| @@ -20,8 +20,11 @@ | ||
| 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 | |