@@ -7,7 +7,7 @@ |
||
7 | 7 | <?php _e('Enter your support license key in this field to benefit from one-click updates. To manage your support license key, please <a href="http://eventespresso.com/wp-login.php">login to your Event Espresso account</a>. Then click on Edit Account Details which appears in the left sidebar menu.', 'event_espresso'); ?> |
8 | 8 | </p> |
9 | 9 | <p class="ee-attention"> |
10 | -<?php printf( __('Site license keys are now called support license keys. Your support license key should only be entered on live/production sites. If this is a development or test site, %sdo not%s enter your support license key.', 'event_espresso'), '<strong>', '</strong>' ); ?> |
|
10 | +<?php printf(__('Site license keys are now called support license keys. Your support license key should only be entered on live/production sites. If this is a development or test site, %sdo not%s enter your support license key.', 'event_espresso'), '<strong>', '</strong>'); ?> |
|
11 | 11 | </p> |
12 | 12 | <h3><?php _e('Contact Information', 'event_espresso'); ?></h3> |
13 | 13 | <p> |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -if (!defined('EVENT_ESPRESSO_VERSION') ) |
|
2 | +if ( ! defined('EVENT_ESPRESSO_VERSION')) |
|
3 | 3 | exit('NO direct script access allowed'); |
4 | 4 | |
5 | 5 | /** |
@@ -81,24 +81,24 @@ discard block |
||
81 | 81 | |
82 | 82 | |
83 | 83 | protected function _start() { |
84 | - $content = '<h3>' . __('Admin Options', 'event_espresso') . '</h3>'; |
|
85 | - $content .= '<p>' . __('This tour of the Admin Options page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso') . '</p>'; |
|
84 | + $content = '<h3>'.__('Admin Options', 'event_espresso').'</h3>'; |
|
85 | + $content .= '<p>'.__('This tour of the Admin Options page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso').'</p>'; |
|
86 | 86 | return $content; |
87 | 87 | } |
88 | 88 | |
89 | 89 | protected function _use_full_logging_stop() { |
90 | - return '<p>' . __('When enabled, a log file is created which can be useful for debugging. Please disable this option when you are finished debugging.', 'event_espresso') . '</p>'; |
|
90 | + return '<p>'.__('When enabled, a log file is created which can be useful for debugging. Please disable this option when you are finished debugging.', 'event_espresso').'</p>'; |
|
91 | 91 | } |
92 | 92 | |
93 | 93 | protected function _use_remote_logging_stop() { |
94 | - return '<p>' . __(' This option sends all Event Espresso debugging data and get / post variables to the specified URL below.', 'event_espresso') . '</p>'; |
|
94 | + return '<p>'.__(' This option sends all Event Espresso debugging data and get / post variables to the specified URL below.', 'event_espresso').'</p>'; |
|
95 | 95 | } |
96 | 96 | |
97 | 97 | protected function _show_reg_footer_stop() { |
98 | - return '<p>' . __('Support us by adding a small link to Event Espresso in your event pages. You can even earn money for yourself by adding your affiliate link there!', 'event_espresso') . '</p>'; |
|
98 | + return '<p>'.__('Support us by adding a small link to Event Espresso in your event pages. You can even earn money for yourself by adding your affiliate link there!', 'event_espresso').'</p>'; |
|
99 | 99 | } |
100 | 100 | |
101 | 101 | protected function _help_tour_activation_stop() { |
102 | - return '<p>' . __('Turn these help tours on / off for Event Espresso pages.', 'event_espresso') . '</p>'; |
|
102 | + return '<p>'.__('Turn these help tours on / off for Event Espresso pages.', 'event_espresso').'</p>'; |
|
103 | 103 | } |
104 | 104 | } |
105 | 105 | \ No newline at end of file |
@@ -6,8 +6,9 @@ |
||
6 | 6 | * @package Event Espresso |
7 | 7 | * @subpackage messages |
8 | 8 | */ |
9 | -if (!defined('EVENT_ESPRESSO_VERSION') ) |
|
9 | +if (!defined('EVENT_ESPRESSO_VERSION') ) { |
|
10 | 10 | exit('NO direct script access allowed'); |
11 | +} |
|
11 | 12 | |
12 | 13 | /** |
13 | 14 | * |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -if (!defined('EVENT_ESPRESSO_VERSION') ) |
|
2 | +if ( ! defined('EVENT_ESPRESSO_VERSION')) |
|
3 | 3 | exit('NO direct script access allowed'); |
4 | 4 | |
5 | 5 | /** |
@@ -71,20 +71,20 @@ discard block |
||
71 | 71 | |
72 | 72 | |
73 | 73 | protected function _start() { |
74 | - $content = '<h3>' . __('Countries Settings', 'event_espresso') . '</h3>'; |
|
75 | - $content .= '<p>' . __('This tour of the Countries Page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso') . '</p>'; |
|
74 | + $content = '<h3>'.__('Countries Settings', 'event_espresso').'</h3>'; |
|
75 | + $content .= '<p>'.__('This tour of the Countries Page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso').'</p>'; |
|
76 | 76 | return $content; |
77 | 77 | } |
78 | 78 | |
79 | 79 | protected function _country_selector_stop() { |
80 | - return '<p>' . __('Select the country where your business or organization is located. This affects the currency that is used in Event Espresso.', 'event_espresso') . '</p>'; |
|
80 | + return '<p>'.__('Select the country where your business or organization is located. This affects the currency that is used in Event Espresso.', 'event_espresso').'</p>'; |
|
81 | 81 | } |
82 | 82 | |
83 | 83 | protected function _country_details_stop() { |
84 | - return '<p>' . __('Here you can fine tune country and currency settings.', 'event_espresso') . '</p>'; |
|
84 | + return '<p>'.__('Here you can fine tune country and currency settings.', 'event_espresso').'</p>'; |
|
85 | 85 | } |
86 | 86 | |
87 | 87 | protected function _country_states_settings_stop() { |
88 | - return '<p>' . __('Used in certain areas of the plugin, here you can define what states/provinces will be displayed in case you do not do business in certain areas.', 'event_espresso') . '</p>'; |
|
88 | + return '<p>'.__('Used in certain areas of the plugin, here you can define what states/provinces will be displayed in case you do not do business in certain areas.', 'event_espresso').'</p>'; |
|
89 | 89 | } |
90 | 90 | } |
91 | 91 | \ No newline at end of file |
@@ -6,8 +6,9 @@ |
||
6 | 6 | * @package Event Espresso |
7 | 7 | * @subpackage messages |
8 | 8 | */ |
9 | -if (!defined('EVENT_ESPRESSO_VERSION') ) |
|
9 | +if (!defined('EVENT_ESPRESSO_VERSION') ) { |
|
10 | 10 | exit('NO direct script access allowed'); |
11 | +} |
|
11 | 12 | |
12 | 13 | /** |
13 | 14 | * |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -if (!defined('EVENT_ESPRESSO_VERSION') ) |
|
2 | +if ( ! defined('EVENT_ESPRESSO_VERSION')) |
|
3 | 3 | exit('NO direct script access allowed'); |
4 | 4 | |
5 | 5 | /** |
@@ -80,25 +80,25 @@ discard block |
||
80 | 80 | |
81 | 81 | |
82 | 82 | protected function _start() { |
83 | - $content = '<h3>' . __('Critical Pages', 'event_espresso') . '</h3>'; |
|
84 | - $content .= '<p>' . __('This section lists the pages that Event Espresso needs in order to function. Should you wish to change a page that is used you will need to move the shortcode to the new page and then allocate it here. Otherwise your registrations will not work correctly.', 'event_espresso') . '</p>'; |
|
85 | - $content .= '<p>' . __('This section also provides a status of the page to show you at a glance if something is not right.', 'event_espresso') . '</p>'; |
|
83 | + $content = '<h3>'.__('Critical Pages', 'event_espresso').'</h3>'; |
|
84 | + $content .= '<p>'.__('This section lists the pages that Event Espresso needs in order to function. Should you wish to change a page that is used you will need to move the shortcode to the new page and then allocate it here. Otherwise your registrations will not work correctly.', 'event_espresso').'</p>'; |
|
85 | + $content .= '<p>'.__('This section also provides a status of the page to show you at a glance if something is not right.', 'event_espresso').'</p>'; |
|
86 | 86 | return $content; |
87 | 87 | } |
88 | 88 | |
89 | 89 | protected function _reg_page_id_stop() { |
90 | - return '<p>' . __('This page processes the registrations and is required, even if it is not visible in your menus. ', 'event_espresso') . '</p>'; |
|
90 | + return '<p>'.__('This page processes the registrations and is required, even if it is not visible in your menus. ', 'event_espresso').'</p>'; |
|
91 | 91 | } |
92 | 92 | |
93 | 93 | protected function _txn_page_id_stop() { |
94 | - return '<p>' . __('This page processes payments. It should not be visible on your menus, and the page should not contain anything other than the shortcode.', 'event_espresso') . '</p>'; |
|
94 | + return '<p>'.__('This page processes payments. It should not be visible on your menus, and the page should not contain anything other than the shortcode.', 'event_espresso').'</p>'; |
|
95 | 95 | } |
96 | 96 | |
97 | 97 | protected function _thank_you_page_id_stop() { |
98 | - return '<p>' . __('This page is displayed after a successful transaction. Feel free to add extra content to this page to personalise it!', 'event_espresso') . '</p>'; |
|
98 | + return '<p>'.__('This page is displayed after a successful transaction. Feel free to add extra content to this page to personalise it!', 'event_espresso').'</p>'; |
|
99 | 99 | } |
100 | 100 | |
101 | 101 | protected function _cancel_page_id_stop() { |
102 | - return '<p>' . __('This page is displayed after an unsuccessful transaction. Feel free to add extra content to this page to personalise it!', 'event_espresso') . '</p>'; |
|
102 | + return '<p>'.__('This page is displayed after an unsuccessful transaction. Feel free to add extra content to this page to personalise it!', 'event_espresso').'</p>'; |
|
103 | 103 | } |
104 | 104 | } |
105 | 105 | \ No newline at end of file |
@@ -6,8 +6,9 @@ |
||
6 | 6 | * @package Event Espresso |
7 | 7 | * @subpackage messages |
8 | 8 | */ |
9 | -if (!defined('EVENT_ESPRESSO_VERSION') ) |
|
9 | +if (!defined('EVENT_ESPRESSO_VERSION') ) { |
|
10 | 10 | exit('NO direct script access allowed'); |
11 | +} |
|
11 | 12 | |
12 | 13 | /** |
13 | 14 | * |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -if (!defined('EVENT_ESPRESSO_VERSION') ) |
|
2 | +if ( ! defined('EVENT_ESPRESSO_VERSION')) |
|
3 | 3 | exit('NO direct script access allowed'); |
4 | 4 | |
5 | 5 | /** |
@@ -99,32 +99,32 @@ discard block |
||
99 | 99 | |
100 | 100 | |
101 | 101 | protected function _start() { |
102 | - $content = '<h3>' . __('Organization Settings', 'event_espresso') . '</h3>'; |
|
103 | - $content .= '<p>' . __('This tour of the Your Organization page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso') . '</p>'; |
|
102 | + $content = '<h3>'.__('Organization Settings', 'event_espresso').'</h3>'; |
|
103 | + $content .= '<p>'.__('This tour of the Your Organization page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso').'</p>'; |
|
104 | 104 | return $content; |
105 | 105 | } |
106 | 106 | |
107 | 107 | protected function _site_license_key_stop() { |
108 | - return '<p>' . __('Enter your support license key here to enable one-click updates.', 'event_espresso') . '</p>'; |
|
108 | + return '<p>'.__('Enter your support license key here to enable one-click updates.', 'event_espresso').'</p>'; |
|
109 | 109 | } |
110 | 110 | |
111 | 111 | protected function _contact_information_stop() { |
112 | - return '<p>' . __('You can change your business / organization information below. Be sure to keep this information updated as it is used in other areas of the site. Adjusting the country option here will update your currency settings. More options are available in the Countries tab.', 'event_espresso') . '</p>'; |
|
112 | + return '<p>'.__('You can change your business / organization information below. Be sure to keep this information updated as it is used in other areas of the site. Adjusting the country option here will update your currency settings. More options are available in the Countries tab.', 'event_espresso').'</p>'; |
|
113 | 113 | } |
114 | 114 | |
115 | 115 | protected function _upload_image_stop() { |
116 | - return '<p>' . __('Add a logo. This can be used for invoices and tickets.', 'event_espresso') . '</p>'; |
|
116 | + return '<p>'.__('Add a logo. This can be used for invoices and tickets.', 'event_espresso').'</p>'; |
|
117 | 117 | } |
118 | 118 | |
119 | 119 | protected function _organization_facebook_stop() { |
120 | - return '<p>' . __('Add links to various social media networks.', 'event_espresso') . '</p>'; |
|
120 | + return '<p>'.__('Add links to various social media networks.', 'event_espresso').'</p>'; |
|
121 | 121 | } |
122 | 122 | |
123 | 123 | protected function _ueip_option_stop() { |
124 | - return '<p>' . __('Help us to help you! Sign up to the User eXperience Improvement Program and send us anonymous data that will help us improve Event Espresso.', 'event_espresso') . '</p>'; |
|
124 | + return '<p>'.__('Help us to help you! Sign up to the User eXperience Improvement Program and send us anonymous data that will help us improve Event Espresso.', 'event_espresso').'</p>'; |
|
125 | 125 | } |
126 | 126 | |
127 | 127 | protected function _end_tour_stop() { |
128 | - return '<p>' . __('You are almost done updating Your Organization information. Click on the Save button to save changes and then go to the Payment Methods screen so you can setup a payment gateway.', 'event_espresso') . '</p>'; |
|
128 | + return '<p>'.__('You are almost done updating Your Organization information. Click on the Save button to save changes and then go to the Payment Methods screen so you can setup a payment gateway.', 'event_espresso').'</p>'; |
|
129 | 129 | } |
130 | 130 | } |
131 | 131 | \ No newline at end of file |
@@ -6,8 +6,9 @@ |
||
6 | 6 | * @package Event Espresso |
7 | 7 | * @subpackage messages |
8 | 8 | */ |
9 | -if (!defined('EVENT_ESPRESSO_VERSION') ) |
|
9 | +if (!defined('EVENT_ESPRESSO_VERSION') ) { |
|
10 | 10 | exit('NO direct script access allowed'); |
11 | +} |
|
11 | 12 | |
12 | 13 | /** |
13 | 14 | * |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <div class="padding"> |
2 | 2 | |
3 | - <?php do_action( 'AHEE__admin_option_settings__template__before', $template_args ); ?> |
|
3 | + <?php do_action('AHEE__admin_option_settings__template__before', $template_args); ?> |
|
4 | 4 | |
5 | 5 | <?php /* @todo put back once we have a dashboard widget to use |
6 | 6 | <h4 class="ee-admin-settings-hdr"> |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | </table> |
66 | 66 | <?php endif; */ ?> |
67 | 67 | |
68 | - <?php if ( EE_Registry::instance()->CAP->current_user_can( 'manage_options', 'display_admin_settings_options_promote_and_affiliate' ) ) : ?> |
|
68 | + <?php if (EE_Registry::instance()->CAP->current_user_can('manage_options', 'display_admin_settings_options_promote_and_affiliate')) : ?> |
|
69 | 69 | <h4 class="ee-admin-settings-hdr"> |
70 | 70 | <?php _e('Promote Event Espresso', 'event_espresso'); ?> <span id="affiliate_info"><?php echo EEH_Template::get_help_tab_link('affiliate_info'); ?></span> |
71 | 71 | </h4> |
@@ -80,13 +80,13 @@ discard block |
||
80 | 80 | </label> |
81 | 81 | </th> |
82 | 82 | <td> |
83 | - <?php echo EEH_Form_Fields::select_input('show_reg_footer', $values, $show_reg_footer ); ?> |
|
83 | + <?php echo EEH_Form_Fields::select_input('show_reg_footer', $values, $show_reg_footer); ?> |
|
84 | 84 | </td> |
85 | 85 | </tr> |
86 | 86 | |
87 | 87 | <tr> |
88 | 88 | <th> |
89 | - <?php printf( __('Event Espresso %sAffiliate%s ID', 'event_espresso'), '<a href="http://eventespresso.com/affiliates/" target="_blank">', '</a>' ); ?> |
|
89 | + <?php printf(__('Event Espresso %sAffiliate%s ID', 'event_espresso'), '<a href="http://eventespresso.com/affiliates/" target="_blank">', '</a>'); ?> |
|
90 | 90 | </th> |
91 | 91 | <td> |
92 | 92 | <input name="affiliate_id" class="regular-text" type="text" value="<?php echo $affiliate_id; ?>" /> |
@@ -115,7 +115,7 @@ discard block |
||
115 | 115 | </label> |
116 | 116 | </th> |
117 | 117 | <td> |
118 | - <?php echo EEH_Form_Fields::select_input('help_tour_activation', $values, $help_tour_activation ); ?> |
|
118 | + <?php echo EEH_Form_Fields::select_input('help_tour_activation', $values, $help_tour_activation); ?> |
|
119 | 119 | </td> |
120 | 120 | </tr> |
121 | 121 | </tbody> |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <table id="general-setting-country-details-tbl" class="form-table"> |
2 | 2 | <tbody> |
3 | 3 | <?php |
4 | - foreach ( $inputs as $ID => $input ) { |
|
5 | - echo EEH_Form_Fields::generate_form_input( $input ); |
|
4 | + foreach ($inputs as $ID => $input) { |
|
5 | + echo EEH_Form_Fields::generate_form_input($input); |
|
6 | 6 | } |
7 | 7 | ?> |
8 | 8 | <tr> |
@@ -1,27 +1,27 @@ discard block |
||
1 | 1 | <table id="general-setting-country-states-tbl" class="form-table"> |
2 | 2 | <thead> |
3 | 3 | <tr> |
4 | - <th><?php _e( 'Code', 'event_espresso' );?></th> |
|
5 | - <th><?php _e( 'Name', 'event_espresso' );?></th> |
|
6 | - <th colspan="2"><span class="small-text"><?php _e( 'State Appears in<br/>Dropdown Select Lists ', 'event_espresso' );?></span></th> |
|
4 | + <th><?php _e('Code', 'event_espresso'); ?></th> |
|
5 | + <th><?php _e('Name', 'event_espresso'); ?></th> |
|
6 | + <th colspan="2"><span class="small-text"><?php _e('State Appears in<br/>Dropdown Select Lists ', 'event_espresso'); ?></span></th> |
|
7 | 7 | </tr> |
8 | 8 | </thead> |
9 | 9 | <tbody> |
10 | 10 | <?php |
11 | 11 | //EEH_Debug_Tools::printr( $states, '$states <br /><span style="font-size:10px;font-weight:normal;">' . __FILE__ . '<br />line no: ' . __LINE__ . '</span>', 'auto' ); |
12 | - if ( $states ) { |
|
13 | - foreach ( $states as $STA_ID => $state ) { |
|
12 | + if ($states) { |
|
13 | + foreach ($states as $STA_ID => $state) { |
|
14 | 14 | ?> |
15 | 15 | <tr id="state-<?php echo $STA_ID; ?>-tr" class="country-state-columns"> |
16 | 16 | <?php |
17 | - foreach ( $state['inputs'] as $ID => $input ) { |
|
18 | - if ( $ID != 'STA_ID' && $ID != 'CNT_ISO' ) { |
|
19 | - echo EEH_Form_Fields::generate_form_input( $input ); |
|
17 | + foreach ($state['inputs'] as $ID => $input) { |
|
18 | + if ($ID != 'STA_ID' && $ID != 'CNT_ISO') { |
|
19 | + echo EEH_Form_Fields::generate_form_input($input); |
|
20 | 20 | } |
21 | 21 | } |
22 | 22 | ?> |
23 | 23 | <td class="delete-state-td"> |
24 | - <a id="delete-state-<?php echo $STA_ID; ?>-lnk" class="dashicons dashicons-post-trash ee-icon-size-20 delete-state-lnk" rel="<?php echo $STA_ID; ?>" title="<?php esc_attr_e( 'Delete State #', 'event_espresso' ); ?><?php echo $STA_ID; ?>?" href="<?php echo $state['delete_state_url']; ?>"></a> |
|
24 | + <a id="delete-state-<?php echo $STA_ID; ?>-lnk" class="dashicons dashicons-post-trash ee-icon-size-20 delete-state-lnk" rel="<?php echo $STA_ID; ?>" title="<?php esc_attr_e('Delete State #', 'event_espresso'); ?><?php echo $STA_ID; ?>?" href="<?php echo $state['delete_state_url']; ?>"></a> |
|
25 | 25 | </td> |
26 | 26 | </tr> |
27 | 27 | <?php |
@@ -38,23 +38,23 @@ discard block |
||
38 | 38 | <table class="form-table add-new-state-tbl"> |
39 | 39 | <tbody> |
40 | 40 | <tr> |
41 | - <td colspan="2"><h4><?php _e( 'Add New State/Province', 'event_espresso' );?></h4></td> |
|
41 | + <td colspan="2"><h4><?php _e('Add New State/Province', 'event_espresso'); ?></h4></td> |
|
42 | 42 | </tr> |
43 | 43 | |
44 | 44 | <tr> |
45 | 45 | <td class="general-settings-country-state-input-td"> |
46 | - <label for="STA_abbrev_XXX"><?php _e( 'Code', 'event_espresso' );?></label><br /> |
|
46 | + <label for="STA_abbrev_XXX"><?php _e('Code', 'event_espresso'); ?></label><br /> |
|
47 | 47 | <input id="STA_abbrev-XXX" class="STA_abbrev mid-text " type="text" title="" value="" |
48 | 48 | name="STA_abbrev_XXX"> |
49 | 49 | </td> |
50 | 50 | <td class="general-settings-country-state-input-td"> |
51 | - <label for="STA_name_XXX"><?php _e( 'Name', 'event_espresso' );?></label><br/> |
|
51 | + <label for="STA_name_XXX"><?php _e('Name', 'event_espresso'); ?></label><br/> |
|
52 | 52 | <input id="STA_name-XXX" class="STA_name regular-text " type="text" title="" value="" name="STA_name_XXX"> |
53 | 53 | </td> |
54 | 54 | </tr> |
55 | 55 | <tr> |
56 | 56 | <td colspan="2"> |
57 | - <input type="submit" id="add-new-state-btn" class="secondary-button button right" value="<?php _e( 'Add New State/Province', 'event_espresso' );?>" /> |
|
57 | + <input type="submit" id="add-new-state-btn" class="secondary-button button right" value="<?php _e('Add New State/Province', 'event_espresso'); ?>" /> |
|
58 | 58 | |
59 | 59 | </td> |
60 | 60 | </tr> |
@@ -1,7 +1,7 @@ discard block |
||
1 | 1 | <div class="padding"> |
2 | 2 | <?php |
3 | 3 | //we'll only show site-license keys if this is main_site() (which works for both multi-site and single-site wp installations) |
4 | - if ( is_main_site() ) { ?> |
|
4 | + if (is_main_site()) { ?> |
|
5 | 5 | <h4 class="ee-admin-settings-hdr" style="width:300px;"> |
6 | 6 | <?php _e('Your Event Espresso License Key', 'event_espresso'); ?> |
7 | 7 | </h4> |
@@ -11,13 +11,13 @@ discard block |
||
11 | 11 | <tr <?php echo isset($_REQUEST['license_key']) && $_REQUEST['license_key'] == true ? 'class="yellow_alert"' : '' ?>> |
12 | 12 | <th> |
13 | 13 | <label for="site_license_key"> |
14 | - <?php _e('Support License Key', 'event_espresso'); ?> <?php echo EEH_Template::get_help_tab_link('site_license_key_info');?> |
|
14 | + <?php _e('Support License Key', 'event_espresso'); ?> <?php echo EEH_Template::get_help_tab_link('site_license_key_info'); ?> |
|
15 | 15 | </label> |
16 | 16 | </th> |
17 | 17 | <td> |
18 | 18 | <input name="site_license_key" id="site_license_key" size="10" class="regular-text" type="text" value="<?php echo $site_license_key; ?>" /><?php echo $site_license_key_verified; ?><br/> |
19 | 19 | <p class="description"> |
20 | - <?php printf( __('Adding a valid Support License Key will enable automatic update notifications and backend updates for Event Espresso Core and any installed add-ons. If this is a Development or Test site, %sDO NOT%s enter your Support License Key.', 'event_espresso'), '<strong>', '</strong>' ); ?> |
|
20 | + <?php printf(__('Adding a valid Support License Key will enable automatic update notifications and backend updates for Event Espresso Core and any installed add-ons. If this is a Development or Test site, %sDO NOT%s enter your Support License Key.', 'event_espresso'), '<strong>', '</strong>'); ?> |
|
21 | 21 | </p> |
22 | 22 | </td> |
23 | 23 | </tr> |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | |
31 | 31 | |
32 | 32 | <h4 id="contact_info_h4" class="ee-admin-settings-hdr"> |
33 | - <?php _e('Contact Information', 'event_espresso'); ?> <?php echo EEH_Template::get_help_tab_link('contact_info_info');?> |
|
33 | + <?php _e('Contact Information', 'event_espresso'); ?> <?php echo EEH_Template::get_help_tab_link('contact_info_info'); ?> |
|
34 | 34 | </h4> |
35 | 35 | |
36 | 36 | <table class="form-table"> |
@@ -78,8 +78,8 @@ discard block |
||
78 | 78 | <input id="organization_city" class="regular-text" type="text" name="organization_city" value="<?php echo $organization_city; ?>" /> |
79 | 79 | </td> |
80 | 80 | </tr> |
81 | - <?php echo EEH_Form_Fields::generate_form_input( $states ); ?> |
|
82 | - <?php echo EEH_Form_Fields::generate_form_input( $countries ); ?> |
|
81 | + <?php echo EEH_Form_Fields::generate_form_input($states); ?> |
|
82 | + <?php echo EEH_Form_Fields::generate_form_input($countries); ?> |
|
83 | 83 | <tr> |
84 | 84 | <th> |
85 | 85 | <label for="organization_zip"> |
@@ -133,7 +133,7 @@ discard block |
||
133 | 133 | </table> |
134 | 134 | |
135 | 135 | <h4 class="ee-admin-settings-hdr"> |
136 | - <?php _e('Company Logo', 'event_espresso'); ?> <?php echo EEH_Template::get_help_tab_link('organization_logo_info');?> |
|
136 | + <?php _e('Company Logo', 'event_espresso'); ?> <?php echo EEH_Template::get_help_tab_link('organization_logo_info'); ?> |
|
137 | 137 | </h4> |
138 | 138 | |
139 | 139 | <table class="form-table"> |
@@ -161,7 +161,7 @@ discard block |
||
161 | 161 | </th> |
162 | 162 | <td> |
163 | 163 | <?php |
164 | - if ( $organization_logo_url ) { |
|
164 | + if ($organization_logo_url) { |
|
165 | 165 | ?> |
166 | 166 | <p id="default-logo-thumb"> |
167 | 167 | <img id="current-image-thumb" src="<?php echo $organization_logo_url ?>" alt="" /><br /> |
@@ -179,7 +179,7 @@ discard block |
||
179 | 179 | <br/><br/> |
180 | 180 | |
181 | 181 | <h4 class="ee-admin-settings-hdr"> |
182 | - <?php _e('Social Links', 'event_espresso'); ?> <?php echo EEH_Template::get_help_tab_link('social_links_info');?> |
|
182 | + <?php _e('Social Links', 'event_espresso'); ?> <?php echo EEH_Template::get_help_tab_link('social_links_info'); ?> |
|
183 | 183 | </h4> |
184 | 184 | <p class="description"><?php _e('Enter any links to social accounts for your organization here', 'event_espresso'); ?></p> |
185 | 185 | |
@@ -256,9 +256,9 @@ discard block |
||
256 | 256 | <br/><br/> |
257 | 257 | |
258 | 258 | |
259 | - <?php if ( is_main_site() ) : ?> |
|
259 | + <?php if (is_main_site()) : ?> |
|
260 | 260 | <p> |
261 | - <?php echo EE_PUE::espresso_data_collection_optin_text( FALSE ); ?> |
|
261 | + <?php echo EE_PUE::espresso_data_collection_optin_text(FALSE); ?> |
|
262 | 262 | </p> |
263 | 263 | |
264 | 264 | <table class="form-table"> |
@@ -272,11 +272,11 @@ discard block |
||
272 | 272 | </th> |
273 | 273 | <td> |
274 | 274 | <?php |
275 | - $values=array( |
|
276 | - array('id'=>'yes','text'=> __('Yes! I want to help improve Event Espresso!','event_espresso')), |
|
277 | - array('id'=>'no','text'=> __('Not at this time. Maybe later.','event_espresso')) |
|
275 | + $values = array( |
|
276 | + array('id'=>'yes', 'text'=> __('Yes! I want to help improve Event Espresso!', 'event_espresso')), |
|
277 | + array('id'=>'no', 'text'=> __('Not at this time. Maybe later.', 'event_espresso')) |
|
278 | 278 | ); |
279 | - echo EEH_Form_Fields::select_input('ueip_optin', $values, !empty($ee_ueip_optin) ? $ee_ueip_optin : 'yes'); |
|
279 | + echo EEH_Form_Fields::select_input('ueip_optin', $values, ! empty($ee_ueip_optin) ? $ee_ueip_optin : 'yes'); |
|
280 | 280 | ?> |
281 | 281 | </td> |
282 | 282 | </tr> |