Completed
Branch BUG/3575-event-deletion-previe... (bbeda1)
by
unknown
06:40 queued 04:49
created
extend/events/templates/event_datetime_metabox_clone_button.template.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
    style='position:relative; top:5px; margin:0 0 0 10px; font-size:.9em; cursor:pointer;'>
10 10
     <img alt='<?php esc_attr_e('clone', 'event_espresso'); ?>'
11 11
          height='16'
12
-         src='<?php echo esc_url_raw(EE_IMAGES_URL . 'clone-trooper-16x16.png'); ?>'
12
+         src='<?php echo esc_url_raw(EE_IMAGES_URL.'clone-trooper-16x16.png'); ?>'
13 13
          width='16'
14 14
     />
15 15
 </a>
Please login to merge, or discard this patch.
admin/extend/events/templates/event_registration_options.template.php 2 patches
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -15,12 +15,12 @@  discard block
 block discarded – undo
15 15
 
16 16
 <?php
17 17
 $settings_array                = [
18
-    'max_registrants'                 => '<p>
18
+	'max_registrants'                 => '<p>
19 19
         <label for="max-registrants">
20 20
         ' . esc_html__(
21
-        'Maximum number of tickets allowed per order for this event: ',
22
-        'event_espresso'
23
-    ) . '
21
+		'Maximum number of tickets allowed per order for this event: ',
22
+		'event_espresso'
23
+	) . '
24 24
         </label>
25 25
         <input class="ee-numeric"
26 26
                 type="text" 
@@ -30,29 +30,29 @@  discard block
 block discarded – undo
30 30
                 size="4" 
31 31
                 />
32 32
         </p>',
33
-    'additional_registration_options' => $additional_registration_options,
34
-    'display_ticket_selector'         => '<p>
33
+	'additional_registration_options' => $additional_registration_options,
34
+	'display_ticket_selector'         => '<p>
35 35
             <label>' . esc_html__('Display Ticket Selector', 'event_espresso') . '</label>'
36
-            . $display_ticket_selector // already escaped
37
-            . '</p>',
38
-    'alternative_registration_page'   => '<p>
36
+			. $display_ticket_selector // already escaped
37
+			. '</p>',
38
+	'alternative_registration_page'   => '<p>
39 39
             <label>' . esc_html__('Alternative Registration Page', 'event_espresso') . '</label>
40 40
             <input name="externalURL" size="20" type="text" value="' . esc_url_raw($_event->external_url()) . '"> 
41 41
             </p>',
42
-    'event_phone_number'              => '<p>
42
+	'event_phone_number'              => '<p>
43 43
             <label>' . esc_html__('Event Phone Number', 'event_espresso') . '</label>
44 44
             <input name="event_phone" size="20" type="text" value="' . esc_attr($_event->phone()) . '">
45 45
             </p>',
46
-    'default_registration_status'     => '<p>
46
+	'default_registration_status'     => '<p>
47 47
             <label>' . esc_html__('Default Registration Status', 'event_espresso') . '</label>'
48
-             . EEH_Template::get_help_tab_link('event_editor_event_registration_options_help_tab')
49
-             . $EVT_default_registration_status // already escaped
50
-             . '</p>',
48
+			 . EEH_Template::get_help_tab_link('event_editor_event_registration_options_help_tab')
49
+			 . $EVT_default_registration_status // already escaped
50
+			 . '</p>',
51 51
 ];
52 52
 // filter
53 53
 $settings_array = apply_filters('FHEE__caffeinated_event_registration_options__template__settings', $settings_array);
54 54
 
55 55
 // echo
56 56
 foreach ($settings_array as $item) {
57
-    echo $item; // already escaped
57
+	echo $item; // already escaped
58 58
 }
Please login to merge, or discard this patch.
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -14,37 +14,37 @@
 block discarded – undo
14 14
     </p>
15 15
 
16 16
 <?php
17
-$settings_array                = [
17
+$settings_array = [
18 18
     'max_registrants'                 => '<p>
19 19
         <label for="max-registrants">
20 20
         ' . esc_html__(
21 21
         'Maximum number of tickets allowed per order for this event: ',
22 22
         'event_espresso'
23
-    ) . '
23
+    ).'
24 24
         </label>
25 25
         <input class="ee-numeric"
26 26
                 type="text" 
27 27
                 id="max-registrants" 
28 28
                 name="additional_limit" 
29
-                value="' . esc_attr($additional_limit) . '"
29
+                value="' . esc_attr($additional_limit).'"
30 30
                 size="4" 
31 31
                 />
32 32
         </p>',
33 33
     'additional_registration_options' => $additional_registration_options,
34 34
     'display_ticket_selector'         => '<p>
35
-            <label>' . esc_html__('Display Ticket Selector', 'event_espresso') . '</label>'
35
+            <label>' . esc_html__('Display Ticket Selector', 'event_espresso').'</label>'
36 36
             . $display_ticket_selector // already escaped
37 37
             . '</p>',
38 38
     'alternative_registration_page'   => '<p>
39
-            <label>' . esc_html__('Alternative Registration Page', 'event_espresso') . '</label>
40
-            <input name="externalURL" size="20" type="text" value="' . esc_url_raw($_event->external_url()) . '"> 
39
+            <label>' . esc_html__('Alternative Registration Page', 'event_espresso').'</label>
40
+            <input name="externalURL" size="20" type="text" value="' . esc_url_raw($_event->external_url()).'"> 
41 41
             </p>',
42 42
     'event_phone_number'              => '<p>
43
-            <label>' . esc_html__('Event Phone Number', 'event_espresso') . '</label>
44
-            <input name="event_phone" size="20" type="text" value="' . esc_attr($_event->phone()) . '">
43
+            <label>' . esc_html__('Event Phone Number', 'event_espresso').'</label>
44
+            <input name="event_phone" size="20" type="text" value="' . esc_attr($_event->phone()).'">
45 45
             </p>',
46 46
     'default_registration_status'     => '<p>
47
-            <label>' . esc_html__('Default Registration Status', 'event_espresso') . '</label>'
47
+            <label>' . esc_html__('Default Registration Status', 'event_espresso').'</label>'
48 48
              . EEH_Template::get_help_tab_link('event_editor_event_registration_options_help_tab')
49 49
              . $EVT_default_registration_status // already escaped
50 50
              . '</p>',
Please login to merge, or discard this patch.
caffeinated/admin/extend/events/templates/import_page.template.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <div class="import-area">
2 2
     <div class="important-notice">
3 3
         <?php esc_html_e(
4
-            'The import feature has been disabled because of bugs. It is expected to be put back in place soon.',
5
-            'event_espresso'
6
-        ); ?>
4
+			'The import feature has been disabled because of bugs. It is expected to be put back in place soon.',
5
+			'event_espresso'
6
+		); ?>
7 7
     </div>
8 8
     <?php // echo $form?>
9 9
 </div>
Please login to merge, or discard this patch.
caffeinated/admin/extend/events/help_tabs/import_page.help_tab.php 1 patch
Indentation   +29 added lines, -29 removed lines patch added patch discarded remove patch
@@ -1,48 +1,48 @@
 block discarded – undo
1 1
 <p><strong><?php esc_html_e('Importing CSV Event Espresso Data', 'event_espresso'); ?></strong></p>
2 2
 <p>
3 3
     <?php esc_html_e(
4
-        'The importer can be used to import event information into Event Espresso using a CSV file.',
5
-        'event_espresso'
6
-    ); ?>
4
+		'The importer can be used to import event information into Event Espresso using a CSV file.',
5
+		'event_espresso'
6
+	); ?>
7 7
 </p>
8 8
 <p><strong><?php esc_html_e("Importing from other Event Espresso 4 Sites", 'event_espresso'); ?></strong></p>
9 9
 <p>
10 10
     <?php esc_html_e(
11
-        'To import Event Espresso data from another Event Espresso 4 install, export a CSV file from the admin Events overview page, or anywhere you can generate a CSV export file from. Then upload that file here (regardless of what type of information was exported).',
12
-        'event_espresso'
13
-    ); ?>
11
+		'To import Event Espresso data from another Event Espresso 4 install, export a CSV file from the admin Events overview page, or anywhere you can generate a CSV export file from. Then upload that file here (regardless of what type of information was exported).',
12
+		'event_espresso'
13
+	); ?>
14 14
 </p>
15 15
 <p>
16 16
     <?php esc_html_e(
17
-        'Note: its possible that data from the other site have the same IDs as data in this site. The importer recognizes that this data is from a different database and inserts new items for each item in the CSV file, regardless of whether its ID matches that of an item in this site\'s database or not. However, the importer also remembers the mapping from the old site\'s database to this site\'s database, and on subsequent CSV importers from that site, the data in this database will be updated instead of re-inserting new items.',
18
-        'event_espresso'
19
-    ); ?>
17
+		'Note: its possible that data from the other site have the same IDs as data in this site. The importer recognizes that this data is from a different database and inserts new items for each item in the CSV file, regardless of whether its ID matches that of an item in this site\'s database or not. However, the importer also remembers the mapping from the old site\'s database to this site\'s database, and on subsequent CSV importers from that site, the data in this database will be updated instead of re-inserting new items.',
18
+		'event_espresso'
19
+	); ?>
20 20
 </p>
21 21
 <p><strong><?php esc_html_e("Importing from this Site", 'event_espresso'); ?></strong></p>
22 22
 <p><?php
23
-    esc_html_e(
24
-        "You may want to export data from this site, modify it (or modify the database), and re-import it. When this is done, the importer recognizes that the data is from this site\'s database and updates the records (instead of inserting new items like it would have, had the CSV data been from a different site).",
25
-        'event_espresso'
26
-    ); ?></p>
23
+	esc_html_e(
24
+		"You may want to export data from this site, modify it (or modify the database), and re-import it. When this is done, the importer recognizes that the data is from this site\'s database and updates the records (instead of inserting new items like it would have, had the CSV data been from a different site).",
25
+		'event_espresso'
26
+	); ?></p>
27 27
 
28 28
 <p><strong><?php esc_html_e("Notes about Generating your own CSV Import Files", "event_espresso"); ?></strong></p>
29 29
 <p><?php
30
-    esc_html_e(
31
-        "If you think you could save time entering data into a CSV file, you can use the sample import file below. Note that creating your own CSV file is more complicated than in Event Espresso 3.1 because of the more advanced data structure, and so we recommend creating/editing your events using the normal web-interface.",
32
-        "event_espresso"
33
-    ); ?></p>
30
+	esc_html_e(
31
+		"If you think you could save time entering data into a CSV file, you can use the sample import file below. Note that creating your own CSV file is more complicated than in Event Espresso 3.1 because of the more advanced data structure, and so we recommend creating/editing your events using the normal web-interface.",
32
+		"event_espresso"
33
+	); ?></p>
34 34
 <p><?php
35
-    esc_html_e(
36
-        "The export file is just an export of an event, or if you do not have any events in your system, it will only contain column headers. Do not change those column headers. Add as many rows as you like. ",
37
-        "event_espresso"
38
-    ); ?></p>
35
+	esc_html_e(
36
+		"The export file is just an export of an event, or if you do not have any events in your system, it will only contain column headers. Do not change those column headers. Add as many rows as you like. ",
37
+		"event_espresso"
38
+	); ?></p>
39 39
 <p><?php
40
-    esc_html_e(
41
-        "In the ID columns (columns ending in '_ID'), you should enter 'temporary IDs', which are unique numbers/words that identify that item, which can be used later when you want to refer to that item. (For example, if you assign an event's EVT_ID to be a temporary id of 'my-event-1', then use that same phrase 'my-event-1' to refer to that event in the Datetime model's EVT_ID column)",
42
-        "event_espresso"
43
-    ); ?></p>
40
+	esc_html_e(
41
+		"In the ID columns (columns ending in '_ID'), you should enter 'temporary IDs', which are unique numbers/words that identify that item, which can be used later when you want to refer to that item. (For example, if you assign an event's EVT_ID to be a temporary id of 'my-event-1', then use that same phrase 'my-event-1' to refer to that event in the Datetime model's EVT_ID column)",
42
+		"event_espresso"
43
+	); ?></p>
44 44
 <p><?php
45
-    esc_html_e(
46
-        "Also note, you do NOT have to enter info in for each model. (You can, for example, only enter in Term_Taxonomies and Term model data)",
47
-        "event_espresso"
48
-    ); ?></p>
49 45
\ No newline at end of file
46
+	esc_html_e(
47
+		"Also note, you do NOT have to enter info in for each model. (You can, for example, only enter in Term_Taxonomies and Term model data)",
48
+		"event_espresso"
49
+	); ?></p>
50 50
\ No newline at end of file
Please login to merge, or discard this patch.
admin/extend/messages/templates/create_custom_template_form.template.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -20,9 +20,9 @@  discard block
 block discarded – undo
20 20
             <p>
21 21
                 <label for="custom-message-template-name">
22 22
                     <?php esc_html_e(
23
-                        'Name for Template:',
24
-                        'event_espresso'
25
-                    ); ?></label><br/>
23
+						'Name for Template:',
24
+						'event_espresso'
25
+					); ?></label><br/>
26 26
                 <input id="custom-message-template-name" type="text" class="regular-text"
27 27
                        name="custom_template_args[MTP_name]" value="">
28 28
             </p>
@@ -38,9 +38,9 @@  discard block
 block discarded – undo
38 38
                        value="<?php esc_html_e('Create Template', 'event_espresso'); ?>">
39 39
                 <button type="button" class="button button-secondary cancel-create-template">
40 40
                     <?php esc_html_e(
41
-                        'Cancel',
42
-                        'event_espresso'
43
-                    ); ?></button>
41
+						'Cancel',
42
+						'event_espresso'
43
+					); ?></button>
44 44
             </div>
45 45
         </form>
46 46
     </div>
Please login to merge, or discard this patch.
templates/thank-you-page-transaction-details.template.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -28,10 +28,10 @@  discard block
 block discarded – undo
28 28
                     <label><?php esc_html_e('Amount Owing: ', 'event_espresso'); ?></label>
29 29
                 </td>
30 30
                 <td class="<?php
31
-                echo ($transaction->paid() == $transaction->total())
32
-                    ? 'ee-transaction-paid'
33
-                    : 'ee-transaction-unpaid'
34
-                ?>"
31
+				echo ($transaction->paid() == $transaction->total())
32
+					? 'ee-transaction-paid'
33
+					: 'ee-transaction-unpaid'
34
+				?>"
35 35
                 >
36 36
                     <?php echo EEH_Template::format_currency($transaction->remaining()); ?>
37 37
                 </td>
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
                 </td>
43 43
                 <td>
44 44
                     <?php $transaction->e_pretty_status(true);
45
-                    if ($show_try_pay_again_link && ! $transaction->is_completed()) { ?>
45
+					if ($show_try_pay_again_link && ! $transaction->is_completed()) { ?>
46 46
                         <span class="small-text">
47 47
                         <a href='<?php echo $SPCO_payment_options_url ?>'>
48 48
                             <?php esc_html_e('View Payment Options', 'event_espresso'); ?>
@@ -60,16 +60,16 @@  discard block
 block discarded – undo
60 60
                 </td>
61 61
             </tr>
62 62
             <?php do_action(
63
-                'AHEE__thank_you_page_transaction_details_template__after_transaction_table_row',
64
-                $transaction
65
-            ); ?>
63
+				'AHEE__thank_you_page_transaction_details_template__after_transaction_table_row',
64
+				$transaction
65
+			); ?>
66 66
         </tbody>
67 67
     </table>
68 68
 
69 69
     <?php if ($show_try_pay_again_link && ! $transaction->is_completed()) { ?>
70 70
         <p class="small-text jst-rght">
71 71
             <a href='<?php echo $SPCO_payment_options_url ?>'><?php
72
-                esc_html_e("Click here to view Payment Options", 'event_espresso'); ?></a>
72
+				esc_html_e("Click here to view Payment Options", 'event_espresso'); ?></a>
73 73
         </p>
74 74
         <br />
75 75
 
Please login to merge, or discard this patch.
Invoice/templates/invoice_payment_details_content.template.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
             <?php echo esc_html($page_title); ?>
21 21
         </h4>
22 22
     <?php }
23
-    if (! empty($invoice_url)) { ?>
23
+	if (! empty($invoice_url)) { ?>
24 24
         <p>
25 25
             <a href="<?php echo esc_url_raw($invoice_url); ?>"
26 26
                class="ee-button-lnk inline-button ee-invoice-lnk"
@@ -35,10 +35,10 @@  discard block
 block discarded – undo
35 35
                 <p class="instruct"><?php echo wpautop(wp_kses($page_confirmation_text, $allowedtags)); ?></p>
36 36
             </div>
37 37
         <?php }
38
-        if (! empty($page_extra_info)) { ?>
38
+		if (! empty($page_extra_info)) { ?>
39 39
             <div class="address-block">
40 40
                 <?php echo wpautop(wp_kses($page_extra_info, $allowedtags)); ?>
41 41
             </div>
42 42
         <?php }
43
-    } ?>
43
+	} ?>
44 44
 </div>
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -15,12 +15,12 @@  discard block
 block discarded – undo
15 15
 
16 16
 ?>
17 17
 <div class="event-display-boxes">
18
-    <?php if (! empty($page_title)) { ?>
18
+    <?php if ( ! empty($page_title)) { ?>
19 19
         <h4 id="invoice_title" class="payment_type_title section-heading">
20 20
             <?php echo esc_html($page_title); ?>
21 21
         </h4>
22 22
     <?php }
23
-    if (! empty($invoice_url)) { ?>
23
+    if ( ! empty($invoice_url)) { ?>
24 24
         <p>
25 25
             <a href="<?php echo esc_url_raw($invoice_url); ?>"
26 26
                class="ee-button-lnk inline-button ee-invoice-lnk"
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
                 <p class="instruct"><?php echo wpautop(wp_kses($page_confirmation_text, $allowedtags)); ?></p>
36 36
             </div>
37 37
         <?php }
38
-        if (! empty($page_extra_info)) { ?>
38
+        if ( ! empty($page_extra_info)) { ?>
39 39
             <div class="address-block">
40 40
                 <?php echo wpautop(wp_kses($page_extra_info, $allowedtags)); ?>
41 41
             </div>
Please login to merge, or discard this patch.
Invoice/templates/invoice_settings_header_gateway.template.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -17,9 +17,9 @@
 block discarded – undo
17 17
         <td>
18 18
             <span class="description">
19 19
                 <?php esc_html_e(
20
-                    "The following settings affect the functioning of the Invoice gateway.",
21
-                    'event_espresso'
22
-                ); ?></span>
20
+					"The following settings affect the functioning of the Invoice gateway.",
21
+					'event_espresso'
22
+				); ?></span>
23 23
         </td>
24 24
     </tr>
25 25
 </table>
26 26
\ No newline at end of file
Please login to merge, or discard this patch.
Invoice/templates/invoice_settings_header_display.template.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -17,9 +17,9 @@
 block discarded – undo
17 17
         <td>
18 18
             <span class="description">
19 19
                 <?php esc_html_e(
20
-                    "The following settings affect the content and/or appearance of the downloadable PDF invoice.",
21
-                    'event_espresso'
22
-                ); ?></span>
20
+					"The following settings affect the content and/or appearance of the downloadable PDF invoice.",
21
+					'event_espresso'
22
+				); ?></span>
23 23
         </td>
24 24
     </tr>
25 25
 </table>
26 26
\ No newline at end of file
Please login to merge, or discard this patch.