Modern Events Calendar Lite - Version 3.2.2

Version Description

Download this release

Release Info

Developer webnus
Plugin Icon 128x128 Modern Events Calendar Lite
Version 3.2.2
Comparing to
See all releases

Code changes from version 3.2.1 to 3.2.2

app/libraries/factory.php CHANGED
@@ -333,7 +333,7 @@ class MEC_factory extends MEC_base
333
 
334
  // Import MEC Widget Class
335
  $this->import('app.widgets.MEC');
336
- $this->import('app.widgets.SINGLE');
337
 
338
  register_widget('MEC_MEC_widget');
339
  register_widget('MEC_single_widget');
333
 
334
  // Import MEC Widget Class
335
  $this->import('app.widgets.MEC');
336
+ $this->import('app.widgets.single');
337
 
338
  register_widget('MEC_MEC_widget');
339
  register_widget('MEC_single_widget');
app/widgets/{SINGLE.php → single.php} RENAMED
@@ -19,7 +19,7 @@ class MEC_single_widget extends WP_Widget
19
  */
20
  public function __construct()
21
  {
22
- parent::__construct($this->get_widget_slug(), __('MEC Single Sidebar Items', 'modern-events-calendar-lite'), array('classname' => $this->get_widget_slug().'-class', 'description' => __('To manage event details page elements.', 'modern-events-calendar-lite')));
23
 
24
  // Refreshing the widget's cached output with each new post
25
  add_action('save_post', array($this, 'flush_widget_cache'));
@@ -91,63 +91,63 @@ class MEC_single_widget extends WP_Widget
91
  <ul class="mec-sortable">
92
  <li>
93
  <input class="checkbox" type="checkbox" <?php checked($data_time, 'on'); ?> id="<?php echo $this->get_field_id('data_time'); ?>" name="<?php echo $this->get_field_name('data_time'); ?>" />
94
- <label for="<?php echo $this->get_field_id('data_time'); ?>"><?php _e('Date Time Module', 'modern-events-calendar-lite'); ?></label>
95
  </li>
96
  <li>
97
  <input class="checkbox" type="checkbox" <?php checked($local_time, 'on'); ?> id="<?php echo $this->get_field_id('local_time'); ?>" name="<?php echo $this->get_field_name('local_time'); ?>" />
98
- <label for="<?php echo $this->get_field_id('local_time'); ?>"><?php _e('Local Time', 'modern-events-calendar-lite'); ?></label>
99
  </li>
100
  <li>
101
  <input class="checkbox" type="checkbox" <?php checked($event_cost, 'on'); ?> id="<?php echo $this->get_field_id('event_cost'); ?>" name="<?php echo $this->get_field_name('event_cost'); ?>" />
102
- <label for="<?php echo $this->get_field_id('event_cost'); ?>"><?php _e('Event Cost', 'modern-events-calendar-lite'); ?></label>
103
  </li>
104
  <li>
105
  <input class="checkbox" type="checkbox" <?php checked($more_info, 'on'); ?> id="<?php echo $this->get_field_id('more_info'); ?>" name="<?php echo $this->get_field_name('more_info'); ?>" />
106
- <label for="<?php echo $this->get_field_id('more_info'); ?>"><?php _e('More Info', 'modern-events-calendar-lite'); ?></label>
107
  </li>
108
  <li>
109
  <input class="checkbox" type="checkbox" <?php checked($event_label, 'on'); ?> id="<?php echo $this->get_field_id('event_label'); ?>" name="<?php echo $this->get_field_name('event_label'); ?>" /
110
- <label for="<?php echo $this->get_field_id('event_label'); ?>"><?php _e('Event Label', 'modern-events-calendar-lite'); ?></label>
111
  </li>
112
  <li>
113
  <input class="checkbox" type="checkbox" <?php checked($event_location, 'on'); ?> id="<?php echo $this->get_field_id('event_location'); ?>" name="<?php echo $this->get_field_name('event_location'); ?>" />
114
- <label for="<?php echo $this->get_field_id('event_location'); ?>"><?php _e('Event Location', 'modern-events-calendar-lite'); ?></label>
115
  </li>
116
  <li>
117
  <input class="checkbox" type="checkbox" <?php checked($event_categories, 'on'); ?> id="<?php echo $this->get_field_id('event_categories'); ?>" name="<?php echo $this->get_field_name('event_categories'); ?>" />
118
- <label for="<?php echo $this->get_field_id('event_categories'); ?>"><?php _e('Event Categories', 'modern-events-calendar-lite'); ?></label>
119
  </li>
120
  <li>
121
  <input class="checkbox" type="checkbox" <?php checked($event_orgnizer, 'on'); ?> id="<?php echo $this->get_field_id('event_orgnizer'); ?>" name="<?php echo $this->get_field_name('event_orgnizer'); ?>" />
122
- <label for="<?php echo $this->get_field_id('event_orgnizer'); ?>"><?php _e('Event Organizer', 'modern-events-calendar-lite'); ?></label>
123
  </li>
124
  <li>
125
  <input class="checkbox" type="checkbox" <?php checked($register_btn, 'on'); ?> id="<?php echo $this->get_field_id('register_btn'); ?>" name="<?php echo $this->get_field_name('register_btn'); ?>" />
126
- <label for="<?php echo $this->get_field_id('register_btn'); ?>"><?php _e('Register Button', 'modern-events-calendar-lite'); ?></label>
127
  </li>
128
  <li>
129
  <input class="checkbox" type="checkbox" <?php checked($attende_module, 'on'); ?> id="<?php echo $this->get_field_id('attende_module'); ?>" name="<?php echo $this->get_field_name('attende_module'); ?>" />
130
- <label for="<?php echo $this->get_field_id('attende_module'); ?>"><?php _e('Attendees Module', 'modern-events-calendar-lite'); ?></label>
131
  </li>
132
  <li>
133
  <input class="checkbox" type="checkbox" <?php checked($next_module, 'on'); ?> id="<?php echo $this->get_field_id('next_module'); ?>" name="<?php echo $this->get_field_name('next_module'); ?>" />
134
- <label for="<?php echo $this->get_field_id('next_module'); ?>"><?php _e('Next Pervious Module', 'modern-events-calendar-lite'); ?></label>
135
  </li>
136
  <li>
137
  <input class="checkbox" type="checkbox" <?php checked($links_module, 'on'); ?> id="<?php echo $this->get_field_id('links_module'); ?>" name="<?php echo $this->get_field_name('links_module'); ?>" />
138
- <label for="<?php echo $this->get_field_id('links_module'); ?>"><?php _e('Social Module', 'modern-events-calendar-lite'); ?></label>
139
  </li>
140
  <li>
141
  <input class="checkbox" type="checkbox" <?php checked($weather, 'on'); ?> id="<?php echo $this->get_field_id('weather_module'); ?>" name="<?php echo $this->get_field_name('weather_module'); ?>" />
142
- <label for="<?php echo $this->get_field_id('weather_module'); ?>"><?php _e('Weather Module', 'modern-events-calendar-lite'); ?></label>
143
  </li>
144
  <li>
145
  <input class="checkbox" type="checkbox" <?php checked($google_map, 'on'); ?> id="<?php echo $this->get_field_id('google_map'); ?>" name="<?php echo $this->get_field_name('google_map'); ?>" />
146
- <label for="<?php echo $this->get_field_id('google_map'); ?>"><?php _e('Google Map', 'modern-events-calendar-lite'); ?></label>
147
  </li>
148
  <li>
149
  <input class="checkbox" type="checkbox" <?php checked($qrcode, 'on'); ?> id="<?php echo $this->get_field_id('qrcode_module'); ?>" name="<?php echo $this->get_field_name('qrcode_module'); ?>" />
150
- <label for="<?php echo $this->get_field_id('qrcode_module'); ?>"><?php _e('QR Code', 'modern-events-calendar-lite'); ?></label>
151
  </li>
152
  </ul>
153
  <?php
19
  */
20
  public function __construct()
21
  {
22
+ parent::__construct($this->get_widget_slug(), __('MEC Single Sidebar Items', 'mec'), array('classname' => $this->get_widget_slug().'-class', 'description' => __('To manage event details page elements.', 'mec')));
23
 
24
  // Refreshing the widget's cached output with each new post
25
  add_action('save_post', array($this, 'flush_widget_cache'));
91
  <ul class="mec-sortable">
92
  <li>
93
  <input class="checkbox" type="checkbox" <?php checked($data_time, 'on'); ?> id="<?php echo $this->get_field_id('data_time'); ?>" name="<?php echo $this->get_field_name('data_time'); ?>" />
94
+ <label for="<?php echo $this->get_field_id('data_time'); ?>"><?php _e('Date Time Module', 'mec'); ?></label>
95
  </li>
96
  <li>
97
  <input class="checkbox" type="checkbox" <?php checked($local_time, 'on'); ?> id="<?php echo $this->get_field_id('local_time'); ?>" name="<?php echo $this->get_field_name('local_time'); ?>" />
98
+ <label for="<?php echo $this->get_field_id('local_time'); ?>"><?php _e('Local Time', 'mec'); ?></label>
99
  </li>
100
  <li>
101
  <input class="checkbox" type="checkbox" <?php checked($event_cost, 'on'); ?> id="<?php echo $this->get_field_id('event_cost'); ?>" name="<?php echo $this->get_field_name('event_cost'); ?>" />
102
+ <label for="<?php echo $this->get_field_id('event_cost'); ?>"><?php _e('Event Cost', 'mec'); ?></label>
103
  </li>
104
  <li>
105
  <input class="checkbox" type="checkbox" <?php checked($more_info, 'on'); ?> id="<?php echo $this->get_field_id('more_info'); ?>" name="<?php echo $this->get_field_name('more_info'); ?>" />
106
+ <label for="<?php echo $this->get_field_id('more_info'); ?>"><?php _e('More Info', 'mec'); ?></label>
107
  </li>
108
  <li>
109
  <input class="checkbox" type="checkbox" <?php checked($event_label, 'on'); ?> id="<?php echo $this->get_field_id('event_label'); ?>" name="<?php echo $this->get_field_name('event_label'); ?>" /
110
+ <label for="<?php echo $this->get_field_id('event_label'); ?>"><?php _e('Event Label', 'mec'); ?></label>
111
  </li>
112
  <li>
113
  <input class="checkbox" type="checkbox" <?php checked($event_location, 'on'); ?> id="<?php echo $this->get_field_id('event_location'); ?>" name="<?php echo $this->get_field_name('event_location'); ?>" />
114
+ <label for="<?php echo $this->get_field_id('event_location'); ?>"><?php _e('Event Location', 'mec'); ?></label>
115
  </li>
116
  <li>
117
  <input class="checkbox" type="checkbox" <?php checked($event_categories, 'on'); ?> id="<?php echo $this->get_field_id('event_categories'); ?>" name="<?php echo $this->get_field_name('event_categories'); ?>" />
118
+ <label for="<?php echo $this->get_field_id('event_categories'); ?>"><?php _e('Event Categories', 'mec'); ?></label>
119
  </li>
120
  <li>
121
  <input class="checkbox" type="checkbox" <?php checked($event_orgnizer, 'on'); ?> id="<?php echo $this->get_field_id('event_orgnizer'); ?>" name="<?php echo $this->get_field_name('event_orgnizer'); ?>" />
122
+ <label for="<?php echo $this->get_field_id('event_orgnizer'); ?>"><?php _e('Event Organizer', 'mec'); ?></label>
123
  </li>
124
  <li>
125
  <input class="checkbox" type="checkbox" <?php checked($register_btn, 'on'); ?> id="<?php echo $this->get_field_id('register_btn'); ?>" name="<?php echo $this->get_field_name('register_btn'); ?>" />
126
+ <label for="<?php echo $this->get_field_id('register_btn'); ?>"><?php _e('Register Button', 'mec'); ?></label>
127
  </li>
128
  <li>
129
  <input class="checkbox" type="checkbox" <?php checked($attende_module, 'on'); ?> id="<?php echo $this->get_field_id('attende_module'); ?>" name="<?php echo $this->get_field_name('attende_module'); ?>" />
130
+ <label for="<?php echo $this->get_field_id('attende_module'); ?>"><?php _e('Attendees Module', 'mec'); ?></label>
131
  </li>
132
  <li>
133
  <input class="checkbox" type="checkbox" <?php checked($next_module, 'on'); ?> id="<?php echo $this->get_field_id('next_module'); ?>" name="<?php echo $this->get_field_name('next_module'); ?>" />
134
+ <label for="<?php echo $this->get_field_id('next_module'); ?>"><?php _e('Next Pervious Module', 'mec'); ?></label>
135
  </li>
136
  <li>
137
  <input class="checkbox" type="checkbox" <?php checked($links_module, 'on'); ?> id="<?php echo $this->get_field_id('links_module'); ?>" name="<?php echo $this->get_field_name('links_module'); ?>" />
138
+ <label for="<?php echo $this->get_field_id('links_module'); ?>"><?php _e('Social Module', 'mec'); ?></label>
139
  </li>
140
  <li>
141
  <input class="checkbox" type="checkbox" <?php checked($weather, 'on'); ?> id="<?php echo $this->get_field_id('weather_module'); ?>" name="<?php echo $this->get_field_name('weather_module'); ?>" />
142
+ <label for="<?php echo $this->get_field_id('weather_module'); ?>"><?php _e('Weather Module', 'mec'); ?></label>
143
  </li>
144
  <li>
145
  <input class="checkbox" type="checkbox" <?php checked($google_map, 'on'); ?> id="<?php echo $this->get_field_id('google_map'); ?>" name="<?php echo $this->get_field_name('google_map'); ?>" />
146
+ <label for="<?php echo $this->get_field_id('google_map'); ?>"><?php _e('Google Map', 'mec'); ?></label>
147
  </li>
148
  <li>
149
  <input class="checkbox" type="checkbox" <?php checked($qrcode, 'on'); ?> id="<?php echo $this->get_field_id('qrcode_module'); ?>" name="<?php echo $this->get_field_name('qrcode_module'); ?>" />
150
+ <label for="<?php echo $this->get_field_id('qrcode_module'); ?>"><?php _e('QR Code', 'mec'); ?></label>
151
  </li>
152
  </ul>
153
  <?php
changelog.txt CHANGED
@@ -1,4 +1,7 @@
1
- v 3.2.12 October 2018
 
 
 
2
  - Fixed: Single Widget error (Activation error)
3
 
4
  v 3.2.0 – 1 October 2018
1
+ v 3.2.23 October 2018
2
+ - Fixed: some minor issues.
3
+
4
+ v 3.2.1 – 2 October 2018
5
  - Fixed: Single Widget error (Activation error)
6
 
7
  v 3.2.0 – 1 October 2018
modern-events-calendar-lite.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin URI: http://webnus.net/plugins/modern-events-calendar/
5
  Description: An awesome plugin for events calendar
6
  Author: Webnus Team
7
- Version: 3.2.1
8
  Text Domain: modern-events-calendar-lite
9
  Domain Path: /languages
10
  Author URI: http://webnus.net
@@ -31,7 +31,7 @@ if(!defined('MECEXEC'))
31
  define('MEC_BASENAME', plugin_basename(__FILE__)); // modern-events-calendar-lite/modern-events-calendar-lite.php
32
 
33
  /** Plugin Version **/
34
- define('MEC_VERSION', '3.2.1');
35
 
36
  /** Include Webnus MEC class if not included before **/
37
  if(!class_exists('MEC')) require_once MEC_ABSPATH.'mec-init.php';
4
  Plugin URI: http://webnus.net/plugins/modern-events-calendar/
5
  Description: An awesome plugin for events calendar
6
  Author: Webnus Team
7
+ Version: 3.2.2
8
  Text Domain: modern-events-calendar-lite
9
  Domain Path: /languages
10
  Author URI: http://webnus.net
31
  define('MEC_BASENAME', plugin_basename(__FILE__)); // modern-events-calendar-lite/modern-events-calendar-lite.php
32
 
33
  /** Plugin Version **/
34
+ define('MEC_VERSION', '3.2.2');
35
 
36
  /** Include Webnus MEC class if not included before **/
37
  if(!class_exists('MEC')) require_once MEC_ABSPATH.'mec-init.php';
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://webnus.net
4
  Tags: Event, Events, Calendar, Booking, Schedule, Organizer, Venue
5
  Requires at least: 4.0.0
6
  Tested up to: 4.9.8
7
- Stable tag: 3.2.1
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
 
4
  Tags: Event, Events, Calendar, Booking, Schedule, Organizer, Venue
5
  Requires at least: 4.0.0
6
  Tested up to: 4.9.8
7
+ Stable tag: 3.2.2
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10