Completed
Branch 2.0.0 (814c19)
by Jimmy
03:05
created
modules/checkout/view/frontend/form-checkout-step-1.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,8 +29,10 @@
 block discarded – undo
29 29
 		<?php
30 30
 		if ( 0 === $third_party->data['id'] ) :
31 31
 			esc_html_e( 'Subscribe', 'wpshop' );
32
-		else :
32
+		else {
33
+			:
33 34
 			esc_html_e( 'Continue', 'wpshop' );
35
+		}
34 36
 		endif;
35 37
 		?>
36 38
 	</a>
Please login to merge, or discard this patch.
modules/third-parties/view/single-title-edit.view.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,8 @@  discard block
 block discarded – undo
29 29
 					?>
30 30
 					<input type="submit" class="wpeo-button button-square-30" value='Save' />
31 31
 					<?php
32
-				else :
32
+				else {
33
+					:
33 34
 					?>
34 35
 					<div data-parent="wpeo-form"
35 36
 						class="action-input wpeo-button button-square-30">
@@ -37,6 +38,7 @@  discard block
 block discarded – undo
37 38
 					</div>
38 39
 					<?php
39 40
 				endif;
41
+				}
40 42
 				?>
41 43
 			</span>
42 44
 		</label>
Please login to merge, or discard this patch.
modules/third-parties/view/single.view.php 1 patch
Braces   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,10 +23,12 @@  discard block
 block discarded – undo
23 23
 			\eoxia\View_Util::exec( 'wpshop', 'third-parties', 'single-title-edit', array(
24 24
 				'third_party' => $third_party,
25 25
 			) );
26
-		else :
26
+		else {
27
+			:
27 28
 			\eoxia\View_Util::exec( 'wpshop', 'third-parties', 'single-title', array(
28 29
 				'third_party' => $third_party,
29 30
 			) );
31
+		}
30 32
 		endif;
31 33
 		?>
32 34
 	</h2>
@@ -43,11 +45,13 @@  discard block
 block discarded – undo
43 45
 					?>
44 46
 					Dernière synchronisation le <?php echo $third_party->data['last_sync']['rendered']['date_human_readable']; ?>. Resynchroniser.
45 47
 					<?php
46
-				else :
48
+				else {
49
+					:
47 50
 					?>
48 51
 					Associer et synchroniser
49 52
 					<?php
50 53
 				endif;
54
+				}
51 55
 				?>
52 56
 			</span>
53 57
 		</span>
Please login to merge, or discard this patch.
modules/third-parties/view/metaboxes/metabox-orders.view.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,11 +61,13 @@
 block discarded – undo
61 61
 							?>
62 62
 								<a target="_blank" href="<?php echo esc_attr( admin_url( 'admin-post.php?action=wps_download_invoice&order_id=' . $order->data['id'] ) ); ?>"><i class="fas fa-file-download"></i></a>
63 63
 							<?php
64
-						else :
64
+						else {
65
+							:
65 66
 							?>
66 67
 							-
67 68
 							<?php
68 69
 						endif;
70
+						}
69 71
 						?>
70 72
 					</td>
71 73
 				</tr>
Please login to merge, or discard this patch.
modules/settings/view/email-single.view.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,9 +24,12 @@
 block discarded – undo
24 24
 		?>
25 25
 		Déjà override
26 26
 		<?php
27
-	else :
27
+	else {
28
+		:
28 29
 		?>
29
-		Pour écraser et modifier ce modèle d’e-mail, copiez wpshop/modules/emails/view/<?php echo $email['filename_template']; ?> dans le dossier de votre thème : <?php echo get_template(); ?>/wpshop/emails/<?php echo $email['filename_template']; ?>.
30
+		Pour écraser et modifier ce modèle d’e-mail, copiez wpshop/modules/emails/view/<?php echo $email['filename_template'];
31
+	}
32
+	?> dans le dossier de votre thème : <?php echo get_template(); ?>/wpshop/emails/<?php echo $email['filename_template']; ?>.
30 33
 		<?php
31 34
 	endif;
32 35
 	?>
Please login to merge, or discard this patch.
modules/cart/view/frontend/cart.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,9 +48,12 @@
 block discarded – undo
48 48
 								?>
49 49
 								-
50 50
 								<?php
51
-							else :
51
+							else {
52
+								:
52 53
 								?>
53
-								<input style="width: 60px;" class="cart-qty" type="number" name="products[<?php echo esc_attr( $key ); ?>][qty]" value="<?php echo esc_html( $cart_item['qty'] ); ?>" />
54
+								<input style="width: 60px;" class="cart-qty" type="number" name="products[<?php echo esc_attr( $key );
55
+							}
56
+							?>][qty]" value="<?php echo esc_html( $cart_item['qty'] ); ?>" />
54 57
 								<?php
55 58
 							endif;
56 59
 							?>
Please login to merge, or discard this patch.
modules/doli-synchro/view/need-to-confirm.view.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,11 +84,13 @@
 block discarded – undo
84 84
 					</strong> sur <strong style="font-weight: 700">Dolibarr</strong>.
85 85
 				</span>
86 86
 				<?php
87
-			else :
87
+			else {
88
+				:
88 89
 				?>
89 90
 				Les données du tier sont identiques sur WordPress et Dolibarr
90 91
 				<?php
91 92
 			endif;
93
+			}
92 94
 			?>
93 95
 		</h3>
94 96
 
Please login to merge, or discard this patch.