Passed
Push — master ( 0612be...57280a )
by Brian
05:11
created
templates/payment-forms-admin/edit/select.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -7,39 +7,39 @@  discard block
 block discarded – undo
7 7
  * @version 1.0.19
8 8
  */
9 9
 
10
-defined( 'ABSPATH' ) || exit;
10
+defined('ABSPATH') || exit;
11 11
 
12 12
 ?>
13 13
 
14 14
 <div class='form-group'>
15 15
     <label class="d-block">
16
-        <span><?php esc_html_e( 'Field Label', 'invoicing' ); ?></span>
16
+        <span><?php esc_html_e('Field Label', 'invoicing'); ?></span>
17 17
         <input v-model='active_form_element.label' class='form-control' type="text"/>
18 18
     </label>
19 19
 </div>
20 20
 
21 21
 <div class='form-group'>
22 22
     <label class="d-block">
23
-        <span><?php esc_html_e( 'Placeholder text', 'invoicing' ); ?></span>
23
+        <span><?php esc_html_e('Placeholder text', 'invoicing'); ?></span>
24 24
         <input v-model='active_form_element.placeholder' class='form-control' type="text"/>
25 25
     </label>
26 26
 </div>
27 27
 
28 28
 <div class='form-group'>
29 29
     <label class="d-block">
30
-        <span><?php esc_html_e( 'Help Text', 'invoicing' ); ?></span>
31
-        <textarea placeholder='<?php esc_attr_e( 'Add some help text for this field', 'invoicing' ); ?>' v-model='active_form_element.description' class='form-control' rows='3'></textarea>
30
+        <span><?php esc_html_e('Help Text', 'invoicing'); ?></span>
31
+        <textarea placeholder='<?php esc_attr_e('Add some help text for this field', 'invoicing'); ?>' v-model='active_form_element.description' class='form-control' rows='3'></textarea>
32 32
     </label>
33 33
 </div>
34 34
 
35 35
 <div class='form-group form-check'>
36 36
     <input :id="active_form_element.id + '_edit'" v-model='active_form_element.required' type='checkbox' class='form-check-input' />
37
-    <label class='form-check-label' :for="active_form_element.id + '_edit'"><?php esc_html_e( 'Is this field required?', 'invoicing' ); ?></label>
37
+    <label class='form-check-label' :for="active_form_element.id + '_edit'"><?php esc_html_e('Is this field required?', 'invoicing'); ?></label>
38 38
 </div>
39 39
 
40 40
 <hr class='featurette-divider mt-4'>
41 41
 
42
-<h5><?php esc_html_e( 'Available Options', 'invoicing' ); ?></h5>
42
+<h5><?php esc_html_e('Available Options', 'invoicing'); ?></h5>
43 43
 
44 44
 <div class='form-group input-group' v-for='(option, index) in active_form_element.options'>
45 45
     <input type='text' class='form-control' v-model='active_form_element.options[index]'>
@@ -49,5 +49,5 @@  discard block
 block discarded – undo
49 49
 </div>
50 50
 
51 51
 <div class='form-group'>
52
-    <button class='button button-secondary' type='button' @click.prevent='active_form_element.options.push("")'><?php esc_html_e( 'Add Option', 'invoicing' ); ?></button>
52
+    <button class='button button-secondary' type='button' @click.prevent='active_form_element.options.push("")'><?php esc_html_e('Add Option', 'invoicing'); ?></button>
53 53
 </div>
Please login to merge, or discard this patch.
templates/payment-forms-admin/edit/price_input.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -7,45 +7,45 @@
 block discarded – undo
7 7
  * @version 1.0.19
8 8
  */
9 9
 
10
-defined( 'ABSPATH' ) || exit;
10
+defined('ABSPATH') || exit;
11 11
 
12 12
 ?>
13 13
 
14 14
 <small class='form-text text-muted mb-2'>
15
-    <?php esc_html_e( 'The amount that users add to this field will be added to the total amount for this form', 'invoicing' ); ?>
15
+    <?php esc_html_e('The amount that users add to this field will be added to the total amount for this form', 'invoicing'); ?>
16 16
 </small>
17 17
 
18 18
 <div class='form-group'>
19 19
     <label class="d-block">
20
-        <span><?php esc_html_e( 'Field Label', 'invoicing' ); ?></span>
20
+        <span><?php esc_html_e('Field Label', 'invoicing'); ?></span>
21 21
         <input v-model='active_form_element.label' class='form-control' type="text"/>
22 22
     </label>
23 23
 </div>
24 24
 
25 25
 <div class='form-group'>
26 26
     <label class="d-block">
27
-        <span><?php esc_html_e( 'Default Amount', 'invoicing' ); ?></span>
27
+        <span><?php esc_html_e('Default Amount', 'invoicing'); ?></span>
28 28
         <input v-model='active_form_element.value' class='form-control' type="text"/>
29 29
     </label>
30 30
 </div>
31 31
 
32 32
 <div class='form-group'>
33 33
     <label class="d-block">
34
-        <span><?php esc_html_e( 'Minimum Amount', 'invoicing' ); ?></span>
34
+        <span><?php esc_html_e('Minimum Amount', 'invoicing'); ?></span>
35 35
         <input v-model='active_form_element.minimum' class='form-control' type="text"/>
36 36
     </label>
37 37
 </div>
38 38
 
39 39
 <div class='form-group'>
40 40
     <label class="d-block">
41
-        <span><?php esc_html_e( 'Placeholder text', 'invoicing' ); ?></span>
41
+        <span><?php esc_html_e('Placeholder text', 'invoicing'); ?></span>
42 42
         <input v-model='active_form_element.placeholder' class='form-control' type="text"/>
43 43
     </label>
44 44
 </div>
45 45
 
46 46
 <div class='form-group'>
47 47
     <label class="d-block">
48
-        <span><?php esc_html_e( 'Help Text', 'invoicing' ); ?></span>
49
-        <textarea placeholder='<?php esc_attr_e( 'Add some help text for this field', 'invoicing' ); ?>' v-model='active_form_element.description' class='form-control' rows='3'></textarea>
48
+        <span><?php esc_html_e('Help Text', 'invoicing'); ?></span>
49
+        <textarea placeholder='<?php esc_attr_e('Add some help text for this field', 'invoicing'); ?>' v-model='active_form_element.description' class='form-control' rows='3'></textarea>
50 50
     </label>
51 51
 </div>
Please login to merge, or discard this patch.
templates/payment-forms-admin/edit/billing_email.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -7,37 +7,37 @@
 block discarded – undo
7 7
  * @version 1.0.19
8 8
  */
9 9
 
10
-defined( 'ABSPATH' ) || exit;
10
+defined('ABSPATH') || exit;
11 11
 
12 12
 ?>
13 13
 
14 14
 <div class='form-group'>
15 15
     <label class="d-block">
16
-        <span><?php esc_html_e( 'Field Label', 'invoicing' ); ?></span>
16
+        <span><?php esc_html_e('Field Label', 'invoicing'); ?></span>
17 17
         <input v-model='active_form_element.label' class='form-control' type="text"/>
18 18
     </label>
19 19
 </div>
20 20
 
21 21
 <div class='form-group'>
22 22
     <label class="d-block">
23
-        <span><?php esc_html_e( 'Placeholder text', 'invoicing' ); ?></span>
23
+        <span><?php esc_html_e('Placeholder text', 'invoicing'); ?></span>
24 24
         <input v-model='active_form_element.placeholder' class='form-control' type="text"/>
25 25
     </label>
26 26
 </div>
27 27
 
28 28
 <div class='form-group'>
29 29
     <label class="d-block">
30
-        <span><?php esc_html_e( 'Help Text', 'invoicing' ); ?></span>
31
-        <textarea placeholder='<?php esc_attr_e( 'Add some help text for this field', 'invoicing' ); ?>' v-model='active_form_element.description' class='form-control' rows='3'></textarea>
30
+        <span><?php esc_html_e('Help Text', 'invoicing'); ?></span>
31
+        <textarea placeholder='<?php esc_attr_e('Add some help text for this field', 'invoicing'); ?>' v-model='active_form_element.description' class='form-control' rows='3'></textarea>
32 32
     </label>
33 33
 </div>
34 34
 
35 35
 <div class='form-group form-check'>
36 36
     <input :id="active_form_element.id + '_edit'" v-model='active_form_element.required' type='checkbox' class='form-check-input' />
37
-    <label class='form-check-label' :for="active_form_element.id + '_edit'"><?php esc_html_e( 'Is this field required?', 'invoicing' ); ?></label>
37
+    <label class='form-check-label' :for="active_form_element.id + '_edit'"><?php esc_html_e('Is this field required?', 'invoicing'); ?></label>
38 38
 </div>
39 39
 
40 40
 <div class='form-group form-check'>
41 41
     <input :id="active_form_element.id + '_edit_hide'" v-model='active_form_element.hide_billing_email' type='checkbox' class='form-check-input' />
42
-    <label class='form-check-label' :for="active_form_element.id + '_edit_hide'"><?php esc_html_e( 'Hide if the user is logged in', 'invoicing' ); ?></label>
42
+    <label class='form-check-label' :for="active_form_element.id + '_edit_hide'"><?php esc_html_e('Hide if the user is logged in', 'invoicing'); ?></label>
43 43
 </div>
Please login to merge, or discard this patch.
templates/payment-forms-admin/previews/date.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
  * @version 1.0.19
8 8
  */
9 9
 
10
-defined( 'ABSPATH' ) || exit;
10
+defined('ABSPATH') || exit;
11 11
 
12 12
 ?>
13 13
 
Please login to merge, or discard this patch.
templates/payment-forms-admin/previews/separator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,6 +7,6 @@
 block discarded – undo
7 7
  * @version 1.0.19
8 8
  */
9 9
 
10
-defined( 'ABSPATH' ) || exit;
10
+defined('ABSPATH') || exit;
11 11
 ?>
12 12
 <hr class="featurette-divider" />
13 13
\ No newline at end of file
Please login to merge, or discard this patch.
templates/payment-forms-admin/previews/heading.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
  */
9 9
 
10 10
 
11
-defined( 'ABSPATH' ) || exit;
11
+defined('ABSPATH') || exit;
12 12
 
13 13
 ?>
14 14
 <component :is='form_element.level' v-html='form_element.text'></component>
15 15
\ No newline at end of file
Please login to merge, or discard this patch.
templates/payment-forms-admin/previews/price_input.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -7,16 +7,16 @@  discard block
 block discarded – undo
7 7
  * @version 1.0.19
8 8
  */
9 9
 
10
-defined( 'ABSPATH' ) || exit;
10
+defined('ABSPATH') || exit;
11 11
 
12 12
 // Set the currency position.
13 13
 $position = wpinv_currency_position();
14 14
 
15
-if ( $position == 'left_space' ) {
15
+if ($position == 'left_space') {
16 16
     $position = 'left';
17 17
 }
18 18
 
19
-if ( $position == 'right_space' ) {
19
+if ($position == 'right_space') {
20 20
     $position = 'right';
21 21
 }
22 22
 
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
 
27 27
 <div class="input-group">
28 28
 
29
-    <?php if ( $position == 'left' ) : ?>
29
+    <?php if ($position == 'left') : ?>
30 30
         <div class="input-group-prepend">
31 31
             <span class="input-group-text"><?php echo wpinv_currency_symbol() ?></span>
32 32
         </div>
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
 
35 35
     <input :placeholder='form_element.placeholder' class='form-control' type='text'>
36 36
 
37
-    <?php if ( $position == 'right' ) : ?>
37
+    <?php if ($position == 'right') : ?>
38 38
         <div class="input-group-append">
39 39
             <span class="input-group-text"><?php echo wpinv_currency_symbol() ?></span>
40 40
         </div>
Please login to merge, or discard this patch.
templates/payment-forms-admin/previews/checkbox.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
  * @version 1.0.19
8 8
  */
9 9
 
10
-defined( 'ABSPATH' ) || exit;
10
+defined('ABSPATH') || exit;
11 11
 
12 12
 ?>
13 13
 <div class='form-check'>
Please login to merge, or discard this patch.
templates/payment-forms-admin/previews/total_payable.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -7,11 +7,11 @@
 block discarded – undo
7 7
  * @version 1.0.19
8 8
  */
9 9
 
10
-defined( 'ABSPATH' ) || exit;
10
+defined('ABSPATH') || exit;
11 11
 
12 12
 echo aui()->alert(
13 13
     array(
14
-        'content'     => esc_html__( 'The total payable amount will appear here', 'invoicing' ),
14
+        'content'     => esc_html__('The total payable amount will appear here', 'invoicing'),
15 15
         'type'        => 'info',
16 16
     )
17 17
 );
Please login to merge, or discard this patch.