@@ -18,37 +18,37 @@ |
||
18 | 18 | class General_Settings_Admin_Page_Init extends EE_Admin_Page_Init |
19 | 19 | { |
20 | 20 | |
21 | - public function __construct() |
|
22 | - { |
|
23 | - // define some constants |
|
24 | - define('GEN_SET_PG_SLUG', 'espresso_general_settings'); |
|
25 | - define('GEN_SET_LABEL', esc_html__('General Settings', 'event_espresso')); |
|
26 | - define('GEN_SET_ADMIN', EE_ADMIN_PAGES . 'general_settings/'); |
|
27 | - define('GEN_SET_ADMIN_URL', admin_url('admin.php?page=' . GEN_SET_PG_SLUG)); |
|
28 | - define('GEN_SET_TEMPLATE_PATH', GEN_SET_ADMIN . 'templates/'); |
|
29 | - define('GEN_SET_ASSETS_URL', EE_ADMIN_PAGES_URL . 'general_settings/assets/'); |
|
21 | + public function __construct() |
|
22 | + { |
|
23 | + // define some constants |
|
24 | + define('GEN_SET_PG_SLUG', 'espresso_general_settings'); |
|
25 | + define('GEN_SET_LABEL', esc_html__('General Settings', 'event_espresso')); |
|
26 | + define('GEN_SET_ADMIN', EE_ADMIN_PAGES . 'general_settings/'); |
|
27 | + define('GEN_SET_ADMIN_URL', admin_url('admin.php?page=' . GEN_SET_PG_SLUG)); |
|
28 | + define('GEN_SET_TEMPLATE_PATH', GEN_SET_ADMIN . 'templates/'); |
|
29 | + define('GEN_SET_ASSETS_URL', EE_ADMIN_PAGES_URL . 'general_settings/assets/'); |
|
30 | 30 | |
31 | - parent::__construct(); |
|
32 | - } |
|
31 | + parent::__construct(); |
|
32 | + } |
|
33 | 33 | |
34 | - protected function _set_init_properties() |
|
35 | - { |
|
36 | - $this->label = GEN_SET_LABEL; |
|
37 | - } |
|
34 | + protected function _set_init_properties() |
|
35 | + { |
|
36 | + $this->label = GEN_SET_LABEL; |
|
37 | + } |
|
38 | 38 | |
39 | - protected function _set_menu_map() |
|
40 | - { |
|
41 | - $this->_menu_map = new EE_Admin_Page_Sub_Menu( |
|
42 | - array( |
|
43 | - 'menu_group' => 'settings', |
|
44 | - 'menu_order' => 20, |
|
45 | - 'show_on_menu' => EE_Admin_Page_Menu_Map::BLOG_ADMIN_ONLY, |
|
46 | - 'parent_slug' => 'espresso_events', |
|
47 | - 'menu_slug' => GEN_SET_PG_SLUG, |
|
48 | - 'menu_label' => GEN_SET_LABEL, |
|
49 | - 'capability' => 'manage_options', |
|
50 | - 'admin_init_page' => $this, |
|
51 | - ) |
|
52 | - ); |
|
53 | - } |
|
39 | + protected function _set_menu_map() |
|
40 | + { |
|
41 | + $this->_menu_map = new EE_Admin_Page_Sub_Menu( |
|
42 | + array( |
|
43 | + 'menu_group' => 'settings', |
|
44 | + 'menu_order' => 20, |
|
45 | + 'show_on_menu' => EE_Admin_Page_Menu_Map::BLOG_ADMIN_ONLY, |
|
46 | + 'parent_slug' => 'espresso_events', |
|
47 | + 'menu_slug' => GEN_SET_PG_SLUG, |
|
48 | + 'menu_label' => GEN_SET_LABEL, |
|
49 | + 'capability' => 'manage_options', |
|
50 | + 'admin_init_page' => $this, |
|
51 | + ) |
|
52 | + ); |
|
53 | + } |
|
54 | 54 | } |
@@ -23,10 +23,10 @@ |
||
23 | 23 | // define some constants |
24 | 24 | define('GEN_SET_PG_SLUG', 'espresso_general_settings'); |
25 | 25 | define('GEN_SET_LABEL', esc_html__('General Settings', 'event_espresso')); |
26 | - define('GEN_SET_ADMIN', EE_ADMIN_PAGES . 'general_settings/'); |
|
27 | - define('GEN_SET_ADMIN_URL', admin_url('admin.php?page=' . GEN_SET_PG_SLUG)); |
|
28 | - define('GEN_SET_TEMPLATE_PATH', GEN_SET_ADMIN . 'templates/'); |
|
29 | - define('GEN_SET_ASSETS_URL', EE_ADMIN_PAGES_URL . 'general_settings/assets/'); |
|
26 | + define('GEN_SET_ADMIN', EE_ADMIN_PAGES.'general_settings/'); |
|
27 | + define('GEN_SET_ADMIN_URL', admin_url('admin.php?page='.GEN_SET_PG_SLUG)); |
|
28 | + define('GEN_SET_TEMPLATE_PATH', GEN_SET_ADMIN.'templates/'); |
|
29 | + define('GEN_SET_ASSETS_URL', EE_ADMIN_PAGES_URL.'general_settings/assets/'); |
|
30 | 30 | |
31 | 31 | parent::__construct(); |
32 | 32 | } |
@@ -15,84 +15,84 @@ |
||
15 | 15 | class Payment_Methods_Selection_Help_Tour extends EE_Help_Tour |
16 | 16 | { |
17 | 17 | |
18 | - protected function _set_tour_properties() |
|
19 | - { |
|
20 | - $this->_label = esc_html__('Payment Methods Tour', 'event_espresso'); |
|
21 | - $this->_slug = 'payment-methods-joyride'; |
|
22 | - } |
|
18 | + protected function _set_tour_properties() |
|
19 | + { |
|
20 | + $this->_label = esc_html__('Payment Methods Tour', 'event_espresso'); |
|
21 | + $this->_slug = 'payment-methods-joyride'; |
|
22 | + } |
|
23 | 23 | |
24 | - protected function _set_tour_stops() |
|
25 | - { |
|
26 | - $this->_stops = array( |
|
27 | - 10 => array( |
|
28 | - 'content' => $this->_start(), |
|
29 | - ), |
|
30 | - 20 => array( |
|
31 | - 'class' => 'gateway_links', |
|
32 | - 'content' => $this->_gateway_links_stop(), |
|
33 | - 'options' => array( |
|
34 | - 'tipLocation' => 'top', |
|
35 | - 'tipAdjustmentY' => -40, |
|
36 | - 'tipAdjustmentX' => 20, |
|
37 | - ), |
|
38 | - ), |
|
39 | - 30 => array( |
|
40 | - 'id' => 'postbox-container-2', |
|
41 | - 'content' => $this->_gateway_settings_metabox_stop(), |
|
42 | - 'options' => array( |
|
43 | - 'tipLocation' => 'top', |
|
44 | - 'tipAdjustmentY' => -25, |
|
45 | - 'tipAdjustmentX' => 20, |
|
46 | - ), |
|
47 | - ), |
|
48 | - 40 => array( |
|
49 | - 'content' => $this->_end_tour_stop(), |
|
50 | - 'options' => array( |
|
51 | - 'tipLocation' => 'top', |
|
52 | - ), |
|
53 | - ), |
|
54 | - ); |
|
55 | - } |
|
24 | + protected function _set_tour_stops() |
|
25 | + { |
|
26 | + $this->_stops = array( |
|
27 | + 10 => array( |
|
28 | + 'content' => $this->_start(), |
|
29 | + ), |
|
30 | + 20 => array( |
|
31 | + 'class' => 'gateway_links', |
|
32 | + 'content' => $this->_gateway_links_stop(), |
|
33 | + 'options' => array( |
|
34 | + 'tipLocation' => 'top', |
|
35 | + 'tipAdjustmentY' => -40, |
|
36 | + 'tipAdjustmentX' => 20, |
|
37 | + ), |
|
38 | + ), |
|
39 | + 30 => array( |
|
40 | + 'id' => 'postbox-container-2', |
|
41 | + 'content' => $this->_gateway_settings_metabox_stop(), |
|
42 | + 'options' => array( |
|
43 | + 'tipLocation' => 'top', |
|
44 | + 'tipAdjustmentY' => -25, |
|
45 | + 'tipAdjustmentX' => 20, |
|
46 | + ), |
|
47 | + ), |
|
48 | + 40 => array( |
|
49 | + 'content' => $this->_end_tour_stop(), |
|
50 | + 'options' => array( |
|
51 | + 'tipLocation' => 'top', |
|
52 | + ), |
|
53 | + ), |
|
54 | + ); |
|
55 | + } |
|
56 | 56 | |
57 | 57 | |
58 | - protected function _start() |
|
59 | - { |
|
60 | - $content = '<h3>' . esc_html__('Payment Methods', 'event_espresso') . '</h3>'; |
|
61 | - $content .= '<p>' |
|
62 | - . esc_html__( |
|
63 | - 'This tour of the Payment Methods page will go over different areas of the screen to help you understand what they are used for.', |
|
64 | - 'event_espresso' |
|
65 | - ) |
|
66 | - . '</p>'; |
|
67 | - return $content; |
|
68 | - } |
|
58 | + protected function _start() |
|
59 | + { |
|
60 | + $content = '<h3>' . esc_html__('Payment Methods', 'event_espresso') . '</h3>'; |
|
61 | + $content .= '<p>' |
|
62 | + . esc_html__( |
|
63 | + 'This tour of the Payment Methods page will go over different areas of the screen to help you understand what they are used for.', |
|
64 | + 'event_espresso' |
|
65 | + ) |
|
66 | + . '</p>'; |
|
67 | + return $content; |
|
68 | + } |
|
69 | 69 | |
70 | - protected function _gateway_links_stop() |
|
71 | - { |
|
72 | - return '<p>' |
|
73 | - . esc_html__( |
|
74 | - 'Available payment methods are shown here. Clicking on a payment method will provide you with an option to activate that payment gateway.', |
|
75 | - 'event_espresso' |
|
76 | - ) |
|
77 | - . '</p>'; |
|
78 | - } |
|
70 | + protected function _gateway_links_stop() |
|
71 | + { |
|
72 | + return '<p>' |
|
73 | + . esc_html__( |
|
74 | + 'Available payment methods are shown here. Clicking on a payment method will provide you with an option to activate that payment gateway.', |
|
75 | + 'event_espresso' |
|
76 | + ) |
|
77 | + . '</p>'; |
|
78 | + } |
|
79 | 79 | |
80 | - protected function _gateway_settings_metabox_stop() |
|
81 | - { |
|
82 | - return '<p>' |
|
83 | - . esc_html__( |
|
84 | - 'A payment gateway must first be enabled. You will then be able to configure the payment gateway. Be sure to save settings after configuring your payment gateway.', |
|
85 | - 'event_espresso' |
|
86 | - ) |
|
87 | - . '</p>'; |
|
88 | - } |
|
80 | + protected function _gateway_settings_metabox_stop() |
|
81 | + { |
|
82 | + return '<p>' |
|
83 | + . esc_html__( |
|
84 | + 'A payment gateway must first be enabled. You will then be able to configure the payment gateway. Be sure to save settings after configuring your payment gateway.', |
|
85 | + 'event_espresso' |
|
86 | + ) |
|
87 | + . '</p>'; |
|
88 | + } |
|
89 | 89 | |
90 | - protected function _end_tour_stop() |
|
91 | - { |
|
92 | - return '<p>' |
|
93 | - . esc_html__( |
|
94 | - 'After configuring your payment gateway, go to the Event Editor to create your first event with Event Espresso.', |
|
95 | - 'event_espresso' |
|
96 | - ) . '</p>'; |
|
97 | - } |
|
90 | + protected function _end_tour_stop() |
|
91 | + { |
|
92 | + return '<p>' |
|
93 | + . esc_html__( |
|
94 | + 'After configuring your payment gateway, go to the Event Editor to create your first event with Event Espresso.', |
|
95 | + 'event_espresso' |
|
96 | + ) . '</p>'; |
|
97 | + } |
|
98 | 98 | } |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | |
58 | 58 | protected function _start() |
59 | 59 | { |
60 | - $content = '<h3>' . esc_html__('Payment Methods', 'event_espresso') . '</h3>'; |
|
60 | + $content = '<h3>'.esc_html__('Payment Methods', 'event_espresso').'</h3>'; |
|
61 | 61 | $content .= '<p>' |
62 | 62 | . esc_html__( |
63 | 63 | 'This tour of the Payment Methods page will go over different areas of the screen to help you understand what they are used for.', |
@@ -93,6 +93,6 @@ discard block |
||
93 | 93 | . esc_html__( |
94 | 94 | 'After configuring your payment gateway, go to the Event Editor to create your first event with Event Espresso.', |
95 | 95 | 'event_espresso' |
96 | - ) . '</p>'; |
|
96 | + ).'</p>'; |
|
97 | 97 | } |
98 | 98 | } |
@@ -15,48 +15,48 @@ |
||
15 | 15 | class Payment_Methods_Settings_Help_Tour extends EE_Help_Tour |
16 | 16 | { |
17 | 17 | |
18 | - protected function _set_tour_properties() |
|
19 | - { |
|
20 | - $this->_label = esc_html__('Payment Settings Tour', 'event_espresso'); |
|
21 | - $this->_slug = 'payment-settings-joyride'; |
|
22 | - } |
|
18 | + protected function _set_tour_properties() |
|
19 | + { |
|
20 | + $this->_label = esc_html__('Payment Settings Tour', 'event_espresso'); |
|
21 | + $this->_slug = 'payment-settings-joyride'; |
|
22 | + } |
|
23 | 23 | |
24 | - protected function _set_tour_stops() |
|
25 | - { |
|
26 | - $this->_stops = array( |
|
27 | - 10 => array( |
|
28 | - 'content' => $this->_start(), |
|
29 | - ), |
|
30 | - 20 => array( |
|
31 | - 'id' => 'show_pending_payment_options', |
|
32 | - 'content' => $this->_show_pending_options_stop(), |
|
33 | - 'options' => array( |
|
34 | - 'tipLocation' => 'right', |
|
35 | - 'tipAdjustmentY' => -50, |
|
36 | - 'tipAdjustmentX' => 15, |
|
37 | - ), |
|
38 | - ), |
|
39 | - ); |
|
40 | - } |
|
24 | + protected function _set_tour_stops() |
|
25 | + { |
|
26 | + $this->_stops = array( |
|
27 | + 10 => array( |
|
28 | + 'content' => $this->_start(), |
|
29 | + ), |
|
30 | + 20 => array( |
|
31 | + 'id' => 'show_pending_payment_options', |
|
32 | + 'content' => $this->_show_pending_options_stop(), |
|
33 | + 'options' => array( |
|
34 | + 'tipLocation' => 'right', |
|
35 | + 'tipAdjustmentY' => -50, |
|
36 | + 'tipAdjustmentX' => 15, |
|
37 | + ), |
|
38 | + ), |
|
39 | + ); |
|
40 | + } |
|
41 | 41 | |
42 | 42 | |
43 | - protected function _start() |
|
44 | - { |
|
45 | - $content = '<h3>' . esc_html__('Payment Settings', 'event_espresso') . '</h3>'; |
|
46 | - $content .= '<p>' |
|
47 | - . esc_html__( |
|
48 | - 'This tour of the Payment Settings page will go over different areas of the screen to help you understand what they are used for.', |
|
49 | - 'event_espresso' |
|
50 | - ) . '</p>'; |
|
51 | - return $content; |
|
52 | - } |
|
43 | + protected function _start() |
|
44 | + { |
|
45 | + $content = '<h3>' . esc_html__('Payment Settings', 'event_espresso') . '</h3>'; |
|
46 | + $content .= '<p>' |
|
47 | + . esc_html__( |
|
48 | + 'This tour of the Payment Settings page will go over different areas of the screen to help you understand what they are used for.', |
|
49 | + 'event_espresso' |
|
50 | + ) . '</p>'; |
|
51 | + return $content; |
|
52 | + } |
|
53 | 53 | |
54 | - protected function _show_pending_options_stop() |
|
55 | - { |
|
56 | - return '<p>' |
|
57 | - . esc_html__( |
|
58 | - 'Specify whether to provide your registrants with the option to retry payments.', |
|
59 | - 'event_espresso' |
|
60 | - ) . '</p>'; |
|
61 | - } |
|
54 | + protected function _show_pending_options_stop() |
|
55 | + { |
|
56 | + return '<p>' |
|
57 | + . esc_html__( |
|
58 | + 'Specify whether to provide your registrants with the option to retry payments.', |
|
59 | + 'event_espresso' |
|
60 | + ) . '</p>'; |
|
61 | + } |
|
62 | 62 | } |
@@ -42,12 +42,12 @@ discard block |
||
42 | 42 | |
43 | 43 | protected function _start() |
44 | 44 | { |
45 | - $content = '<h3>' . esc_html__('Payment Settings', 'event_espresso') . '</h3>'; |
|
45 | + $content = '<h3>'.esc_html__('Payment Settings', 'event_espresso').'</h3>'; |
|
46 | 46 | $content .= '<p>' |
47 | 47 | . esc_html__( |
48 | 48 | 'This tour of the Payment Settings page will go over different areas of the screen to help you understand what they are used for.', |
49 | 49 | 'event_espresso' |
50 | - ) . '</p>'; |
|
50 | + ).'</p>'; |
|
51 | 51 | return $content; |
52 | 52 | } |
53 | 53 | |
@@ -57,6 +57,6 @@ discard block |
||
57 | 57 | . esc_html__( |
58 | 58 | 'Specify whether to provide your registrants with the option to retry payments.', |
59 | 59 | 'event_espresso' |
60 | - ) . '</p>'; |
|
60 | + ).'</p>'; |
|
61 | 61 | } |
62 | 62 | } |
@@ -15,135 +15,135 @@ |
||
15 | 15 | class Registration_Form_Edit_Question_Help_Tour extends EE_Help_Tour |
16 | 16 | { |
17 | 17 | |
18 | - protected function _set_tour_properties() |
|
19 | - { |
|
20 | - $this->_label = esc_html__('Edit Question Tour', 'event_espresso'); |
|
21 | - $this->_slug = $this->_is_caf ? 'edit-question-caf-joyride' : 'edit-question-joyride'; |
|
22 | - } |
|
18 | + protected function _set_tour_properties() |
|
19 | + { |
|
20 | + $this->_label = esc_html__('Edit Question Tour', 'event_espresso'); |
|
21 | + $this->_slug = $this->_is_caf ? 'edit-question-caf-joyride' : 'edit-question-joyride'; |
|
22 | + } |
|
23 | 23 | |
24 | - protected function _set_tour_stops() |
|
25 | - { |
|
26 | - $this->_stops = array( |
|
27 | - 10 => array( |
|
28 | - 'content' => $this->_start(), |
|
29 | - ), |
|
30 | - 20 => array( |
|
31 | - 'id' => 'QST_display_text', |
|
32 | - 'content' => $this->_qst_display_text_stop(), |
|
33 | - 'options' => array( |
|
34 | - 'tipLocation' => 'top', |
|
35 | - 'tipAdjustmentX' => 0, |
|
36 | - 'tipAdjustmentY' => -35, |
|
37 | - ), |
|
38 | - ), |
|
39 | - 30 => array( |
|
40 | - 'id' => 'QST_admin_label_disabled', |
|
41 | - 'content' => $this->_qst_admin_label_stop(), |
|
42 | - 'options' => array( |
|
43 | - 'tipLocation' => 'top', |
|
44 | - 'tipAdjustmentX' => 0, |
|
45 | - 'tipAdjustmentY' => -35, |
|
46 | - ), |
|
47 | - ), |
|
48 | - 50 => array( |
|
49 | - 'id' => 'QST_admin_only_disabled', |
|
50 | - 'content' => $this->_qst_admin_only_stop(), |
|
51 | - 'options' => array( |
|
52 | - 'tipLocation' => 'top', |
|
53 | - 'tipAdjustmentX' => -20, |
|
54 | - 'tipAdjustmentY' => -35, |
|
55 | - ), |
|
56 | - ), |
|
57 | - 60 => array( |
|
58 | - 'id' => 'QST_type_disabled', |
|
59 | - 'content' => $this->_qst_type_stop(), |
|
60 | - 'options' => array( |
|
61 | - 'tipLocation' => 'top', |
|
62 | - 'tipAdjustmentX' => 0, |
|
63 | - 'tipAdjustmentY' => -35, |
|
64 | - ), |
|
65 | - ), |
|
66 | - 70 => array( |
|
67 | - 'id' => 'QST_required', |
|
68 | - 'content' => $this->_qst_required_stop(), |
|
69 | - 'options' => array( |
|
70 | - 'tipLocation' => 'top', |
|
71 | - 'tipAdjustmentX' => 0, |
|
72 | - 'tipAdjustmentY' => -35, |
|
73 | - ), |
|
74 | - ), |
|
75 | - 80 => array( |
|
76 | - 'id' => 'QST_required_text', |
|
77 | - 'content' => $this->_qst_required_text_stop(), |
|
78 | - 'options' => array( |
|
79 | - 'tipLocation' => 'top', |
|
80 | - 'tipAdjustmentX' => 0, |
|
81 | - 'tipAdjustmentY' => -35, |
|
82 | - ), |
|
83 | - ), |
|
84 | - ); |
|
85 | - } |
|
24 | + protected function _set_tour_stops() |
|
25 | + { |
|
26 | + $this->_stops = array( |
|
27 | + 10 => array( |
|
28 | + 'content' => $this->_start(), |
|
29 | + ), |
|
30 | + 20 => array( |
|
31 | + 'id' => 'QST_display_text', |
|
32 | + 'content' => $this->_qst_display_text_stop(), |
|
33 | + 'options' => array( |
|
34 | + 'tipLocation' => 'top', |
|
35 | + 'tipAdjustmentX' => 0, |
|
36 | + 'tipAdjustmentY' => -35, |
|
37 | + ), |
|
38 | + ), |
|
39 | + 30 => array( |
|
40 | + 'id' => 'QST_admin_label_disabled', |
|
41 | + 'content' => $this->_qst_admin_label_stop(), |
|
42 | + 'options' => array( |
|
43 | + 'tipLocation' => 'top', |
|
44 | + 'tipAdjustmentX' => 0, |
|
45 | + 'tipAdjustmentY' => -35, |
|
46 | + ), |
|
47 | + ), |
|
48 | + 50 => array( |
|
49 | + 'id' => 'QST_admin_only_disabled', |
|
50 | + 'content' => $this->_qst_admin_only_stop(), |
|
51 | + 'options' => array( |
|
52 | + 'tipLocation' => 'top', |
|
53 | + 'tipAdjustmentX' => -20, |
|
54 | + 'tipAdjustmentY' => -35, |
|
55 | + ), |
|
56 | + ), |
|
57 | + 60 => array( |
|
58 | + 'id' => 'QST_type_disabled', |
|
59 | + 'content' => $this->_qst_type_stop(), |
|
60 | + 'options' => array( |
|
61 | + 'tipLocation' => 'top', |
|
62 | + 'tipAdjustmentX' => 0, |
|
63 | + 'tipAdjustmentY' => -35, |
|
64 | + ), |
|
65 | + ), |
|
66 | + 70 => array( |
|
67 | + 'id' => 'QST_required', |
|
68 | + 'content' => $this->_qst_required_stop(), |
|
69 | + 'options' => array( |
|
70 | + 'tipLocation' => 'top', |
|
71 | + 'tipAdjustmentX' => 0, |
|
72 | + 'tipAdjustmentY' => -35, |
|
73 | + ), |
|
74 | + ), |
|
75 | + 80 => array( |
|
76 | + 'id' => 'QST_required_text', |
|
77 | + 'content' => $this->_qst_required_text_stop(), |
|
78 | + 'options' => array( |
|
79 | + 'tipLocation' => 'top', |
|
80 | + 'tipAdjustmentX' => 0, |
|
81 | + 'tipAdjustmentY' => -35, |
|
82 | + ), |
|
83 | + ), |
|
84 | + ); |
|
85 | + } |
|
86 | 86 | |
87 | 87 | |
88 | - protected function _start() |
|
89 | - { |
|
90 | - $content = '<h3>' . esc_html__('Edit Question', 'event_espresso') . '</h3>'; |
|
91 | - $content .= '<p>' |
|
92 | - . esc_html__( |
|
93 | - 'This tour of the Edit Question page will go over different areas of the screen to help you understand what they are used for.', |
|
94 | - 'event_espresso' |
|
95 | - ) . '</p>'; |
|
88 | + protected function _start() |
|
89 | + { |
|
90 | + $content = '<h3>' . esc_html__('Edit Question', 'event_espresso') . '</h3>'; |
|
91 | + $content .= '<p>' |
|
92 | + . esc_html__( |
|
93 | + 'This tour of the Edit Question page will go over different areas of the screen to help you understand what they are used for.', |
|
94 | + 'event_espresso' |
|
95 | + ) . '</p>'; |
|
96 | 96 | |
97 | - return $content; |
|
98 | - } |
|
97 | + return $content; |
|
98 | + } |
|
99 | 99 | |
100 | - protected function _qst_display_text_stop() |
|
101 | - { |
|
102 | - return '<p>' |
|
103 | - . esc_html__( |
|
104 | - 'This is the question that is displayed to registrants who are signing up for events.', |
|
105 | - 'event_espresso' |
|
106 | - ) . '</p>'; |
|
107 | - } |
|
100 | + protected function _qst_display_text_stop() |
|
101 | + { |
|
102 | + return '<p>' |
|
103 | + . esc_html__( |
|
104 | + 'This is the question that is displayed to registrants who are signing up for events.', |
|
105 | + 'event_espresso' |
|
106 | + ) . '</p>'; |
|
107 | + } |
|
108 | 108 | |
109 | - protected function _qst_admin_label_stop() |
|
110 | - { |
|
111 | - return '<p>' |
|
112 | - . esc_html__( |
|
113 | - 'Helps you understand the difference between questions that may appear similar but are actually different.', |
|
114 | - 'event_espresso' |
|
115 | - ) . '</p>'; |
|
116 | - } |
|
109 | + protected function _qst_admin_label_stop() |
|
110 | + { |
|
111 | + return '<p>' |
|
112 | + . esc_html__( |
|
113 | + 'Helps you understand the difference between questions that may appear similar but are actually different.', |
|
114 | + 'event_espresso' |
|
115 | + ) . '</p>'; |
|
116 | + } |
|
117 | 117 | |
118 | - protected function _qst_admin_only_stop() |
|
119 | - { |
|
120 | - return '<p>' |
|
121 | - . esc_html__( |
|
122 | - 'Specify whether this question should be shown only to the admins.', |
|
123 | - 'event_espresso' |
|
124 | - ) . '</p>'; |
|
125 | - } |
|
118 | + protected function _qst_admin_only_stop() |
|
119 | + { |
|
120 | + return '<p>' |
|
121 | + . esc_html__( |
|
122 | + 'Specify whether this question should be shown only to the admins.', |
|
123 | + 'event_espresso' |
|
124 | + ) . '</p>'; |
|
125 | + } |
|
126 | 126 | |
127 | - protected function _qst_type_stop() |
|
128 | - { |
|
129 | - return '<p>' |
|
130 | - . esc_html__( |
|
131 | - 'Select the type of question. Available options are text, textarea, single, multiple, dropdown, and date.', |
|
132 | - 'event_espresso' |
|
133 | - ) . '</p>'; |
|
134 | - } |
|
127 | + protected function _qst_type_stop() |
|
128 | + { |
|
129 | + return '<p>' |
|
130 | + . esc_html__( |
|
131 | + 'Select the type of question. Available options are text, textarea, single, multiple, dropdown, and date.', |
|
132 | + 'event_espresso' |
|
133 | + ) . '</p>'; |
|
134 | + } |
|
135 | 135 | |
136 | - protected function _qst_required_stop() |
|
137 | - { |
|
138 | - return '<p>' . esc_html__('Specify whether this question should be required.', 'event_espresso') . '</p>'; |
|
139 | - } |
|
136 | + protected function _qst_required_stop() |
|
137 | + { |
|
138 | + return '<p>' . esc_html__('Specify whether this question should be required.', 'event_espresso') . '</p>'; |
|
139 | + } |
|
140 | 140 | |
141 | - protected function _qst_required_text_stop() |
|
142 | - { |
|
143 | - return '<p>' |
|
144 | - . esc_html__( |
|
145 | - 'Text to display when registrant does not answer question but is required to.', |
|
146 | - 'event_espresso' |
|
147 | - ) . '</p>'; |
|
148 | - } |
|
141 | + protected function _qst_required_text_stop() |
|
142 | + { |
|
143 | + return '<p>' |
|
144 | + . esc_html__( |
|
145 | + 'Text to display when registrant does not answer question but is required to.', |
|
146 | + 'event_espresso' |
|
147 | + ) . '</p>'; |
|
148 | + } |
|
149 | 149 | } |
@@ -87,12 +87,12 @@ discard block |
||
87 | 87 | |
88 | 88 | protected function _start() |
89 | 89 | { |
90 | - $content = '<h3>' . esc_html__('Edit Question', 'event_espresso') . '</h3>'; |
|
90 | + $content = '<h3>'.esc_html__('Edit Question', 'event_espresso').'</h3>'; |
|
91 | 91 | $content .= '<p>' |
92 | 92 | . esc_html__( |
93 | 93 | 'This tour of the Edit Question page will go over different areas of the screen to help you understand what they are used for.', |
94 | 94 | 'event_espresso' |
95 | - ) . '</p>'; |
|
95 | + ).'</p>'; |
|
96 | 96 | |
97 | 97 | return $content; |
98 | 98 | } |
@@ -103,7 +103,7 @@ discard block |
||
103 | 103 | . esc_html__( |
104 | 104 | 'This is the question that is displayed to registrants who are signing up for events.', |
105 | 105 | 'event_espresso' |
106 | - ) . '</p>'; |
|
106 | + ).'</p>'; |
|
107 | 107 | } |
108 | 108 | |
109 | 109 | protected function _qst_admin_label_stop() |
@@ -112,7 +112,7 @@ discard block |
||
112 | 112 | . esc_html__( |
113 | 113 | 'Helps you understand the difference between questions that may appear similar but are actually different.', |
114 | 114 | 'event_espresso' |
115 | - ) . '</p>'; |
|
115 | + ).'</p>'; |
|
116 | 116 | } |
117 | 117 | |
118 | 118 | protected function _qst_admin_only_stop() |
@@ -121,7 +121,7 @@ discard block |
||
121 | 121 | . esc_html__( |
122 | 122 | 'Specify whether this question should be shown only to the admins.', |
123 | 123 | 'event_espresso' |
124 | - ) . '</p>'; |
|
124 | + ).'</p>'; |
|
125 | 125 | } |
126 | 126 | |
127 | 127 | protected function _qst_type_stop() |
@@ -130,12 +130,12 @@ discard block |
||
130 | 130 | . esc_html__( |
131 | 131 | 'Select the type of question. Available options are text, textarea, single, multiple, dropdown, and date.', |
132 | 132 | 'event_espresso' |
133 | - ) . '</p>'; |
|
133 | + ).'</p>'; |
|
134 | 134 | } |
135 | 135 | |
136 | 136 | protected function _qst_required_stop() |
137 | 137 | { |
138 | - return '<p>' . esc_html__('Specify whether this question should be required.', 'event_espresso') . '</p>'; |
|
138 | + return '<p>'.esc_html__('Specify whether this question should be required.', 'event_espresso').'</p>'; |
|
139 | 139 | } |
140 | 140 | |
141 | 141 | protected function _qst_required_text_stop() |
@@ -144,6 +144,6 @@ discard block |
||
144 | 144 | . esc_html__( |
145 | 145 | 'Text to display when registrant does not answer question but is required to.', |
146 | 146 | 'event_espresso' |
147 | - ) . '</p>'; |
|
147 | + ).'</p>'; |
|
148 | 148 | } |
149 | 149 | } |
@@ -15,123 +15,123 @@ |
||
15 | 15 | class Registration_Form_Add_Question_Group_Help_Tour extends EE_Help_Tour |
16 | 16 | { |
17 | 17 | |
18 | - protected function _set_tour_properties() |
|
19 | - { |
|
20 | - $this->_label = esc_html__('Add New Question Group Tour', 'event_espresso'); |
|
21 | - $this->_slug = $this->_is_caf ? 'add-question-group-caf-joyride' : 'add-question-group-joyride'; |
|
22 | - } |
|
18 | + protected function _set_tour_properties() |
|
19 | + { |
|
20 | + $this->_label = esc_html__('Add New Question Group Tour', 'event_espresso'); |
|
21 | + $this->_slug = $this->_is_caf ? 'add-question-group-caf-joyride' : 'add-question-group-joyride'; |
|
22 | + } |
|
23 | 23 | |
24 | - protected function _set_tour_stops() |
|
25 | - { |
|
26 | - $this->_stops = array( |
|
27 | - 10 => array( |
|
28 | - 'content' => $this->_start(), |
|
29 | - ), |
|
30 | - 20 => array( |
|
31 | - 'id' => 'QSG_name', |
|
32 | - 'content' => $this->_qsg_name_stop(), |
|
33 | - 'options' => array( |
|
34 | - 'tipLocation' => 'top', |
|
35 | - 'tipAdjustmentX' => 0, |
|
36 | - 'tipAdjustmentY' => -35, |
|
37 | - ), |
|
38 | - ), |
|
39 | - 30 => array( |
|
40 | - 'id' => 'QSG_identifier', |
|
41 | - 'content' => $this->_qsg_identifier_stop(), |
|
42 | - 'options' => array( |
|
43 | - 'tipLocation' => 'top', |
|
44 | - 'tipAdjustmentX' => 0, |
|
45 | - 'tipAdjustmentY' => -35, |
|
46 | - ), |
|
47 | - ), |
|
48 | - 40 => array( |
|
49 | - 'id' => 'QSG_desc', |
|
50 | - 'content' => $this->_qsg_desc_stop(), |
|
51 | - 'options' => array( |
|
52 | - 'tipLocation' => 'top', |
|
53 | - 'tipAdjustmentX' => 0, |
|
54 | - 'tipAdjustmentY' => -35, |
|
55 | - ), |
|
56 | - ), |
|
57 | - 50 => array( |
|
58 | - 'id' => 'QSG_order', |
|
59 | - 'content' => $this->_qsg_order_stop(), |
|
60 | - 'options' => array( |
|
61 | - 'tipLocation' => 'top', |
|
62 | - 'tipAdjustmentX' => -20, |
|
63 | - 'tipAdjustmentY' => -35, |
|
64 | - ), |
|
65 | - ), |
|
66 | - 60 => array( |
|
67 | - 'id' => 'QSG_show_group_name', |
|
68 | - 'content' => $this->_qsg_show_group_name_stop(), |
|
69 | - 'options' => array( |
|
70 | - 'tipLocation' => 'top', |
|
71 | - 'tipAdjustmentX' => 0, |
|
72 | - 'tipAdjustmentY' => -35, |
|
73 | - ), |
|
74 | - ), |
|
75 | - 70 => array( |
|
76 | - 'id' => 'QSG_show_group_desc', |
|
77 | - 'content' => $this->_qsg_show_group_desc_stop(), |
|
78 | - 'options' => array( |
|
79 | - 'tipLocation' => 'top', |
|
80 | - 'tipAdjustmentX' => 0, |
|
81 | - 'tipAdjustmentY' => -35, |
|
82 | - ), |
|
83 | - ), |
|
84 | - ); |
|
85 | - } |
|
24 | + protected function _set_tour_stops() |
|
25 | + { |
|
26 | + $this->_stops = array( |
|
27 | + 10 => array( |
|
28 | + 'content' => $this->_start(), |
|
29 | + ), |
|
30 | + 20 => array( |
|
31 | + 'id' => 'QSG_name', |
|
32 | + 'content' => $this->_qsg_name_stop(), |
|
33 | + 'options' => array( |
|
34 | + 'tipLocation' => 'top', |
|
35 | + 'tipAdjustmentX' => 0, |
|
36 | + 'tipAdjustmentY' => -35, |
|
37 | + ), |
|
38 | + ), |
|
39 | + 30 => array( |
|
40 | + 'id' => 'QSG_identifier', |
|
41 | + 'content' => $this->_qsg_identifier_stop(), |
|
42 | + 'options' => array( |
|
43 | + 'tipLocation' => 'top', |
|
44 | + 'tipAdjustmentX' => 0, |
|
45 | + 'tipAdjustmentY' => -35, |
|
46 | + ), |
|
47 | + ), |
|
48 | + 40 => array( |
|
49 | + 'id' => 'QSG_desc', |
|
50 | + 'content' => $this->_qsg_desc_stop(), |
|
51 | + 'options' => array( |
|
52 | + 'tipLocation' => 'top', |
|
53 | + 'tipAdjustmentX' => 0, |
|
54 | + 'tipAdjustmentY' => -35, |
|
55 | + ), |
|
56 | + ), |
|
57 | + 50 => array( |
|
58 | + 'id' => 'QSG_order', |
|
59 | + 'content' => $this->_qsg_order_stop(), |
|
60 | + 'options' => array( |
|
61 | + 'tipLocation' => 'top', |
|
62 | + 'tipAdjustmentX' => -20, |
|
63 | + 'tipAdjustmentY' => -35, |
|
64 | + ), |
|
65 | + ), |
|
66 | + 60 => array( |
|
67 | + 'id' => 'QSG_show_group_name', |
|
68 | + 'content' => $this->_qsg_show_group_name_stop(), |
|
69 | + 'options' => array( |
|
70 | + 'tipLocation' => 'top', |
|
71 | + 'tipAdjustmentX' => 0, |
|
72 | + 'tipAdjustmentY' => -35, |
|
73 | + ), |
|
74 | + ), |
|
75 | + 70 => array( |
|
76 | + 'id' => 'QSG_show_group_desc', |
|
77 | + 'content' => $this->_qsg_show_group_desc_stop(), |
|
78 | + 'options' => array( |
|
79 | + 'tipLocation' => 'top', |
|
80 | + 'tipAdjustmentX' => 0, |
|
81 | + 'tipAdjustmentY' => -35, |
|
82 | + ), |
|
83 | + ), |
|
84 | + ); |
|
85 | + } |
|
86 | 86 | |
87 | 87 | |
88 | - protected function _start() |
|
89 | - { |
|
90 | - $content = '<h3>' . esc_html__('Add Question Group', 'event_espresso') . '</h3>'; |
|
91 | - $content .= '<p>' |
|
92 | - . esc_html__( |
|
93 | - 'This tour of the Add Question Group page will go over different areas of the screen to help you understand what they are used for.', |
|
94 | - 'event_espresso' |
|
95 | - ) . '</p>'; |
|
88 | + protected function _start() |
|
89 | + { |
|
90 | + $content = '<h3>' . esc_html__('Add Question Group', 'event_espresso') . '</h3>'; |
|
91 | + $content .= '<p>' |
|
92 | + . esc_html__( |
|
93 | + 'This tour of the Add Question Group page will go over different areas of the screen to help you understand what they are used for.', |
|
94 | + 'event_espresso' |
|
95 | + ) . '</p>'; |
|
96 | 96 | |
97 | - return $content; |
|
98 | - } |
|
97 | + return $content; |
|
98 | + } |
|
99 | 99 | |
100 | - protected function _qsg_name_stop() |
|
101 | - { |
|
102 | - return '<p>' . esc_html__('The name of the question group.', 'event_espresso') . '</p>'; |
|
103 | - } |
|
100 | + protected function _qsg_name_stop() |
|
101 | + { |
|
102 | + return '<p>' . esc_html__('The name of the question group.', 'event_espresso') . '</p>'; |
|
103 | + } |
|
104 | 104 | |
105 | - protected function _qsg_identifier_stop() |
|
106 | - { |
|
107 | - return '<p>' . esc_html__('A unique name for your question group.', 'event_espresso') . '</p>'; |
|
108 | - } |
|
105 | + protected function _qsg_identifier_stop() |
|
106 | + { |
|
107 | + return '<p>' . esc_html__('A unique name for your question group.', 'event_espresso') . '</p>'; |
|
108 | + } |
|
109 | 109 | |
110 | - protected function _qsg_desc_stop() |
|
111 | - { |
|
112 | - return '<p>' . esc_html__('A description of the question group.', 'event_espresso') . '</p>'; |
|
113 | - } |
|
110 | + protected function _qsg_desc_stop() |
|
111 | + { |
|
112 | + return '<p>' . esc_html__('A description of the question group.', 'event_espresso') . '</p>'; |
|
113 | + } |
|
114 | 114 | |
115 | - protected function _qsg_order_stop() |
|
116 | - { |
|
117 | - return '<p>' . esc_html__('Set the order that you want your question group to appear in.', 'event_espresso') . '</p>'; |
|
118 | - } |
|
115 | + protected function _qsg_order_stop() |
|
116 | + { |
|
117 | + return '<p>' . esc_html__('Set the order that you want your question group to appear in.', 'event_espresso') . '</p>'; |
|
118 | + } |
|
119 | 119 | |
120 | - protected function _qsg_show_group_name_stop() |
|
121 | - { |
|
122 | - return '<p>' |
|
123 | - . esc_html__( |
|
124 | - 'Specify whether the group name should be shown on the registration page.', |
|
125 | - 'event_espresso' |
|
126 | - ) . '</p>'; |
|
127 | - } |
|
120 | + protected function _qsg_show_group_name_stop() |
|
121 | + { |
|
122 | + return '<p>' |
|
123 | + . esc_html__( |
|
124 | + 'Specify whether the group name should be shown on the registration page.', |
|
125 | + 'event_espresso' |
|
126 | + ) . '</p>'; |
|
127 | + } |
|
128 | 128 | |
129 | - protected function _qsg_show_group_desc_stop() |
|
130 | - { |
|
131 | - return '<p>' |
|
132 | - . esc_html__( |
|
133 | - 'Specify whether the group description should be shown on the registration page.', |
|
134 | - 'event_espresso' |
|
135 | - ) . '</p>'; |
|
136 | - } |
|
129 | + protected function _qsg_show_group_desc_stop() |
|
130 | + { |
|
131 | + return '<p>' |
|
132 | + . esc_html__( |
|
133 | + 'Specify whether the group description should be shown on the registration page.', |
|
134 | + 'event_espresso' |
|
135 | + ) . '</p>'; |
|
136 | + } |
|
137 | 137 | } |
@@ -87,34 +87,34 @@ discard block |
||
87 | 87 | |
88 | 88 | protected function _start() |
89 | 89 | { |
90 | - $content = '<h3>' . esc_html__('Add Question Group', 'event_espresso') . '</h3>'; |
|
90 | + $content = '<h3>'.esc_html__('Add Question Group', 'event_espresso').'</h3>'; |
|
91 | 91 | $content .= '<p>' |
92 | 92 | . esc_html__( |
93 | 93 | 'This tour of the Add Question Group page will go over different areas of the screen to help you understand what they are used for.', |
94 | 94 | 'event_espresso' |
95 | - ) . '</p>'; |
|
95 | + ).'</p>'; |
|
96 | 96 | |
97 | 97 | return $content; |
98 | 98 | } |
99 | 99 | |
100 | 100 | protected function _qsg_name_stop() |
101 | 101 | { |
102 | - return '<p>' . esc_html__('The name of the question group.', 'event_espresso') . '</p>'; |
|
102 | + return '<p>'.esc_html__('The name of the question group.', 'event_espresso').'</p>'; |
|
103 | 103 | } |
104 | 104 | |
105 | 105 | protected function _qsg_identifier_stop() |
106 | 106 | { |
107 | - return '<p>' . esc_html__('A unique name for your question group.', 'event_espresso') . '</p>'; |
|
107 | + return '<p>'.esc_html__('A unique name for your question group.', 'event_espresso').'</p>'; |
|
108 | 108 | } |
109 | 109 | |
110 | 110 | protected function _qsg_desc_stop() |
111 | 111 | { |
112 | - return '<p>' . esc_html__('A description of the question group.', 'event_espresso') . '</p>'; |
|
112 | + return '<p>'.esc_html__('A description of the question group.', 'event_espresso').'</p>'; |
|
113 | 113 | } |
114 | 114 | |
115 | 115 | protected function _qsg_order_stop() |
116 | 116 | { |
117 | - return '<p>' . esc_html__('Set the order that you want your question group to appear in.', 'event_espresso') . '</p>'; |
|
117 | + return '<p>'.esc_html__('Set the order that you want your question group to appear in.', 'event_espresso').'</p>'; |
|
118 | 118 | } |
119 | 119 | |
120 | 120 | protected function _qsg_show_group_name_stop() |
@@ -123,7 +123,7 @@ discard block |
||
123 | 123 | . esc_html__( |
124 | 124 | 'Specify whether the group name should be shown on the registration page.', |
125 | 125 | 'event_espresso' |
126 | - ) . '</p>'; |
|
126 | + ).'</p>'; |
|
127 | 127 | } |
128 | 128 | |
129 | 129 | protected function _qsg_show_group_desc_stop() |
@@ -132,6 +132,6 @@ discard block |
||
132 | 132 | . esc_html__( |
133 | 133 | 'Specify whether the group description should be shown on the registration page.', |
134 | 134 | 'event_espresso' |
135 | - ) . '</p>'; |
|
135 | + ).'</p>'; |
|
136 | 136 | } |
137 | 137 | } |
@@ -15,131 +15,131 @@ |
||
15 | 15 | class Registration_Form_Add_Question_Help_Tour extends EE_Help_Tour |
16 | 16 | { |
17 | 17 | |
18 | - protected function _set_tour_properties() |
|
19 | - { |
|
20 | - $this->_label = esc_html__('Add New Question Tour', 'event_espresso'); |
|
21 | - $this->_slug = $this->_is_caf ? 'add-question-caf-joyride' : 'add-question-joyride'; |
|
22 | - } |
|
18 | + protected function _set_tour_properties() |
|
19 | + { |
|
20 | + $this->_label = esc_html__('Add New Question Tour', 'event_espresso'); |
|
21 | + $this->_slug = $this->_is_caf ? 'add-question-caf-joyride' : 'add-question-joyride'; |
|
22 | + } |
|
23 | 23 | |
24 | - protected function _set_tour_stops() |
|
25 | - { |
|
26 | - $this->_stops = array( |
|
27 | - 10 => array( |
|
28 | - 'content' => $this->_start(), |
|
29 | - ), |
|
30 | - 20 => array( |
|
31 | - 'id' => 'QST_display_text', |
|
32 | - 'content' => $this->_qst_display_text_stop(), |
|
33 | - 'options' => array( |
|
34 | - 'tipLocation' => 'top', |
|
35 | - 'tipAdjustmentX' => 0, |
|
36 | - 'tipAdjustmentY' => -35, |
|
37 | - ), |
|
38 | - ), |
|
39 | - 30 => array( |
|
40 | - 'id' => 'QST_admin_label', |
|
41 | - 'content' => $this->_qst_admin_label_stop(), |
|
42 | - 'options' => array( |
|
43 | - 'tipLocation' => 'top', |
|
44 | - 'tipAdjustmentX' => 0, |
|
45 | - 'tipAdjustmentY' => -35, |
|
46 | - ), |
|
47 | - ), |
|
48 | - 50 => array( |
|
49 | - 'id' => 'QST_admin_only', |
|
50 | - 'content' => $this->_qst_admin_only_stop(), |
|
51 | - 'options' => array( |
|
52 | - 'tipLocation' => 'top', |
|
53 | - 'tipAdjustmentX' => -20, |
|
54 | - 'tipAdjustmentY' => -35, |
|
55 | - ), |
|
56 | - ), |
|
57 | - 60 => array( |
|
58 | - 'id' => 'QST_type', |
|
59 | - 'content' => $this->_qst_type_stop(), |
|
60 | - 'options' => array( |
|
61 | - 'tipLocation' => 'top', |
|
62 | - 'tipAdjustmentX' => 0, |
|
63 | - 'tipAdjustmentY' => -35, |
|
64 | - ), |
|
65 | - ), |
|
66 | - 70 => array( |
|
67 | - 'id' => 'QST_required', |
|
68 | - 'content' => $this->_qst_required_stop(), |
|
69 | - 'options' => array( |
|
70 | - 'tipLocation' => 'top', |
|
71 | - 'tipAdjustmentX' => 0, |
|
72 | - 'tipAdjustmentY' => -35, |
|
73 | - ), |
|
74 | - ), |
|
75 | - 80 => array( |
|
76 | - 'id' => 'QST_required_text', |
|
77 | - 'content' => $this->_qst_required_text_stop(), |
|
78 | - 'options' => array( |
|
79 | - 'tipLocation' => 'top', |
|
80 | - 'tipAdjustmentX' => 0, |
|
81 | - 'tipAdjustmentY' => -35, |
|
82 | - ), |
|
83 | - ), |
|
84 | - ); |
|
85 | - } |
|
24 | + protected function _set_tour_stops() |
|
25 | + { |
|
26 | + $this->_stops = array( |
|
27 | + 10 => array( |
|
28 | + 'content' => $this->_start(), |
|
29 | + ), |
|
30 | + 20 => array( |
|
31 | + 'id' => 'QST_display_text', |
|
32 | + 'content' => $this->_qst_display_text_stop(), |
|
33 | + 'options' => array( |
|
34 | + 'tipLocation' => 'top', |
|
35 | + 'tipAdjustmentX' => 0, |
|
36 | + 'tipAdjustmentY' => -35, |
|
37 | + ), |
|
38 | + ), |
|
39 | + 30 => array( |
|
40 | + 'id' => 'QST_admin_label', |
|
41 | + 'content' => $this->_qst_admin_label_stop(), |
|
42 | + 'options' => array( |
|
43 | + 'tipLocation' => 'top', |
|
44 | + 'tipAdjustmentX' => 0, |
|
45 | + 'tipAdjustmentY' => -35, |
|
46 | + ), |
|
47 | + ), |
|
48 | + 50 => array( |
|
49 | + 'id' => 'QST_admin_only', |
|
50 | + 'content' => $this->_qst_admin_only_stop(), |
|
51 | + 'options' => array( |
|
52 | + 'tipLocation' => 'top', |
|
53 | + 'tipAdjustmentX' => -20, |
|
54 | + 'tipAdjustmentY' => -35, |
|
55 | + ), |
|
56 | + ), |
|
57 | + 60 => array( |
|
58 | + 'id' => 'QST_type', |
|
59 | + 'content' => $this->_qst_type_stop(), |
|
60 | + 'options' => array( |
|
61 | + 'tipLocation' => 'top', |
|
62 | + 'tipAdjustmentX' => 0, |
|
63 | + 'tipAdjustmentY' => -35, |
|
64 | + ), |
|
65 | + ), |
|
66 | + 70 => array( |
|
67 | + 'id' => 'QST_required', |
|
68 | + 'content' => $this->_qst_required_stop(), |
|
69 | + 'options' => array( |
|
70 | + 'tipLocation' => 'top', |
|
71 | + 'tipAdjustmentX' => 0, |
|
72 | + 'tipAdjustmentY' => -35, |
|
73 | + ), |
|
74 | + ), |
|
75 | + 80 => array( |
|
76 | + 'id' => 'QST_required_text', |
|
77 | + 'content' => $this->_qst_required_text_stop(), |
|
78 | + 'options' => array( |
|
79 | + 'tipLocation' => 'top', |
|
80 | + 'tipAdjustmentX' => 0, |
|
81 | + 'tipAdjustmentY' => -35, |
|
82 | + ), |
|
83 | + ), |
|
84 | + ); |
|
85 | + } |
|
86 | 86 | |
87 | 87 | |
88 | - protected function _start() |
|
89 | - { |
|
90 | - $content = '<h3>' . esc_html__('Add New Question', 'event_espresso') . '</h3>'; |
|
91 | - $content .= '<p>' |
|
92 | - . esc_html__( |
|
93 | - 'This tour of the Add New Question page will go over different areas of the screen to help you understand what they are used for.', |
|
94 | - 'event_espresso' |
|
95 | - ) . '</p>'; |
|
88 | + protected function _start() |
|
89 | + { |
|
90 | + $content = '<h3>' . esc_html__('Add New Question', 'event_espresso') . '</h3>'; |
|
91 | + $content .= '<p>' |
|
92 | + . esc_html__( |
|
93 | + 'This tour of the Add New Question page will go over different areas of the screen to help you understand what they are used for.', |
|
94 | + 'event_espresso' |
|
95 | + ) . '</p>'; |
|
96 | 96 | |
97 | - return $content; |
|
98 | - } |
|
97 | + return $content; |
|
98 | + } |
|
99 | 99 | |
100 | - protected function _qst_display_text_stop() |
|
101 | - { |
|
102 | - return '<p>' |
|
103 | - . esc_html__( |
|
104 | - 'This is the question that is displayed to registrants who are signing up for events.', |
|
105 | - 'event_espresso' |
|
106 | - ) . '</p>'; |
|
107 | - } |
|
100 | + protected function _qst_display_text_stop() |
|
101 | + { |
|
102 | + return '<p>' |
|
103 | + . esc_html__( |
|
104 | + 'This is the question that is displayed to registrants who are signing up for events.', |
|
105 | + 'event_espresso' |
|
106 | + ) . '</p>'; |
|
107 | + } |
|
108 | 108 | |
109 | - protected function _qst_admin_label_stop() |
|
110 | - { |
|
111 | - return '<p>' |
|
112 | - . esc_html__( |
|
113 | - 'Helps you understand the difference between questions that may appear similar but are actually different.', |
|
114 | - 'event_espresso' |
|
115 | - ) . '</p>'; |
|
116 | - } |
|
109 | + protected function _qst_admin_label_stop() |
|
110 | + { |
|
111 | + return '<p>' |
|
112 | + . esc_html__( |
|
113 | + 'Helps you understand the difference between questions that may appear similar but are actually different.', |
|
114 | + 'event_espresso' |
|
115 | + ) . '</p>'; |
|
116 | + } |
|
117 | 117 | |
118 | - protected function _qst_admin_only_stop() |
|
119 | - { |
|
120 | - return '<p>' . esc_html__('Specify whether this question should be shown only to admins.', 'event_espresso') . '</p>'; |
|
121 | - } |
|
118 | + protected function _qst_admin_only_stop() |
|
119 | + { |
|
120 | + return '<p>' . esc_html__('Specify whether this question should be shown only to admins.', 'event_espresso') . '</p>'; |
|
121 | + } |
|
122 | 122 | |
123 | - protected function _qst_type_stop() |
|
124 | - { |
|
125 | - return '<p>' |
|
126 | - . esc_html__( |
|
127 | - 'Select the type of question. Available options are Text, Textarea, Single, Multiple, Dropdown, and Date.', |
|
128 | - 'event_espresso' |
|
129 | - ) . '</p>'; |
|
130 | - } |
|
123 | + protected function _qst_type_stop() |
|
124 | + { |
|
125 | + return '<p>' |
|
126 | + . esc_html__( |
|
127 | + 'Select the type of question. Available options are Text, Textarea, Single, Multiple, Dropdown, and Date.', |
|
128 | + 'event_espresso' |
|
129 | + ) . '</p>'; |
|
130 | + } |
|
131 | 131 | |
132 | - protected function _qst_required_stop() |
|
133 | - { |
|
134 | - return '<p>' . esc_html__('Specify whether this question should be required.', 'event_espresso') . '</p>'; |
|
135 | - } |
|
132 | + protected function _qst_required_stop() |
|
133 | + { |
|
134 | + return '<p>' . esc_html__('Specify whether this question should be required.', 'event_espresso') . '</p>'; |
|
135 | + } |
|
136 | 136 | |
137 | - protected function _qst_required_text_stop() |
|
138 | - { |
|
139 | - return '<p>' |
|
140 | - . esc_html__( |
|
141 | - 'Text to display when registrant does not answer question but is required to.', |
|
142 | - 'event_espresso' |
|
143 | - ) . '</p>'; |
|
144 | - } |
|
137 | + protected function _qst_required_text_stop() |
|
138 | + { |
|
139 | + return '<p>' |
|
140 | + . esc_html__( |
|
141 | + 'Text to display when registrant does not answer question but is required to.', |
|
142 | + 'event_espresso' |
|
143 | + ) . '</p>'; |
|
144 | + } |
|
145 | 145 | } |
@@ -87,12 +87,12 @@ discard block |
||
87 | 87 | |
88 | 88 | protected function _start() |
89 | 89 | { |
90 | - $content = '<h3>' . esc_html__('Add New Question', 'event_espresso') . '</h3>'; |
|
90 | + $content = '<h3>'.esc_html__('Add New Question', 'event_espresso').'</h3>'; |
|
91 | 91 | $content .= '<p>' |
92 | 92 | . esc_html__( |
93 | 93 | 'This tour of the Add New Question page will go over different areas of the screen to help you understand what they are used for.', |
94 | 94 | 'event_espresso' |
95 | - ) . '</p>'; |
|
95 | + ).'</p>'; |
|
96 | 96 | |
97 | 97 | return $content; |
98 | 98 | } |
@@ -103,7 +103,7 @@ discard block |
||
103 | 103 | . esc_html__( |
104 | 104 | 'This is the question that is displayed to registrants who are signing up for events.', |
105 | 105 | 'event_espresso' |
106 | - ) . '</p>'; |
|
106 | + ).'</p>'; |
|
107 | 107 | } |
108 | 108 | |
109 | 109 | protected function _qst_admin_label_stop() |
@@ -112,12 +112,12 @@ discard block |
||
112 | 112 | . esc_html__( |
113 | 113 | 'Helps you understand the difference between questions that may appear similar but are actually different.', |
114 | 114 | 'event_espresso' |
115 | - ) . '</p>'; |
|
115 | + ).'</p>'; |
|
116 | 116 | } |
117 | 117 | |
118 | 118 | protected function _qst_admin_only_stop() |
119 | 119 | { |
120 | - return '<p>' . esc_html__('Specify whether this question should be shown only to admins.', 'event_espresso') . '</p>'; |
|
120 | + return '<p>'.esc_html__('Specify whether this question should be shown only to admins.', 'event_espresso').'</p>'; |
|
121 | 121 | } |
122 | 122 | |
123 | 123 | protected function _qst_type_stop() |
@@ -126,12 +126,12 @@ discard block |
||
126 | 126 | . esc_html__( |
127 | 127 | 'Select the type of question. Available options are Text, Textarea, Single, Multiple, Dropdown, and Date.', |
128 | 128 | 'event_espresso' |
129 | - ) . '</p>'; |
|
129 | + ).'</p>'; |
|
130 | 130 | } |
131 | 131 | |
132 | 132 | protected function _qst_required_stop() |
133 | 133 | { |
134 | - return '<p>' . esc_html__('Specify whether this question should be required.', 'event_espresso') . '</p>'; |
|
134 | + return '<p>'.esc_html__('Specify whether this question should be required.', 'event_espresso').'</p>'; |
|
135 | 135 | } |
136 | 136 | |
137 | 137 | protected function _qst_required_text_stop() |
@@ -140,6 +140,6 @@ discard block |
||
140 | 140 | . esc_html__( |
141 | 141 | 'Text to display when registrant does not answer question but is required to.', |
142 | 142 | 'event_espresso' |
143 | - ) . '</p>'; |
|
143 | + ).'</p>'; |
|
144 | 144 | } |
145 | 145 | } |
@@ -15,115 +15,115 @@ |
||
15 | 15 | class Registration_Form_Settings_Help_Tour extends EE_Help_Tour |
16 | 16 | { |
17 | 17 | |
18 | - protected function _set_tour_properties() |
|
19 | - { |
|
20 | - $this->_label = esc_html__('Registration Form Settings Tour', 'event_espresso'); |
|
21 | - $this->_slug = $this->_is_caf ? 'reg-form-settings-caf-joyride' : 'reg-form-settings-joyride'; |
|
22 | - } |
|
18 | + protected function _set_tour_properties() |
|
19 | + { |
|
20 | + $this->_label = esc_html__('Registration Form Settings Tour', 'event_espresso'); |
|
21 | + $this->_slug = $this->_is_caf ? 'reg-form-settings-caf-joyride' : 'reg-form-settings-joyride'; |
|
22 | + } |
|
23 | 23 | |
24 | - protected function _set_tour_stops() |
|
25 | - { |
|
26 | - $this->_stops = array( |
|
27 | - 10 => array( |
|
28 | - 'content' => $this->_start(), |
|
29 | - ), |
|
30 | - 20 => array( |
|
31 | - 'id' => 'use_captcha', |
|
32 | - 'content' => $this->_use_recaptcha_stop(), |
|
33 | - 'options' => array( |
|
34 | - 'tipLocation' => 'top', |
|
35 | - 'tipAdjustmentX' => 0, |
|
36 | - 'tipAdjustmentY' => -35, |
|
37 | - ), |
|
38 | - ), |
|
39 | - 30 => array( |
|
40 | - /*'id' => 'recaptchapublickey',*/ |
|
41 | - 'content' => $this->_recaptcha_public_key_stop(), |
|
42 | - /*'options' => array( |
|
24 | + protected function _set_tour_stops() |
|
25 | + { |
|
26 | + $this->_stops = array( |
|
27 | + 10 => array( |
|
28 | + 'content' => $this->_start(), |
|
29 | + ), |
|
30 | + 20 => array( |
|
31 | + 'id' => 'use_captcha', |
|
32 | + 'content' => $this->_use_recaptcha_stop(), |
|
33 | + 'options' => array( |
|
34 | + 'tipLocation' => 'top', |
|
35 | + 'tipAdjustmentX' => 0, |
|
36 | + 'tipAdjustmentY' => -35, |
|
37 | + ), |
|
38 | + ), |
|
39 | + 30 => array( |
|
40 | + /*'id' => 'recaptchapublickey',*/ |
|
41 | + 'content' => $this->_recaptcha_public_key_stop(), |
|
42 | + /*'options' => array( |
|
43 | 43 | 'tipLocation' => 'top', |
44 | 44 | 'tipAdjustmentX' => 0, |
45 | 45 | 'tipAdjustmentY' => -35 |
46 | 46 | )*/ |
47 | - ), |
|
48 | - 40 => array( |
|
49 | - /*'id' => 'recaptchaprivatekey',*/ |
|
50 | - 'content' => $this->_recaptcha_private_key_stop(), |
|
51 | - /*'options' => array( |
|
47 | + ), |
|
48 | + 40 => array( |
|
49 | + /*'id' => 'recaptchaprivatekey',*/ |
|
50 | + 'content' => $this->_recaptcha_private_key_stop(), |
|
51 | + /*'options' => array( |
|
52 | 52 | 'tipLocation' => 'top', |
53 | 53 | 'tipAdjustmentX' => 0, |
54 | 54 | 'tipAdjustmentY' => -35 |
55 | 55 | )*/ |
56 | - ), |
|
57 | - 50 => array( |
|
58 | - 'id' => 'recaptcha_theme', |
|
59 | - 'content' => $this->_recaptcha_theme_stop(), |
|
60 | - 'options' => array( |
|
61 | - 'tipLocation' => 'top', |
|
62 | - 'tipAdjustmentX' => -20, |
|
63 | - 'tipAdjustmentY' => -35, |
|
64 | - ), |
|
65 | - ), |
|
66 | - 60 => array( |
|
67 | - 'id' => 'recaptcha_language', |
|
68 | - 'content' => $this->_recaptcha_language_stop(), |
|
69 | - 'options' => array( |
|
70 | - 'tipLocation' => 'top', |
|
71 | - 'tipAdjustmentX' => 0, |
|
72 | - 'tipAdjustmentY' => -35, |
|
73 | - ), |
|
74 | - ), |
|
75 | - 70 => array( |
|
76 | - 'id' => 'recaptcha_language', |
|
77 | - 'content' => $this->_recaptcha_width_stop(), |
|
78 | - 'options' => array( |
|
79 | - 'tipLocation' => 'top', |
|
80 | - 'tipAdjustmentX' => 0, |
|
81 | - 'tipAdjustmentY' => 25, |
|
82 | - ), |
|
83 | - ), |
|
84 | - ); |
|
85 | - } |
|
56 | + ), |
|
57 | + 50 => array( |
|
58 | + 'id' => 'recaptcha_theme', |
|
59 | + 'content' => $this->_recaptcha_theme_stop(), |
|
60 | + 'options' => array( |
|
61 | + 'tipLocation' => 'top', |
|
62 | + 'tipAdjustmentX' => -20, |
|
63 | + 'tipAdjustmentY' => -35, |
|
64 | + ), |
|
65 | + ), |
|
66 | + 60 => array( |
|
67 | + 'id' => 'recaptcha_language', |
|
68 | + 'content' => $this->_recaptcha_language_stop(), |
|
69 | + 'options' => array( |
|
70 | + 'tipLocation' => 'top', |
|
71 | + 'tipAdjustmentX' => 0, |
|
72 | + 'tipAdjustmentY' => -35, |
|
73 | + ), |
|
74 | + ), |
|
75 | + 70 => array( |
|
76 | + 'id' => 'recaptcha_language', |
|
77 | + 'content' => $this->_recaptcha_width_stop(), |
|
78 | + 'options' => array( |
|
79 | + 'tipLocation' => 'top', |
|
80 | + 'tipAdjustmentX' => 0, |
|
81 | + 'tipAdjustmentY' => 25, |
|
82 | + ), |
|
83 | + ), |
|
84 | + ); |
|
85 | + } |
|
86 | 86 | |
87 | 87 | |
88 | - protected function _start() |
|
89 | - { |
|
90 | - $content = '<h3>' . esc_html__('Registration Form Settings', 'event_espresso') . '</h3>'; |
|
91 | - $content .= '<p>' |
|
92 | - . esc_html__( |
|
93 | - 'This tour of the Registration Form Settings page will go over different areas of the screen to help you understand what they are used for.', |
|
94 | - 'event_espresso' |
|
95 | - ) . '</p>'; |
|
88 | + protected function _start() |
|
89 | + { |
|
90 | + $content = '<h3>' . esc_html__('Registration Form Settings', 'event_espresso') . '</h3>'; |
|
91 | + $content .= '<p>' |
|
92 | + . esc_html__( |
|
93 | + 'This tour of the Registration Form Settings page will go over different areas of the screen to help you understand what they are used for.', |
|
94 | + 'event_espresso' |
|
95 | + ) . '</p>'; |
|
96 | 96 | |
97 | - return $content; |
|
98 | - } |
|
97 | + return $content; |
|
98 | + } |
|
99 | 99 | |
100 | - protected function _use_recaptcha_stop() |
|
101 | - { |
|
102 | - return '<p>' . esc_html__('Specify whether reCAPTCHA should be enabled.', 'event_espresso') . '</p>'; |
|
103 | - } |
|
100 | + protected function _use_recaptcha_stop() |
|
101 | + { |
|
102 | + return '<p>' . esc_html__('Specify whether reCAPTCHA should be enabled.', 'event_espresso') . '</p>'; |
|
103 | + } |
|
104 | 104 | |
105 | - protected function _recaptcha_public_key_stop() |
|
106 | - { |
|
107 | - return '<p>' . esc_html__('Enter your public key for reCAPTCHA.', 'event_espresso') . '</p>'; |
|
108 | - } |
|
105 | + protected function _recaptcha_public_key_stop() |
|
106 | + { |
|
107 | + return '<p>' . esc_html__('Enter your public key for reCAPTCHA.', 'event_espresso') . '</p>'; |
|
108 | + } |
|
109 | 109 | |
110 | - protected function _recaptcha_private_key_stop() |
|
111 | - { |
|
112 | - return '<p>' . esc_html__('Enter your private key for reCAPTCHA.', 'event_espresso') . '</p>'; |
|
113 | - } |
|
110 | + protected function _recaptcha_private_key_stop() |
|
111 | + { |
|
112 | + return '<p>' . esc_html__('Enter your private key for reCAPTCHA.', 'event_espresso') . '</p>'; |
|
113 | + } |
|
114 | 114 | |
115 | - protected function _recaptcha_theme_stop() |
|
116 | - { |
|
117 | - return '<p>' . esc_html__('Select a theme (style) for your reCAPTCHA.', 'event_espresso') . '</p>'; |
|
118 | - } |
|
115 | + protected function _recaptcha_theme_stop() |
|
116 | + { |
|
117 | + return '<p>' . esc_html__('Select a theme (style) for your reCAPTCHA.', 'event_espresso') . '</p>'; |
|
118 | + } |
|
119 | 119 | |
120 | - protected function _recaptcha_language_stop() |
|
121 | - { |
|
122 | - return '<p>' . esc_html__('Specify the language that should be used for reCAPTCHA.', 'event_espresso') . '</p>'; |
|
123 | - } |
|
120 | + protected function _recaptcha_language_stop() |
|
121 | + { |
|
122 | + return '<p>' . esc_html__('Specify the language that should be used for reCAPTCHA.', 'event_espresso') . '</p>'; |
|
123 | + } |
|
124 | 124 | |
125 | - protected function _recaptcha_width_stop() |
|
126 | - { |
|
127 | - return '<p>' . esc_html__('Specify how wide (in pixels) the reCAPTCHA form should be.', 'event_espresso') . '</p>'; |
|
128 | - } |
|
125 | + protected function _recaptcha_width_stop() |
|
126 | + { |
|
127 | + return '<p>' . esc_html__('Specify how wide (in pixels) the reCAPTCHA form should be.', 'event_espresso') . '</p>'; |
|
128 | + } |
|
129 | 129 | } |
@@ -87,43 +87,43 @@ |
||
87 | 87 | |
88 | 88 | protected function _start() |
89 | 89 | { |
90 | - $content = '<h3>' . esc_html__('Registration Form Settings', 'event_espresso') . '</h3>'; |
|
90 | + $content = '<h3>'.esc_html__('Registration Form Settings', 'event_espresso').'</h3>'; |
|
91 | 91 | $content .= '<p>' |
92 | 92 | . esc_html__( |
93 | 93 | 'This tour of the Registration Form Settings page will go over different areas of the screen to help you understand what they are used for.', |
94 | 94 | 'event_espresso' |
95 | - ) . '</p>'; |
|
95 | + ).'</p>'; |
|
96 | 96 | |
97 | 97 | return $content; |
98 | 98 | } |
99 | 99 | |
100 | 100 | protected function _use_recaptcha_stop() |
101 | 101 | { |
102 | - return '<p>' . esc_html__('Specify whether reCAPTCHA should be enabled.', 'event_espresso') . '</p>'; |
|
102 | + return '<p>'.esc_html__('Specify whether reCAPTCHA should be enabled.', 'event_espresso').'</p>'; |
|
103 | 103 | } |
104 | 104 | |
105 | 105 | protected function _recaptcha_public_key_stop() |
106 | 106 | { |
107 | - return '<p>' . esc_html__('Enter your public key for reCAPTCHA.', 'event_espresso') . '</p>'; |
|
107 | + return '<p>'.esc_html__('Enter your public key for reCAPTCHA.', 'event_espresso').'</p>'; |
|
108 | 108 | } |
109 | 109 | |
110 | 110 | protected function _recaptcha_private_key_stop() |
111 | 111 | { |
112 | - return '<p>' . esc_html__('Enter your private key for reCAPTCHA.', 'event_espresso') . '</p>'; |
|
112 | + return '<p>'.esc_html__('Enter your private key for reCAPTCHA.', 'event_espresso').'</p>'; |
|
113 | 113 | } |
114 | 114 | |
115 | 115 | protected function _recaptcha_theme_stop() |
116 | 116 | { |
117 | - return '<p>' . esc_html__('Select a theme (style) for your reCAPTCHA.', 'event_espresso') . '</p>'; |
|
117 | + return '<p>'.esc_html__('Select a theme (style) for your reCAPTCHA.', 'event_espresso').'</p>'; |
|
118 | 118 | } |
119 | 119 | |
120 | 120 | protected function _recaptcha_language_stop() |
121 | 121 | { |
122 | - return '<p>' . esc_html__('Specify the language that should be used for reCAPTCHA.', 'event_espresso') . '</p>'; |
|
122 | + return '<p>'.esc_html__('Specify the language that should be used for reCAPTCHA.', 'event_espresso').'</p>'; |
|
123 | 123 | } |
124 | 124 | |
125 | 125 | protected function _recaptcha_width_stop() |
126 | 126 | { |
127 | - return '<p>' . esc_html__('Specify how wide (in pixels) the reCAPTCHA form should be.', 'event_espresso') . '</p>'; |
|
127 | + return '<p>'.esc_html__('Specify how wide (in pixels) the reCAPTCHA form should be.', 'event_espresso').'</p>'; |
|
128 | 128 | } |
129 | 129 | } |
@@ -15,123 +15,123 @@ |
||
15 | 15 | class Registration_Form_Edit_Question_Group_Help_Tour extends EE_Help_Tour |
16 | 16 | { |
17 | 17 | |
18 | - protected function _set_tour_properties() |
|
19 | - { |
|
20 | - $this->_label = esc_html__('Edit Question Group Tour', 'event_espresso'); |
|
21 | - $this->_slug = $this->_is_caf ? 'edit-question-caf-joyride' : 'edit-question-joyride'; |
|
22 | - } |
|
18 | + protected function _set_tour_properties() |
|
19 | + { |
|
20 | + $this->_label = esc_html__('Edit Question Group Tour', 'event_espresso'); |
|
21 | + $this->_slug = $this->_is_caf ? 'edit-question-caf-joyride' : 'edit-question-joyride'; |
|
22 | + } |
|
23 | 23 | |
24 | - protected function _set_tour_stops() |
|
25 | - { |
|
26 | - $this->_stops = array( |
|
27 | - 10 => array( |
|
28 | - 'content' => $this->_start(), |
|
29 | - ), |
|
30 | - 20 => array( |
|
31 | - 'id' => 'QSG_name', |
|
32 | - 'content' => $this->_qsg_name_stop(), |
|
33 | - 'options' => array( |
|
34 | - 'tipLocation' => 'top', |
|
35 | - 'tipAdjustmentX' => 0, |
|
36 | - 'tipAdjustmentY' => -35, |
|
37 | - ), |
|
38 | - ), |
|
39 | - 30 => array( |
|
40 | - 'id' => 'QSG_identifier', |
|
41 | - 'content' => $this->_qsg_identifier_stop(), |
|
42 | - 'options' => array( |
|
43 | - 'tipLocation' => 'top', |
|
44 | - 'tipAdjustmentX' => 0, |
|
45 | - 'tipAdjustmentY' => -35, |
|
46 | - ), |
|
47 | - ), |
|
48 | - 40 => array( |
|
49 | - 'id' => 'QSG_desc', |
|
50 | - 'content' => $this->_qsg_desc_stop(), |
|
51 | - 'options' => array( |
|
52 | - 'tipLocation' => 'top', |
|
53 | - 'tipAdjustmentX' => 0, |
|
54 | - 'tipAdjustmentY' => -35, |
|
55 | - ), |
|
56 | - ), |
|
57 | - 50 => array( |
|
58 | - 'id' => 'QSG_order', |
|
59 | - 'content' => $this->_qsg_order_stop(), |
|
60 | - 'options' => array( |
|
61 | - 'tipLocation' => 'top', |
|
62 | - 'tipAdjustmentX' => -20, |
|
63 | - 'tipAdjustmentY' => -35, |
|
64 | - ), |
|
65 | - ), |
|
66 | - 60 => array( |
|
67 | - 'id' => 'QSG_show_group_name', |
|
68 | - 'content' => $this->_qsg_show_group_name_stop(), |
|
69 | - 'options' => array( |
|
70 | - 'tipLocation' => 'top', |
|
71 | - 'tipAdjustmentX' => 0, |
|
72 | - 'tipAdjustmentY' => -35, |
|
73 | - ), |
|
74 | - ), |
|
75 | - 70 => array( |
|
76 | - 'id' => 'QSG_show_group_desc', |
|
77 | - 'content' => $this->_qsg_show_group_desc_stop(), |
|
78 | - 'options' => array( |
|
79 | - 'tipLocation' => 'top', |
|
80 | - 'tipAdjustmentX' => 0, |
|
81 | - 'tipAdjustmentY' => -35, |
|
82 | - ), |
|
83 | - ), |
|
84 | - ); |
|
85 | - } |
|
24 | + protected function _set_tour_stops() |
|
25 | + { |
|
26 | + $this->_stops = array( |
|
27 | + 10 => array( |
|
28 | + 'content' => $this->_start(), |
|
29 | + ), |
|
30 | + 20 => array( |
|
31 | + 'id' => 'QSG_name', |
|
32 | + 'content' => $this->_qsg_name_stop(), |
|
33 | + 'options' => array( |
|
34 | + 'tipLocation' => 'top', |
|
35 | + 'tipAdjustmentX' => 0, |
|
36 | + 'tipAdjustmentY' => -35, |
|
37 | + ), |
|
38 | + ), |
|
39 | + 30 => array( |
|
40 | + 'id' => 'QSG_identifier', |
|
41 | + 'content' => $this->_qsg_identifier_stop(), |
|
42 | + 'options' => array( |
|
43 | + 'tipLocation' => 'top', |
|
44 | + 'tipAdjustmentX' => 0, |
|
45 | + 'tipAdjustmentY' => -35, |
|
46 | + ), |
|
47 | + ), |
|
48 | + 40 => array( |
|
49 | + 'id' => 'QSG_desc', |
|
50 | + 'content' => $this->_qsg_desc_stop(), |
|
51 | + 'options' => array( |
|
52 | + 'tipLocation' => 'top', |
|
53 | + 'tipAdjustmentX' => 0, |
|
54 | + 'tipAdjustmentY' => -35, |
|
55 | + ), |
|
56 | + ), |
|
57 | + 50 => array( |
|
58 | + 'id' => 'QSG_order', |
|
59 | + 'content' => $this->_qsg_order_stop(), |
|
60 | + 'options' => array( |
|
61 | + 'tipLocation' => 'top', |
|
62 | + 'tipAdjustmentX' => -20, |
|
63 | + 'tipAdjustmentY' => -35, |
|
64 | + ), |
|
65 | + ), |
|
66 | + 60 => array( |
|
67 | + 'id' => 'QSG_show_group_name', |
|
68 | + 'content' => $this->_qsg_show_group_name_stop(), |
|
69 | + 'options' => array( |
|
70 | + 'tipLocation' => 'top', |
|
71 | + 'tipAdjustmentX' => 0, |
|
72 | + 'tipAdjustmentY' => -35, |
|
73 | + ), |
|
74 | + ), |
|
75 | + 70 => array( |
|
76 | + 'id' => 'QSG_show_group_desc', |
|
77 | + 'content' => $this->_qsg_show_group_desc_stop(), |
|
78 | + 'options' => array( |
|
79 | + 'tipLocation' => 'top', |
|
80 | + 'tipAdjustmentX' => 0, |
|
81 | + 'tipAdjustmentY' => -35, |
|
82 | + ), |
|
83 | + ), |
|
84 | + ); |
|
85 | + } |
|
86 | 86 | |
87 | 87 | |
88 | - protected function _start() |
|
89 | - { |
|
90 | - $content = '<h3>' . esc_html__('Edit Question Group', 'event_espresso') . '</h3>'; |
|
91 | - $content .= '<p>' |
|
92 | - . esc_html__( |
|
93 | - 'This tour of the Edit Question Group page will go over different areas of the screen to help you understand what they are used for.', |
|
94 | - 'event_espresso' |
|
95 | - ) . '</p>'; |
|
88 | + protected function _start() |
|
89 | + { |
|
90 | + $content = '<h3>' . esc_html__('Edit Question Group', 'event_espresso') . '</h3>'; |
|
91 | + $content .= '<p>' |
|
92 | + . esc_html__( |
|
93 | + 'This tour of the Edit Question Group page will go over different areas of the screen to help you understand what they are used for.', |
|
94 | + 'event_espresso' |
|
95 | + ) . '</p>'; |
|
96 | 96 | |
97 | - return $content; |
|
98 | - } |
|
97 | + return $content; |
|
98 | + } |
|
99 | 99 | |
100 | - protected function _qsg_name_stop() |
|
101 | - { |
|
102 | - return '<p>' . esc_html__('The name of the question group.', 'event_espresso') . '</p>'; |
|
103 | - } |
|
100 | + protected function _qsg_name_stop() |
|
101 | + { |
|
102 | + return '<p>' . esc_html__('The name of the question group.', 'event_espresso') . '</p>'; |
|
103 | + } |
|
104 | 104 | |
105 | - protected function _qsg_identifier_stop() |
|
106 | - { |
|
107 | - return '<p>' . esc_html__('A unique name for your question group.', 'event_espresso') . '</p>'; |
|
108 | - } |
|
105 | + protected function _qsg_identifier_stop() |
|
106 | + { |
|
107 | + return '<p>' . esc_html__('A unique name for your question group.', 'event_espresso') . '</p>'; |
|
108 | + } |
|
109 | 109 | |
110 | - protected function _qsg_desc_stop() |
|
111 | - { |
|
112 | - return '<p>' . esc_html__('A description of the question group.', 'event_espresso') . '</p>'; |
|
113 | - } |
|
110 | + protected function _qsg_desc_stop() |
|
111 | + { |
|
112 | + return '<p>' . esc_html__('A description of the question group.', 'event_espresso') . '</p>'; |
|
113 | + } |
|
114 | 114 | |
115 | - protected function _qsg_order_stop() |
|
116 | - { |
|
117 | - return '<p>' . esc_html__('Set the order that you want your question group to appear in.', 'event_espresso') . '</p>'; |
|
118 | - } |
|
115 | + protected function _qsg_order_stop() |
|
116 | + { |
|
117 | + return '<p>' . esc_html__('Set the order that you want your question group to appear in.', 'event_espresso') . '</p>'; |
|
118 | + } |
|
119 | 119 | |
120 | - protected function _qsg_show_group_name_stop() |
|
121 | - { |
|
122 | - return '<p>' |
|
123 | - . esc_html__( |
|
124 | - 'Specify whether the group name should be shown on the registration page.', |
|
125 | - 'event_espresso' |
|
126 | - ) . '</p>'; |
|
127 | - } |
|
120 | + protected function _qsg_show_group_name_stop() |
|
121 | + { |
|
122 | + return '<p>' |
|
123 | + . esc_html__( |
|
124 | + 'Specify whether the group name should be shown on the registration page.', |
|
125 | + 'event_espresso' |
|
126 | + ) . '</p>'; |
|
127 | + } |
|
128 | 128 | |
129 | - protected function _qsg_show_group_desc_stop() |
|
130 | - { |
|
131 | - return '<p>' |
|
132 | - . esc_html__( |
|
133 | - 'Specify whether the group description should be shown on the registration page.', |
|
134 | - 'event_espresso' |
|
135 | - ) . '</p>'; |
|
136 | - } |
|
129 | + protected function _qsg_show_group_desc_stop() |
|
130 | + { |
|
131 | + return '<p>' |
|
132 | + . esc_html__( |
|
133 | + 'Specify whether the group description should be shown on the registration page.', |
|
134 | + 'event_espresso' |
|
135 | + ) . '</p>'; |
|
136 | + } |
|
137 | 137 | } |
@@ -87,34 +87,34 @@ discard block |
||
87 | 87 | |
88 | 88 | protected function _start() |
89 | 89 | { |
90 | - $content = '<h3>' . esc_html__('Edit Question Group', 'event_espresso') . '</h3>'; |
|
90 | + $content = '<h3>'.esc_html__('Edit Question Group', 'event_espresso').'</h3>'; |
|
91 | 91 | $content .= '<p>' |
92 | 92 | . esc_html__( |
93 | 93 | 'This tour of the Edit Question Group page will go over different areas of the screen to help you understand what they are used for.', |
94 | 94 | 'event_espresso' |
95 | - ) . '</p>'; |
|
95 | + ).'</p>'; |
|
96 | 96 | |
97 | 97 | return $content; |
98 | 98 | } |
99 | 99 | |
100 | 100 | protected function _qsg_name_stop() |
101 | 101 | { |
102 | - return '<p>' . esc_html__('The name of the question group.', 'event_espresso') . '</p>'; |
|
102 | + return '<p>'.esc_html__('The name of the question group.', 'event_espresso').'</p>'; |
|
103 | 103 | } |
104 | 104 | |
105 | 105 | protected function _qsg_identifier_stop() |
106 | 106 | { |
107 | - return '<p>' . esc_html__('A unique name for your question group.', 'event_espresso') . '</p>'; |
|
107 | + return '<p>'.esc_html__('A unique name for your question group.', 'event_espresso').'</p>'; |
|
108 | 108 | } |
109 | 109 | |
110 | 110 | protected function _qsg_desc_stop() |
111 | 111 | { |
112 | - return '<p>' . esc_html__('A description of the question group.', 'event_espresso') . '</p>'; |
|
112 | + return '<p>'.esc_html__('A description of the question group.', 'event_espresso').'</p>'; |
|
113 | 113 | } |
114 | 114 | |
115 | 115 | protected function _qsg_order_stop() |
116 | 116 | { |
117 | - return '<p>' . esc_html__('Set the order that you want your question group to appear in.', 'event_espresso') . '</p>'; |
|
117 | + return '<p>'.esc_html__('Set the order that you want your question group to appear in.', 'event_espresso').'</p>'; |
|
118 | 118 | } |
119 | 119 | |
120 | 120 | protected function _qsg_show_group_name_stop() |
@@ -123,7 +123,7 @@ discard block |
||
123 | 123 | . esc_html__( |
124 | 124 | 'Specify whether the group name should be shown on the registration page.', |
125 | 125 | 'event_espresso' |
126 | - ) . '</p>'; |
|
126 | + ).'</p>'; |
|
127 | 127 | } |
128 | 128 | |
129 | 129 | protected function _qsg_show_group_desc_stop() |
@@ -132,6 +132,6 @@ discard block |
||
132 | 132 | . esc_html__( |
133 | 133 | 'Specify whether the group description should be shown on the registration page.', |
134 | 134 | 'event_espresso' |
135 | - ) . '</p>'; |
|
135 | + ).'</p>'; |
|
136 | 136 | } |
137 | 137 | } |
@@ -15,64 +15,64 @@ discard block |
||
15 | 15 | class Registration_Form_Questions_Overview_Help_Tour extends EE_Help_Tour |
16 | 16 | { |
17 | 17 | |
18 | - protected function _set_tour_properties() |
|
19 | - { |
|
20 | - $this->_label = esc_html__('Questions Overview Tour', 'event_espresso'); |
|
21 | - $this->_slug = $this->_is_caf ? 'questions-overview-caf-joyride' : 'questions-overview-joyride'; |
|
22 | - } |
|
18 | + protected function _set_tour_properties() |
|
19 | + { |
|
20 | + $this->_label = esc_html__('Questions Overview Tour', 'event_espresso'); |
|
21 | + $this->_slug = $this->_is_caf ? 'questions-overview-caf-joyride' : 'questions-overview-joyride'; |
|
22 | + } |
|
23 | 23 | |
24 | - protected function _set_tour_stops() |
|
25 | - { |
|
26 | - $this->_stops = array( |
|
27 | - 10 => array( |
|
28 | - 'content' => $this->_start(), |
|
29 | - ), |
|
30 | - 30 => array( |
|
31 | - 'id' => 'display_text', |
|
32 | - 'content' => $this->_display_text_stop(), |
|
33 | - 'options' => array( |
|
34 | - 'tipLocation' => 'top', |
|
35 | - 'tipAdjustmentX' => -5, |
|
36 | - 'tipAdjustmentY' => -25, |
|
37 | - ), |
|
38 | - ), |
|
39 | - 40 => array( |
|
40 | - 'id' => 'admin_label', |
|
41 | - 'content' => $this->_admin_label_stop(), |
|
42 | - 'options' => array( |
|
43 | - 'tipLocation' => 'top', |
|
44 | - 'tipAdjustmentX' => 20, |
|
45 | - 'tipAdjustmentY' => -25, |
|
46 | - ), |
|
47 | - ), |
|
48 | - 50 => array( |
|
49 | - 'id' => 'type', |
|
50 | - 'content' => $this->_type_stop(), |
|
51 | - 'options' => array( |
|
52 | - 'tipLocation' => 'top', |
|
53 | - 'tipAdjustmentX' => -5, |
|
54 | - 'tipAdjustmentY' => -25, |
|
55 | - ), |
|
56 | - ), |
|
57 | - 60 => array( |
|
58 | - 'id' => 'values', |
|
59 | - 'content' => $this->_values_stop(), |
|
60 | - 'options' => array( |
|
61 | - 'tipLocation' => 'top', |
|
62 | - 'tipAdjustmentX' => -5, |
|
63 | - 'tipAdjustmentY' => -25, |
|
64 | - ), |
|
65 | - ), |
|
66 | - 70 => array( |
|
67 | - 'id' => 'required', |
|
68 | - 'content' => $this->_required_stop(), |
|
69 | - 'options' => array( |
|
70 | - 'tipLocation' => 'top', |
|
71 | - 'tipAdjustmentY' => -20, |
|
72 | - 'tipAdjustmentX' => -15, |
|
73 | - ), |
|
74 | - ), |
|
75 | - /*80 => array( |
|
24 | + protected function _set_tour_stops() |
|
25 | + { |
|
26 | + $this->_stops = array( |
|
27 | + 10 => array( |
|
28 | + 'content' => $this->_start(), |
|
29 | + ), |
|
30 | + 30 => array( |
|
31 | + 'id' => 'display_text', |
|
32 | + 'content' => $this->_display_text_stop(), |
|
33 | + 'options' => array( |
|
34 | + 'tipLocation' => 'top', |
|
35 | + 'tipAdjustmentX' => -5, |
|
36 | + 'tipAdjustmentY' => -25, |
|
37 | + ), |
|
38 | + ), |
|
39 | + 40 => array( |
|
40 | + 'id' => 'admin_label', |
|
41 | + 'content' => $this->_admin_label_stop(), |
|
42 | + 'options' => array( |
|
43 | + 'tipLocation' => 'top', |
|
44 | + 'tipAdjustmentX' => 20, |
|
45 | + 'tipAdjustmentY' => -25, |
|
46 | + ), |
|
47 | + ), |
|
48 | + 50 => array( |
|
49 | + 'id' => 'type', |
|
50 | + 'content' => $this->_type_stop(), |
|
51 | + 'options' => array( |
|
52 | + 'tipLocation' => 'top', |
|
53 | + 'tipAdjustmentX' => -5, |
|
54 | + 'tipAdjustmentY' => -25, |
|
55 | + ), |
|
56 | + ), |
|
57 | + 60 => array( |
|
58 | + 'id' => 'values', |
|
59 | + 'content' => $this->_values_stop(), |
|
60 | + 'options' => array( |
|
61 | + 'tipLocation' => 'top', |
|
62 | + 'tipAdjustmentX' => -5, |
|
63 | + 'tipAdjustmentY' => -25, |
|
64 | + ), |
|
65 | + ), |
|
66 | + 70 => array( |
|
67 | + 'id' => 'required', |
|
68 | + 'content' => $this->_required_stop(), |
|
69 | + 'options' => array( |
|
70 | + 'tipLocation' => 'top', |
|
71 | + 'tipAdjustmentY' => -20, |
|
72 | + 'tipAdjustmentX' => -15, |
|
73 | + ), |
|
74 | + ), |
|
75 | + /*80 => array( |
|
76 | 76 | 'class' => 'bulkactions', |
77 | 77 | 'content' => $this->_bulk_actions_stop(), |
78 | 78 | 'options' => array( |
@@ -81,84 +81,84 @@ discard block |
||
81 | 81 | 'tipAdjustmentX' => -15 |
82 | 82 | ) |
83 | 83 | ),*/ |
84 | - 90 => array( |
|
85 | - 'id' => 'event-espresso_page_espresso_registration_form-search-input', |
|
86 | - 'content' => $this->_search_stop(), |
|
87 | - 'options' => array( |
|
88 | - 'tipLocation' => 'left', |
|
89 | - 'tipAdjustmentY' => -50, |
|
90 | - 'tipAdjustmentX' => -15, |
|
91 | - ), |
|
92 | - ), |
|
93 | - 100 => array( |
|
94 | - 'id' => 'add-new-question', |
|
95 | - 'content' => $this->_add_new_question_stop(), |
|
96 | - 'options' => array( |
|
97 | - 'tipLocation' => 'right', |
|
98 | - 'tipAdjustmentY' => -50, |
|
99 | - 'tipAdjustmentX' => 15, |
|
100 | - ), |
|
101 | - ), |
|
102 | - ); |
|
103 | - } |
|
84 | + 90 => array( |
|
85 | + 'id' => 'event-espresso_page_espresso_registration_form-search-input', |
|
86 | + 'content' => $this->_search_stop(), |
|
87 | + 'options' => array( |
|
88 | + 'tipLocation' => 'left', |
|
89 | + 'tipAdjustmentY' => -50, |
|
90 | + 'tipAdjustmentX' => -15, |
|
91 | + ), |
|
92 | + ), |
|
93 | + 100 => array( |
|
94 | + 'id' => 'add-new-question', |
|
95 | + 'content' => $this->_add_new_question_stop(), |
|
96 | + 'options' => array( |
|
97 | + 'tipLocation' => 'right', |
|
98 | + 'tipAdjustmentY' => -50, |
|
99 | + 'tipAdjustmentX' => 15, |
|
100 | + ), |
|
101 | + ), |
|
102 | + ); |
|
103 | + } |
|
104 | 104 | |
105 | 105 | |
106 | - protected function _start() |
|
107 | - { |
|
108 | - $content = '<h3>' . esc_html__('Questions Overview', 'event_espresso') . '</h3>'; |
|
109 | - $content .= '<p>' . esc_html__( |
|
110 | - 'This tour of the Questions Overview page will go over different areas of the screen to help you understand what they are used for.', |
|
111 | - 'event_espresso' |
|
112 | - ) . '</p>'; |
|
106 | + protected function _start() |
|
107 | + { |
|
108 | + $content = '<h3>' . esc_html__('Questions Overview', 'event_espresso') . '</h3>'; |
|
109 | + $content .= '<p>' . esc_html__( |
|
110 | + 'This tour of the Questions Overview page will go over different areas of the screen to help you understand what they are used for.', |
|
111 | + 'event_espresso' |
|
112 | + ) . '</p>'; |
|
113 | 113 | |
114 | - return $content; |
|
115 | - } |
|
114 | + return $content; |
|
115 | + } |
|
116 | 116 | |
117 | - protected function _display_text_stop() |
|
118 | - { |
|
119 | - return '<p>' . esc_html__('View available questions.', 'event_espresso') . '</p>'; |
|
120 | - } |
|
117 | + protected function _display_text_stop() |
|
118 | + { |
|
119 | + return '<p>' . esc_html__('View available questions.', 'event_espresso') . '</p>'; |
|
120 | + } |
|
121 | 121 | |
122 | - protected function _admin_label_stop() |
|
123 | - { |
|
124 | - return '<p>' . esc_html__('View the admin label for your questions.', 'event_espresso') . '</p>'; |
|
125 | - } |
|
122 | + protected function _admin_label_stop() |
|
123 | + { |
|
124 | + return '<p>' . esc_html__('View the admin label for your questions.', 'event_espresso') . '</p>'; |
|
125 | + } |
|
126 | 126 | |
127 | - protected function _type_stop() |
|
128 | - { |
|
129 | - return '<p>' . esc_html__( |
|
130 | - 'View the type of question. Available options are Text, Textarea, Checkboxes, Radio Buttons, Dropdown, State/Province Dropdown, Country Dropdown, and Date Picker.', |
|
131 | - 'event_espresso' |
|
132 | - ) . '</p>'; |
|
133 | - } |
|
127 | + protected function _type_stop() |
|
128 | + { |
|
129 | + return '<p>' . esc_html__( |
|
130 | + 'View the type of question. Available options are Text, Textarea, Checkboxes, Radio Buttons, Dropdown, State/Province Dropdown, Country Dropdown, and Date Picker.', |
|
131 | + 'event_espresso' |
|
132 | + ) . '</p>'; |
|
133 | + } |
|
134 | 134 | |
135 | - protected function _values_stop() |
|
136 | - { |
|
137 | - return '<p>' . esc_html__( |
|
138 | - 'View stored values for checkboxes, radio buttons, and select boxes.', |
|
139 | - 'event_espresso' |
|
140 | - ) . '</p>'; |
|
141 | - } |
|
135 | + protected function _values_stop() |
|
136 | + { |
|
137 | + return '<p>' . esc_html__( |
|
138 | + 'View stored values for checkboxes, radio buttons, and select boxes.', |
|
139 | + 'event_espresso' |
|
140 | + ) . '</p>'; |
|
141 | + } |
|
142 | 142 | |
143 | - protected function _required_stop() |
|
144 | - { |
|
145 | - return '<p>' . esc_html__('View if a question is required.', 'event_espresso') . '</p>'; |
|
146 | - } |
|
143 | + protected function _required_stop() |
|
144 | + { |
|
145 | + return '<p>' . esc_html__('View if a question is required.', 'event_espresso') . '</p>'; |
|
146 | + } |
|
147 | 147 | |
148 | - /* protected function _bulk_actions_stop() { |
|
148 | + /* protected function _bulk_actions_stop() { |
|
149 | 149 | return '<p>' . esc_html__('Perform bulk actions to multiple questions.', 'event_espresso') . '</p>'; |
150 | 150 | } */ |
151 | 151 | |
152 | - protected function _search_stop() |
|
153 | - { |
|
154 | - return '<p>' . esc_html__( |
|
155 | - 'Search through questions. The following sources will be searched: Name of Question (display text).', |
|
156 | - 'event_espresso' |
|
157 | - ) . '</p>'; |
|
158 | - } |
|
152 | + protected function _search_stop() |
|
153 | + { |
|
154 | + return '<p>' . esc_html__( |
|
155 | + 'Search through questions. The following sources will be searched: Name of Question (display text).', |
|
156 | + 'event_espresso' |
|
157 | + ) . '</p>'; |
|
158 | + } |
|
159 | 159 | |
160 | - protected function _add_new_question_stop() |
|
161 | - { |
|
162 | - return '<p>' . esc_html__('Click here to add a new question.', 'event_espresso') . '</p>'; |
|
163 | - } |
|
160 | + protected function _add_new_question_stop() |
|
161 | + { |
|
162 | + return '<p>' . esc_html__('Click here to add a new question.', 'event_espresso') . '</p>'; |
|
163 | + } |
|
164 | 164 | } |
@@ -105,44 +105,44 @@ discard block |
||
105 | 105 | |
106 | 106 | protected function _start() |
107 | 107 | { |
108 | - $content = '<h3>' . esc_html__('Questions Overview', 'event_espresso') . '</h3>'; |
|
109 | - $content .= '<p>' . esc_html__( |
|
108 | + $content = '<h3>'.esc_html__('Questions Overview', 'event_espresso').'</h3>'; |
|
109 | + $content .= '<p>'.esc_html__( |
|
110 | 110 | 'This tour of the Questions Overview page will go over different areas of the screen to help you understand what they are used for.', |
111 | 111 | 'event_espresso' |
112 | - ) . '</p>'; |
|
112 | + ).'</p>'; |
|
113 | 113 | |
114 | 114 | return $content; |
115 | 115 | } |
116 | 116 | |
117 | 117 | protected function _display_text_stop() |
118 | 118 | { |
119 | - return '<p>' . esc_html__('View available questions.', 'event_espresso') . '</p>'; |
|
119 | + return '<p>'.esc_html__('View available questions.', 'event_espresso').'</p>'; |
|
120 | 120 | } |
121 | 121 | |
122 | 122 | protected function _admin_label_stop() |
123 | 123 | { |
124 | - return '<p>' . esc_html__('View the admin label for your questions.', 'event_espresso') . '</p>'; |
|
124 | + return '<p>'.esc_html__('View the admin label for your questions.', 'event_espresso').'</p>'; |
|
125 | 125 | } |
126 | 126 | |
127 | 127 | protected function _type_stop() |
128 | 128 | { |
129 | - return '<p>' . esc_html__( |
|
129 | + return '<p>'.esc_html__( |
|
130 | 130 | 'View the type of question. Available options are Text, Textarea, Checkboxes, Radio Buttons, Dropdown, State/Province Dropdown, Country Dropdown, and Date Picker.', |
131 | 131 | 'event_espresso' |
132 | - ) . '</p>'; |
|
132 | + ).'</p>'; |
|
133 | 133 | } |
134 | 134 | |
135 | 135 | protected function _values_stop() |
136 | 136 | { |
137 | - return '<p>' . esc_html__( |
|
137 | + return '<p>'.esc_html__( |
|
138 | 138 | 'View stored values for checkboxes, radio buttons, and select boxes.', |
139 | 139 | 'event_espresso' |
140 | - ) . '</p>'; |
|
140 | + ).'</p>'; |
|
141 | 141 | } |
142 | 142 | |
143 | 143 | protected function _required_stop() |
144 | 144 | { |
145 | - return '<p>' . esc_html__('View if a question is required.', 'event_espresso') . '</p>'; |
|
145 | + return '<p>'.esc_html__('View if a question is required.', 'event_espresso').'</p>'; |
|
146 | 146 | } |
147 | 147 | |
148 | 148 | /* protected function _bulk_actions_stop() { |
@@ -151,14 +151,14 @@ discard block |
||
151 | 151 | |
152 | 152 | protected function _search_stop() |
153 | 153 | { |
154 | - return '<p>' . esc_html__( |
|
154 | + return '<p>'.esc_html__( |
|
155 | 155 | 'Search through questions. The following sources will be searched: Name of Question (display text).', |
156 | 156 | 'event_espresso' |
157 | - ) . '</p>'; |
|
157 | + ).'</p>'; |
|
158 | 158 | } |
159 | 159 | |
160 | 160 | protected function _add_new_question_stop() |
161 | 161 | { |
162 | - return '<p>' . esc_html__('Click here to add a new question.', 'event_espresso') . '</p>'; |
|
162 | + return '<p>'.esc_html__('Click here to add a new question.', 'event_espresso').'</p>'; |
|
163 | 163 | } |
164 | 164 | } |