Version Description
bug fixed in upcoming events widget
Download this release
Release Info
Developer | webdorado |
Plugin | Calendar by WD – Responsive Event Calendar |
Version | 1.4.14 |
Comparing to | |
See all releases |
Code changes from version 1.4.13 to 1.4.14
- calendar.php +27 -1
- calendar_functions.html.php +22 -10
- readme.txt +3 -1
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.
|
8 |
Author: http://web-dorado.com/
|
9 |
License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
*/
|
@@ -633,24 +633,31 @@ function Manage_Spider_Calendar() {
|
|
633 |
add_spider_calendar();
|
634 |
break;
|
635 |
case 'published';
|
|
|
|
|
|
|
636 |
spider_calendar_published($id);
|
637 |
show_spider_calendar();
|
638 |
break;
|
639 |
case 'Save':
|
640 |
if (!$id) {
|
|
|
641 |
apply_spider_calendar(-1);
|
642 |
}
|
643 |
else {
|
|
|
644 |
apply_spider_calendar($id);
|
645 |
}
|
646 |
show_spider_calendar();
|
647 |
break;
|
648 |
case 'Apply':
|
649 |
if (!$id) {
|
|
|
650 |
apply_spider_calendar(-1);
|
651 |
$id = $wpdb->get_var("SELECT MAX(id) FROM " . $wpdb->prefix . "spidercalendar_calendar");
|
652 |
}
|
653 |
else {
|
|
|
654 |
apply_spider_calendar($id);
|
655 |
}
|
656 |
edit_spider_calendar($id);
|
@@ -659,6 +666,7 @@ function Manage_Spider_Calendar() {
|
|
659 |
edit_spider_calendar($id);
|
660 |
break;
|
661 |
case 'remove_calendar':
|
|
|
662 |
remove_spider_calendar($id);
|
663 |
show_spider_calendar();
|
664 |
break;
|
@@ -671,18 +679,22 @@ function Manage_Spider_Calendar() {
|
|
671 |
break;
|
672 |
case 'save_event':
|
673 |
if ($id) {
|
|
|
674 |
apply_spider_event($calendar_id, $id);
|
675 |
}
|
676 |
else {
|
|
|
677 |
apply_spider_event($calendar_id, -1);
|
678 |
}
|
679 |
show_spider_event($calendar_id);
|
680 |
break;
|
681 |
case 'apply_event':
|
682 |
if ($id) {
|
|
|
683 |
apply_spider_event($calendar_id, $id);
|
684 |
}
|
685 |
else {
|
|
|
686 |
apply_spider_event($calendar_id, -1);
|
687 |
$id = $wpdb->get_var("SELECT MAX(id) FROM " . $wpdb->prefix . "spidercalendar_event");
|
688 |
}
|
@@ -692,10 +704,16 @@ function Manage_Spider_Calendar() {
|
|
692 |
edit_spider_event($calendar_id, $id);
|
693 |
break;
|
694 |
case 'remove_event':
|
|
|
|
|
|
|
695 |
remove_spider_event($calendar_id, $id);
|
696 |
show_spider_event($calendar_id);
|
697 |
break;
|
698 |
case 'published_event';
|
|
|
|
|
|
|
699 |
published_spider_event($calendar_id, $id);
|
700 |
show_spider_event($calendar_id);
|
701 |
break;
|
@@ -735,11 +753,13 @@ switch($task){
|
|
735 |
|
736 |
case 'save_category_event':
|
737 |
if(!$id){
|
|
|
738 |
save_spider_category_event();
|
739 |
$id = $wpdb->get_var("SELECT MAX(id) FROM " . $wpdb->prefix . "spidercalendar_event_category");
|
740 |
}
|
741 |
else
|
742 |
{
|
|
|
743 |
apply_spider_category_event($id);
|
744 |
}
|
745 |
show_event_cat();
|
@@ -747,10 +767,12 @@ switch($task){
|
|
747 |
|
748 |
case 'apply_event_category':
|
749 |
if (!$id) {
|
|
|
750 |
save_spider_category_event();
|
751 |
$id = $wpdb->get_var("SELECT MAX(id) FROM " . $wpdb->prefix . "spidercalendar_event_category");
|
752 |
}
|
753 |
else {
|
|
|
754 |
apply_spider_category_event($id);
|
755 |
}
|
756 |
edit_event_category($id);
|
@@ -762,10 +784,14 @@ switch($task){
|
|
762 |
break;
|
763 |
|
764 |
case 'remove_event_category':
|
|
|
765 |
remove_category_event($id);
|
766 |
show_event_cat();
|
767 |
break;
|
768 |
case 'published':
|
|
|
|
|
|
|
769 |
spider_category_published($id);
|
770 |
show_event_cat();
|
771 |
break;
|
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.14
|
8 |
Author: http://web-dorado.com/
|
9 |
License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
*/
|
633 |
add_spider_calendar();
|
634 |
break;
|
635 |
case 'published';
|
636 |
+
$nonce_sp_cal = $_REQUEST['_wpnonce'];
|
637 |
+
if (! wp_verify_nonce($nonce_sp_cal, 'nonce_sp_cal') )
|
638 |
+
die("Are you sure you want to do this?");
|
639 |
spider_calendar_published($id);
|
640 |
show_spider_calendar();
|
641 |
break;
|
642 |
case 'Save':
|
643 |
if (!$id) {
|
644 |
+
check_admin_referer('nonce_sp_cal', 'nonce_sp_cal');
|
645 |
apply_spider_calendar(-1);
|
646 |
}
|
647 |
else {
|
648 |
+
check_admin_referer('nonce_sp_cal', 'nonce_sp_cal');
|
649 |
apply_spider_calendar($id);
|
650 |
}
|
651 |
show_spider_calendar();
|
652 |
break;
|
653 |
case 'Apply':
|
654 |
if (!$id) {
|
655 |
+
check_admin_referer('nonce_sp_cal', 'nonce_sp_cal');
|
656 |
apply_spider_calendar(-1);
|
657 |
$id = $wpdb->get_var("SELECT MAX(id) FROM " . $wpdb->prefix . "spidercalendar_calendar");
|
658 |
}
|
659 |
else {
|
660 |
+
check_admin_referer('nonce_sp_cal', 'nonce_sp_cal');
|
661 |
apply_spider_calendar($id);
|
662 |
}
|
663 |
edit_spider_calendar($id);
|
666 |
edit_spider_calendar($id);
|
667 |
break;
|
668 |
case 'remove_calendar':
|
669 |
+
check_admin_referer('nonce_sp_cal', 'nonce_sp_cal');
|
670 |
remove_spider_calendar($id);
|
671 |
show_spider_calendar();
|
672 |
break;
|
679 |
break;
|
680 |
case 'save_event':
|
681 |
if ($id) {
|
682 |
+
check_admin_referer('nonce_sp_cal', 'nonce_sp_cal');
|
683 |
apply_spider_event($calendar_id, $id);
|
684 |
}
|
685 |
else {
|
686 |
+
check_admin_referer('nonce_sp_cal', 'nonce_sp_cal');
|
687 |
apply_spider_event($calendar_id, -1);
|
688 |
}
|
689 |
show_spider_event($calendar_id);
|
690 |
break;
|
691 |
case 'apply_event':
|
692 |
if ($id) {
|
693 |
+
check_admin_referer('nonce_sp_cal', 'nonce_sp_cal');
|
694 |
apply_spider_event($calendar_id, $id);
|
695 |
}
|
696 |
else {
|
697 |
+
check_admin_referer('nonce_sp_cal', 'nonce_sp_cal');
|
698 |
apply_spider_event($calendar_id, -1);
|
699 |
$id = $wpdb->get_var("SELECT MAX(id) FROM " . $wpdb->prefix . "spidercalendar_event");
|
700 |
}
|
704 |
edit_spider_event($calendar_id, $id);
|
705 |
break;
|
706 |
case 'remove_event':
|
707 |
+
$nonce_sp_cal = $_REQUEST['_wpnonce'];
|
708 |
+
if (! wp_verify_nonce($nonce_sp_cal, 'nonce_sp_cal') )
|
709 |
+
die("Are you sure you want to do this?");
|
710 |
remove_spider_event($calendar_id, $id);
|
711 |
show_spider_event($calendar_id);
|
712 |
break;
|
713 |
case 'published_event';
|
714 |
+
$nonce_sp_cal = $_REQUEST['_wpnonce'];
|
715 |
+
if (! wp_verify_nonce($nonce_sp_cal, 'nonce_sp_cal') )
|
716 |
+
die("Are you sure you want to do this?");
|
717 |
published_spider_event($calendar_id, $id);
|
718 |
show_spider_event($calendar_id);
|
719 |
break;
|
753 |
|
754 |
case 'save_category_event':
|
755 |
if(!$id){
|
756 |
+
check_admin_referer('nonce_sp_cal', 'nonce_sp_cal');
|
757 |
save_spider_category_event();
|
758 |
$id = $wpdb->get_var("SELECT MAX(id) FROM " . $wpdb->prefix . "spidercalendar_event_category");
|
759 |
}
|
760 |
else
|
761 |
{
|
762 |
+
check_admin_referer('nonce_sp_cal', 'nonce_sp_cal');
|
763 |
apply_spider_category_event($id);
|
764 |
}
|
765 |
show_event_cat();
|
767 |
|
768 |
case 'apply_event_category':
|
769 |
if (!$id) {
|
770 |
+
check_admin_referer('nonce_sp_cal', 'nonce_sp_cal');
|
771 |
save_spider_category_event();
|
772 |
$id = $wpdb->get_var("SELECT MAX(id) FROM " . $wpdb->prefix . "spidercalendar_event_category");
|
773 |
}
|
774 |
else {
|
775 |
+
check_admin_referer('nonce_sp_cal', 'nonce_sp_cal');
|
776 |
apply_spider_category_event($id);
|
777 |
}
|
778 |
edit_event_category($id);
|
784 |
break;
|
785 |
|
786 |
case 'remove_event_category':
|
787 |
+
check_admin_referer('nonce_sp_cal', 'nonce_sp_cal');
|
788 |
remove_category_event($id);
|
789 |
show_event_cat();
|
790 |
break;
|
791 |
case 'published':
|
792 |
+
$nonce_sp_cal = $_REQUEST['_wpnonce'];
|
793 |
+
if (! wp_verify_nonce($nonce_sp_cal, 'nonce_sp_cal') )
|
794 |
+
die("Are you sure you want to do this?");
|
795 |
spider_category_published($id);
|
796 |
show_event_cat();
|
797 |
break;
|
calendar_functions.html.php
CHANGED
@@ -117,7 +117,8 @@ function html_show_spider_calendar($rows, $pageNav, $sort) {
|
|
117 |
}
|
118 |
</script>
|
119 |
<form method="post" onKeyPress="doNothing()" action="admin.php?page=SpiderCalendar" id="admin_form" name="admin_form">
|
120 |
-
|
|
|
121 |
<tr>
|
122 |
<td width="100%" style="font-size:14px; font-weight:bold">
|
123 |
<a href="http://web-dorado.com/spider-calendar-wordpress-guide-step-2.html" target="_blank" style="color:blue; text-decoration:none;">User Manual</a>
|
@@ -203,12 +204,13 @@ function html_show_spider_calendar($rows, $pageNav, $sort) {
|
|
203 |
</td>
|
204 |
<td><a href="admin.php?page=SpiderCalendar&task=show_manage_event&calendar_id=<?php echo $rows[$i]->id; ?>">Manage events</a></td>
|
205 |
<td><a <?php if (!$rows[$i]->published) echo 'style="color:#C00"'; ?>
|
206 |
-
href="admin.php?page=SpiderCalendar&task=published&id=<?php echo $rows[$i]->id; ?>"><?php if ($rows[$i]->published) echo 'Yes'; else echo 'No'; ?></a>
|
207 |
</td>
|
208 |
</tr>
|
209 |
<?php } ?>
|
210 |
</tbody>
|
211 |
</table>
|
|
|
212 |
<input type="hidden" name="id_for_playlist" id="id_for_playlist" value="<?php if (isset($_POST['id_for_playlist'])) echo esc_js(esc_html(stripslashes($_POST['id_for_playlist'])));?>"/>
|
213 |
<input type="hidden" name="asc_or_desc" id="asc_or_desc" value="<?php if (isset($_POST['asc_or_desc'])) echo esc_js(esc_html(stripslashes($_POST['asc_or_desc'])));?>"/>
|
214 |
<input type="hidden" name="order_by" id="order_by" value="<?php if (isset($_POST['order_by'])) echo esc_js(esc_html(stripslashes($_POST['order_by'])));?>"/>
|
@@ -345,6 +347,7 @@ function html_add_spider_calendar() {
|
|
345 |
</td>
|
346 |
</tr>
|
347 |
</table>
|
|
|
348 |
<input type="hidden" name="option" value="com_spidercalendar"/>
|
349 |
<input type="hidden" name="id" value=""/>
|
350 |
<input type="hidden" name="cid[]" value=""/>
|
@@ -480,6 +483,7 @@ function html_edit_spider_calendar($row) {
|
|
480 |
</td>
|
481 |
</tr>
|
482 |
</table>
|
|
|
483 |
<input type="hidden" name="option" value="com_spidercalendar"/>
|
484 |
<input type="hidden" name="id" value="<?php echo $row->id; ?>"/>
|
485 |
<input type="hidden" name="cid[]" value="<?php echo $row->id; ?>"/>
|
@@ -614,7 +618,8 @@ function show_event_category($rows, $pageNav, $sort){
|
|
614 |
}
|
615 |
</script>
|
616 |
<form method="post" onKeyPress="doNothing()" action="admin.php?page=spider_calendar_event_category" id="admin_form" name="admin_form">
|
617 |
-
|
|
|
618 |
<tr>
|
619 |
<td width="100%" style="font-size:14px; font-weight:bold">
|
620 |
<a href="http://web-dorado.com/spider-calendar-wordpress-guide-step-2.html" target="_blank" style="color:blue; text-decoration:none;">User Manual</a>
|
@@ -704,12 +709,13 @@ function show_event_category($rows, $pageNav, $sort){
|
|
704 |
</div>
|
705 |
</td>
|
706 |
<td><?php echo $rows[$i]->description; ?></td>
|
707 |
-
<td><a <?php if (!$rows[$i]->published) echo 'style="color:#C00"'; ?> href="admin.php?page=spider_calendar_event_category&task=published&id=<?php echo $rows[$i]->id; ?>"><?php if ($rows[$i]->published) echo 'Yes'; else echo 'No'; ?></a>
|
708 |
</td>
|
709 |
</tr>
|
710 |
<?php } ?>
|
711 |
</tbody>
|
712 |
</table>
|
|
|
713 |
<input type="hidden" name="id_for_playlist" id="id_for_playlist" value="<?php if (isset($_POST['id_for_playlist'])) echo esc_js(esc_html(stripslashes($_POST['id_for_playlist'])));?>"/>
|
714 |
<input type="hidden" name="asc_or_desc" id="asc_or_desc" value="<?php if (isset($_POST['asc_or_desc'])) echo esc_js(esc_html(stripslashes($_POST['asc_or_desc'])));?>"/>
|
715 |
<input type="hidden" name="order_by" id="order_by" value="<?php if (isset($_POST['order_by'])) echo esc_js(esc_html(stripslashes($_POST['order_by'])));?>"/>
|
@@ -807,7 +813,8 @@ $row=$wpdb->get_row($wpdb->prepare ("SELECT * FROM " . $wpdb->prefix . "spiderca
|
|
807 |
</table>
|
808 |
|
809 |
</fieldset >
|
810 |
-
</div>
|
|
|
811 |
<input type="hidden" name="id" value="<?php echo $id ?>" />
|
812 |
</form>
|
813 |
<?php
|
@@ -1087,6 +1094,7 @@ else
|
|
1087 |
<?php } ?>
|
1088 |
</tbody>
|
1089 |
</table>
|
|
|
1090 |
<input type="hidden" name="boxchecked" value="0">
|
1091 |
<input type="hidden" name="asc_or_desc" id="asc_or_desc" value="<?php if (isset($_POST['asc_or_desc'])) echo esc_js(esc_html(stripslashes($_POST['asc_or_desc']))); ?>"/>
|
1092 |
<input type="hidden" name="order_by" id="order_by" value="<?php if (isset($_POST['order_by'])) echo esc_js(esc_html(stripslashes($_POST['order_by']))); ?>"/>
|
@@ -1136,7 +1144,8 @@ function html_show_spider_event($rows, $pageNav, $sort, $calendar_id, $cal_name)
|
|
1136 |
}
|
1137 |
</script>
|
1138 |
<form method="post" onKeyPress="doNothing()" action="admin.php?page=SpiderCalendar&task=show_manage_event&calendar_id=<?php echo $calendar_id; ?>" id="admin_form" name="admin_form">
|
1139 |
-
|
|
|
1140 |
<tr>
|
1141 |
<td width="100%" style="font-size:14px; font-weight:bold">
|
1142 |
<a href="http://web-dorado.com/spider-calendar-wordpress-guide-step-3.html" target="_blank" style="color:blue; text-decoration:none;">User Manual</a><br>
|
@@ -1243,15 +1252,16 @@ function html_show_spider_event($rows, $pageNav, $sort, $calendar_id, $cal_name)
|
|
1243 |
<td><?php if ($rows[$i]->date_end != '0000-00-00' && $rows[$i]->date_end != '2070-12-12') echo $rows[$i]->date . ' - ' . $rows[$i]->date_end; else echo $rows[$i]->date; ?></td>
|
1244 |
<td><?php echo $rows[$i]->time ?></td>
|
1245 |
<td><?php echo $rows[$i]->cattitle ?></td>
|
1246 |
-
<td
|
1247 |
-
|
1248 |
-
|
|
|
1249 |
</td>
|
1250 |
<td>
|
1251 |
<a href="admin.php?page=SpiderCalendar&calendar_id=<?php echo $calendar_id; ?>&task=edit_event&id=<?php echo $rows[$i]->id; ?>">Edit</a>
|
1252 |
</td>
|
1253 |
<td>
|
1254 |
-
<a href="admin.php?page=SpiderCalendar&calendar_id=<?php echo $calendar_id; ?>&task=remove_event&id=<?php echo $rows[$i]->id; ?>">Delete</a>
|
1255 |
</td>
|
1256 |
</tr>
|
1257 |
<?php } ?>
|
@@ -1746,6 +1756,7 @@ ON " . $wpdb->prefix . "spidercalendar_event.category=" . $wpdb->prefix . "spide
|
|
1746 |
</td>
|
1747 |
</tr>
|
1748 |
</table>
|
|
|
1749 |
<input type="hidden" name="option" value="com_spidercalendar"/>
|
1750 |
<input type="hidden" name="task" value=""/>
|
1751 |
<input type="hidden" name="calendar" value=""/>
|
@@ -2273,6 +2284,7 @@ function html_edit_spider_event($row, $calendar_id, $id, $cal_name) {
|
|
2273 |
</td>
|
2274 |
</tr>
|
2275 |
</table>
|
|
|
2276 |
<input type="hidden" name="option" value="com_spidercalendar"/>
|
2277 |
<input type="hidden" name="id" value="<?php echo $row->id; ?>"/>
|
2278 |
<input type="hidden" name="cid[]" value="<?php echo $row->id; ?>"/>
|
117 |
}
|
118 |
</script>
|
119 |
<form method="post" onKeyPress="doNothing()" action="admin.php?page=SpiderCalendar" id="admin_form" name="admin_form">
|
120 |
+
<?php $sp_cal_nonce = wp_create_nonce('nonce_sp_cal'); ?>
|
121 |
+
<table cellspacing="10" width="100%" id="calendar_table">
|
122 |
<tr>
|
123 |
<td width="100%" style="font-size:14px; font-weight:bold">
|
124 |
<a href="http://web-dorado.com/spider-calendar-wordpress-guide-step-2.html" target="_blank" style="color:blue; text-decoration:none;">User Manual</a>
|
204 |
</td>
|
205 |
<td><a href="admin.php?page=SpiderCalendar&task=show_manage_event&calendar_id=<?php echo $rows[$i]->id; ?>">Manage events</a></td>
|
206 |
<td><a <?php if (!$rows[$i]->published) echo 'style="color:#C00"'; ?>
|
207 |
+
href="admin.php?page=SpiderCalendar&task=published&id=<?php echo $rows[$i]->id; ?>&_wpnonce=<?php echo $sp_cal_nonce; ?>"><?php if ($rows[$i]->published) echo 'Yes'; else echo 'No'; ?></a>
|
208 |
</td>
|
209 |
</tr>
|
210 |
<?php } ?>
|
211 |
</tbody>
|
212 |
</table>
|
213 |
+
<?php wp_nonce_field('nonce_sp_cal', 'nonce_sp_cal'); ?>
|
214 |
<input type="hidden" name="id_for_playlist" id="id_for_playlist" value="<?php if (isset($_POST['id_for_playlist'])) echo esc_js(esc_html(stripslashes($_POST['id_for_playlist'])));?>"/>
|
215 |
<input type="hidden" name="asc_or_desc" id="asc_or_desc" value="<?php if (isset($_POST['asc_or_desc'])) echo esc_js(esc_html(stripslashes($_POST['asc_or_desc'])));?>"/>
|
216 |
<input type="hidden" name="order_by" id="order_by" value="<?php if (isset($_POST['order_by'])) echo esc_js(esc_html(stripslashes($_POST['order_by'])));?>"/>
|
347 |
</td>
|
348 |
</tr>
|
349 |
</table>
|
350 |
+
<?php wp_nonce_field('nonce_sp_cal', 'nonce_sp_cal'); ?>
|
351 |
<input type="hidden" name="option" value="com_spidercalendar"/>
|
352 |
<input type="hidden" name="id" value=""/>
|
353 |
<input type="hidden" name="cid[]" value=""/>
|
483 |
</td>
|
484 |
</tr>
|
485 |
</table>
|
486 |
+
<?php wp_nonce_field('nonce_sp_cal', 'nonce_sp_cal'); ?>
|
487 |
<input type="hidden" name="option" value="com_spidercalendar"/>
|
488 |
<input type="hidden" name="id" value="<?php echo $row->id; ?>"/>
|
489 |
<input type="hidden" name="cid[]" value="<?php echo $row->id; ?>"/>
|
618 |
}
|
619 |
</script>
|
620 |
<form method="post" onKeyPress="doNothing()" action="admin.php?page=spider_calendar_event_category" id="admin_form" name="admin_form">
|
621 |
+
<?php $sp_cal_nonce = wp_create_nonce('nonce_sp_cal'); ?>
|
622 |
+
<table cellspacing="10" width="100%" id="category_table">
|
623 |
<tr>
|
624 |
<td width="100%" style="font-size:14px; font-weight:bold">
|
625 |
<a href="http://web-dorado.com/spider-calendar-wordpress-guide-step-2.html" target="_blank" style="color:blue; text-decoration:none;">User Manual</a>
|
709 |
</div>
|
710 |
</td>
|
711 |
<td><?php echo $rows[$i]->description; ?></td>
|
712 |
+
<td><a <?php if (!$rows[$i]->published) echo 'style="color:#C00"'; ?> href="admin.php?page=spider_calendar_event_category&task=published&id=<?php echo $rows[$i]->id; ?>&_wpnonce=<?php echo $sp_cal_nonce; ?>"><?php if ($rows[$i]->published) echo 'Yes'; else echo 'No'; ?></a>
|
713 |
</td>
|
714 |
</tr>
|
715 |
<?php } ?>
|
716 |
</tbody>
|
717 |
</table>
|
718 |
+
<?php wp_nonce_field('nonce_sp_cal', 'nonce_sp_cal'); ?>
|
719 |
<input type="hidden" name="id_for_playlist" id="id_for_playlist" value="<?php if (isset($_POST['id_for_playlist'])) echo esc_js(esc_html(stripslashes($_POST['id_for_playlist'])));?>"/>
|
720 |
<input type="hidden" name="asc_or_desc" id="asc_or_desc" value="<?php if (isset($_POST['asc_or_desc'])) echo esc_js(esc_html(stripslashes($_POST['asc_or_desc'])));?>"/>
|
721 |
<input type="hidden" name="order_by" id="order_by" value="<?php if (isset($_POST['order_by'])) echo esc_js(esc_html(stripslashes($_POST['order_by'])));?>"/>
|
813 |
</table>
|
814 |
|
815 |
</fieldset >
|
816 |
+
</div>
|
817 |
+
<?php wp_nonce_field('nonce_sp_cal', 'nonce_sp_cal'); ?>
|
818 |
<input type="hidden" name="id" value="<?php echo $id ?>" />
|
819 |
</form>
|
820 |
<?php
|
1094 |
<?php } ?>
|
1095 |
</tbody>
|
1096 |
</table>
|
1097 |
+
<?php wp_nonce_field('nonce_sp_cal', 'nonce_sp_cal'); ?>
|
1098 |
<input type="hidden" name="boxchecked" value="0">
|
1099 |
<input type="hidden" name="asc_or_desc" id="asc_or_desc" value="<?php if (isset($_POST['asc_or_desc'])) echo esc_js(esc_html(stripslashes($_POST['asc_or_desc']))); ?>"/>
|
1100 |
<input type="hidden" name="order_by" id="order_by" value="<?php if (isset($_POST['order_by'])) echo esc_js(esc_html(stripslashes($_POST['order_by']))); ?>"/>
|
1144 |
}
|
1145 |
</script>
|
1146 |
<form method="post" onKeyPress="doNothing()" action="admin.php?page=SpiderCalendar&task=show_manage_event&calendar_id=<?php echo $calendar_id; ?>" id="admin_form" name="admin_form">
|
1147 |
+
<?php $sp_cal_nonce = wp_create_nonce('nonce_sp_cal'); ?>
|
1148 |
+
<table cellspacing="10" width="95%">
|
1149 |
<tr>
|
1150 |
<td width="100%" style="font-size:14px; font-weight:bold">
|
1151 |
<a href="http://web-dorado.com/spider-calendar-wordpress-guide-step-3.html" target="_blank" style="color:blue; text-decoration:none;">User Manual</a><br>
|
1252 |
<td><?php if ($rows[$i]->date_end != '0000-00-00' && $rows[$i]->date_end != '2070-12-12') echo $rows[$i]->date . ' - ' . $rows[$i]->date_end; else echo $rows[$i]->date; ?></td>
|
1253 |
<td><?php echo $rows[$i]->time ?></td>
|
1254 |
<td><?php echo $rows[$i]->cattitle ?></td>
|
1255 |
+
<td>
|
1256 |
+
<a <?php if (!$rows[$i]->published) echo 'style="color:#C00"'; ?> href="admin.php?page=SpiderCalendar&calendar_id=<?php echo $calendar_id; ?>&task=published_event&id=<?php echo $rows[$i]->id; ?>&_wpnonce=<?php echo $sp_cal_nonce; ?>"><?php if ($rows[$i]->published)
|
1257 |
+
echo 'Yes'; else echo 'No'; ?>
|
1258 |
+
</a>
|
1259 |
</td>
|
1260 |
<td>
|
1261 |
<a href="admin.php?page=SpiderCalendar&calendar_id=<?php echo $calendar_id; ?>&task=edit_event&id=<?php echo $rows[$i]->id; ?>">Edit</a>
|
1262 |
</td>
|
1263 |
<td>
|
1264 |
+
<a href="admin.php?page=SpiderCalendar&calendar_id=<?php echo $calendar_id; ?>&task=remove_event&id=<?php echo $rows[$i]->id; ?>&_wpnonce=<?php echo $sp_cal_nonce; ?>">Delete</a>
|
1265 |
</td>
|
1266 |
</tr>
|
1267 |
<?php } ?>
|
1756 |
</td>
|
1757 |
</tr>
|
1758 |
</table>
|
1759 |
+
<?php wp_nonce_field('nonce_sp_cal', 'nonce_sp_cal'); ?>
|
1760 |
<input type="hidden" name="option" value="com_spidercalendar"/>
|
1761 |
<input type="hidden" name="task" value=""/>
|
1762 |
<input type="hidden" name="calendar" value=""/>
|
2284 |
</td>
|
2285 |
</tr>
|
2286 |
</table>
|
2287 |
+
<?php wp_nonce_field('nonce_sp_cal', 'nonce_sp_cal'); ?>
|
2288 |
<input type="hidden" name="option" value="com_spidercalendar"/>
|
2289 |
<input type="hidden" name="id" value="<?php echo $row->id; ?>"/>
|
2290 |
<input type="hidden" name="cid[]" value="<?php echo $row->id; ?>"/>
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ 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, upcoming events widget, event page
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 4.1
|
7 |
-
Stable tag: 1.4.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -141,6 +141,8 @@ Vietnamese (vi)
|
|
141 |
|
142 |
|
143 |
== Changelog ==
|
|
|
|
|
144 |
|
145 |
= 1.4.11 =
|
146 |
Added "All Categories" button to all views
|
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, upcoming events widget, event page
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 4.1
|
7 |
+
Stable tag: 1.4.14
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
141 |
|
142 |
|
143 |
== Changelog ==
|
144 |
+
= 1.4.14 =
|
145 |
+
bug fixed in upcoming events widget
|
146 |
|
147 |
= 1.4.11 =
|
148 |
Added "All Categories" button to all views
|