Completed
Branch 2.0.0 (0ecf7f)
by Jimmy
02:16
created
core/external/eo-framework/modules/wpeo-upload/view/box/button.view.php 1 patch
Braces   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,14 +25,17 @@  discard block
 block discarded – undo
25 25
 	if ( ! empty( $main_picture_id ) ) :
26 26
 		if ( 'image' === $atts['mime_type'] ) :
27 27
 			echo wp_get_attachment_image( $main_picture_id, $atts['size'] );
28
-		else :
28
+		else {
29
+			:
29 30
 			?>
30 31
 			<div class="document default-icon-container">
31 32
 				<i class="icon fas fa-paperclip" aria-hidden="true"></i>
32 33
 			</div>
33 34
 			<?php
34 35
 		endif;
35
-	else :
36
+		}
37
+	else {
38
+		:
36 39
 		if ( 'image' === $atts['mime_type'] ) :
37 40
 		?>
38 41
 		<div class="default default-icon-container">
@@ -47,6 +50,7 @@  discard block
 block discarded – undo
47 50
 			</div>
48 51
 			<?php
49 52
 		endif;
53
+	}
50 54
 		?>
51 55
 		<input type="hidden" name="<?php echo esc_attr( $atts['field_name'] ); ?>" />
52 56
 	<?php endif; ?>
Please login to merge, or discard this patch.
external/eo-framework/modules/wpeo-upload/view/box/gallery/list.view.php 1 patch
Braces   +10 added lines, -4 removed lines patch added patch discarded remove patch
@@ -20,12 +20,15 @@  discard block
 block discarded – undo
20 20
 		<?php
21 21
 		if ( 'image' === $data['mime_type'] ) :
22 22
 			echo wp_get_attachment_image( $main_picture_id, 'full' );
23
-		else :
23
+		else {
24
+			:
24 25
 			?>
25 26
 			<div class="document">
26 27
 				<i class="icon fas fa-paperclip" aria-hidden="true"></i>
27 28
 
28
-				<?php $document_name = get_attached_file( $main_picture_id ); ?>
29
+				<?php $document_name = get_attached_file( $main_picture_id );
30
+		}
31
+		?>
29 32
 				<p>
30 33
 					<span><?php echo esc_html( basename( $document_name ) ); ?></span>
31 34
 					<?php esc_html_e( 'Preview not available', 'wpeo-upload' ); ?>
@@ -43,12 +46,15 @@  discard block
 block discarded – undo
43 46
 					<?php
44 47
 					if ( 'image' === $data['mime_type'] ) :
45 48
 						echo wp_get_attachment_image( $id, 'full' );
46
-					else :
49
+					else {
50
+						:
47 51
 						?>
48 52
 						<div class="document">
49 53
 							<i class="icon fas fa-paperclip" aria-hidden="true"></i>
50 54
 
51
-							<?php $document_name = get_attached_file( $id ); ?>
55
+							<?php $document_name = get_attached_file( $id );
56
+					}
57
+					?>
52 58
 							<p>
53 59
 								<span><?php echo esc_html( basename( $document_name ) ); ?></span>
54 60
 								<?php esc_html_e( 'Preview not available', 'wpeo-upload' ); ?>
Please login to merge, or discard this patch.
core/external/eo-framework/modules/wpeo-upload/view/list/list.view.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,10 +26,13 @@
 block discarded – undo
26 26
 
27 27
 			require( \eoxia\Config_Util::$init['eo-framework']->wpeo_upload->path . '/view/' . $atts['display_type'] . '/list-item.view.php' );
28 28
 		endforeach;
29
-	else :
29
+	else {
30
+		:
30 31
 		if ( 0 != $atts['id'] ) :
31 32
 			?>
32
-			<li><?php echo esc_html_e( 'No file attached', 'wpeo-upload' ); ?></li>
33
+			<li><?php echo esc_html_e( 'No file attached', 'wpeo-upload' );
34
+	}
35
+	?></li>
33 36
 			<?php
34 37
 		endif;
35 38
 	endif;
Please login to merge, or discard this patch.
external/eo-framework/modules/wpeo-search/view/list-post-simple.view.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,12 +26,15 @@
 block discarded – undo
26 26
 		</li>
27 27
 		<?php
28 28
 	endforeach;
29
-else :
29
+else {
30
+	:
30 31
 	?>
31 32
 	<li class="autocomplete-result">
32 33
 		<div class="autocomplete-result-container">
33 34
 			<span class="autocomplete-result-title">Aucun résultat</span>
34
-			<span class="autocomplete-result-subtitle">Avec le terme de recherche: <?php echo esc_html( $term ); ?></span>
35
+			<span class="autocomplete-result-subtitle">Avec le terme de recherche: <?php echo esc_html( $term );
36
+}
37
+?></span>
35 38
 	</li>
36 39
 	<?php
37 40
 endif;
Please login to merge, or discard this patch.
core/external/eo-framework/modules/wpeo-search/view/list-post.view.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,12 +34,15 @@
 block discarded – undo
34 34
 		</li>
35 35
 		<?php
36 36
 	endforeach;
37
-else :
37
+else {
38
+	:
38 39
 	?>
39 40
 	<li class="autocomplete-result">
40 41
 		<div class="autocomplete-result-container">
41 42
 			<span class="autocomplete-result-title">Aucun résultat</span>
42
-			<span class="autocomplete-result-subtitle">Avec le terme de recherche: <?php echo esc_html( $term ); ?></span>
43
+			<span class="autocomplete-result-subtitle">Avec le terme de recherche: <?php echo esc_html( $term );
44
+}
45
+?></span>
43 46
 	</li>
44 47
 	<?php
45 48
 endif;
Please login to merge, or discard this patch.
core/external/eo-framework/modules/wpeo-search/view/list-user.view.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,12 +28,15 @@
 block discarded – undo
28 28
 		</li>
29 29
 		<?php
30 30
 	endforeach;
31
-else :
31
+else {
32
+	:
32 33
 	?>
33 34
 	<li class="autocomplete-result">
34 35
 		<div class="autocomplete-result-container">
35 36
 			<span class="autocomplete-result-title">Aucun résultat</span>
36
-			<span class="autocomplete-result-subtitle">Avec le terme de recherche: <?php echo esc_html( $term ); ?></span>
37
+			<span class="autocomplete-result-subtitle">Avec le terme de recherche: <?php echo esc_html( $term );
38
+}
39
+?></span>
37 40
 	</li>
38 41
 	<?php
39 42
 endif;
Please login to merge, or discard this patch.
core/external/eo-framework/modules/wpeo-odt/class/odt.class.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -469,8 +469,7 @@
 block discarded – undo
469 469
 
470 470
 											$segment->$segment_detail_key->merge();
471 471
 										}
472
-									}
473
-									else {
472
+									} else {
474 473
 										$segment = $this->set_document_meta( $segment_detail_key, $segment_detail_value, $segment );
475 474
 									}
476 475
 
Please login to merge, or discard this patch.
core/external/eo-framework/modules/wpeo-update-manager/view/main.view.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -80,8 +80,11 @@
 block discarded – undo
80 80
 		</form>
81 81
 	</div>
82 82
 	<div class="wpeo-update-general-message" ></div>
83
-<?php else : ?>
84
-		<h1><?php esc_html_e( 'Update manager', 'eoxia' ); ?></h1>
83
+<?php else {
84
+	: ?>
85
+		<h1><?php esc_html_e( 'Update manager', 'eoxia' );
86
+}
87
+?></h1>
85 88
 		<?php esc_html_e( 'No updates available for current version', 'eoxia' ); ?>
86 89
 		<strong><a href="<?php echo esc_attr( admin_url( 'admin.php?page=' . $dashboard_url ) ); ?>"><?php echo esc_html_e( 'Back to main application', 'eoxia' ); ?></a></strong>
87 90
 <?php endif; ?>
Please login to merge, or discard this patch.
modules/checkout/view/frontend/valid-checkout.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,8 +31,10 @@
 block discarded – undo
31 31
 			?>
32 32
 			Paiement en boutique
33 33
 			<?php
34
-		else :
34
+		else {
35
+			:
35 36
 			echo esc_html( $order->data['payment_method'] );
37
+		}
36 38
 		endif;
37 39
 		?>
38 40
 		</strong>
Please login to merge, or discard this patch.