Calendar by WD – Responsive Event Calendar - Version 1.4.6

Version Description

Download this release

Release Info

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

Code changes from version 1.4.5 to 1.4.6

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.4.5
8
  Author: http://web-dorado.com/
9
  License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
10
  */
@@ -304,6 +304,9 @@ if(jQuery(window).width() > 900 )
304
  #TB_iframeContent{
305
  height: 100% !important;
306
  }
 
 
 
307
  </style>
308
  <?php
309
  $many_sp_calendar++;
@@ -593,14 +596,7 @@ add_action('wp_ajax_nopriv_spiderseemore', 'seemore');
593
  add_action('wp_ajax_nopriv_window', 'php_window');
594
  // Add style head.
595
  function add_button_style_calendar() {
596
- echo '<style type="text/css">
597
- .wp_themeSkin span.mce_sp_calendar_mce {
598
- background:url(' . plugins_url('images/calendar.png', __FILE__) . ') no-repeat !important;
599
- }
600
- .wp_themeSkin .mceButtonEnabled:hover span.mce_sp_calendar_mce,.wp_themeSkin .mceButtonActive span.mce_sp_calendar_mce {
601
- background:url(' . plugins_url('images/calendar_hover.png', __FILE__) . ') no-repeat !important;
602
- }
603
- </style>';
604
  }
605
  add_action('admin_head', 'add_button_style_calendar');
606
 
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.4.6
8
  Author: http://web-dorado.com/
9
  License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
10
  */
304
  #TB_iframeContent{
305
  height: 100% !important;
306
  }
307
+ #TB_window{
308
+ z-index: 1000000;
309
+ }
310
  </style>
311
  <?php
312
  $many_sp_calendar++;
596
  add_action('wp_ajax_nopriv_window', 'php_window');
597
  // Add style head.
598
  function add_button_style_calendar() {
599
+ echo '<script>var wdplugin_url = "' . plugins_url('', __FILE__) . '";</script>';
 
 
 
 
 
 
 
600
  }
601
  add_action('admin_head', 'add_button_style_calendar');
602
 
featured_plugins.css CHANGED
@@ -54,7 +54,8 @@
54
  #main_featured_plugins_page #featured-plugins-list li.photo-gallery .product {background:url(images/photo-gallery.png) left center no-repeat #CACACA;
55
  border-top-left-radius: 5px;
56
  border-bottom-left-radius: 5px;
57
- background-position-x: 5px;
 
58
  }
59
  #main_featured_plugins_page #featured-plugins-list li.twitter-widget .product {background:url(images/twittertools.png) left center no-repeat #CACACA;
60
  background-size: 85px;
54
  #main_featured_plugins_page #featured-plugins-list li.photo-gallery .product {background:url(images/photo-gallery.png) left center no-repeat #CACACA;
55
  border-top-left-radius: 5px;
56
  border-bottom-left-radius: 5px;
57
+ background-position-x: 7px;
58
+ background-size: 95px;
59
  }
60
  #main_featured_plugins_page #featured-plugins-list li.twitter-widget .product {background:url(images/twittertools.png) left center no-repeat #CACACA;
61
  background-size: 85px;
front_end/bigcalendarweek.php CHANGED
@@ -703,10 +703,18 @@ position: relative;
703
  ), admin_url('admin-ajax.php'));?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')">&#9664;
704
  </a>
705
  </td>
 
 
 
 
 
 
 
 
706
  <td style="text-align:center; margin:0;" width="40%">
707
  <input type="hidden" name="month" readonly="" value="<?php echo $month; ?>"/>
708
- <span style="line-height: 30px;font-family:arial; color:<?php echo $text_color_month; ?>; font-size:<?php echo $month_font_size; ?>px;text-shadow: 1px 1px black;"><?php echo __('Week', 'sp_calendar'); ?> <?php echo date('W', mktime(0, 0, 0, month_num($month), $day, $year)) . ', ' . $year; ?></span>
709
- </td>
710
  <td style="margin:0; padding:0;text-align:left" width="15%" class="cala_arrow">
711
  <a style="text-shadow: 1px 1px 2px black;color:<?php echo $color_arrow_month; ?>" href="javascript:showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>','<?php
712
  echo add_query_arg(array(
703
  ), admin_url('admin-ajax.php'));?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')">&#9664;
704
  </a>
705
  </td>
706
+ <?php
707
+ $weekstartday = substr($week_days[0],8,2);
708
+ $weekendday = substr($week_days[6],8,2);
709
+ $startmonth = substr($week_days[0],5,2);
710
+ $endmonth = substr($week_days[6],5,2);
711
+
712
+ $startmonth_name = month_name($startmonth);
713
+ $endmonth_name = month_name($endmonth); ?>
714
  <td style="text-align:center; margin:0;" width="40%">
715
  <input type="hidden" name="month" readonly="" value="<?php echo $month; ?>"/>
716
+ <span style="line-height: 30px;font-family:arial; color:<?php echo $text_color_month; ?>; font-size:<?php echo $month_font_size; ?>px;text-shadow: 1px 1px black;"><?php echo __($startmonth_name,'sp_calendar').' '. $weekstartday . ' - ' . __($endmonth_name,'sp_calendar') .' '. $weekendday; ?></span>
717
+ </td>
718
  <td style="margin:0; padding:0;text-align:left" width="15%" class="cala_arrow">
719
  <a style="text-shadow: 1px 1px 2px black;color:<?php echo $color_arrow_month; ?>" href="javascript:showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>','<?php
720
  echo add_query_arg(array(
front_end/bigcalendarweek_widget.php CHANGED
@@ -436,10 +436,18 @@ position: relative;
436
  ?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')">&#9668;
437
  </a>
438
  </td>
439
- <td width="60%" style="text-align:center; margin:0; padding:0; font-family:<?php echo $font_month; ?>">
440
- <input type="hidden" name="month" readonly="" value="<?php echo $month; ?>"/>
441
- <span style="font-size:<?php echo $year_font_size; ?>px;?>; color:<?php echo $text_color_month; ?>;"><?php echo __('Week', 'sp_calendar'); ?> <?php echo date('W', mktime(0, 0, 0, month_num($month), $day, $year)) . ', ' . $year; ?></span>
442
- </td>
 
 
 
 
 
 
 
 
443
  <td style="text-align:right; margin:0; padding:0; line-height:16px" class="cala_arrow" width="20%">
444
  <a href="javascript:showbigcalendar('bigcalendar<?php echo $many_sp_calendar ?>','<?php
445
  if (Month_num($month) == 12) {
436
  ?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')">&#9668;
437
  </a>
438
  </td>
439
+ <?php
440
+ $weekstartday = substr($week_days[0],8,2);
441
+ $weekendday = substr($week_days[6],8,2);
442
+ $startmonth = substr($week_days[0],5,2);
443
+ $endmonth = substr($week_days[6],5,2);
444
+
445
+ $startmonth_name = month_name($startmonth);
446
+ $endmonth_name = month_name($endmonth); ?>
447
+ <td style="text-align:center; margin:0;" width="40%">
448
+ <input type="hidden" name="month" readonly="" value="<?php echo $month; ?>"/>
449
+ <span style="line-height: 30px;font-family:arial; color:<?php echo $text_color_month; ?>; font-size:<?php echo $year_font_size; ?>px;"><?php echo __($startmonth_name,'sp_calendar').' '. $weekstartday . ' - ' . __($endmonth_name,'sp_calendar') .' '. $weekendday; ?></span>
450
+ </td>
451
  <td style="text-align:right; margin:0; padding:0; line-height:16px" class="cala_arrow" width="20%">
452
  <a href="javascript:showbigcalendar('bigcalendar<?php echo $many_sp_calendar ?>','<?php
453
  if (Month_num($month) == 12) {
functions_for_xml_and_ajax.php CHANGED
@@ -12,8 +12,6 @@ function php_window() {
12
  src="<?php echo get_option("siteurl"); ?>/wp-includes/js/jquery/jquery.js"></script>
13
  <script language="javascript" type="text/javascript"
14
  src="<?php echo get_option("siteurl"); ?>/wp-includes/js/tinymce/tiny_mce_popup.js"></script>
15
- <link rel="stylesheet"
16
- href="<?php echo get_option("siteurl"); ?>/wp-includes/js/tinymce/themes/advanced/skins/wp_theme/dialog.css?ver=342-20110630100">
17
  <script language="javascript" type="text/javascript"
18
  src="<?php echo get_option("siteurl"); ?>/wp-includes/js/tinymce/utils/mctabs.js"></script>
19
  <script language="javascript" type="text/javascript"
@@ -156,8 +154,7 @@ function php_window() {
156
  if ((calendar_id != '- Select a Calendar -') && (theme_id != '- Select a Theme -')) {
157
  var tagtext;
158
  tagtext = '[Spider_Calendar id="' + calendar_id + '" theme="' + theme_id + '" default="' + default_view + '" select="' + select_view + '"]';
159
- window.tinyMCE.execInstanceCommand('content', 'mceInsertContent', false, tagtext);
160
- tinyMCEPopup.editor.execCommand('mceRepaint');
161
  tinyMCEPopup.close();
162
  }
163
  tinyMCEPopup.close();
12
  src="<?php echo get_option("siteurl"); ?>/wp-includes/js/jquery/jquery.js"></script>
13
  <script language="javascript" type="text/javascript"
14
  src="<?php echo get_option("siteurl"); ?>/wp-includes/js/tinymce/tiny_mce_popup.js"></script>
 
 
15
  <script language="javascript" type="text/javascript"
16
  src="<?php echo get_option("siteurl"); ?>/wp-includes/js/tinymce/utils/mctabs.js"></script>
17
  <script language="javascript" type="text/javascript"
154
  if ((calendar_id != '- Select a Calendar -') && (theme_id != '- Select a Theme -')) {
155
  var tagtext;
156
  tagtext = '[Spider_Calendar id="' + calendar_id + '" theme="' + theme_id + '" default="' + default_view + '" select="' + select_view + '"]';
157
+ window.tinyMCE.execCommand('mceInsertContent', false, tagtext);
 
158
  tinyMCEPopup.close();
159
  }
160
  tinyMCEPopup.close();
images/photo-gallery.png CHANGED
Binary file
js/editor_plugin.js CHANGED
@@ -13,7 +13,8 @@
13
  });
14
  ed.addButton('sp_calendar_mce', {
15
  title : 'Insert Spider Calendar',
16
- cmd : 'mcesp_calendar_mce'
 
17
  });
18
  }
19
  });
13
  });
14
  ed.addButton('sp_calendar_mce', {
15
  title : 'Insert Spider Calendar',
16
+ cmd : 'mcesp_calendar_mce',
17
+ image: wdplugin_url + '/images/calendar_menu.png'
18
  });
19
  }
20
  });
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === WordPress Event Calendar ===
2
  Contributors: webdorado
3
  Donate link: http://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, event page
5
  Requires at least: 3.0
6
- Tested up to: 3.8.2
7
- Stable tag: 1.4.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -28,24 +28,27 @@ Different categories created for the calendar will be displayed as a legend belo
28
  = Features of Spider Event Calendar: =
29
 
30
  * 100% responsive. Fully compatible with all mobile devices.
31
- * You can add unlimited number of calendars and unlimited number of events for each calendar.
32
  * [WordPress Calendar](http://web-dorado.com/products/wordpress-calendar.html) can be used as a plugin and as a widget as well.
33
  * Separate upcoming events widget to display upcoming events in a list. The widget features are customizable.
34
  * With a simple click on the date on the Calendar you will see the events and their descriptions recorded for that day.
35
  * Spider Event Calendar supports events that last more than one day.
36
  * Possibility to set the month and the year initially displayed on the calendar (option to display any particular month instead of the current month on the calendar).
37
- * Possibility to select calendar date style in the popup.
38
- * You can create events in a calendar which will not repeat (and use a single time).
39
- * Possibility to choose month display format in the Spider Event Calendar.
 
40
  * Possibility to choose between four view modes (Month, List, Week and Day).
41
  * An option to create categories.
42
  * Possibility to assign a category for each event, option of having different colors for each category.
43
  * Filtering possibility in the front end: when clicking upon the category it will display events of that category only.
44
-
 
 
45
 
46
  Upgrade to [WordPress Calendar Pro](http://web-dorado.com/products/wordpress-calendar.html) to add features:
47
 
48
- * Spider Event Calendar allows you to change the colors of the calendar and fit it to the colors of your website.
49
  * Spider Event Calendar has 17 standard themes included in extension package for the plugin and 6 themes for the widget.
50
  * You can set width of the Spider Event Calendar in the widget and in the [WordPress calendar plugin](http://web-dorado.com/products/wordpress-calendar.html) as well.
51
  * You can change calendar date color, font size and font family in the popup.
1
  === WordPress Event Calendar ===
2
  Contributors: webdorado
3
  Donate link: http://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, event page, upcoming events widget
5
  Requires at least: 3.0
6
+ Tested up to: 3.9
7
+ Stable tag: 1.4.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
28
  = Features of Spider Event Calendar: =
29
 
30
  * 100% responsive. Fully compatible with all mobile devices.
31
+ * You can add unlimited number of calendars, event categories and unlimited number of events for each calendar.
32
  * [WordPress Calendar](http://web-dorado.com/products/wordpress-calendar.html) can be used as a plugin and as a widget as well.
33
  * Separate upcoming events widget to display upcoming events in a list. The widget features are customizable.
34
  * With a simple click on the date on the Calendar you will see the events and their descriptions recorded for that day.
35
  * Spider Event Calendar supports events that last more than one day.
36
  * Possibility to set the month and the year initially displayed on the calendar (option to display any particular month instead of the current month on the calendar).
37
+ * Possibility to select calendar date style in the popup.
38
+ * Possibility of displaying events which will be repeated at the certain date of week for a specific period.
39
+ * Possibily of displaying single-day events.
40
+ * Possibility to choose month display format in the Spider Event Calendar.
41
  * Possibility to choose between four view modes (Month, List, Week and Day).
42
  * An option to create categories.
43
  * Possibility to assign a category for each event, option of having different colors for each category.
44
  * Filtering possibility in the front end: when clicking upon the category it will display events of that category only.
45
+ * Possibility to display multiple events for a single day.
46
+ * Possibility to include custom HTML, e.g. images in the event description.
47
+ * The events of the Upcoming events widget, as well as their sequence and number can be customized from widget area.
48
 
49
  Upgrade to [WordPress Calendar Pro](http://web-dorado.com/products/wordpress-calendar.html) to add features:
50
 
51
+ * Spider Event Calendar allows you to change the colors of the calendar and fit it to the colors of your website.
52
  * Spider Event Calendar has 17 standard themes included in extension package for the plugin and 6 themes for the widget.
53
  * You can set width of the Spider Event Calendar in the widget and in the [WordPress calendar plugin](http://web-dorado.com/products/wordpress-calendar.html) as well.
54
  * You can change calendar date color, font size and font family in the popup.