Version Description
Fixed: Minor bug
Download this release
Release Info
Developer | webdorado |
Plugin | Calendar by WD – Responsive Event Calendar |
Version | 1.5.42 |
Comparing to | |
See all releases |
Code changes from version 1.5.41 to 1.5.42
- calendar.php +2 -2
- front_end/frontend_functions.php +12 -10
- readme.txt +5 -2
- spider_calendar_admin_class.php +1 -1
calendar.php
CHANGED
@@ -3,11 +3,11 @@
|
|
3 |
Plugin Name: Spider Event Calendar
|
4 |
Plugin URI: https://web-dorado.com/products/wordpress-calendar.html
|
5 |
Description: Spider Event Calendar is a highly configurable product which allows you to have multiple organized events. Spider Event Calendar is an extraordinary user friendly extension.
|
6 |
-
Version: 1.5.
|
7 |
Author: https://web-dorado.com/
|
8 |
License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
*/
|
10 |
-
$wd_spider_calendar_version="1.5.
|
11 |
// LANGUAGE localization.
|
12 |
function sp_calendar_language_load() {
|
13 |
load_plugin_textdomain('sp_calendar', FALSE, basename(dirname(__FILE__)) . '/languages');
|
3 |
Plugin Name: Spider Event Calendar
|
4 |
Plugin URI: https://web-dorado.com/products/wordpress-calendar.html
|
5 |
Description: Spider Event Calendar is a highly configurable product which allows you to have multiple organized events. Spider Event Calendar is an extraordinary user friendly extension.
|
6 |
+
Version: 1.5.42
|
7 |
Author: https://web-dorado.com/
|
8 |
License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
*/
|
10 |
+
$wd_spider_calendar_version="1.5.42";
|
11 |
// LANGUAGE localization.
|
12 |
function sp_calendar_language_load() {
|
13 |
load_plugin_textdomain('sp_calendar', FALSE, basename(dirname(__FILE__)) . '/languages');
|
front_end/frontend_functions.php
CHANGED
@@ -52,10 +52,12 @@ function php_getdays($show_numbers_for_events, $calendar, $date, $theme_id, $wid
|
|
52 |
$month = substr($date, 5, 2);
|
53 |
if ($widget) {
|
54 |
$show_time = 0;
|
|
|
55 |
}
|
56 |
else {
|
57 |
$theme = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'spidercalendar_theme WHERE id=%d', $theme_id));
|
58 |
$show_time = $theme->show_time;
|
|
|
59 |
}
|
60 |
|
61 |
$cat_id = (isset($_GET['cat_id']) ? esc_html($_GET['cat_id']) : '');
|
@@ -306,7 +308,7 @@ $cat_ids = substr($cat_ids, 0,-1);
|
|
306 |
if ($rows[$i - 1]->text_for_date != "")
|
307 |
$array_days1[$key] = $date_day;
|
308 |
$c = $title_num[$date_day];
|
309 |
-
$list = '<p>' . (($show_numbers_for_events) ? '' . (($show_numbers_for_events) ? '<b>' . $c . '.</b> ' : '') : '');
|
310 |
|
311 |
|
312 |
if ($rows[$i - 1]->time and $show_time != 0) {
|
@@ -327,7 +329,7 @@ $cat_ids = substr($cat_ids, 0,-1);
|
|
327 |
$title_num[$date_day] = 1;
|
328 |
$c = 1;
|
329 |
|
330 |
-
$list = '<p>' . (($show_numbers_for_events) ? '<b>' . $c . '.</b> ' : '');
|
331 |
if ($rows[$i - 1]->time and $show_time != 0) {
|
332 |
$list .= ' ' . $rows[$i - 1]->title . '<br>(' . $rows[$i - 1]->time . ')</p>';
|
333 |
}
|
@@ -353,7 +355,7 @@ $cat_ids = substr($cat_ids, 0,-1);
|
|
353 |
$array_days1[$key] = $j;
|
354 |
}
|
355 |
$c = $title_num[$j];
|
356 |
-
$list = '<p>' . (($show_numbers_for_events) ? '<b>' . $c . '.</b> ' : '');
|
357 |
if ($rows[$i - 1]->time and $show_time != 0) {
|
358 |
$list .= ' ' . $rows[$i - 1]->title . '<br>(' . $rows[$i - 1]->time . ')</p>';
|
359 |
}
|
@@ -371,7 +373,7 @@ $cat_ids = substr($cat_ids, 0,-1);
|
|
371 |
}
|
372 |
$title_num[$j] = 1;
|
373 |
$c = 1;
|
374 |
-
$list = '<p>' . (($show_numbers_for_events) ? '<b>' . $c . '.</b> ' : '');
|
375 |
if ($rows[$i - 1]->time and $show_time != 0) {
|
376 |
$list .= ' ' . $rows[$i - 1]->title . '<br>(' . $rows[$i - 1]->time . ')</p>';
|
377 |
}
|
@@ -397,7 +399,7 @@ $cat_ids = substr($cat_ids, 0,-1);
|
|
397 |
$array_days1[$key] = $j;
|
398 |
}
|
399 |
$c = $title_num[$j];
|
400 |
-
$list = '<p>' . (($show_numbers_for_events) ? '<b>' . $c . '.</b> ' : '');
|
401 |
if ($rows[$i - 1]->time and $show_time != 0) {
|
402 |
$list .= ' ' . $rows[$i - 1]->title . '<br>(' . $rows[$i - 1]->time . ')</p>';
|
403 |
}
|
@@ -415,7 +417,7 @@ $cat_ids = substr($cat_ids, 0,-1);
|
|
415 |
}
|
416 |
$title_num[$j] = 1;
|
417 |
$c = 1;
|
418 |
-
$list = '<p>' . (($show_numbers_for_events) ? '<b>' . $c . '.</b> ' : '');
|
419 |
if ($rows[$i - 1]->time and $show_time != 0) {
|
420 |
$list .= ' ' . $rows[$i - 1]->title . '<br>(' . $rows[$i - 1]->time . ')</p>';
|
421 |
}
|
@@ -441,7 +443,7 @@ $cat_ids = substr($cat_ids, 0,-1);
|
|
441 |
$array_days1[$key] = $j;
|
442 |
}
|
443 |
$c = $title_num[$j];
|
444 |
-
$list = '<p>' . (($show_numbers_for_events) ? '<b>' . $c . '.</b> ' : '');
|
445 |
if ($rows[$i - 1]->time and $show_time != 0) {
|
446 |
$list .= ' ' . $rows[$i - 1]->title . '<br>(' . $rows[$i - 1]->time . ')</p>';
|
447 |
}
|
@@ -459,7 +461,7 @@ $cat_ids = substr($cat_ids, 0,-1);
|
|
459 |
}
|
460 |
$title_num[$j] = 1;
|
461 |
$c = 1;
|
462 |
-
$list = '<p>' . (($show_numbers_for_events) ? '<b>' . $c . '.</b> ' : '');
|
463 |
if ($rows[$i - 1]->time and $show_time != 0) {
|
464 |
$list .= ' ' . $rows[$i - 1]->title . '<br>(' . $rows[$i - 1]->time . ')</p>';
|
465 |
}
|
@@ -484,7 +486,7 @@ $cat_ids = substr($cat_ids, 0,-1);
|
|
484 |
if ($rows[$i - 1]->text_for_date != "")
|
485 |
$array_days1[$key] = $j;
|
486 |
$c = $title_num[$j];
|
487 |
-
$list = '<p>' . (($show_numbers_for_events) ? '<b>' . $c . '.</b> ' : '');
|
488 |
if ($rows[$i - 1]->time and $show_time != 0) {
|
489 |
$list .= ' ' . $rows[$i - 1]->title . '<br>(' . $rows[$i - 1]->time . ')</p>';
|
490 |
}
|
@@ -502,7 +504,7 @@ $cat_ids = substr($cat_ids, 0,-1);
|
|
502 |
}
|
503 |
$title_num[$j] = 1;
|
504 |
$c = 1;
|
505 |
-
$list = '<p>' . (($show_numbers_for_events) ? '<b>' . $c . '.</b> ' : '');
|
506 |
if ($rows[$i - 1]->time and $show_time != 0) {
|
507 |
$list .= ' ' . $rows[$i - 1]->title . '<br>(' . $rows[$i - 1]->time . ')</p>';
|
508 |
}
|
52 |
$month = substr($date, 5, 2);
|
53 |
if ($widget) {
|
54 |
$show_time = 0;
|
55 |
+
$day_start = 0;
|
56 |
}
|
57 |
else {
|
58 |
$theme = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'spidercalendar_theme WHERE id=%d', $theme_id));
|
59 |
$show_time = $theme->show_time;
|
60 |
+
$day_start = $theme->day_start;
|
61 |
}
|
62 |
|
63 |
$cat_id = (isset($_GET['cat_id']) ? esc_html($_GET['cat_id']) : '');
|
308 |
if ($rows[$i - 1]->text_for_date != "")
|
309 |
$array_days1[$key] = $date_day;
|
310 |
$c = $title_num[$date_day];
|
311 |
+
$list = '<p>' . (($show_numbers_for_events and $day_start) ? '' . (($show_numbers_for_events) ? '<b>' . $c . '.</b> ' : '') : '');
|
312 |
|
313 |
|
314 |
if ($rows[$i - 1]->time and $show_time != 0) {
|
329 |
$title_num[$date_day] = 1;
|
330 |
$c = 1;
|
331 |
|
332 |
+
$list = '<p>' . (($show_numbers_for_events and $day_start) ? '<b>' . $c . '.</b> ' : '');
|
333 |
if ($rows[$i - 1]->time and $show_time != 0) {
|
334 |
$list .= ' ' . $rows[$i - 1]->title . '<br>(' . $rows[$i - 1]->time . ')</p>';
|
335 |
}
|
355 |
$array_days1[$key] = $j;
|
356 |
}
|
357 |
$c = $title_num[$j];
|
358 |
+
$list = '<p>' . (($show_numbers_for_events and $day_start) ? '<b>' . $c . '.</b> ' : '');
|
359 |
if ($rows[$i - 1]->time and $show_time != 0) {
|
360 |
$list .= ' ' . $rows[$i - 1]->title . '<br>(' . $rows[$i - 1]->time . ')</p>';
|
361 |
}
|
373 |
}
|
374 |
$title_num[$j] = 1;
|
375 |
$c = 1;
|
376 |
+
$list = '<p>' . (($show_numbers_for_events and $day_start) ? '<b>' . $c . '.</b> ' : '');
|
377 |
if ($rows[$i - 1]->time and $show_time != 0) {
|
378 |
$list .= ' ' . $rows[$i - 1]->title . '<br>(' . $rows[$i - 1]->time . ')</p>';
|
379 |
}
|
399 |
$array_days1[$key] = $j;
|
400 |
}
|
401 |
$c = $title_num[$j];
|
402 |
+
$list = '<p>' . (($show_numbers_for_events and $day_start) ? '<b>' . $c . '.</b> ' : '');
|
403 |
if ($rows[$i - 1]->time and $show_time != 0) {
|
404 |
$list .= ' ' . $rows[$i - 1]->title . '<br>(' . $rows[$i - 1]->time . ')</p>';
|
405 |
}
|
417 |
}
|
418 |
$title_num[$j] = 1;
|
419 |
$c = 1;
|
420 |
+
$list = '<p>' . (($show_numbers_for_events and $day_start) ? '<b>' . $c . '.</b> ' : '');
|
421 |
if ($rows[$i - 1]->time and $show_time != 0) {
|
422 |
$list .= ' ' . $rows[$i - 1]->title . '<br>(' . $rows[$i - 1]->time . ')</p>';
|
423 |
}
|
443 |
$array_days1[$key] = $j;
|
444 |
}
|
445 |
$c = $title_num[$j];
|
446 |
+
$list = '<p>' . (($show_numbers_for_events and $day_start) ? '<b>' . $c . '.</b> ' : '');
|
447 |
if ($rows[$i - 1]->time and $show_time != 0) {
|
448 |
$list .= ' ' . $rows[$i - 1]->title . '<br>(' . $rows[$i - 1]->time . ')</p>';
|
449 |
}
|
461 |
}
|
462 |
$title_num[$j] = 1;
|
463 |
$c = 1;
|
464 |
+
$list = '<p>' . (($show_numbers_for_events and $day_start) ? '<b>' . $c . '.</b> ' : '');
|
465 |
if ($rows[$i - 1]->time and $show_time != 0) {
|
466 |
$list .= ' ' . $rows[$i - 1]->title . '<br>(' . $rows[$i - 1]->time . ')</p>';
|
467 |
}
|
486 |
if ($rows[$i - 1]->text_for_date != "")
|
487 |
$array_days1[$key] = $j;
|
488 |
$c = $title_num[$j];
|
489 |
+
$list = '<p>' . (($show_numbers_for_events and $day_start) ? '<b>' . $c . '.</b> ' : '');
|
490 |
if ($rows[$i - 1]->time and $show_time != 0) {
|
491 |
$list .= ' ' . $rows[$i - 1]->title . '<br>(' . $rows[$i - 1]->time . ')</p>';
|
492 |
}
|
504 |
}
|
505 |
$title_num[$j] = 1;
|
506 |
$c = 1;
|
507 |
+
$list = '<p>' . (($show_numbers_for_events and $day_start) ? '<b>' . $c . '.</b> ' : '');
|
508 |
if ($rows[$i - 1]->time and $show_time != 0) {
|
509 |
$list .= ' ' . $rows[$i - 1]->title . '<br>(' . $rows[$i - 1]->time . ')</p>';
|
510 |
}
|
readme.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
-
===
|
2 |
Contributors: webdorado
|
3 |
Donate link: https://web-dorado.com/products/wordpress-calendar.html
|
4 |
Tags: calendar, calendars, event, event calendar, event manager, events calendar,calendar widget, event registration, event management,events, Kalender, agenda, calendario, availability calendar,online calendar, holiday calendar, scheduling, free calendar, Calender, upcoming events, event widget , event list, calendar localization, Organizer, editorial calendar, Interactive Calendar, news calendar, meeting, appointment, event tracking, event organizer, upcoming events widget, event page, event bookings, recurring, recurring events, conference, date, dates, schedule, times, venue, AJAX, responsive, shortcode, seminar, summit, reservation, booking calendar
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 4.5
|
7 |
-
Stable tag: 1.5.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -142,6 +142,9 @@ Vietnamese (vi)
|
|
142 |
|
143 |
== Changelog ==
|
144 |
|
|
|
|
|
|
|
145 |
= 1.5.41 =
|
146 |
Fixed: Minor bug
|
147 |
|
1 |
+
=== Calendar Event ===
|
2 |
Contributors: webdorado
|
3 |
Donate link: https://web-dorado.com/products/wordpress-calendar.html
|
4 |
Tags: calendar, calendars, event, event calendar, event manager, events calendar,calendar widget, event registration, event management,events, Kalender, agenda, calendario, availability calendar,online calendar, holiday calendar, scheduling, free calendar, Calender, upcoming events, event widget , event list, calendar localization, Organizer, editorial calendar, Interactive Calendar, news calendar, meeting, appointment, event tracking, event organizer, upcoming events widget, event page, event bookings, recurring, recurring events, conference, date, dates, schedule, times, venue, AJAX, responsive, shortcode, seminar, summit, reservation, booking calendar
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 4.5
|
7 |
+
Stable tag: 1.5.42
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
142 |
|
143 |
== Changelog ==
|
144 |
|
145 |
+
= 1.5.42 =
|
146 |
+
Fixed: Minor bug
|
147 |
+
|
148 |
= 1.5.41 =
|
149 |
Fixed: Minor bug
|
150 |
|
spider_calendar_admin_class.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
class SC_Admin {
|
4 |
public static $instance = null;
|
5 |
-
protected $version = '1.5.
|
6 |
public $prefix = "sc_";
|
7 |
protected $notices = null;
|
8 |
public static function get_instance() {
|
2 |
|
3 |
class SC_Admin {
|
4 |
public static $instance = null;
|
5 |
+
protected $version = '1.5.42';
|
6 |
public $prefix = "sc_";
|
7 |
protected $notices = null;
|
8 |
public static function get_instance() {
|