Calendar by WD – Responsive Event Calendar - Version 1.4.7

Version Description

Download this release

Release Info

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

Code changes from version 1.4.6 to 1.4.7

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.6
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.4.7
8
  Author: http://web-dorado.com/
9
  License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
10
  */
calendar_functions.html.php CHANGED
@@ -257,6 +257,12 @@ function html_add_spider_calendar() {
257
  .calendar .button {
258
  display: table-cell !important;
259
  }
 
 
 
 
 
 
260
  </style>
261
  <table width="95%">
262
  <tr>
@@ -386,6 +392,12 @@ function html_edit_spider_calendar($row) {
386
  .calendar .button {
387
  display: table-cell !important;
388
  }
 
 
 
 
 
 
389
  </style>
390
  <table width="95%">
391
  <tr>
@@ -825,8 +837,12 @@ require_once("spidercalendar_upcoming_events_widget.php");
825
  display: table-cell !important;
826
  }
827
 
828
- .button{
 
 
829
  width: 30px;
 
 
830
  }
831
  input[type=checkbox]:checked:before,
832
  th.sorted.asc .sorting-indicator:before, th.desc:hover span.sorting-indicator:before,
@@ -994,9 +1010,9 @@ else
994
  </div>
995
  <div class="alignleft actions">
996
  From: <input class="inputbox" type="text" style="width: 90px;border: 1px solid #DCDCEC;" name="startdate" id="startdate" size="10" maxlength="10" value="' . $startdate . '" />
997
- <input type="reset" class="button" value="..." onclick="return showCalendar(\'startdate\',\'%Y-%m-%d\');">
998
  To: <input class="inputbox" type="text" style="width: 90px;border: 1px solid #DCDCEC;" name="enddate" id="enddate" size="10" maxlength="10" value="' . $enddate . '">
999
- <input type="reset" class="button" value="..." onclick="return showCalendar(\'enddate\',\'%Y-%m-%d\');">
1000
  </div>
1001
  <div class="alignleft actions">
1002
  <input type="button" style="border: 1px solid #DCDCEC;border-radius: 10px;" value="Search" onclick="document.getElementById(\'page_number\').value=\'1\';document.getElementById(\'serch_or_not\').value=\'search\'; document.getElementById(\'admin_form\').submit();" class="button-secondary action">
@@ -1005,14 +1021,20 @@ else
1005
  print_html_nav($pageNav['total'], $pageNav['limit'], $serch_fields);
1006
  ?>
1007
  <style>
1008
- .sorting-indicator {
1009
- width: 7px;
1010
- height: 4px;
1011
- margin-top: 8px;
1012
- margin-left: 7px;
1013
- background-image: url('images/sort.gif');
1014
- background-repeat: no-repeat;
1015
- }
 
 
 
 
 
 
1016
  </style>
1017
  <table class="wp-list-table widefat fixed pages" style="width:100%">
1018
  <thead>
@@ -1085,6 +1107,12 @@ function html_show_spider_event($rows, $pageNav, $sort, $calendar_id, $cal_name)
1085
  .calendar .button {
1086
  display: table-cell !important;
1087
  }
 
 
 
 
 
 
1088
  </style>
1089
  <script language="javascript">
1090
  function ordering(name, as_or_desc) {
@@ -1153,9 +1181,9 @@ function html_show_spider_event($rows, $pageNav, $sort, $calendar_id, $cal_name)
1153
  </div>
1154
  <div class="alignleft actions">
1155
  From: <input style="width: 90px;" class="inputbox" type="text" name="startdate" id="startdate" size="10" maxlength="10" value="' . $startdate . '" />
1156
- <input type="reset" class="button" value="..." onclick="return showCalendar(\'startdate\',\'%Y-%m-%d\');">
1157
  To: <input style="width: 90px;" class="inputbox" type="text" name="enddate" id="enddate" size="10" maxlength="10" value="' . $enddate . '">
1158
- <input type="reset" class="button" value="..." onclick="return showCalendar(\'enddate\',\'%Y-%m-%d\');">
1159
  </div>
1160
  <div class="alignleft actions">
1161
  <input type="button" value="Search" onclick="document.getElementById(\'page_number\').value=\'1\';document.getElementById(\'serch_or_not\').value=\'search\'; document.getElementById(\'admin_form\').submit();" class="button-secondary action">
@@ -1245,6 +1273,12 @@ function html_add_spider_event($calendar_id, $cal_name) {
1245
  .calendar .button {
1246
  display: table-cell !important;
1247
  }
 
 
 
 
 
 
1248
  </style>
1249
  <script language="javascript" type="text/javascript">
1250
  function submitbutton(pressbutton) {
@@ -1486,6 +1520,12 @@ function html_add_spider_event($calendar_id, $cal_name) {
1486
  border-radius: 8px;
1487
 
1488
  }
 
 
 
 
 
 
1489
  </style>
1490
  <table width="95%">
1491
  <tr>
@@ -1549,7 +1589,7 @@ ON " . $wpdb->prefix . "spidercalendar_event.category=" . $wpdb->prefix . "spide
1549
  <td class="key"><label for="date">Date: </label></td>
1550
  <td>
1551
  <input style="width:90px" class="inputbox" type="text" name="date" id="date" size="10" maxlength="10" value="" />
1552
- <input type="reset" class="button" value="..." onclick="return showCalendar('date','%Y-%m-%d');" style="width: 31px;" />
1553
  </td>
1554
  </tr>
1555
  <tr>
@@ -1697,7 +1737,7 @@ ON " . $wpdb->prefix . "spidercalendar_event.category=" . $wpdb->prefix . "spide
1697
  <td>Repeat until: </td>
1698
  <td>
1699
  <input style="width:90px" class="inputbox" type="text" name="date_end" id="date_end" size="10" maxlength="10" value=""/>
1700
- <input type="reset" class="button" value="..." onclick="return showCalendar('date_end','%Y-%m-%d');"/>
1701
  </td>
1702
  </tr>
1703
  </table>
@@ -1732,6 +1772,12 @@ function html_edit_spider_event($row, $calendar_id, $id, $cal_name) {
1732
  -moz-border-radius: 8px;
1733
  border-radius: 8px;
1734
  }
 
 
 
 
 
 
1735
  </style>
1736
  <script language="javascript" type="text/javascript">
1737
  function submitform(pressbutton) {
@@ -2009,7 +2055,7 @@ function html_edit_spider_event($row, $calendar_id, $id, $cal_name) {
2009
  $row->date_end = "";
2010
  }
2011
  ?>
2012
- <input type="reset" class="button" value="..." onclick="return showCalendar('date','%Y-%m-%d');"/>
2013
  </td>
2014
  </tr>
2015
  <tr>
@@ -2218,7 +2264,7 @@ function html_edit_spider_event($row, $calendar_id, $id, $cal_name) {
2218
  ?>
2219
  <td>
2220
  <input style="width:90px" class="inputbox" type="text" name="date_end" id="date_end" size="10" maxlength="10" value="<?php echo $row->date_end; ?>"/>
2221
- <input type="reset" class="button" value="..." onclick="return showCalendar('date_end','%Y-%m-%d');"/>
2222
  </td>
2223
  </tr>
2224
  </table>
257
  .calendar .button {
258
  display: table-cell !important;
259
  }
260
+ .wd_button{
261
+ border: 1px solid #D5D5D5 !important;
262
+ border-radius: 10px;
263
+ width: 30px;
264
+ height: 25px;
265
+ }
266
  </style>
267
  <table width="95%">
268
  <tr>
392
  .calendar .button {
393
  display: table-cell !important;
394
  }
395
+ .wd_button{
396
+ border: 1px solid #D5D5D5 !important;
397
+ border-radius: 10px;
398
+ width: 30px;
399
+ height: 25px;
400
+ }
401
  </style>
402
  <table width="95%">
403
  <tr>
837
  display: table-cell !important;
838
  }
839
 
840
+ .wd_button{
841
+ border: 1px solid #D5D5D5 !important;
842
+ border-radius: 10px;
843
  width: 30px;
844
+ height: 25px;
845
+ }
846
  }
847
  input[type=checkbox]:checked:before,
848
  th.sorted.asc .sorting-indicator:before, th.desc:hover span.sorting-indicator:before,
1010
  </div>
1011
  <div class="alignleft actions">
1012
  From: <input class="inputbox" type="text" style="width: 90px;border: 1px solid #DCDCEC;" name="startdate" id="startdate" size="10" maxlength="10" value="' . $startdate . '" />
1013
+ <input type="reset" class="wd_button" value="..." onclick="return showCalendar(\'startdate\',\'%Y-%m-%d\');">
1014
  To: <input class="inputbox" type="text" style="width: 90px;border: 1px solid #DCDCEC;" name="enddate" id="enddate" size="10" maxlength="10" value="' . $enddate . '">
1015
+ <input type="reset" class="wd_button" value="..." onclick="return showCalendar(\'enddate\',\'%Y-%m-%d\');">
1016
  </div>
1017
  <div class="alignleft actions">
1018
  <input type="button" style="border: 1px solid #DCDCEC;border-radius: 10px;" value="Search" onclick="document.getElementById(\'page_number\').value=\'1\';document.getElementById(\'serch_or_not\').value=\'search\'; document.getElementById(\'admin_form\').submit();" class="button-secondary action">
1021
  print_html_nav($pageNav['total'], $pageNav['limit'], $serch_fields);
1022
  ?>
1023
  <style>
1024
+ .sorting-indicator {
1025
+ width: 7px;
1026
+ height: 4px;
1027
+ margin-top: 8px;
1028
+ margin-left: 7px;
1029
+ background-image: url('images/sort.gif');
1030
+ background-repeat: no-repeat;
1031
+ }
1032
+ .wd_button{
1033
+ border: 1px solid #D5D5D5 !important;
1034
+ border-radius: 10px;
1035
+ width: 30px;
1036
+ height: 25px;
1037
+ }
1038
  </style>
1039
  <table class="wp-list-table widefat fixed pages" style="width:100%">
1040
  <thead>
1107
  .calendar .button {
1108
  display: table-cell !important;
1109
  }
1110
+ .wd_button{
1111
+ border: 1px solid #D5D5D5 !important;
1112
+ border-radius: 10px;
1113
+ width: 30px;
1114
+ height: 25px;
1115
+ }
1116
  </style>
1117
  <script language="javascript">
1118
  function ordering(name, as_or_desc) {
1181
  </div>
1182
  <div class="alignleft actions">
1183
  From: <input style="width: 90px;" class="inputbox" type="text" name="startdate" id="startdate" size="10" maxlength="10" value="' . $startdate . '" />
1184
+ <input type="reset" class="wd_button" value="..." onclick="return showCalendar(\'startdate\',\'%Y-%m-%d\');">
1185
  To: <input style="width: 90px;" class="inputbox" type="text" name="enddate" id="enddate" size="10" maxlength="10" value="' . $enddate . '">
1186
+ <input type="reset" class="wd_button" value="..." onclick="return showCalendar(\'enddate\',\'%Y-%m-%d\');">
1187
  </div>
1188
  <div class="alignleft actions">
1189
  <input type="button" value="Search" onclick="document.getElementById(\'page_number\').value=\'1\';document.getElementById(\'serch_or_not\').value=\'search\'; document.getElementById(\'admin_form\').submit();" class="button-secondary action">
1273
  .calendar .button {
1274
  display: table-cell !important;
1275
  }
1276
+ .wd_button{
1277
+ border: 1px solid #D5D5D5 !important;
1278
+ border-radius: 10px;
1279
+ width: 30px;
1280
+ height: 25px;
1281
+ }
1282
  </style>
1283
  <script language="javascript" type="text/javascript">
1284
  function submitbutton(pressbutton) {
1520
  border-radius: 8px;
1521
 
1522
  }
1523
+ .wd_button{
1524
+ border: 1px solid #D5D5D5 !important;
1525
+ border-radius: 10px;
1526
+ width: 30px;
1527
+ height: 25px;
1528
+ }
1529
  </style>
1530
  <table width="95%">
1531
  <tr>
1589
  <td class="key"><label for="date">Date: </label></td>
1590
  <td>
1591
  <input style="width:90px" class="inputbox" type="text" name="date" id="date" size="10" maxlength="10" value="" />
1592
+ <input type="reset" class="wd_button" value="..." onclick="return showCalendar('date','%Y-%m-%d');" style="width: 31px;" />
1593
  </td>
1594
  </tr>
1595
  <tr>
1737
  <td>Repeat until: </td>
1738
  <td>
1739
  <input style="width:90px" class="inputbox" type="text" name="date_end" id="date_end" size="10" maxlength="10" value=""/>
1740
+ <input type="reset" class="wd_button" value="..." onclick="return showCalendar('date_end','%Y-%m-%d');"/>
1741
  </td>
1742
  </tr>
1743
  </table>
1772
  -moz-border-radius: 8px;
1773
  border-radius: 8px;
1774
  }
1775
+ .wd_button{
1776
+ border: 1px solid #D5D5D5 !important;
1777
+ border-radius: 10px;
1778
+ width: 30px;
1779
+ height: 25px;
1780
+ }
1781
  </style>
1782
  <script language="javascript" type="text/javascript">
1783
  function submitform(pressbutton) {
2055
  $row->date_end = "";
2056
  }
2057
  ?>
2058
+ <input type="reset" class="wd_button" value="..." onclick="return showCalendar('date','%Y-%m-%d');"/>
2059
  </td>
2060
  </tr>
2061
  <tr>
2264
  ?>
2265
  <td>
2266
  <input style="width:90px" class="inputbox" type="text" name="date_end" id="date_end" size="10" maxlength="10" value="<?php echo $row->date_end; ?>"/>
2267
+ <input type="reset" class="wd_button" value="..." onclick="return showCalendar('date_end','%Y-%m-%d');"/>
2268
  </td>
2269
  </tr>
2270
  </table>
elements/calendar-jos.css CHANGED
@@ -25,7 +25,7 @@ div.calendar {
25
  height:inherit;
26
 
27
  }
28
- .button {
29
 
30
  -webkit-border-radius: 11px !important;;
31
  border-radius: 11px !important;;
@@ -35,6 +35,7 @@ div.calendar {
35
  border-left-width: 1px;
36
  border-right-width: 1px;
37
  border-top-width: 1px;
 
38
  }
39
 
40
  .calendar thead .title { /* This holds the current "month, year" */
25
  height:inherit;
26
 
27
  }
28
+ .calendar .button {
29
 
30
  -webkit-border-radius: 11px !important;;
31
  border-radius: 11px !important;;
35
  border-left-width: 1px;
36
  border-right-width: 1px;
37
  border-top-width: 1px;
38
+
39
  }
40
 
41
  .calendar thead .title { /* This holds the current "month, year" */
front_end/bigcalendarday.php CHANGED
@@ -327,12 +327,6 @@ $cat_ids = substr($cat_ids, 0,-1);
327
  z-index: 10000;
328
  }
329
 
330
-
331
-
332
-
333
-
334
-
335
-
336
  #bigcalendar<?php echo $many_sp_calendar; ?> td {
337
  vertical-align: middle !important;
338
  }
327
  z-index: 10000;
328
  }
329
 
 
 
 
 
 
 
330
  #bigcalendar<?php echo $many_sp_calendar; ?> td {
331
  vertical-align: middle !important;
332
  }
front_end/bigcalendarday_widget.php CHANGED
@@ -628,7 +628,7 @@ position: relative;
628
  </table>
629
  </div>
630
  <style>
631
- table{
632
  width: 100%;
633
  }
634
  .categories1 , .categories2
628
  </table>
629
  </div>
630
  <style>
631
+ #calendar_<?php echo $many_sp_calendar; ?> table{
632
  width: 100%;
633
  }
634
  .categories1 , .categories2
front_end/bigcalendarlist_widget.php CHANGED
@@ -586,7 +586,7 @@ position: relative;
586
  </table>
587
  </div>
588
  <style>
589
- table{
590
  width: 100%;
591
  }
592
  .categories1 , .categories2
586
  </table>
587
  </div>
588
  <style>
589
+ #calendar_<?php echo $many_sp_calendar; ?> table{
590
  width: 100%;
591
  }
592
  .categories1 , .categories2
front_end/bigcalendarmonth.php CHANGED
@@ -239,7 +239,7 @@ echo '<style>
239
  ?>
240
  <style type='text/css'>
241
 
242
- table{
243
  border-collapse: inherit !important;
244
  }
245
 
239
  ?>
240
  <style type='text/css'>
241
 
242
+ #bigcalendar<?php echo $many_sp_calendar; ?> table{
243
  border-collapse: inherit !important;
244
  }
245
 
front_end/bigcalendarmonth_widget.php CHANGED
@@ -906,7 +906,7 @@ if (in_array ($i,$array_days)) {
906
  </table>
907
  </div>
908
  <style>
909
- table{
910
  width: 100%;
911
  }
912
 
906
  </table>
907
  </div>
908
  <style>
909
+ #calendar_<?php echo $many_sp_calendar; ?> table{
910
  width: 100%;
911
  }
912
 
front_end/bigcalendarweek_widget.php CHANGED
@@ -663,7 +663,7 @@ position: relative;
663
  </table>
664
  </div>
665
  <style>
666
- table{
667
  width: 100%;
668
  }
669
  .categories1 , .categories2
663
  </table>
664
  </div>
665
  <style>
666
+ #calendar_<?php echo $many_sp_calendar; ?> table{
667
  width: 100%;
668
  }
669
  .categories1 , .categories2
functions_for_xml_and_ajax.php CHANGED
@@ -264,9 +264,18 @@ function seemore() {
264
  <?php
265
  if(!isset($date_font_style)) $date_font_style = "";
266
  echo '<div style="font-size:' . $date_size . 'px; font-family:' . $date_font . '; ' . $date_font_style . ';font-weight:bold;text-align:center;border-bottom:1px solid #F3F3F3;color:' . $date_color . ';">'.$activedatestr.'</div>';
267
-
268
- foreach ($rows as $row) {
269
-
 
 
 
 
 
 
 
 
 
270
  if($row->repeat=='1')
271
 
272
  $repeat='';
@@ -276,21 +285,16 @@ echo '<div style="font-size:' . $date_size . 'px; font-family:' . $date_font . '
276
  $repeat=$row->repeat;
277
 
278
  $weekdays=explode(',',$row->week);
279
-
280
- for ($i = 0; $i < count($ev_id); $i++) {
281
-
282
- $color = $wpdb->get_results("SELECT " . $wpdb->prefix . "spidercalendar_event.* , " . $wpdb->prefix . "spidercalendar_event_category.color
283
- FROM " . $wpdb->prefix . "spidercalendar_event
284
- JOIN " . $wpdb->prefix . "spidercalendar_event_category ON " . $wpdb->prefix . "spidercalendar_event.category = " . $wpdb->prefix . "spidercalendar_event_category.id
285
- WHERE " . $wpdb->prefix . "spidercalendar_event_category.published=1 AND " . $wpdb->prefix . "spidercalendar_event.id='".$row->id."'");
286
 
287
  if ($row->id == $ev_id[$i]) {
288
 
289
  if ($show_event || $widget==1) {
290
  echo '<div >';
291
  echo '<div style="display: table-cell;">';
292
- if(!isset($color[0]->color)) $color[0]->color = "";
293
- echo ' <div style="border-top: 1px solid #FFF;height: 76px;border-right: 2px solid #'.$color[0]->color.';display: table-cell;font-size: 25px;background-color: #E8E8E8;">'.($i + 1).'&nbsp;</div>';
294
  echo '<a style="display: table-cell;text-decoration: none;font-size: 20px;color:' . $title_color . '; line-height:30px"
295
  href="' . add_query_arg(array(
296
  'action' => 'spidercalendarbig',
@@ -314,7 +318,7 @@ WHERE " . $wpdb->prefix . "spidercalendar_event_category.published=1 AND " . $wp
314
  {
315
  echo '<div >';
316
  echo '<div style="display: table-cell;">';
317
- echo '<div style="border-top: 1px solid #FFF;height: 76px;border-right: 2px solid #'.$color[0]->color.';display: table-cell;font-size: 25px;background-color: #E8E8E8;">&nbsp; &nbsp;&nbsp;</div>';
318
  echo '<a style="display: table-cell;text-decoration: none;font-size: 20px;color:' . $title_color . '; line-height:30px"
319
  href="' . add_query_arg(array(
320
  'action' => 'spidercalendarbig',
@@ -352,19 +356,19 @@ WHERE " . $wpdb->prefix . "spidercalendar_event_category.published=1 AND " . $wp
352
 
353
  echo '<div style="margin-left: 25px;color:#6B696A;font-size:'.$date_size.'px; font-family:'.$date_font.';width: 97%;padding: 3px;background-color: #F8F8F8; margin-top: -45px; "><div style="display:table-cell"><img src="' . plugins_url( 'images/calendar1.png' , __FILE__ ) . '" /></div> <div style="width:100%; display:table-cell;vertical-align:middle;padding-left:5px">Date: '.$row->date.''.$date_end.' ('. __('Repeat Every', 'sp_calendar').' ' .$repeat.' '.__('Week(s) on', 'sp_calendar').' ';
354
 
355
- for ($i=0;$i<count($weekdays);$i++)
356
 
357
  {
358
 
359
- if($weekdays[$i]!=''){
360
 
361
- if($i!=count($weekdays)-2)
362
 
363
- echo week_convert($weekdays[$i]).',';
364
 
365
  else
366
 
367
- echo week_convert($weekdays[$i]);
368
 
369
 
370
 
@@ -410,7 +414,7 @@ WHERE " . $wpdb->prefix . "spidercalendar_event_category.published=1 AND " . $wp
410
 
411
  }
412
  }
413
- }
414
  ?>
415
  </div>
416
 
264
  <?php
265
  if(!isset($date_font_style)) $date_font_style = "";
266
  echo '<div style="font-size:' . $date_size . 'px; font-family:' . $date_font . '; ' . $date_font_style . ';font-weight:bold;text-align:center;border-bottom:1px solid #F3F3F3;color:' . $date_color . ';">'.$activedatestr.'</div>';
267
+
268
+
269
+
270
+ for ($i = 0; $i < count($ev_id); $i++) {
271
+
272
+
273
+ $row = $wpdb->get_row("SELECT " . $wpdb->prefix . "spidercalendar_event.* , " . $wpdb->prefix . "spidercalendar_event_category.color
274
+ FROM " . $wpdb->prefix . "spidercalendar_event
275
+ LEFT JOIN " . $wpdb->prefix . "spidercalendar_event_category ON " . $wpdb->prefix . "spidercalendar_event.category = " . $wpdb->prefix . "spidercalendar_event_category.id
276
+ WHERE " . $wpdb->prefix . "spidercalendar_event.published=1 AND " . $wpdb->prefix . "spidercalendar_event.id='".$ev_id[$i]."'");
277
+
278
+
279
  if($row->repeat=='1')
280
 
281
  $repeat='';
285
  $repeat=$row->repeat;
286
 
287
  $weekdays=explode(',',$row->week);
288
+
289
+
 
 
 
 
 
290
 
291
  if ($row->id == $ev_id[$i]) {
292
 
293
  if ($show_event || $widget==1) {
294
  echo '<div >';
295
  echo '<div style="display: table-cell;">';
296
+ if(!isset($row->color)) $row->color = "";
297
+ echo ' <div style="border-top: 1px solid #FFF;height: 76px;border-right: 2px solid #'.$row->color.';display: table-cell;font-size: 25px;background-color: #E8E8E8;">'.($i + 1).'&nbsp;</div>';
298
  echo '<a style="display: table-cell;text-decoration: none;font-size: 20px;color:' . $title_color . '; line-height:30px"
299
  href="' . add_query_arg(array(
300
  'action' => 'spidercalendarbig',
318
  {
319
  echo '<div >';
320
  echo '<div style="display: table-cell;">';
321
+ echo '<div style="border-top: 1px solid #FFF;height: 76px;border-right: 2px solid #'.$row->color.';display: table-cell;font-size: 25px;background-color: #E8E8E8;">&nbsp; &nbsp;&nbsp;</div>';
322
  echo '<a style="display: table-cell;text-decoration: none;font-size: 20px;color:' . $title_color . '; line-height:30px"
323
  href="' . add_query_arg(array(
324
  'action' => 'spidercalendarbig',
356
 
357
  echo '<div style="margin-left: 25px;color:#6B696A;font-size:'.$date_size.'px; font-family:'.$date_font.';width: 97%;padding: 3px;background-color: #F8F8F8; margin-top: -45px; "><div style="display:table-cell"><img src="' . plugins_url( 'images/calendar1.png' , __FILE__ ) . '" /></div> <div style="width:100%; display:table-cell;vertical-align:middle;padding-left:5px">Date: '.$row->date.''.$date_end.' ('. __('Repeat Every', 'sp_calendar').' ' .$repeat.' '.__('Week(s) on', 'sp_calendar').' ';
358
 
359
+ for ($j=0;$j<count($weekdays);$j++)
360
 
361
  {
362
 
363
+ if($weekdays[$j]!=''){
364
 
365
+ if($j!=count($weekdays)-2)
366
 
367
+ echo week_convert($weekdays[$j]).',';
368
 
369
  else
370
 
371
+ echo week_convert($weekdays[$j]);
372
 
373
 
374
 
414
 
415
  }
416
  }
417
+
418
  ?>
419
  </div>
420
 
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, 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
 
@@ -38,14 +38,18 @@ Different categories created for the calendar will be displayed as a legend belo
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.
1
+ === Calendar Event WordPress ===
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.7
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
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
+ * Option of displaying from one to four views (Month, List, Week and Day).
42
+ * Possibility of setting one of the view options as a default one.
43
+ * An option to create categories.
44
+ * Possibility to assign a category for each event.
45
+ * Option of having different colors for each category.
46
+ * Filtering possibility in the front end: when clicking upon the category legend it will display events of that category only.
47
  * Possibility to display multiple events for a single day.
48
  * Possibility to include custom HTML, e.g. images in the event description.
49
+ * The events of the Upcoming events widget, as well as their sequence and number can be customized from widget area.
50
+ * Possibility of displaying/hiding the category legend below the calendar.
51
+ * Possibility of selecting the start day of the week (Monday, Sunday).
52
+
53
  Upgrade to [WordPress Calendar Pro](http://web-dorado.com/products/wordpress-calendar.html) to add features:
54
 
55
  * Spider Event Calendar allows you to change the colors of the calendar and fit it to the colors of your website.
spidercalendar_upcoming_events_widget.php CHANGED
@@ -344,14 +344,6 @@ $id = $this->get_field_id('title');
344
  ?>
345
 
346
  <style type="text/css">
347
- .widget{
348
- padding:0px !important;
349
- }
350
-
351
- .site-footer .widget a{
352
- color:none;
353
- }
354
-
355
 
356
  #event_repeat<?php echo $id?>{
357
  color:#<?php echo $repeat_color ?>;
@@ -2005,11 +1997,11 @@ $ev++;
2005
 
2006
  </script>
2007
  <style>
2008
- .calendar .button{
2009
  display: table-cell !important;
2010
  }
2011
 
2012
- div.calendar{
2013
  margin-left: -101px;
2014
  }
2015
  </style>
@@ -2105,7 +2097,7 @@ $ev++;
2105
  <td>
2106
  <input style="width:85px" class="inputbox" type="text" name="<?php echo $this->get_field_name('start_date'); ?>'" id="<?php echo $this->get_field_id('start_date'); ?>" size="10" maxlength="10" value="<?php echo $instance['start_date']; ?>"/>
2107
 
2108
- <input type="reset" class="button" value="..." onclick="return showCalendar('<?php echo $this->get_field_id('start_date'); ?>','%Y-%m-%d');"/>
2109
  </td>
2110
  </tr>
2111
 
@@ -2424,8 +2416,8 @@ function addcal(x,y,z,f)
2424
  function jSelectEvents(input_id,tbody_id,w_id,evid,title) {
2425
  event_ids =document.getElementById(input_id).value;
2426
 
2427
- /* input = document.getElementById(<?php echo $this->get_field_id('event_select'); ?>);
2428
- input.setAttribute("value", "g"); */
2429
 
2430
  tbody = document.getElementById(tbody_id);
2431
  var str;
344
  ?>
345
 
346
  <style type="text/css">
 
 
 
 
 
 
 
 
347
 
348
  #event_repeat<?php echo $id?>{
349
  color:#<?php echo $repeat_color ?>;
1997
 
1998
  </script>
1999
  <style>
2000
+ #wd_admin_form .calendar .wd_button{
2001
  display: table-cell !important;
2002
  }
2003
 
2004
+ #wd_admin_form div.calendar{
2005
  margin-left: -101px;
2006
  }
2007
  </style>
2097
  <td>
2098
  <input style="width:85px" class="inputbox" type="text" name="<?php echo $this->get_field_name('start_date'); ?>'" id="<?php echo $this->get_field_id('start_date'); ?>" size="10" maxlength="10" value="<?php echo $instance['start_date']; ?>"/>
2099
 
2100
+ <input type="reset" class="wd_button" value="..." onclick="return showCalendar('<?php echo $this->get_field_id('start_date'); ?>','%Y-%m-%d');"/>
2101
  </td>
2102
  </tr>
2103
 
2416
  function jSelectEvents(input_id,tbody_id,w_id,evid,title) {
2417
  event_ids =document.getElementById(input_id).value;
2418
 
2419
+ input = document.getElementById(input_id);
2420
+ input.setAttribute("value", "g");
2421
 
2422
  tbody = document.getElementById(tbody_id);
2423
  var str;