Version Description
Download this release
Release Info
Developer | vtowel |
Plugin | All-in-One Event Calendar |
Version | 1.6.1 |
Comparing to | |
See all releases |
Code changes from version 1.6 to 1.6.1
- all-in-one-event-calendar.php +2 -2
- app/view/admin/agenda-widget-form.php +69 -0
- readme.txt +14 -7
- themes-ai1ec/vortex/month.php +1 -1
all-in-one-event-calendar.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Description: A calendar system with month, week, day, agenda views, upcoming events widget, color-coded categories, recurrence, and import/export of .ics feeds.
|
6 |
* Author: Then.ly
|
7 |
* Author URI: http://then.ly/
|
8 |
-
* Version: 1.6
|
9 |
*/
|
10 |
@set_time_limit( 0 );
|
11 |
@ini_set( 'memory_limit', '256M' );
|
@@ -24,7 +24,7 @@ define( 'AI1EC_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
|
|
24 |
// ==================
|
25 |
// = Plugin Version =
|
26 |
// ==================
|
27 |
-
define( 'AI1EC_VERSION', '1.6' );
|
28 |
|
29 |
// ====================
|
30 |
// = Database Version =
|
5 |
* Description: A calendar system with month, week, day, agenda views, upcoming events widget, color-coded categories, recurrence, and import/export of .ics feeds.
|
6 |
* Author: Then.ly
|
7 |
* Author URI: http://then.ly/
|
8 |
+
* Version: 1.6.1
|
9 |
*/
|
10 |
@set_time_limit( 0 );
|
11 |
@ini_set( 'memory_limit', '256M' );
|
24 |
// ==================
|
25 |
// = Plugin Version =
|
26 |
// ==================
|
27 |
+
define( 'AI1EC_VERSION', '1.6.1' );
|
28 |
|
29 |
// ====================
|
30 |
// = Database Version =
|
app/view/admin/agenda-widget-form.php
ADDED
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<p>
|
2 |
+
<label for="<?php echo $title['id'] ?>"><?php _e( 'Title:', AI1EC_PLUGIN_NAME ) ?></label>
|
3 |
+
<input class="widefat" id="<?php echo $title['id'] ?>" name="<?php echo $title['name'] ?>" type="text" value="<?php echo $title['value'] ?>" />
|
4 |
+
</p>
|
5 |
+
<p>
|
6 |
+
<label for="<?php echo $events_per_page['id'] ?>"><?php _e( 'Number of events to show:', AI1EC_PLUGIN_NAME ) ?></label>
|
7 |
+
<input id="<?php echo $events_per_page['id'] ?>" name="<?php echo $events_per_page['name'] ?>" type="text" size="3" value="<?php echo $events_per_page['value'] ?>" />
|
8 |
+
</p>
|
9 |
+
<p class="ai1ec-limit-by-container">
|
10 |
+
Limit to:
|
11 |
+
<br />
|
12 |
+
<!-- Limit by Category -->
|
13 |
+
<input id="<?php echo $limit_by_cat['id'] ?>" class="ai1ec-limit-by-cat" name="<?php echo $limit_by_cat['name'] ?>" type="checkbox" value="1" <?php if( $limit_by_cat['value'] ) echo 'checked="checked"' ?> />
|
14 |
+
<label for="<?php echo $limit_by_cat['id'] ?>"><?php _e( 'Events with these <strong>Categories</strong>', AI1EC_PLUGIN_NAME ) ?></label>
|
15 |
+
</p>
|
16 |
+
<div class="ai1ec-limit-by-options-container" <?php if( ! $limit_by_cat['value'] ) { ?> style="display: none;" <?php } ?>>
|
17 |
+
<!-- Limit by Category Select box -->
|
18 |
+
<select id="<?php echo $event_cat_ids['id'] ?>" class="ai1ec-widget-cat-ids" name="<?php echo $event_cat_ids['name'] ?>[]" size="5" multiple="multiple">
|
19 |
+
<?php foreach( $event_cat_ids['options'] as $event_cat ): ?>
|
20 |
+
<option value="<?php echo $event_cat->term_id; ?>"<?php if( in_array( $event_cat->term_id, $event_cat_ids['value'] ) ) { ?> selected="selected"<?php } ?>><?php echo $event_cat->name; ?></option>
|
21 |
+
<?php endforeach ?>
|
22 |
+
<?php if( count( $event_cat_ids['options'] ) == 0 ) : ?>
|
23 |
+
<option disabled="disabled"><?php _e( 'No categories found.', AI1EC_PLUGIN_NAME ) ?></option>
|
24 |
+
<?php endif ?>
|
25 |
+
</select>
|
26 |
+
</div>
|
27 |
+
<p class="ai1ec-limit-by-container">
|
28 |
+
<!-- Limit by Tag -->
|
29 |
+
<input id="<?php echo $limit_by_tag['id'] ?>" class="ai1ec-limit-by-tag" name="<?php echo $limit_by_tag['name'] ?>" type="checkbox" value="1" <?php if( $limit_by_tag['value'] ) echo 'checked="checked"' ?> />
|
30 |
+
<label for="<?php echo $limit_by_tag['id'] ?>"><?php _e( '<strong>Or</strong> events with these <strong>Tags</strong>', AI1EC_PLUGIN_NAME ) ?></label>
|
31 |
+
</p>
|
32 |
+
<div class="ai1ec-limit-by-options-container" <?php if( ! $limit_by_tag['value'] ) { ?> style="display: none;" <?php } ?>>
|
33 |
+
<!-- Limit by Tag Select box -->
|
34 |
+
<select id="<?php echo $event_tag_ids['id'] ?>" class="ai1ec-widget-tag-ids" name="<?php echo $event_tag_ids['name'] ?>[]" size="5" multiple="multiple">
|
35 |
+
<?php foreach( $event_tag_ids['options'] as $event_tag ): ?>
|
36 |
+
<option value="<?php echo $event_tag->term_id; ?>"<?php if( in_array( $event_tag->term_id, $event_tag_ids['value'] ) ) { ?> selected="selected"<?php } ?>><?php echo $event_tag->name; ?></option>
|
37 |
+
<?php endforeach ?>
|
38 |
+
<?php if( count( $event_tag_ids['options'] ) == 0 ) : ?>
|
39 |
+
<option disabled="disabled"><?php _e( 'No tags found.', AI1EC_PLUGIN_NAME ) ?></option>
|
40 |
+
<?php endif ?>
|
41 |
+
</select>
|
42 |
+
</div>
|
43 |
+
<p class="ai1ec-limit-by-container">
|
44 |
+
<!-- Limit by Event -->
|
45 |
+
<input id="<?php echo $limit_by_post['id'] ?>" class="ai1ec-limit-by-event" name="<?php echo $limit_by_post['name'] ?>" type="checkbox" value="1" <?php if( $limit_by_post['value'] ) echo 'checked="checked"' ?> />
|
46 |
+
<label for="<?php echo $limit_by_post['id'] ?>"><?php _e( '<strong>Or</strong> any of these <strong>Events</strong>', AI1EC_PLUGIN_NAME ) ?></label>
|
47 |
+
</p>
|
48 |
+
<div class="ai1ec-limit-by-options-container" <?php if( ! $limit_by_post['value'] ) { ?> style="display: none;" <?php } ?>>
|
49 |
+
<!-- Limit by Event Select box -->
|
50 |
+
<select id="<?php echo $event_post_ids['id'] ?>" class="ai1ec-widget-event-ids" name="<?php echo $event_post_ids['name'] ?>[]" size="5" multiple="multiple">
|
51 |
+
<?php foreach( $event_post_ids['options'] as $event_post ): ?>
|
52 |
+
<option value="<?php echo $event_post->ID; ?>"<?php if( in_array( $event_post->ID, $event_post_ids['value'] ) ) { ?> selected="selected"<?php } ?>><?php echo $event_post->post_title; ?></option>
|
53 |
+
<?php endforeach ?>
|
54 |
+
<?php if( count( $event_post_ids['options'] ) == 0 ) : ?>
|
55 |
+
<option disabled="disabled"><?php _e( 'No events found.', AI1EC_PLUGIN_NAME ) ?></option>
|
56 |
+
<?php endif ?>
|
57 |
+
</select>
|
58 |
+
</div>
|
59 |
+
<br />
|
60 |
+
<p>
|
61 |
+
<input id="<?php echo $show_calendar_button['id'] ?>" name="<?php echo $show_calendar_button['name'] ?>" type="checkbox" value="1" <?php if( $show_calendar_button['value'] ) echo 'checked="checked"' ?> />
|
62 |
+
<label for="<?php echo $show_calendar_button['id'] ?>"><?php _e( 'Show <strong>View Calendar</strong> button', AI1EC_PLUGIN_NAME ) ?></label>
|
63 |
+
<br />
|
64 |
+
<input id="<?php echo $show_subscribe_buttons['id'] ?>" name="<?php echo $show_subscribe_buttons['name'] ?>" type="checkbox" value="1" <?php if( $show_subscribe_buttons['value'] ) echo 'checked="checked"' ?> />
|
65 |
+
<label for="<?php echo $show_subscribe_buttons['id'] ?>"><?php _e( 'Show <strong>Subscribe</strong> buttons', AI1EC_PLUGIN_NAME ) ?></label>
|
66 |
+
<br />
|
67 |
+
<input id="<?php echo $hide_on_calendar_page['id'] ?>" name="<?php echo $hide_on_calendar_page['name'] ?>" type="checkbox" value="1" <?php if( $hide_on_calendar_page['value'] ) echo 'checked="checked"' ?> />
|
68 |
+
<label for="<?php echo $hide_on_calendar_page['id'] ?>"><?php _e( 'Hide this widget on calendar page', AI1EC_PLUGIN_NAME ) ?></label>
|
69 |
+
</p>
|
readme.txt
CHANGED
@@ -4,9 +4,9 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
|
|
4 |
Tags: calendar, event, events, ics, ics calendar, ical-feed, ics feed, wordpress ics importer, wordpress ical importer, upcoming events, todo, notes, journal, freebusy, availability, web calendar, web events, webcal, google calendar, ical, iCalendar, all-in-one, ai1ec, google calendar sync, ical sync, events sync, holiday calendar, calendar 2011, events 2011, widget, events widget, upcoming events widget, calendar widget, agenda widget
|
5 |
Requires at least: 3.1.3
|
6 |
Tested up to: 3.3.2
|
7 |
-
Stable tag: 1.6
|
8 |
|
9 |
-
|
10 |
|
11 |
== Description ==
|
12 |
|
@@ -83,7 +83,11 @@ https://vimeo.com/41738066
|
|
83 |
|
84 |
== Changelog ==
|
85 |
|
86 |
-
= Version 1.6 Premium =
|
|
|
|
|
|
|
|
|
87 |
* Choose new Calendar Themes
|
88 |
* Duplicate Events
|
89 |
* Create Print View
|
@@ -94,14 +98,17 @@ https://vimeo.com/41738066
|
|
94 |
* Security updates
|
95 |
* Bug fixes
|
96 |
|
97 |
-
= Version 1.6 =
|
|
|
|
|
|
|
|
|
98 |
* Create Print View
|
99 |
* Turn on/off autocomplete for addresses
|
100 |
* See more intuitive views of multi-day events on weekly and monthly calendars
|
101 |
* Security updates
|
102 |
* Bug Fixes
|
103 |
|
104 |
-
|
105 |
= Version 1.5 =
|
106 |
* Added daily view
|
107 |
* Various bug fixes
|
@@ -296,8 +303,8 @@ To place the calendar in a DOM/HTML element besides the default page content con
|
|
296 |
|
297 |
== Upgrade Notice ==
|
298 |
|
299 |
-
= 1.6 Premium =
|
300 |
-
The All-in-One Calendar can only be
|
301 |
|
302 |
= 1.0.3 =
|
303 |
When upgrading to from below `1.0.3` you must reactivate the plugin.
|
4 |
Tags: calendar, event, events, ics, ics calendar, ical-feed, ics feed, wordpress ics importer, wordpress ical importer, upcoming events, todo, notes, journal, freebusy, availability, web calendar, web events, webcal, google calendar, ical, iCalendar, all-in-one, ai1ec, google calendar sync, ical sync, events sync, holiday calendar, calendar 2011, events 2011, widget, events widget, upcoming events widget, calendar widget, agenda widget
|
5 |
Requires at least: 3.1.3
|
6 |
Tested up to: 3.3.2
|
7 |
+
Stable tag: 1.6.1
|
8 |
|
9 |
+
A calendar system with month, week, agenda views, upcoming events widget, color-coded categories, recurrence, and import/export of .ics feeds.
|
10 |
|
11 |
== Description ==
|
12 |
|
83 |
|
84 |
== Changelog ==
|
85 |
|
86 |
+
= Version 1.6.1 Premium =
|
87 |
+
* Fixed bug that was breaking widget management screen
|
88 |
+
* Removed some warnings from month view in certain setups
|
89 |
+
|
90 |
+
= Version 1.6 Premium =
|
91 |
* Choose new Calendar Themes
|
92 |
* Duplicate Events
|
93 |
* Create Print View
|
98 |
* Security updates
|
99 |
* Bug fixes
|
100 |
|
101 |
+
= Version 1.6.1 =
|
102 |
+
* Fixed bug that was breaking widget management screen
|
103 |
+
* Removed some warnings from month view in certain setups
|
104 |
+
|
105 |
+
= Version 1.6 =
|
106 |
* Create Print View
|
107 |
* Turn on/off autocomplete for addresses
|
108 |
* See more intuitive views of multi-day events on weekly and monthly calendars
|
109 |
* Security updates
|
110 |
* Bug Fixes
|
111 |
|
|
|
112 |
= Version 1.5 =
|
113 |
* Added daily view
|
114 |
* Various bug fixes
|
303 |
|
304 |
== Upgrade Notice ==
|
305 |
|
306 |
+
= 1.6 Premium =
|
307 |
+
The All-in-One Calendar can only be upgraded to the Premium version from version 1.6 and above, or by downloading directly from [then.ly](http://then.ly/).
|
308 |
|
309 |
= 1.0.3 =
|
310 |
When upgrading to from below `1.0.3` you must reactivate the plugin.
|
themes-ai1ec/vortex/month.php
CHANGED
@@ -35,7 +35,7 @@
|
|
35 |
// TODO: This div should not be needed, but with multi-day
|
36 |
// event bars it is required until a better method of arranging
|
37 |
// events is contrived:
|
38 |
-
if( ! $week['added_stretcher'] ): ?>
|
39 |
<div class="ai1ec-day-stretcher"></div>
|
40 |
<?php $week['added_stretcher'] = TRUE; ?>
|
41 |
<?php endif; ?>
|
35 |
// TODO: This div should not be needed, but with multi-day
|
36 |
// event bars it is required until a better method of arranging
|
37 |
// events is contrived:
|
38 |
+
if( ! isset( $week['added_stretcher'] ) ): ?>
|
39 |
<div class="ai1ec-day-stretcher"></div>
|
40 |
<?php $week['added_stretcher'] = TRUE; ?>
|
41 |
<?php endif; ?>
|