@@ -6,7 +6,6 @@ |
||
6 | 6 | */ |
7 | 7 | namespace SimpleCalendar\Calendars; |
8 | 8 | |
9 | -use Carbon\Carbon; |
|
10 | 9 | use SimpleCalendar\Abstracts\Calendar; |
11 | 10 | use SimpleCalendar\Abstracts\Calendar_View; |
12 | 11 | use SimpleCalendar\Calendars\Admin\Default_Calendar_Admin; |
@@ -7,7 +7,6 @@ |
||
7 | 7 | namespace SimpleCalendar\Feeds; |
8 | 8 | |
9 | 9 | use Carbon\Carbon; |
10 | -use Carbon\CarbonInterval; |
|
11 | 10 | use SimpleCalendar\Abstracts\Calendar; |
12 | 11 | use SimpleCalendar\Abstracts\Feed; |
13 | 12 | use SimpleCalendar\Feeds\Admin\Google_Admin as Admin; |
@@ -6,8 +6,6 @@ |
||
6 | 6 | */ |
7 | 7 | namespace SimpleCalendar; |
8 | 8 | |
9 | -use SimpleCalendar\Admin\License_Manager; |
|
10 | - |
|
11 | 9 | if ( ! defined( 'ABSPATH' ) ) { |
12 | 10 | exit; |
13 | 11 | } |
@@ -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 |