Version Description
Changed: Category color picker
Download this release
Release Info
| Developer | webdorado |
| Plugin | |
| Version | 1.5.43 |
| Comparing to | |
| See all releases | |
Code changes from version 1.5.42 to 1.5.43
- calendar.php +2 -2
- calendar_functions.html.php +2 -2
- elements/calendar-jos.css +6 -0
- front_end/frontend_functions.php +20 -12
- 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.43
|
| 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.43";
|
| 11 |
// LANGUAGE localization.
|
| 12 |
function sp_calendar_language_load() {
|
| 13 |
load_plugin_textdomain('sp_calendar', FALSE, basename(dirname(__FILE__)) . '/languages');
|
calendar_functions.html.php
CHANGED
|
@@ -918,7 +918,7 @@ $row=$wpdb->get_row($wpdb->prepare ("SELECT * FROM " . $wpdb->prefix . "spiderca
|
|
| 918 |
|
| 919 |
|
| 920 |
<tr>
|
| 921 |
-
<td class="key" ><label for="message"><?php echo '
|
| 922 |
<td>
|
| 923 |
|
| 924 |
<input type="text" name="title" value="<?php if(isset($row->title)) echo htmlspecialchars($row->title);
|
|
@@ -927,7 +927,7 @@ $row=$wpdb->get_row($wpdb->prepare ("SELECT * FROM " . $wpdb->prefix . "spiderca
|
|
| 927 |
</tr>
|
| 928 |
|
| 929 |
<tr>
|
| 930 |
-
<td class="key" ><label for="message"><?php echo '
|
| 931 |
|
| 932 |
<td>
|
| 933 |
<div class="color_for_this" style="background-color: #<?php if(isset($row->color)) echo htmlspecialchars($row->color); ?>">
|
| 918 |
|
| 919 |
|
| 920 |
<tr>
|
| 921 |
+
<td class="key" ><label for="message"><?php echo 'Title'; ?>:</label> </td>
|
| 922 |
<td>
|
| 923 |
|
| 924 |
<input type="text" name="title" value="<?php if(isset($row->title)) echo htmlspecialchars($row->title);
|
| 927 |
</tr>
|
| 928 |
|
| 929 |
<tr>
|
| 930 |
+
<td class="key" ><label for="message"><?php echo 'Color'; ?>:</label> </td>
|
| 931 |
|
| 932 |
<td>
|
| 933 |
<div class="color_for_this" style="background-color: #<?php if(isset($row->color)) echo htmlspecialchars($row->color); ?>">
|
elements/calendar-jos.css
CHANGED
|
@@ -238,3 +238,9 @@ div.calendar {
|
|
| 238 |
font-weight: bold;
|
| 239 |
|
| 240 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 238 |
font-weight: bold;
|
| 239 |
|
| 240 |
}
|
| 241 |
+
|
| 242 |
+
.wp-picker-container input[type=text].color_input.wp-color-picker {
|
| 243 |
+
position: absolute;
|
| 244 |
+
left: 31px;
|
| 245 |
+
top: 0px;
|
| 246 |
+
}
|
front_end/frontend_functions.php
CHANGED
|
@@ -168,28 +168,33 @@ $cat_ids = substr($cat_ids, 0,-1);
|
|
| 168 |
$start_date = substr($rows[$i - 1]->date, 0, 8) . $weekdays_start[$p];
|
| 169 |
$t = php_daysDifference($rows[$i - 1]->date, $rows[$i - 1]->date_end);
|
| 170 |
$r = 0;
|
|
|
|
| 171 |
for ($k = 1; $k < $t / $repeat; $k++) {
|
| 172 |
$start_date_array[] = $start_date;
|
| 173 |
-
|
|
|
|
|
|
|
|
|
|
| 174 |
$next_date_array = explode('/', $next_date);
|
| 175 |
-
|
| 176 |
-
|
| 177 |
if ((int)$month == $date_month && (int)substr($date_year_month, 0, 4) == (int)$year)
|
| 178 |
$date_days[0] = $weekdays_start[$p];
|
|
|
|
|
|
|
| 179 |
if (($next_date_array[2] . '-' . add_0($next_date_array[0]) . '-' . add_0($next_date_array[1]) > $rows[$i - 1]->date_end) || ($next_date_array[0] > (int)$month && $next_date_array[2] == (int)$year) || ($next_date_array[2] > (int)$year))
|
| 180 |
break;
|
|
|
|
|
|
|
| 181 |
if ((int)$month == $date_month && (int)substr($date_year_month, 0, 4) == (int)$year)
|
| 182 |
$date_days[0] = $weekdays_start[$p];
|
| 183 |
if ((int)$month == $next_date_array[0] && (int)$year == $next_date_array[2])
|
| 184 |
-
|
| 185 |
-
$weekdays[] = $next_date_array[1];
|
| 186 |
-
}
|
| 187 |
-
else {
|
| 188 |
$weekdays[] = $next_date_array[1];
|
| 189 |
-
|
| 190 |
-
|
| 191 |
-
|
| 192 |
-
|
|
|
|
| 193 |
}
|
| 194 |
$date_days = array_merge($weekdays, $date_days);
|
| 195 |
}
|
|
@@ -675,7 +680,10 @@ $cat_ids = substr($cat_ids, 0,-1);
|
|
| 675 |
if (($t / ($repeat * 7) - 1) > 1) {
|
| 676 |
for ($k = 1; $k < $t / ($repeat * 7) - 1; $k++) {
|
| 677 |
$start_date_array[] = $start_date;
|
| 678 |
-
|
|
|
|
|
|
|
|
|
|
| 679 |
$next_date_array = explode('/', $next_date);
|
| 680 |
if ((int)$month == $date_month && (int)substr($date_year_month, 0, 4) == (int)$year)
|
| 681 |
$date_days[0] = $weekdays_start[$p];
|
| 168 |
$start_date = substr($rows[$i - 1]->date, 0, 8) . $weekdays_start[$p];
|
| 169 |
$t = php_daysDifference($rows[$i - 1]->date, $rows[$i - 1]->date_end);
|
| 170 |
$r = 0;
|
| 171 |
+
|
| 172 |
for ($k = 1; $k < $t / $repeat; $k++) {
|
| 173 |
$start_date_array[] = $start_date;
|
| 174 |
+
|
| 175 |
+
if($date_month == (int)$month) $next_date = date('n/j/Y', strtotime($start_date));
|
| 176 |
+
else $next_date = php_GetNextDate($start_date, $repeat * 7);
|
| 177 |
+
|
| 178 |
$next_date_array = explode('/', $next_date);
|
| 179 |
+
|
|
|
|
| 180 |
if ((int)$month == $date_month && (int)substr($date_year_month, 0, 4) == (int)$year)
|
| 181 |
$date_days[0] = $weekdays_start[$p];
|
| 182 |
+
|
| 183 |
+
|
| 184 |
if (($next_date_array[2] . '-' . add_0($next_date_array[0]) . '-' . add_0($next_date_array[1]) > $rows[$i - 1]->date_end) || ($next_date_array[0] > (int)$month && $next_date_array[2] == (int)$year) || ($next_date_array[2] > (int)$year))
|
| 185 |
break;
|
| 186 |
+
|
| 187 |
+
|
| 188 |
if ((int)$month == $date_month && (int)substr($date_year_month, 0, 4) == (int)$year)
|
| 189 |
$date_days[0] = $weekdays_start[$p];
|
| 190 |
if ((int)$month == $next_date_array[0] && (int)$year == $next_date_array[2])
|
| 191 |
+
|
|
|
|
|
|
|
|
|
|
| 192 |
$weekdays[] = $next_date_array[1];
|
| 193 |
+
|
| 194 |
+
|
| 195 |
+
$start_date = date("Y-m-d", mktime(0, 0, 0, $next_date_array[0], $next_date_array[1], $next_date_array[2]));
|
| 196 |
+
|
| 197 |
+
|
| 198 |
}
|
| 199 |
$date_days = array_merge($weekdays, $date_days);
|
| 200 |
}
|
| 680 |
if (($t / ($repeat * 7) - 1) > 1) {
|
| 681 |
for ($k = 1; $k < $t / ($repeat * 7) - 1; $k++) {
|
| 682 |
$start_date_array[] = $start_date;
|
| 683 |
+
|
| 684 |
+
if($date_month == (int)$month) $next_date = date('n/j/Y', strtotime($start_date));
|
| 685 |
+
else $next_date = php_GetNextDate($start_date, $repeat * 7);
|
| 686 |
+
|
| 687 |
$next_date_array = explode('/', $next_date);
|
| 688 |
if ((int)$month == $date_month && (int)substr($date_year_month, 0, 4) == (int)$year)
|
| 689 |
$date_days[0] = $weekdays_start[$p];
|
readme.txt
CHANGED
|
@@ -1,10 +1,10 @@
|
|
| 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,
|
| 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.42 =
|
| 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, scheduling, Calender, upcoming events, event widget , event list, Organizer, meeting, appointment, event tracking, event organizer, event page, 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.43
|
| 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.43 =
|
| 146 |
+
Changed: Category color picker
|
| 147 |
+
|
| 148 |
= 1.5.42 =
|
| 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.43';
|
| 6 |
public $prefix = "sc_";
|
| 7 |
protected $notices = null;
|
| 8 |
public static function get_instance() {
|
