Calendar by WD – Responsive Event Calendar - Version 1.3.9

Version Description

Download this release

Release Info

Developer webdorado
Plugin Icon 128x128 Calendar by WD – Responsive Event Calendar
Version 1.3.9
Comparing to
See all releases

Code changes from version 1.3.8 to 1.3.9

calendar.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin Name: Spider Event Calendar
5
  Plugin URI: http://web-dorado.com/products/wordpress-calendar.html
6
  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.
7
- Version: 1.3.8
8
  Author: http://web-dorado.com/
9
  License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
10
  */
4
  Plugin Name: Spider Event Calendar
5
  Plugin URI: http://web-dorado.com/products/wordpress-calendar.html
6
  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.
7
+ Version: 1.3.9
8
  Author: http://web-dorado.com/
9
  License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
10
  */
front_end/bigcalendarmonth.php CHANGED
@@ -566,7 +566,7 @@ function big_calendar_month() {
566
  }
567
  else {
568
  echo ' <td class="calsun_days" style="padding:0; font-size:' . $sundays_font_size . 'px; margin:0;line-height:1.3;font-family:tahoma;padding-left: 5px; border: 1px solid ' . $border_day . '">
569
- <p>' . $i . '</p>
570
  </td>';
571
  }
572
  }
@@ -620,7 +620,7 @@ function big_calendar_month() {
620
  }
621
  else {
622
  echo ' <td class="calsun_days" style="padding:0; margin:0;line-height:1.3;font-family: tahoma;padding-left: 5px;font-size:' . $sundays_font_size . 'px">
623
- <p>' . $i . '</p>
624
  </td>';
625
  }
626
  }
566
  }
567
  else {
568
  echo ' <td class="calsun_days" style="padding:0; font-size:' . $sundays_font_size . 'px; margin:0;line-height:1.3;font-family:tahoma;padding-left: 5px; border: 1px solid ' . $border_day . '">
569
+ <b>' . $i . '</b>
570
  </td>';
571
  }
572
  }
620
  }
621
  else {
622
  echo ' <td class="calsun_days" style="padding:0; margin:0;line-height:1.3;font-family: tahoma;padding-left: 5px;font-size:' . $sundays_font_size . 'px">
623
+ <b>' . $i . '</b>
624
  </td>';
625
  }
626
  }
front_end/frontend_functions.php CHANGED
@@ -123,6 +123,8 @@ function php_getdays($show_numbers_for_events, $calendar, $date, $theme_id, $wid
123
  $start_date_array[] = $start_date;
124
  $next_date = php_GetNextDate($start_date, $repeat * 7);
125
  $next_date_array = explode('/', $next_date);
 
 
126
  if ((int)$month == $date_month && (int)substr($date_year_month, 0, 4) == (int)$year)
127
  $date_days[0] = $weekdays_start[$p];
128
  if ((int)$month == $next_date_array[0] && (int)$year == $next_date_array[2])
@@ -133,8 +135,8 @@ function php_getdays($show_numbers_for_events, $calendar, $date, $theme_id, $wid
133
  $weekdays[] = $next_date_array[1];
134
  }
135
  $start_date = date("Y-m-d", mktime(0, 0, 0, $next_date_array[0], $next_date_array[1], $next_date_array[2]));
136
- if ($next_date_array[2] > (int)substr($rows[$i - 1]->date_end, 0, 4))
137
- break;
138
  }
139
  $date_days = array_merge($weekdays, $date_days);
140
  }
123
  $start_date_array[] = $start_date;
124
  $next_date = php_GetNextDate($start_date, $repeat * 7);
125
  $next_date_array = explode('/', $next_date);
126
+ 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))
127
+ break;
128
  if ((int)$month == $date_month && (int)substr($date_year_month, 0, 4) == (int)$year)
129
  $date_days[0] = $weekdays_start[$p];
130
  if ((int)$month == $next_date_array[0] && (int)$year == $next_date_array[2])
135
  $weekdays[] = $next_date_array[1];
136
  }
137
  $start_date = date("Y-m-d", mktime(0, 0, 0, $next_date_array[0], $next_date_array[1], $next_date_array[2]));
138
+ // if ($next_date_array[2] > (int)substr($rows[$i - 1]->date_end, 0, 4))
139
+ // break;
140
  }
141
  $date_days = array_merge($weekdays, $date_days);
142
  }
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: webdorado
3
  Donate link: http://web-dorado.com/products/wordpress-calendar.html
4
  Tags: Calendar, event, event calendar, event manager, events calendar,
5
  Requires at least: 3.0
6
- Tested up to: 3.5
7
- Stable tag: 1.3.8
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
3
  Donate link: http://web-dorado.com/products/wordpress-calendar.html
4
  Tags: Calendar, event, event calendar, event manager, events calendar,
5
  Requires at least: 3.0
6
+ Tested up to: 3.7.1
7
+ Stable tag: 1.3.9
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10