@@ -95,7 +95,7 @@ |
||
95 | 95 | } |
96 | 96 | |
97 | 97 | } else { |
98 | - // @todo eventually if a date range picker is needed, this can be extended |
|
98 | + // @todo eventually if a date range picker is needed, this can be extended |
|
99 | 99 | } |
100 | 100 | |
101 | 101 | ?> |
@@ -335,7 +335,7 @@ |
||
335 | 335 | */ |
336 | 336 | private function meridiem() { |
337 | 337 | |
338 | - ?> |
|
338 | + ?> |
|
339 | 339 | <div> |
340 | 340 | <label for="<?php echo $this->id; ?>-meridiem"> |
341 | 341 | <?php _e( 'Meridiem', 'google-calendar-events' ); ?> |
@@ -57,7 +57,7 @@ |
||
57 | 57 | value="<?php echo $this->value; ?>" |
58 | 58 | class="<?php echo $this->class; ?>"<?php |
59 | 59 | echo $this->style ? 'style="' . $this->style . '" ' : ' '; |
60 | - echo $this->placeholder ? 'placeholder="' . $this->placeholder . '"' : ' '; |
|
60 | + echo $this->placeholder ? 'placeholder="' . $this->placeholder . '"' : ' '; |
|
61 | 61 | echo $this->attributes; ?>/> |
62 | 62 | <?php |
63 | 63 |
@@ -146,11 +146,11 @@ |
||
146 | 146 | $links = array(); |
147 | 147 | $links['github'] = '<a href="' . simcal_get_url( 'github' ) . '" target="_blank" >GitHub</a>'; |
148 | 148 | $links['documentation'] = '<a href="' . simcal_ga_campaign_url( simcal_get_url( 'docs' ), 'core-plugin', 'plugin-listing' ) . '" target="_blank" >' . |
149 | - __( 'Documentation', 'google-calendar-events' ) . '</a>'; |
|
149 | + __( 'Documentation', 'google-calendar-events' ) . '</a>'; |
|
150 | 150 | $links['support'] = '<a href="' . simcal_get_url( 'support' ) . '" target="_blank" >' . |
151 | - __( 'Support', 'google-calendar-events' ) . '</a>'; |
|
151 | + __( 'Support', 'google-calendar-events' ) . '</a>'; |
|
152 | 152 | $links['add-ons'] = '<a href="' . simcal_ga_campaign_url( simcal_get_url( 'add-ons' ), 'core-plugin', 'plugin-listing' ) . '" target="_blank" >' . |
153 | - __( 'Add-ons', 'google-calendar-events' ) . '</a>'; |
|
153 | + __( 'Add-ons', 'google-calendar-events' ) . '</a>'; |
|
154 | 154 | |
155 | 155 | return apply_filters( 'simcal_plugin_action_links', array_merge( $meta_links, $links ) ); |
156 | 156 | } |
@@ -75,8 +75,8 @@ |
||
75 | 75 | 'keys' => array( |
76 | 76 | 'title' => __( 'Premium Add-on License Keys', 'google-calendar-events' ), |
77 | 77 | 'description' => __( 'Enter your add-on license keys below, making sure to activate each one to ensure they are valid.', 'google-calendar-events' ) . |
78 | - '<br/><br/>' . |
|
79 | - '<em>' . __( 'Your license keys are used for access to automatic upgrades and premium support.', 'google-calendar-events' ) . '</em>', |
|
78 | + '<br/><br/>' . |
|
79 | + '<em>' . __( 'Your license keys are used for access to automatic upgrades and premium support.', 'google-calendar-events' ) . '</em>', |
|
80 | 80 | ), |
81 | 81 | ); |
82 | 82 | return apply_filters( 'simcal_add_' . $this->option_group . '_' . $this->id .'_sections', $sections ); |
@@ -272,9 +272,9 @@ |
||
272 | 272 | |
273 | 273 | if ( $post_type == 'calendar' && isset( $post->ID ) ) { |
274 | 274 | echo '<a id="simcal-clear-cache" class="button" data-id="' . $post->ID . ' ">' . |
275 | - '<i class="simcal-icon-spinner simcal-icon-spin" style="display: none;"></i> ' . |
|
276 | - __( 'Clear cache', 'google-calendar-events' ) . |
|
277 | - '</a>'; |
|
275 | + '<i class="simcal-icon-spinner simcal-icon-spin" style="display: none;"></i> ' . |
|
276 | + __( 'Clear cache', 'google-calendar-events' ) . |
|
277 | + '</a>'; |
|
278 | 278 | } |
279 | 279 | } |
280 | 280 |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Admin functions |
|
4 | - * |
|
5 | - * Functions for the admin back end components only. |
|
6 | - * |
|
7 | - * @package SimpleCalendar/Admin/Functions |
|
8 | - */ |
|
3 | + * Admin functions |
|
4 | + * |
|
5 | + * Functions for the admin back end components only. |
|
6 | + * |
|
7 | + * @package SimpleCalendar/Admin/Functions |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | if ( ! defined( 'ABSPATH' ) ) { |
11 | 11 | exit; |
@@ -82,12 +82,12 @@ discard block |
||
82 | 82 | return array( |
83 | 83 | 'name' => $this->feed->name, |
84 | 84 | 'description' => __( "To read events from your public Google Calendars you'll need create a Google API key and save it here.", 'google-calendar-events' ) . |
85 | - '<br/><br/>' . |
|
86 | - '<em style="font-size: 14px;">' . |
|
87 | - sprintf( __( '<strong>Note:</strong> Calendars configured to use the <strong><a href="%s" target="_blank">Google Calendar Pro add-on</a></strong> use a different method of authorization.', 'google-calendar-events' ), |
|
88 | - simcal_ga_campaign_url( simcal_get_url( 'gcal-pro' ), 'core-plugin', 'settings-link' ) |
|
89 | - ) . |
|
90 | - '</em>', |
|
85 | + '<br/><br/>' . |
|
86 | + '<em style="font-size: 14px;">' . |
|
87 | + sprintf( __( '<strong>Note:</strong> Calendars configured to use the <strong><a href="%s" target="_blank">Google Calendar Pro add-on</a></strong> use a different method of authorization.', 'google-calendar-events' ), |
|
88 | + simcal_ga_campaign_url( simcal_get_url( 'gcal-pro' ), 'core-plugin', 'settings-link' ) |
|
89 | + ) . |
|
90 | + '</em>', |
|
91 | 91 | 'fields' => array( |
92 | 92 | 'api_key' => array( |
93 | 93 | 'type' => 'standard', |
@@ -273,12 +273,12 @@ discard block |
||
273 | 273 | 'post' => $post_id, |
274 | 274 | 'dismissable' => false, |
275 | 275 | 'content' => '<p>' . |
276 | - '<i class="simcal-icon-warning"></i> ' . |
|
277 | - sprintf( |
|
278 | - __( 'Your Google Calendar events will not show up until you <a href="%s">create and save a Google API key</a>.', 'google-calendar-events' ), |
|
279 | - admin_url( 'edit.php?post_type=calendar&page=simple-calendar_settings&tab=feeds' ) |
|
280 | - ) . |
|
281 | - '</p>', |
|
276 | + '<i class="simcal-icon-warning"></i> ' . |
|
277 | + sprintf( |
|
278 | + __( 'Your Google Calendar events will not show up until you <a href="%s">create and save a Google API key</a>.', 'google-calendar-events' ), |
|
279 | + admin_url( 'edit.php?post_type=calendar&page=simple-calendar_settings&tab=feeds' ) |
|
280 | + ) . |
|
281 | + '</p>', |
|
282 | 282 | ) |
283 | 283 | ); |
284 | 284 | |
@@ -305,11 +305,11 @@ discard block |
||
305 | 305 | 'post' => $post_id, |
306 | 306 | 'dismissable' => false, |
307 | 307 | 'content' => '<p>' . |
308 | - '<i class="simcal-icon-warning"></i> ' . |
|
309 | - __( 'While trying to retrieve events, Google returned an error:', 'google-calendar-events' ) . |
|
310 | - '<br>' . $message . '<br>' . |
|
311 | - __( 'Please ensure that both your Google Calendar ID and API Key are valid and that the Google Calendar you want to display is public.', 'google-calendar-events' ) . |
|
312 | - '</p>', |
|
308 | + '<i class="simcal-icon-warning"></i> ' . |
|
309 | + __( 'While trying to retrieve events, Google returned an error:', 'google-calendar-events' ) . |
|
310 | + '<br>' . $message . '<br>' . |
|
311 | + __( 'Please ensure that both your Google Calendar ID and API Key are valid and that the Google Calendar you want to display is public.', 'google-calendar-events' ) . |
|
312 | + '</p>', |
|
313 | 313 | ) |
314 | 314 | ); |
315 | 315 |
@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Widgets |
|
4 | - * |
|
5 | - * @package SimpleCalendar |
|
6 | - */ |
|
3 | + * Widgets |
|
4 | + * |
|
5 | + * @package SimpleCalendar |
|
6 | + */ |
|
7 | 7 | namespace SimpleCalendar; |
8 | 8 | |
9 | 9 | if ( ! defined( 'ABSPATH' ) ) { |