Version Description
Download this release
Release Info
Developer | 10web |
Plugin | Calendar by WD – Responsive Event Calendar |
Version | 1.5.65 |
Comparing to | |
See all releases |
Code changes from version 1.5.64 to 1.5.65
- calendar.php +5 -4
- calendar_functions.html.php +2 -3
- front_end/bigcalendarweek.php +1 -1
- front_end/frontend_functions.php +1 -1
- nav_function/nav_html_func.php +1 -1
- readme.txt +4 -10
- spidercalendar_upcoming_events_widget.php +2 -2
- style_for_cal/wd_bp_install.css +10 -0
calendar.php
CHANGED
@@ -1,14 +1,15 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
-
Plugin Name:
|
4 |
Plugin URI: https://10web.io/plugins/wordpress-spider-calendar
|
5 |
-
|
|
|
6 |
Author: 10Web
|
7 |
Author URI: https://10web.io
|
8 |
License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
*/
|
10 |
if( ! defined( 'SPCALENDAR_VERSION' ) ) {
|
11 |
-
define( 'SPCALENDAR_VERSION', "1.5.
|
12 |
}
|
13 |
|
14 |
define( 'SPC_PREFIX', 'SPC');
|
@@ -155,7 +156,7 @@ function spider_calendar_big_front_end ($id, $theme, $default, $select, $widget
|
|
155 |
if (tbHeight) {
|
156 |
if (tbHeight < (H - 90)) h = tbHeight; else h = H - 200;
|
157 |
} else h = H - 200;
|
158 |
-
if (tbWindow.
|
159 |
tbWindow.width(w).height(h);
|
160 |
jQuery('#TB_iframeContent').width(w).height(h - 27);
|
161 |
tbWindow.css({'margin-left': '-' + parseInt((w / 2), 10) + 'px'});
|
1 |
<?php
|
2 |
/*
|
3 |
+
Plugin Name: Spider Event Calendar
|
4 |
Plugin URI: https://10web.io/plugins/wordpress-spider-calendar
|
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.65
|
7 |
Author: 10Web
|
8 |
Author URI: https://10web.io
|
9 |
License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
*/
|
11 |
if( ! defined( 'SPCALENDAR_VERSION' ) ) {
|
12 |
+
define( 'SPCALENDAR_VERSION', "1.5.65");
|
13 |
}
|
14 |
|
15 |
define( 'SPC_PREFIX', 'SPC');
|
156 |
if (tbHeight) {
|
157 |
if (tbHeight < (H - 90)) h = tbHeight; else h = H - 200;
|
158 |
} else h = H - 200;
|
159 |
+
if (tbWindow.length) {
|
160 |
tbWindow.width(w).height(h);
|
161 |
jQuery('#TB_iframeContent').width(w).height(h - 27);
|
162 |
tbWindow.css({'margin-left': '-' + parseInt((w / 2), 10) + 'px'});
|
calendar_functions.html.php
CHANGED
@@ -131,7 +131,7 @@ function html_show_spider_calendar($rows, $pageNav, $sort) {
|
|
131 |
<?php upgrade_pro_sp(); ?>
|
132 |
<form method="post" onKeyPress="doNothing()" action="admin.php?page=SpiderCalendar" id="admin_form" name="admin_form">
|
133 |
<?php $sp_cal_nonce = wp_create_nonce('nonce_sp_cal'); ?>
|
134 |
-
<table cellspacing="10" width="100%" id="calendar_table">
|
135 |
<tr>
|
136 |
<td><h2>Calendar Manager</h2></td>
|
137 |
<td style="text-align: right;">
|
@@ -692,7 +692,7 @@ function show_event_category($rows, $pageNav, $sort){
|
|
692 |
<?php upgrade_pro_sp(); ?>
|
693 |
<form method="post" onKeyPress="doNothing()" action="admin.php?page=spider_calendar_event_category" id="admin_form" name="admin_form">
|
694 |
<?php $sp_cal_nonce = wp_create_nonce('nonce_sp_cal'); ?>
|
695 |
-
<table cellspacing="10" width="100%" id="category_table">
|
696 |
<tr>
|
697 |
<td><h2>Event Category</h2></td>
|
698 |
<td style="text-align:right;">
|
@@ -788,7 +788,6 @@ $row=$wpdb->get_row($wpdb->prepare ("SELECT * FROM " . $wpdb->prefix . "spiderca
|
|
788 |
?>
|
789 |
|
790 |
<script language="javascript" type="text/javascript">
|
791 |
-
<!--
|
792 |
function submitbutton(pressbutton) {
|
793 |
document.getElementById('adminForm').action = "admin.php?page=spider_calendar_event_category&task=" + pressbutton+"&id=<?php echo $id?>";
|
794 |
if (document.getElementById('cat_title').value == "") {
|
131 |
<?php upgrade_pro_sp(); ?>
|
132 |
<form method="post" onKeyPress="doNothing()" action="admin.php?page=SpiderCalendar" id="admin_form" name="admin_form">
|
133 |
<?php $sp_cal_nonce = wp_create_nonce('nonce_sp_cal'); ?>
|
134 |
+
<table cellspacing="10" width="100%" id="calendar_table" class="spidercalendar_header_tables">
|
135 |
<tr>
|
136 |
<td><h2>Calendar Manager</h2></td>
|
137 |
<td style="text-align: right;">
|
692 |
<?php upgrade_pro_sp(); ?>
|
693 |
<form method="post" onKeyPress="doNothing()" action="admin.php?page=spider_calendar_event_category" id="admin_form" name="admin_form">
|
694 |
<?php $sp_cal_nonce = wp_create_nonce('nonce_sp_cal'); ?>
|
695 |
+
<table cellspacing="10" width="100%" id="category_table" class="spidercalendar_header_tables">
|
696 |
<tr>
|
697 |
<td><h2>Event Category</h2></td>
|
698 |
<td style="text-align:right;">
|
788 |
?>
|
789 |
|
790 |
<script language="javascript" type="text/javascript">
|
|
|
791 |
function submitbutton(pressbutton) {
|
792 |
document.getElementById('adminForm').action = "admin.php?page=spider_calendar_event_category&task=" + pressbutton+"&id=<?php echo $id?>";
|
793 |
if (document.getElementById('cat_title').value == "") {
|
front_end/bigcalendarweek.php
CHANGED
@@ -722,7 +722,7 @@ position: relative;
|
|
722 |
</tr>
|
723 |
<tr>
|
724 |
<td>
|
725 |
-
<table cellpadding="0" cellspacing="0" class="general_table" style="border-spacing:0; width:100%;border:<?php echo $border_color; ?> solid <?php echo $border_width; ?>px; margin:0; padding:0;background-color:<?php echo $bg_bottom; ?> !important;">
|
726 |
<tr>
|
727 |
<td width="100%" style="padding:0; margin:0">
|
728 |
<table cellpadding="0" cellspacing="0" border="0" style="border-spacing:0; font-size:12px; margin:0; padding:0; width:100%;">
|
722 |
</tr>
|
723 |
<tr>
|
724 |
<td>
|
725 |
+
<table cellpadding="0" cellspacing="0" class="general_table week_view" style="border-spacing:0; width:100%;border:<?php echo $border_color; ?> solid <?php echo $border_width; ?>px; margin:0; padding:0;background-color:<?php echo $bg_bottom; ?> !important;">
|
726 |
<tr>
|
727 |
<td width="100%" style="padding:0; margin:0">
|
728 |
<table cellpadding="0" cellspacing="0" border="0" style="border-spacing:0; font-size:12px; margin:0; padding:0; width:100%;">
|
front_end/frontend_functions.php
CHANGED
@@ -596,7 +596,7 @@ if($cat_id!='')
|
|
596 |
$query = $wpdb->prepare ("SELECT " . $wpdb->prefix . "spidercalendar_event.*, " . $wpdb->prefix . "spidercalendar_event_category.color from " . $wpdb->prefix . "spidercalendar_event JOIN " . $wpdb->prefix . "spidercalendar_event_category ON " . $wpdb->prefix . "spidercalendar_event.category = " . $wpdb->prefix . "spidercalendar_event_category.id where " . $wpdb->prefix . "spidercalendar_event_category.published=1 and " . $wpdb->prefix . "spidercalendar_event.category IN (".$cat_ids.") and " . $wpdb->prefix . "spidercalendar_event.published=1 and ( ( (date<=%s or date like %s) and (date_end>=%s ) or date_end='0000-00-00' ) or ( date_end is Null and date like %s ) ) and calendar=%d ",substr( $date,0,7).'-01',substr( $date,0,7)."%", substr( $date,0,7).'-01',substr( $date,0,7)."%",$calendar);
|
597 |
}
|
598 |
else{
|
599 |
-
$query = $wpdb->prepare("SELECT * from " . $wpdb->prefix . "spidercalendar_event where published=1 and ((date_end
|
600 |
}
|
601 |
$rows = $wpdb->get_results($query." ".$order_by);
|
602 |
|
596 |
$query = $wpdb->prepare ("SELECT " . $wpdb->prefix . "spidercalendar_event.*, " . $wpdb->prefix . "spidercalendar_event_category.color from " . $wpdb->prefix . "spidercalendar_event JOIN " . $wpdb->prefix . "spidercalendar_event_category ON " . $wpdb->prefix . "spidercalendar_event.category = " . $wpdb->prefix . "spidercalendar_event_category.id where " . $wpdb->prefix . "spidercalendar_event_category.published=1 and " . $wpdb->prefix . "spidercalendar_event.category IN (".$cat_ids.") and " . $wpdb->prefix . "spidercalendar_event.published=1 and ( ( (date<=%s or date like %s) and (date_end>=%s ) or date_end='0000-00-00' ) or ( date_end is Null and date like %s ) ) and calendar=%d ",substr( $date,0,7).'-01',substr( $date,0,7)."%", substr( $date,0,7).'-01',substr( $date,0,7)."%",$calendar);
|
597 |
}
|
598 |
else{
|
599 |
+
$query = $wpdb->prepare("SELECT * from " . $wpdb->prefix . "spidercalendar_event where published = 1 and ( ( (date <= %s or date like %s) and date_end >= %s) or ( date_end is Null and date like %s ) ) and calendar = %d ", "" . substr($date, 0, 7) . "-01", "" . substr($date, 0, 7) . "%", "" . substr($date, 0, 7) . "-01", "" . substr($date, 0, 7) . "%", $calendar);
|
600 |
}
|
601 |
$rows = $wpdb->get_results($query." ".$order_by);
|
602 |
|
nav_function/nav_html_func.php
CHANGED
@@ -41,7 +41,7 @@ function print_html_nav($count_items,$page_number,$serch_fields=""){
|
|
41 |
}
|
42 |
|
43 |
</script>
|
44 |
-
<div class="tablenav top" style="width:
|
45 |
<?php if($serch_fields!="")
|
46 |
{
|
47 |
echo $serch_fields;
|
41 |
}
|
42 |
|
43 |
</script>
|
44 |
+
<div class="tablenav top" style="width:99%">
|
45 |
<?php if($serch_fields!="")
|
46 |
{
|
47 |
echo $serch_fields;
|
readme.txt
CHANGED
@@ -1,15 +1,9 @@
|
|
1 |
=== SpiderCalendar ===
|
2 |
-
Contributors: webdorado,10web
|
3 |
Requires at least: 3.9
|
4 |
-
Tested up to:
|
5 |
-
Stable tag: 1.5.
|
6 |
License: GPLv2 or later
|
7 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
8 |
|
9 |
-
|
10 |
-
|
11 |
-
== Description ==
|
12 |
-
|
13 |
-
[Special Offer for all Premium Plugins](https://10web.io/plugins)
|
14 |
-
[SpiderCalendar](https://10web.io/plugins/wordpress-spider-calendar)
|
15 |
-
[User Manual](https://help.10web.io/hc/en-us/sections/360002491871)
|
1 |
=== SpiderCalendar ===
|
2 |
+
Contributors: webdorado, wdsupport, 10web
|
3 |
Requires at least: 3.9
|
4 |
+
Tested up to: 4.9
|
5 |
+
Stable tag: 1.5.65
|
6 |
License: GPLv2 or later
|
7 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
8 |
|
9 |
+
Spider
|
|
|
|
|
|
|
|
|
|
|
|
spidercalendar_upcoming_events_widget.php
CHANGED
@@ -142,7 +142,7 @@ var thickDims, tbWidth, tbHeight;
|
|
142 |
if (tbHeight) {
|
143 |
if (tbHeight < (H - 90)) h = tbHeight; else h = H - 200;
|
144 |
} else h = H - 200;
|
145 |
-
if (tbWindow.
|
146 |
tbWindow.width(w).height(h);
|
147 |
|
148 |
$('#TB_iframeContent').width(w).height(h - 27);
|
@@ -2774,7 +2774,7 @@ jQuery(document).ready(function($) {
|
|
2774 |
var tbWindow = $('#TB_window'), H = $(window).height(), W = $(window).width(), w, h;
|
2775 |
w = (tbWidth && tbWidth < W - 90) ? tbWidth : W - 200;
|
2776 |
h = (tbHeight && tbHeight < H - 60) ? tbHeight : H - 200;
|
2777 |
-
if ( tbWindow.
|
2778 |
tbWindow.width(w).height(h);
|
2779 |
$('#TB_iframeContent').width(w).height(h - 27);
|
2780 |
tbWindow.css({'margin-left': '-' + parseInt((w / 2),10) + 'px'});
|
142 |
if (tbHeight) {
|
143 |
if (tbHeight < (H - 90)) h = tbHeight; else h = H - 200;
|
144 |
} else h = H - 200;
|
145 |
+
if (tbWindow.length) {
|
146 |
tbWindow.width(w).height(h);
|
147 |
|
148 |
$('#TB_iframeContent').width(w).height(h - 27);
|
2774 |
var tbWindow = $('#TB_window'), H = $(window).height(), W = $(window).width(), w, h;
|
2775 |
w = (tbWidth && tbWidth < W - 90) ? tbWidth : W - 200;
|
2776 |
h = (tbHeight && tbHeight < H - 60) ? tbHeight : H - 200;
|
2777 |
+
if ( tbWindow.length ) {
|
2778 |
tbWindow.width(w).height(h);
|
2779 |
$('#TB_iframeContent').width(w).height(h - 27);
|
2780 |
tbWindow.css({'margin-left': '-' + parseInt((w / 2),10) + 'px'});
|
style_for_cal/wd_bp_install.css
CHANGED
@@ -45,4 +45,14 @@
|
|
45 |
.wd_bp_notice_dissmiss {
|
46 |
margin-top: 5px;
|
47 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
|
45 |
.wd_bp_notice_dissmiss {
|
46 |
margin-top: 5px;
|
47 |
}
|
48 |
+
.spidercalendar_header_tables {
|
49 |
+
border-collapse: collapse;
|
50 |
+
display: flex;
|
51 |
+
}
|
52 |
+
.spidercalendar_header_tables p.submit {
|
53 |
+
margin: 0 20px;
|
54 |
+
}
|
55 |
+
.wp-picker-container .wp-color-result.button {
|
56 |
+
min-width: 103px;
|
57 |
+
}
|
58 |
|