Simple Calendar – Google Calendar Plugin - Version 2.0.4

Version Description

  • Added option to show/hide paging.
  • Added option to limit display to any number of days or events per page.
  • Added option to set the start date offset any number of days back or ahead (list view).
  • Removed retrieve events from/until options now that display limit options will be used.
  • Removed max number of events to retrieve option.
  • Added shortcode attribute 'interval'.
  • Added shortcode attribute 'interval_count'.
  • Added shortcode attribute 'paging'.
  • Added shortcode attribute 'offset_interval_count'.
  • Added shortcode attribute 'offset_direction'.
  • Added settings to feed and widget to set the paging interval.
  • Updated shortcode 'display' attribute to allow a value of 'grouped-list'.
  • Date no longer shows up for the title (list view).
  • HTML restructured to use div tags instead of an unordered list (list view).
  • Nav bar HTML (Next/Prev links and month title) restructured to use div tags instead of span and percentages.
  • Added Italian translation (thanks to Francesco Paccagnella of pacca.it).
  • Added French translation files provided by Vincent Bray.
  • Fixed PHP error during upgrade.
  • Moved clear cache button and changed style.
  • JavaScript restructured to fit more in line with best practices.
  • Remove unused admin script file.
Download this release

Release Info

Developer pderksen
Plugin Icon 128x128 Simple Calendar – Google Calendar Plugin
Version 2.0.4
Comparing to
See all releases

Code changes from version 2.0.3.1 to 2.0.4

class-google-calendar-events-admin.php CHANGED
@@ -53,9 +53,6 @@ class Google_Calendar_Events_Admin {
53
  // Add admin styles
54
  add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_admin_styles' ) );
55
 
56
- // Add admin scripts
57
- add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_admin_scripts' ) );
58
-
59
  // Add the options page and menu item.
60
  add_action( 'admin_menu', array( $this, 'add_plugin_admin_menu' ), 2 );
61
  }
@@ -76,20 +73,6 @@ class Google_Calendar_Events_Admin {
76
  include_once( 'views/admin/admin.php' );
77
  }
78
 
79
- /**
80
- * Enqueue scripts for the admin area
81
- *
82
- * @since 2.0.0
83
- */
84
- public function enqueue_admin_scripts() {
85
-
86
- wp_enqueue_script( 'jquery' );
87
-
88
- wp_enqueue_script( 'jquery-ui-datepicker' );
89
-
90
- wp_enqueue_script( 'gce-admin', plugins_url( 'js/admin.js', __FILE__ ), array( 'jquery' ), $this->version, true );
91
- }
92
-
93
  /**
94
  * Enqueue styles for the admin area
95
  *
53
  // Add admin styles
54
  add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_admin_styles' ) );
55
 
 
 
 
56
  // Add the options page and menu item.
57
  add_action( 'admin_menu', array( $this, 'add_plugin_admin_menu' ), 2 );
58
  }
73
  include_once( 'views/admin/admin.php' );
74
  }
75
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
76
  /**
77
  * Enqueue styles for the admin area
78
  *
class-google-calendar-events.php CHANGED
@@ -18,7 +18,7 @@ class Google_Calendar_Events {
18
  *
19
  * @var string
20
  */
21
- protected $version = '2.0.3.1';
22
 
23
  /**
24
  * Unique identifier for the plugin.
@@ -64,8 +64,6 @@ class Google_Calendar_Events {
64
  add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_public_scripts' ) );
65
  add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_public_styles' ) );
66
 
67
- // AJAX
68
-
69
 
70
  // Load plugin text domain
71
  $this->plugin_textdomain();
@@ -139,7 +137,8 @@ class Google_Calendar_Events {
139
 
140
  wp_localize_script( $this->plugin_slug . '-public', 'gce',
141
  array(
142
- 'ajaxurl' => admin_url( 'admin-ajax.php' )
 
143
  ) );
144
  }
145
 
18
  *
19
  * @var string
20
  */
21
+ protected $version = '2.0.4';
22
 
23
  /**
24
  * Unique identifier for the plugin.
64
  add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_public_scripts' ) );
65
  add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_public_styles' ) );
66
 
 
 
67
 
68
  // Load plugin text domain
69
  $this->plugin_textdomain();
137
 
138
  wp_localize_script( $this->plugin_slug . '-public', 'gce',
139
  array(
140
+ 'ajaxurl' => admin_url( 'admin-ajax.php' ),
141
+ 'ajaxnonce' => wp_create_nonce( 'gce_ajax_nonce' )
142
  ) );
143
  }
144
 
css/gce-style.css CHANGED
@@ -1,222 +1,218 @@
1
- /**
2
- * Public facing CSS file
3
- *
4
- * @package GCE
5
- * @author Phil Derksen <pderksen@gmail.com>, Nick Young <mycorpweb@gmail.com>
6
- * @license GPL-2.0+
7
- * @copyright 2014 Phil Derksen
8
- */
9
-
10
- /* PAGE GRID */
11
-
12
- .gce-page-grid .gce-calendar .gce-caption{ /* Caption at top of calendar */
13
- color:#333333;
14
- text-align:center;
15
- }
16
-
17
- .gce-page-grid .gce-calendar{ /* Main calendar table */
18
- width:100%;
19
- border-collapse:collapse;
20
- border:1px solid #CCCCCC;
21
- color:#CCCCCC;
22
- }
23
-
24
- .gce-page-grid .gce-calendar th{ /* Day headings (S, M etc.) */
25
- border:1px solid #CCCCCC;
26
- text-align:center;
27
- width:14.29%;
28
- padding:0;
29
- }
30
-
31
- .gce-page-grid .gce-calendar td{ /* Day table cells */
32
- border:1px solid #CCCCCC;
33
- text-align:center;
34
- height:80px;
35
- vertical-align:middle;
36
- padding:0;
37
- }
38
-
39
- .gce-page-grid .gce-calendar .gce-has-events{ /* Table cells with events */
40
- color:#333333;
41
- cursor:pointer;
42
- }
43
-
44
- .gce-page-grid .gce-calendar .gce-event-info{ /* Event information */
45
- display:none; /* Important! */
46
- }
47
-
48
- .gce-page-grid .gce-calendar .gce-day-number{ /* Day number span */
49
- font-size:2em;
50
- }
51
-
52
- .gce-page-grid .gce-calendar .gce-today{ /* Table cell that represents today */
53
- background-color:#DDDDDD;
54
- }
55
-
56
- .gce-page-grid .gce-calendar .gce-next,
57
- .gce-page-grid .gce-calendar .gce-prev{ /* Previous and next month links */
58
- cursor:pointer;
59
- display:inline-block;
60
- width:5%;
61
- white-space: nowrap;
62
- }
63
-
64
- .gce-page-grid .gce-calendar .gce-prev{
65
- float: left;
66
- }
67
-
68
- .gce-page-grid .gce-calendar .gce-month-title{ /* Month title */
69
- display:inline-block;
70
- width:80%;
71
- }
72
-
73
- .gce-page-grid .gce-calendar th abbr{ /* Day letter abbreviation */
74
- border-bottom:none;
75
- }
76
-
77
- /* PAGE LIST */
78
-
79
- .gce-page-list .gce-list p{ /* Each piece of information in the list */
80
- margin:0;
81
- }
82
-
83
- .gce-page-list .gce-list p span,
84
- .gce-page-list .gce-list div span{ /* The text displayed before each piece of info, 'Starts:' for example */
85
- color:#999999;
86
- }
87
-
88
- .gce-page-list .gce-list .gce-list-event{ /* The event title */
89
- background-color:#DDDDDD;
90
- }
91
-
92
- .gce-page-list .gce-list .gce-list-title{ /* The title (not the same as event title) */
93
- font-weight:bold;
94
- }
95
-
96
- .gce-page-list .gce-list ul{
97
- list-style-type:none;
98
- margin:0;
99
- padding:0;
100
- }
101
-
102
- /* WIDGET GRID */
103
-
104
- .gce-widget-grid .gce-calendar .gce-caption{
105
- text-align:center;
106
- }
107
-
108
- .gce-widget-grid .gce-calendar{ /* Main calendar table */
109
- width:100%;
110
- border:1px solid #CCCCCC;
111
- border-collapse:collapse;
112
- }
113
-
114
- .gce-widget-grid .gce-calendar th{ /* Day headings (S, M etc.) */
115
- width:14.29%;
116
- border:1px solid #CCCCCC;
117
- text-align:center;
118
- }
119
-
120
- .gce-widget-grid .gce-calendar td{ /* Day table cells */
121
- color:#CCCCCC;
122
- width:14.29%;
123
- border:1px solid #CCCCCC;
124
- text-align:center;
125
- }
126
-
127
- .gce-widget-grid .gce-calendar .gce-has-events{ /* Table cells with events */
128
- cursor:pointer;
129
- color:#666666;
130
- }
131
-
132
- .gce-widget-grid .gce-calendar .gce-today{ /* Table cell that represents today */
133
- background-color:#DDDDDD;
134
- }
135
-
136
- .gce-widget-grid .gce-calendar .gce-event-info{ /* Event information */
137
- display:none; /* Important! */
138
- }
139
-
140
- .gce-widget-grid .gce-calendar .gce-next,
141
- .gce-widget-grid .gce-calendar .gce-prev{ /* Prev and next month links */
142
- cursor:pointer;
143
- display:inline-block;
144
- width:5%;
145
- white-space: nowrap;
146
- }
147
-
148
- .gce-widget-grid .gce-calendar .gce-prev{
149
- float: left;
150
- }
151
-
152
- .gce-widget-grid .gce-calendar .gce-month-title{ /* Month title in caption at top of table */
153
- display:inline-block;
154
- width:80%;
155
- }
156
-
157
- .gce-widget-grid .gce-calendar th abbr{ /* Day name abbreviations */
158
- border-bottom:none;
159
- }
160
-
161
- /* WIDGET LIST */
162
-
163
- .gce-widget-list .gce-list p{ /* Each piece of information in the list */
164
- margin:0;
165
- }
166
-
167
- .gce-widget-list .gce-list p span,
168
- .gce-widget-list .gce-list div span{ /* The text displayed before each piece of info, 'Starts:' for example */
169
- color:#999999;
170
- }
171
-
172
- .gce-widget-list .gce-list .gce-list-event{ /* The event title */
173
- background-color:#DDDDDD;
174
- }
175
-
176
- .gce-widget-list .gce-list .gce-list-title{ /* The title (not the same as event title) */
177
- font-weight:bold;
178
- }
179
-
180
- .gce-widget-list .gce-list ul{
181
- list-style-type:none;
182
- margin:0;
183
- padding:0;
184
- }
185
-
186
- /* TOOLTIP */
187
-
188
- .gce-event-info{ /* Tooltip container */
189
- background-color:#FFFFFF;
190
- border:1px solid #333333;
191
- max-width:300px;
192
- }
193
-
194
- .gce-event-info .gce-tooltip-title{ /* 'Events on...' text */
195
- margin:5px;
196
- font-weight:bold;
197
- font-size:1.2em;
198
- }
199
-
200
- .gce-event-info ul{ /* Events list */
201
- padding:0;
202
- margin:5px;
203
- list-style-type:none;
204
- }
205
-
206
- .gce-event-info ul li{ /* Event list item */
207
- margin:10px 0 0 0;
208
- }
209
-
210
- .gce-event-info ul li p{ /* Each piece of information */
211
- margin:0;
212
- }
213
-
214
- .gce-event-info ul li p span,
215
- .gce-event-info ul li div span{ /* The text displayed before each piece of info, 'Starts:' for example */
216
- color:#999999;
217
- }
218
-
219
- .gce-event-info .gce-tooltip-event{ /* The event title */
220
- background-color:#DDDDDD;
221
- font-weight:bold;
222
- }
1
+ /**
2
+ * Public facing CSS file
3
+ *
4
+ * @package GCE
5
+ * @author Phil Derksen <pderksen@gmail.com>, Nick Young <mycorpweb@gmail.com>
6
+ * @license GPL-2.0+
7
+ * @copyright 2014 Phil Derksen
8
+ */
9
+
10
+ /* Base line-height for all views & tooltip */
11
+
12
+ .gce-page-grid,
13
+ .gce-page-list,
14
+ .gce-widget-grid,
15
+ .gce-widget-list,
16
+ .gce-event-info {
17
+ line-height: 1.5;
18
+ }
19
+
20
+ /* Month & list titles for all views */
21
+
22
+ .gce-month-title,
23
+ .gce-list-title {
24
+ font-weight: bold;
25
+ padding-bottom: 5px;
26
+ }
27
+
28
+ /* Event titles with shaded background for all views */
29
+
30
+ .gce-list-event,
31
+ .gce-tooltip-event {
32
+ background-color: #ddd;
33
+ padding: 0 5px;
34
+ }
35
+
36
+ /* PAGE GRID */
37
+
38
+ .gce-page-grid .gce-calendar .gce-caption{ /* Caption at top of calendar */
39
+ color:#333333;
40
+ text-align:center;
41
+ }
42
+
43
+ .gce-page-grid .gce-calendar{ /* Main calendar table */
44
+ width:100%;
45
+ border-collapse:collapse;
46
+ border:1px solid #CCCCCC;
47
+ color:#CCCCCC;
48
+ }
49
+
50
+ .gce-page-grid .gce-calendar th{ /* Day headings (S, M etc.) */
51
+ border:1px solid #CCCCCC;
52
+ text-align:center;
53
+ width:14.29%;
54
+ padding:0;
55
+ }
56
+
57
+ .gce-page-grid .gce-calendar td{ /* Day table cells */
58
+ border:1px solid #CCCCCC;
59
+ text-align:center;
60
+ height:80px;
61
+ vertical-align:middle;
62
+ padding:0;
63
+ }
64
+
65
+ .gce-page-grid .gce-calendar .gce-has-events{ /* Table cells with events */
66
+ color:#333333;
67
+ cursor:pointer;
68
+ }
69
+
70
+ .gce-page-grid .gce-calendar .gce-event-info{ /* Event information */
71
+ display:none; /* Important! */
72
+ }
73
+
74
+ .gce-page-grid .gce-calendar .gce-day-number{ /* Day number span */
75
+ font-size:2em;
76
+ }
77
+
78
+ .gce-page-grid .gce-calendar .gce-today{ /* Table cell that represents today */
79
+ background-color:#DDDDDD;
80
+ }
81
+
82
+ .gce-page-grid .gce-calendar th abbr{ /* Day letter abbreviation */
83
+ border-bottom:none;
84
+ }
85
+
86
+ /* PAGE LIST */
87
+
88
+ .gce-page-list .gce-feed {
89
+ padding-bottom: 10px;
90
+ }
91
+
92
+ .gce-page-list .gce-list p{ /* Each piece of information in the list */
93
+ margin:0;
94
+ }
95
+
96
+ .gce-page-list .gce-list p span,
97
+ .gce-page-list .gce-list div span{ /* The text displayed before each piece of info, 'Starts:' for example */
98
+ color:#999999;
99
+ }
100
+
101
+ /* WIDGET GRID */
102
+
103
+ .gce-widget-grid .gce-calendar .gce-caption{
104
+ text-align:center;
105
+ }
106
+
107
+ .gce-widget-grid .gce-calendar{ /* Main calendar table */
108
+ width:100%;
109
+ border:1px solid #CCCCCC;
110
+ border-collapse:collapse;
111
+ }
112
+
113
+ .gce-widget-grid .gce-calendar th{ /* Day headings (S, M etc.) */
114
+ width:14.29%;
115
+ border:1px solid #CCCCCC;
116
+ text-align:center;
117
+ }
118
+
119
+ .gce-widget-grid .gce-calendar td{ /* Day table cells */
120
+ color:#CCCCCC;
121
+ width:14.29%;
122
+ border:1px solid #CCCCCC;
123
+ text-align:center;
124
+ }
125
+
126
+ .gce-widget-grid .gce-calendar .gce-has-events{ /* Table cells with events */
127
+ cursor:pointer;
128
+ color:#666666;
129
+ }
130
+
131
+ .gce-widget-grid .gce-calendar .gce-today{ /* Table cell that represents today */
132
+ background-color:#DDDDDD;
133
+ }
134
+
135
+ .gce-widget-grid .gce-calendar .gce-event-info{ /* Event information */
136
+ display:none; /* Important! */
137
+ }
138
+
139
+ .gce-widget-grid .gce-calendar th abbr{ /* Day name abbreviations */
140
+ border-bottom:none;
141
+ }
142
+
143
+ /* WIDGET LIST */
144
+
145
+ .gce-widget-list .gce-list p{ /* Each piece of information in the list */
146
+ margin:0;
147
+ }
148
+
149
+ .gce-widget-list .gce-list p span,
150
+ .gce-widget-list .gce-list div span{ /* The text displayed before each piece of info, 'Starts:' for example */
151
+ color:#999999;
152
+ }
153
+
154
+ /* TOOLTIP */
155
+
156
+ .gce-event-info{ /* Tooltip container */
157
+ background-color:#FFFFFF;
158
+ border:1px solid #333333;
159
+ max-width:300px;
160
+ }
161
+
162
+ .gce-event-info .gce-tooltip-title{ /* 'Events on...' text */
163
+ margin:5px;
164
+ font-weight:bold;
165
+ font-size:1.2em;
166
+ }
167
+
168
+ .gce-event-info ul{ /* Events list */
169
+ padding:0;
170
+ margin:5px;
171
+ list-style-type:none;
172
+ }
173
+
174
+ .gce-event-info ul li{ /* Event list item */
175
+ margin:10px 0 0 0;
176
+ }
177
+
178
+ .gce-event-info ul li p{ /* Each piece of information */
179
+ margin:0;
180
+ }
181
+
182
+ .gce-event-info ul li p span,
183
+ .gce-event-info ul li div span{ /* The text displayed before each piece of info, 'Starts:' for example */
184
+ color:#999999;
185
+ }
186
+
187
+ /** Calendar navigation bar, Prev/Next links & month title. **/
188
+
189
+ .gce-navbar {
190
+ width: 100%;
191
+ text-align: center;
192
+ clear: both;
193
+ }
194
+
195
+ .gce-next,
196
+ .gce-prev {
197
+ white-space: nowrap;
198
+ }
199
+
200
+ .gce-prev {
201
+ float: left;
202
+ }
203
+
204
+ .gce-next {
205
+ float: right;
206
+ }
207
+
208
+ .gce-month-title {
209
+ display: inline-block;
210
+ margin: 0 auto;
211
+ white-space: nowrap;
212
+ }
213
+
214
+ /* Grouped List */
215
+
216
+ .gce-list-grouped .gce-feed {
217
+ margin-left: 5%;
218
+ }
 
 
 
 
google-calendar-events.php CHANGED
@@ -1,60 +1,60 @@
1
- <?php
2
- /**
3
- * Google Calendar Events
4
- *
5
- * @package GCE
6
- * @author Phil Derksen <pderksen@gmail.com>, Nick Young <mycorpweb@gmail.com>
7
- * @license GPL-2.0+
8
- * @link http://philderksen.com
9
- * @copyright 2014 Phil Derksen
10
- *
11
- * @wordpress-plugin
12
- * Plugin Name: Google Calendar Events
13
- * Plugin URI: https://github.com/pderksen/WP-Google-Calendar-Events
14
- * Description: Parses Google Calendar feeds and displays the events as a calendar grid or list on a page, post or widget.
15
- * Version: 2.0.3.1
16
- * Author: Phil Derksen
17
- * Author URI: http://philderksen.com
18
- * License: GPL-2.0+
19
- * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
20
- * Text Domain: gce
21
- * Domain Path: /languages
22
- */
23
-
24
- // If this file is called directly, abort.
25
- if ( ! defined( 'WPINC' ) ) {
26
- die;
27
- }
28
-
29
- /*
30
- * Include the main plugin file
31
- *
32
- * @since 2.0.0
33
- */
34
- require_once( 'class-google-calendar-events.php' );
35
-
36
- /**
37
- * Define constant pointing to this file
38
- *
39
- * @since 2.0.0
40
- */
41
- if( ! defined( 'GCE_MAIN_FILE' ) ) {
42
- define( 'GCE_MAIN_FILE', __FILE__ );
43
- }
44
-
45
- /*
46
- * Get instance of our plugin
47
- *
48
- * @since 2.0.0
49
- */
50
- add_action( 'plugins_loaded', array( 'Google_Calendar_Events', 'get_instance' ) );
51
-
52
- /*
53
- * If we are in admin then load the Admin class
54
- *
55
- * @since 2.0.0
56
- */
57
- if ( is_admin() && ( ! defined( 'DOING_AJAX' ) || ! DOING_AJAX ) ) {
58
- require_once( 'class-google-calendar-events-admin.php' );
59
- add_action( 'plugins_loaded', array( 'Google_Calendar_Events_Admin', 'get_instance' ) );
60
- }
1
+ <?php
2
+ /**
3
+ * Google Calendar Events
4
+ *
5
+ * @package GCE
6
+ * @author Phil Derksen <pderksen@gmail.com>, Nick Young <mycorpweb@gmail.com>
7
+ * @license GPL-2.0+
8
+ * @link http://philderksen.com
9
+ * @copyright 2014 Phil Derksen
10
+ *
11
+ * @wordpress-plugin
12
+ * Plugin Name: Google Calendar Events
13
+ * Plugin URI: https://github.com/pderksen/WP-Google-Calendar-Events
14
+ * Description: Parses Google Calendar feeds and displays the events as a calendar grid or list on a page, post or widget.
15
+ * Version: 2.0.4
16
+ * Author: Phil Derksen
17
+ * Author URI: http://philderksen.com
18
+ * License: GPL-2.0+
19
+ * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
20
+ * Text Domain: gce
21
+ * Domain Path: /languages
22
+ */
23
+
24
+ // If this file is called directly, abort.
25
+ if ( ! defined( 'WPINC' ) ) {
26
+ die;
27
+ }
28
+
29
+ /*
30
+ * Include the main plugin file
31
+ *
32
+ * @since 2.0.0
33
+ */
34
+ require_once( 'class-google-calendar-events.php' );
35
+
36
+ /**
37
+ * Define constant pointing to this file
38
+ *
39
+ * @since 2.0.0
40
+ */
41
+ if( ! defined( 'GCE_MAIN_FILE' ) ) {
42
+ define( 'GCE_MAIN_FILE', __FILE__ );
43
+ }
44
+
45
+ /*
46
+ * Get instance of our plugin
47
+ *
48
+ * @since 2.0.0
49
+ */
50
+ add_action( 'plugins_loaded', array( 'Google_Calendar_Events', 'get_instance' ) );
51
+
52
+ /*
53
+ * If we are in admin then load the Admin class
54
+ *
55
+ * @since 2.0.0
56
+ */
57
+ if ( is_admin() && ( ! defined( 'DOING_AJAX' ) || ! DOING_AJAX ) ) {
58
+ require_once( 'class-google-calendar-events-admin.php' );
59
+ add_action( 'plugins_loaded', array( 'Google_Calendar_Events_Admin', 'get_instance' ) );
60
+ }
includes/admin/admin-functions.php CHANGED
@@ -43,6 +43,10 @@ function gce_default_editor_content( $content, $post ) {
43
  add_post_meta( $post->ID, 'gce_retrieve_from', 'today' );
44
  add_post_meta( $post->ID, 'gce_retrieve_until', 'end_time' );
45
  add_post_meta( $post->ID, 'gce_cache', 43200 );
 
 
 
 
46
 
47
  // Default Simple Display Options
48
  add_post_meta( $post->ID, 'gce_display_start', 'time' );
@@ -60,3 +64,16 @@ function gce_default_editor_content( $content, $post ) {
60
  return $content;
61
  }
62
  add_filter( 'default_content', 'gce_default_editor_content', 10, 2 );
 
 
 
 
 
 
 
 
 
 
 
 
 
43
  add_post_meta( $post->ID, 'gce_retrieve_from', 'today' );
44
  add_post_meta( $post->ID, 'gce_retrieve_until', 'end_time' );
45
  add_post_meta( $post->ID, 'gce_cache', 43200 );
46
+ add_post_meta( $post->ID, 'gce_paging', 1 );
47
+ add_post_meta( $post->ID, 'gce_list_max_num', 7 );
48
+ add_post_meta( $post->ID, 'gce_list_max_length', 'days' );
49
+ add_post_meta( $post->ID, 'gce_list_start_offset_num', '0' );
50
 
51
  // Default Simple Display Options
52
  add_post_meta( $post->ID, 'gce_display_start', 'time' );
64
  return $content;
65
  }
66
  add_filter( 'default_content', 'gce_default_editor_content', 10, 2 );
67
+
68
+
69
+ function gce_add_cache_button() {
70
+
71
+ $html = '<div id="gce-clear-cache">' .
72
+ '<a href="' . add_query_arg( array( 'clear_cache' => true ) ) . '">' . __( 'Clear Cache', 'gce' ) . '</a>' .
73
+ '</div>';
74
+
75
+ echo $html;
76
+ }
77
+ add_action( 'post_submitbox_start', 'gce_add_cache_button' );
78
+
79
+
includes/admin/upgrade.php CHANGED
@@ -26,6 +26,11 @@ function gce_upgrade() {
26
  if( version_compare( $version, '2.0.0-beta1', '<' ) && false === get_option( 'gce_upgrade_has_run' ) ) {
27
  gce_v2_upgrade();
28
  }
 
 
 
 
 
29
  }
30
 
31
  $new_version = Google_Calendar_Events::get_instance()->get_plugin_version();
@@ -34,6 +39,51 @@ function gce_upgrade() {
34
  add_option( 'gce_upgrade_has_run', 1 );
35
  }
36
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
37
  /*
38
  * Run the upgrade to version 2.0.0
39
  *
@@ -43,9 +93,11 @@ function gce_v2_upgrade() {
43
  $old_options = get_option( 'gce_options' );
44
 
45
  if( false !== $old_options ) {
46
-
47
- foreach( $old_options as $key => $value ) {
48
- convert_to_cpt_posts( $value );
 
 
49
  }
50
 
51
  update_widget_feed_ids();
26
  if( version_compare( $version, '2.0.0-beta1', '<' ) && false === get_option( 'gce_upgrade_has_run' ) ) {
27
  gce_v2_upgrade();
28
  }
29
+
30
+ // Version 2.0.4 upgrade
31
+ if( version_compare( $version, '2.0.4', '<' ) ) {
32
+ gce_v204_upgrade();
33
+ }
34
  }
35
 
36
  $new_version = Google_Calendar_Events::get_instance()->get_plugin_version();
39
  add_option( 'gce_upgrade_has_run', 1 );
40
  }
41
 
42
+ /*
43
+ * Run the upgrade to version 2.0.4
44
+ *
45
+ * @since 2.0.4
46
+ */
47
+ function gce_v204_upgrade() {
48
+
49
+ // Update feeds
50
+ $q = new WP_Query( 'post_type=gce_feed' );
51
+
52
+ if( $q->have_posts() ) {
53
+ while( $q->have_posts() ) {
54
+ $q->the_post();
55
+
56
+ update_post_meta( get_the_ID(), 'gce_paging', '1' );
57
+ update_post_meta( get_the_ID(), 'gce_list_max_num', '7' );
58
+ update_post_meta( get_the_ID(), 'gce_list_max_length', 'days' );
59
+ update_post_meta( get_the_ID(), 'gce_list_start_offset_num', '0' );
60
+ update_post_meta( get_the_ID(), 'gce_list_start_offset_direction', 'back' );
61
+ }
62
+ }
63
+
64
+
65
+ // Update widgets
66
+ $widget = get_option( 'widget_gce_widget' );
67
+
68
+ if( is_array( $widget ) && ! empty( $widget ) ) {
69
+ foreach( $widget as $a => $b ) {
70
+ if( ! is_array( $b ) ) {
71
+ continue;
72
+ }
73
+
74
+ foreach( $b as $k => $v ) {
75
+ $widget[$a]['paging'] = '1';
76
+ $widget[$a]['list_max_num'] = '7';
77
+ $widget[$a]['list_max_length'] = 'days';
78
+ $widget[$a]['list_start_offset_num'] = '0';
79
+ $widget[$a]['list_start_offset_direction'] = 'back';
80
+ }
81
+ }
82
+
83
+ update_option( 'widget_gce_widget', $widget );
84
+ }
85
+ }
86
+
87
  /*
88
  * Run the upgrade to version 2.0.0
89
  *
93
  $old_options = get_option( 'gce_options' );
94
 
95
  if( false !== $old_options ) {
96
+
97
+ if( ! empty( $old_options ) ) {
98
+ foreach( $old_options as $key => $value ) {
99
+ convert_to_cpt_posts( $value );
100
+ }
101
  }
102
 
103
  update_widget_feed_ids();
includes/class-gce-display.php CHANGED
@@ -13,11 +13,10 @@ class GCE_Display {
13
 
14
  private $feeds, $merged_feeds;
15
 
16
- public function __construct( $ids, $title_text = null, $max_events = 0, $sort_order = 'asc' ) {
17
 
18
  $this->id = $ids;
19
  $this->title = $title_text;
20
- $this->max_events = $max_events;
21
  $this->sort = $sort_order;
22
 
23
  foreach( $ids as $id ) {
@@ -61,25 +60,17 @@ class GCE_Display {
61
  //Total number of events retrieved
62
  $count = count( $this->merged_feeds );
63
 
64
- //If maximum events to display is 0 (unlimited) set $max to 1, otherwise use maximum of events specified by user
65
- $max = ( 0 == $this->max_events ) ? 1 : $this->max_events;
66
-
67
  //Loop through entire array of events, or until maximum number of events to be displayed has been reached
68
- for ( $i = 0; $i < $count && $max > 0; $i++ ) {
69
  $event = $this->merged_feeds[$i];
70
 
71
  //Check that event ends, or starts (or both) within the required date range. This prevents all-day events from before / after date range from showing up.
72
- if ( $event->end_time > $event->start_time && $event->start_time < $event->end_time ) {
73
  foreach ( $event->get_days() as $day ) {
74
  $event_days[$day][] = $event;
75
  }
76
-
77
- //If maximum events to display isn't 0 (unlimited) decrement $max counter
78
- if ( 0 != $this->max_events )
79
- $max--;
80
  }
81
- }
82
-
83
  return $event_days;
84
  }
85
 
@@ -88,7 +79,7 @@ class GCE_Display {
88
  *
89
  * @since 2.0.0
90
  */
91
- public function get_grid ( $year = null, $month = null, $widget = false ) {
92
  require_once 'php-calendar.php';
93
 
94
  $time_now = current_time( 'timestamp' );
@@ -118,8 +109,16 @@ class GCE_Display {
118
 
119
  //Get events data
120
  $event_days = $this->get_event_days();
 
 
 
 
 
 
 
 
121
 
122
- $today = mktime( 0, 0, 0, date( 'm', $time_now ), date( 'd', $time_now ), date( 'Y', $time_now ) );
123
 
124
  $i = 1;
125
 
@@ -156,9 +155,9 @@ class GCE_Display {
156
  $css_classes[] = 'gce-multiple';
157
 
158
  //If event day is today, add gce-today CSS class, otherwise add past or future class
159
- if ( $key == $today ) {
160
  $css_classes[] = 'gce-today gce-today-has-events';
161
- } elseif ( $key < $today ) {
162
  $css_classes[] = 'gce-day-past';
163
  } else {
164
  $css_classes[] = 'gce-day-future';
@@ -178,23 +177,24 @@ class GCE_Display {
178
  }
179
 
180
  //Ensures that gce-today CSS class is added even if there are no events for 'today'. A bit messy :(
181
- if ( ! isset( $event_days[$today] ) )
182
- $event_days[$today] = array( null, 'gce-today gce-today-no-events', null );
183
-
184
  $pn = array();
185
-
186
- // Add previous / next functionality
187
- //If there are events to display in a previous month, add previous month link
188
- $prev_key = ( $nav_prev ) ? '&laquo;' : '&nbsp;';
189
- $prev = ( $nav_prev ) ? date( 'm-Y', mktime( 0, 0, 0, $month - 1, 1, $year ) ) : null;
190
-
191
- //If there are events to display in a future month, add next month link
192
- $next_key = ( $nav_next ) ? '&raquo;' : '&nbsp;';
193
- $next = ( $nav_next ) ? date( 'm-Y', mktime( 0, 0, 0, $month + 1, 1, $year ) ) : null;
194
-
195
- //Array of previous and next link stuff for use in gce_generate_calendar (below)
196
- $pn = array( $prev_key => $prev, $next_key => $next );
197
 
 
 
 
 
 
 
 
 
 
 
 
 
 
198
 
199
  $start_day = get_option( 'start_of_week' );
200
 
@@ -207,52 +207,160 @@ class GCE_Display {
207
  *
208
  * @since 2.0.0
209
  */
210
- public function get_list( $grouped = false ) {
211
- $time_now = current_time( 'timestamp' );
 
 
 
 
 
 
 
 
 
 
212
 
213
  // Get all the event days
214
  $event_days = $this->get_event_days();
 
 
 
 
 
 
 
 
 
 
215
 
216
- //If event_days is empty, there are no events in the feed(s), so return a message indicating this
217
- if( empty( $event_days) ) {
218
- return '<p>' . __( 'There are currently no events to display.', 'gce' ) . '</p>';
 
 
 
 
 
219
  }
220
 
221
- $today = mktime( 0, 0, 0, date( 'm', $time_now ), date( 'd', $time_now ), date( 'Y', $time_now ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
222
 
 
 
 
 
223
  $i = 1;
 
 
 
 
224
 
225
- $markup = '<ul class="gce-list">';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
226
 
227
  foreach ( $event_days as $key => $event_day ) {
 
228
  //If this is a grouped list, add the date title and begin the nested list for this day
229
- if ( $grouped ) {
230
- $markup .=
231
- '<li' . ( ( $key == $today ) ? ' class="gce-today"' : '' ) . '>' .
232
- '<div class="gce-list-title">' . date_i18n( $event_day[0]->feed->date_format, $key ) . '</div>' .
233
- '<ul>';
234
- }
235
-
236
- foreach ( $event_day as $num_in_day => $event ) {
237
- //Create the markup for this event
238
- $markup .=
239
- '<li class="gce-feed-' . $event->feed->id . '">' .
240
- //If this isn't a grouped list and a date title should be displayed, add the date title
241
- ( ( ! $grouped && isset( $event->title ) ) ? '<div class="gce-list-title">' . esc_html( $this->title ) . ' ' . date_i18n( $event->feed->date_format, $key ) . '</div>' : '' ) .
242
- //Add the event markup
243
- $event->get_event_markup( 'list', $num_in_day, $i ) .
244
- '</li>';
245
-
246
- $i++;
247
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
248
 
249
- //If this is a grouped list, close the nested list for this day
250
- if ( $grouped ) {
251
- $markup .= '</ul></li>';
252
- }
 
 
 
 
 
 
253
  }
254
 
255
- $markup .= '</ul>';
256
 
257
  return $markup;
258
  }
13
 
14
  private $feeds, $merged_feeds;
15
 
16
+ public function __construct( $ids, $title_text = null, $sort_order = 'asc' ) {
17
 
18
  $this->id = $ids;
19
  $this->title = $title_text;
 
20
  $this->sort = $sort_order;
21
 
22
  foreach( $ids as $id ) {
60
  //Total number of events retrieved
61
  $count = count( $this->merged_feeds );
62
 
 
 
 
63
  //Loop through entire array of events, or until maximum number of events to be displayed has been reached
64
+ for ( $i = 0; $i < $count; $i++ ) {
65
  $event = $this->merged_feeds[$i];
66
 
67
  //Check that event ends, or starts (or both) within the required date range. This prevents all-day events from before / after date range from showing up.
68
+ //if ( $event->end_time > $event->start_time && $event->start_time < $event->end_time ) {
69
  foreach ( $event->get_days() as $day ) {
70
  $event_days[$day][] = $event;
71
  }
 
 
 
 
72
  }
73
+
 
74
  return $event_days;
75
  }
76
 
79
  *
80
  * @since 2.0.0
81
  */
82
+ public function get_grid ( $year = null, $month = null, $widget = false, $paging = null ) {
83
  require_once 'php-calendar.php';
84
 
85
  $time_now = current_time( 'timestamp' );
109
 
110
  //Get events data
111
  $event_days = $this->get_event_days();
112
+
113
+ //Array of previous and next link stuff for use in gce_generate_calendar (below)
114
+ foreach( $event_days as $key => $event_day ) {
115
+
116
+ if( $paging == null && $paging != 0 ) {
117
+ $paging = get_post_meta( $event_day[0]->feed->id, 'gce_paging', true );
118
+ }
119
+ }
120
 
121
+ $start = mktime( 0, 0, 0, date( 'm', $time_now ), date( 'd', $time_now ), date( 'Y', $time_now ) );
122
 
123
  $i = 1;
124
 
155
  $css_classes[] = 'gce-multiple';
156
 
157
  //If event day is today, add gce-today CSS class, otherwise add past or future class
158
+ if ( $key == $start ) {
159
  $css_classes[] = 'gce-today gce-today-has-events';
160
+ } elseif ( $key < $start ) {
161
  $css_classes[] = 'gce-day-past';
162
  } else {
163
  $css_classes[] = 'gce-day-future';
177
  }
178
 
179
  //Ensures that gce-today CSS class is added even if there are no events for 'today'. A bit messy :(
180
+ if ( ! isset( $event_days[$start] ) )
181
+ $event_days[$start] = array( null, 'gce-today gce-today-no-events', null );
182
+
183
  $pn = array();
 
 
 
 
 
 
 
 
 
 
 
 
184
 
185
+ if( $paging ) {
186
+ // Add previous / next functionality
187
+ //If there are events to display in a previous month, add previous month link
188
+ $prev_key = 'Back';
189
+ $prev = date( 'm-Y', mktime( 0, 0, 0, $month - 1, 1, $year ) );
190
+
191
+ //If there are events to display in a future month, add next month link
192
+ $next_key = 'Next';
193
+ $next = date( 'm-Y', mktime( 0, 0, 0, $month + 1, 1, $year ) );
194
+
195
+ //Array of previous and next link stuff for use in gce_generate_calendar (below)
196
+ $pn = array( $prev_key => $prev, $next_key => $next );
197
+ }
198
 
199
  $start_day = get_option( 'start_of_week' );
200
 
207
  *
208
  * @since 2.0.0
209
  */
210
+ public function get_list( $grouped = false, $start = null, $paging = null, $paging_interval = null, $start_offset = null, $max_events = null, $paging_type = null ) {
211
+ $paging_type = $paging_type;
212
+
213
+ $max_length = null;
214
+
215
+ if( $paging_type == 'events' ) {
216
+ $max_length = 'events';
217
+ }
218
+
219
+ if( $start == null ) {
220
+ $start = mktime( 0, 0, 0, date( 'm', current_time( 'timestamp' ) ), 1, date( 'Y', current_time( 'timestamp' ) ) );
221
+ }
222
 
223
  // Get all the event days
224
  $event_days = $this->get_event_days();
225
+
226
+ foreach( $event_days as $key => $event_day ) {
227
+ if( $paging_interval == null ) {
228
+ $max_num = get_post_meta( $event_day[0]->feed->id, 'gce_list_max_num', true );
229
+
230
+ if( $paging_type == null ) {
231
+ $max_length = get_post_meta( $event_day[0]->feed->id, 'gce_list_max_length', true );
232
+ $paging_type = $max_length;
233
+ }
234
+ }
235
 
236
+ if( $paging == null && $paging != 0 ) {
237
+ $paging = get_post_meta( $event_day[0]->feed->id, 'gce_paging', true );
238
+ }
239
+
240
+ if( $start_offset == null && $start_offset != 0 ) {
241
+ $start_offset_num = get_post_meta( $event_day[0]->feed->id, 'gce_list_start_offset_num', true );
242
+ $start_offset_direction = get_post_meta( $event_day[0]->feed->id, 'gce_list_start_offset_direction', true );
243
+ }
244
  }
245
 
246
+ if( empty( $max_num ) || $max_num == 0 ) {
247
+ $max_num = 7;
248
+ }
249
+
250
+ if( $max_length == 'days' ) {
251
+ $paging_interval = $max_num * 86400;
252
+ }
253
+
254
+ if( $start_offset == null && $start_offset != 0 ) {
255
+ if( $start_offset_direction == 'back' ) {
256
+ $start_offset_direction = -1;
257
+ } else {
258
+ $start_offset_direction = 1;
259
+ }
260
+
261
+ $start_offset = $start_offset_num * 86400 * $start_offset_direction;
262
+
263
+ $start = $start + $start_offset;
264
+ }
265
 
266
+ $start = mktime( 0, 0, 0, date( 'm', $start ), date( 'd', $start ), date( 'Y', $start ) );
267
+
268
+ $end_time = $start + $paging_interval;
269
+
270
  $i = 1;
271
+
272
+ $feeds = implode( $this->id, '-' );
273
+
274
+ $markup = '<div class="gce-list" data-gce-start-offset="' . $start_offset . '" data-gce-start="' . ( $start + $paging_interval ) . '" data-gce-paging-interval="' . $paging_interval . '" data-gce-paging="' . $paging . '" data-gce-feeds="' . $feeds . '" data-gce-title="' . $this->title . '" data-gce-grouped="' . $grouped . '" data-gce-sort="' . $this->sort . '">' . "\n";
275
 
276
+ if( ( $paging != 0 ) && $max_length != 'events' ) {
277
+ $p = '<div class="gce-prev"><a href="#" class="gce-change-month-list" title="Previous month" data-gce-paging-direction="back" data-gce-paging-type="' . $paging_type . '">Back</a></div>';
278
+ $n = '<div class="gce-next"><a href="#" class="gce-change-month-list" title="Next month" data-gce-paging-direction="forward" data-gce-paging-type="' . $paging_type . '">Next</a></div>';
279
+
280
+ $markup .= '<caption class="gce-caption">' .
281
+ '<div class="gce-navbar">' .
282
+ $p .
283
+ $n .
284
+ '<div class="gce-month-title"></div>' .
285
+ '</div>' .
286
+ '</caption>' . "\n";
287
+ }
288
+ $max_count = 1;
289
+ $has_events = false;
290
+
291
+ if( $max_length == 'events' ) {
292
+ $time_now = current_time( 'timestamp' );
293
+ $event_counter = 0;
294
+
295
+ if( $max_events == null ) {
296
+ $max_events = $max_num;
297
+ }
298
+ }
299
 
300
  foreach ( $event_days as $key => $event_day ) {
301
+
302
  //If this is a grouped list, add the date title and begin the nested list for this day
303
+ //'<div class="gce-list-title">' . esc_html( $this->title ) . ' ' . date_i18n( $event_day[0]->get_feed()->get_date_format(), $key ) . '</div>' .
304
+ if ( $grouped ) {
305
+ $markup .=
306
+ '<div class="gce-list-grouped" ' . ( ( $key == $start ) ? ' class="gce-today"' : '' ) . '>' ;
307
+
308
+ if( $key >= $start && $key <= $end_time ) {
309
+ $markup .= '<div class="gce-list-title">' . esc_html( $this->title ) . ' ' . date_i18n( $event_day[0]->feed->date_format, $key ) . '</div>';
310
+ }
311
+ }
312
+
313
+ if( $max_length != 'events' ) {
314
+ foreach ( $event_day as $num_in_day => $event ) {
315
+ //Create the markup for this event
316
+ if( ( $event->start_time >= $start && $event->end_time <= $end_time ) || ( $event->day_type == 'MWD' && $event->start_time > $start && $event->start_time < $end_time ) ) {
317
+ $markup .=
318
+ '<div class="gce-feed gce-feed-' . $event->feed->id . '">' .
319
+ //If this isn't a grouped list and a date title should be displayed, add the date title
320
+ ( ( ! $grouped && isset( $event->title ) ) ? '<div class="gce-list-title">' . esc_attr( $this->title ) . '</div>' : '' ) .
321
+ //Add the event markup
322
+ $event->get_event_markup( 'list', $num_in_day, $i ) .
323
+ '</div>';
324
+
325
+ $has_events = true;
326
+
327
+ $i++;
328
+ }
329
+ }
330
+ } else {
331
+ foreach ( $event_day as $num_in_day => $event ) {
332
+ //Create the markup for this event
333
+ if( ( $event->start_time >= $time_now ) && ( $event_counter < $max_events ) ) {
334
+ $markup .=
335
+ '<div class="gce-feed gce-feed-' . $event->feed->id . '">' .
336
+ //If this isn't a grouped list and a date title should be displayed, add the date title
337
+ ( ( ! $grouped && isset( $event->title ) ) ? '<div class="gce-list-title">' . esc_html( $this->title ) . '</div>' : '' ) .
338
+ //Add the event markup
339
+ $event->get_event_markup( 'list', $num_in_day, $i ) .
340
+ '</div>';
341
+
342
+ $has_events = true;
343
+
344
+ $i++;
345
+
346
+ $event_counter++;
347
+ }
348
+ }
349
+ }
350
 
351
+ //If this is a grouped list, close the nested list for this day
352
+ if ( $grouped ) {
353
+ $markup .= '</div>';
354
+ }
355
+
356
+ $max_count++;
357
+ }
358
+
359
+ if( ! $has_events ) {
360
+ $markup .= __( 'No events to display.', 'gce' );
361
  }
362
 
363
+ $markup .= '</div>';
364
 
365
  return $markup;
366
  }
includes/class-gce-event.php CHANGED
@@ -64,10 +64,7 @@ class GCE_Event {
64
  while ( $on_next_day ) {
65
  //If the end time of the event is after 00:00 on the next day (therefore, not doesn't end on this day)
66
  if ( $this->end_time > $next_day ) {
67
- //If $next_day is within the event retrieval date range (specified by retrieve events from / until settings)
68
- if ( $next_day >= $this->feed->start && $next_day < $this->feed->end ) {
69
- $days[] = $next_day;
70
- }
71
  } else {
72
  $on_next_day = false;
73
  }
64
  while ( $on_next_day ) {
65
  //If the end time of the event is after 00:00 on the next day (therefore, not doesn't end on this day)
66
  if ( $this->end_time > $next_day ) {
67
+ $days[] = $next_day;
 
 
 
68
  } else {
69
  $on_next_day = false;
70
  }
includes/class-gce-feed.php CHANGED
@@ -13,9 +13,6 @@ class GCE_Feed {
13
 
14
  public $id,
15
  $feed_url,
16
- $start,
17
- $end,
18
- $max,
19
  $date_format,
20
  $time_format,
21
  $cache,
@@ -41,6 +38,7 @@ class GCE_Feed {
41
 
42
  // Now create the Feed
43
  $this->create_feed();
 
44
  }
45
 
46
  /**
@@ -62,9 +60,6 @@ class GCE_Feed {
62
  $time_format = get_post_meta( $this->id, 'gce_time_format', true );
63
 
64
  $this->feed_url = get_post_meta( $this->id, 'gce_feed_url', true );
65
- $this->start = $this->set_feed_length( get_post_meta( $this->id, 'gce_retrieve_from', true ), 'start' );
66
- $this->end = $this->set_feed_length( get_post_meta( $this->id, 'gce_retrieve_until', true ), 'end' );
67
- $this->max = get_post_meta( $this->id, 'gce_retrieve_max', true );
68
  $this->date_format = ( ! empty( $date_format ) ? $date_format : get_option( 'date_format' ) );
69
  $this->time_format = ( ! empty( $time_format ) ? $time_format : get_option( 'time_format' ) );
70
  $this->cache = get_post_meta( $this->id, 'gce_cache', true );
@@ -101,13 +96,11 @@ class GCE_Feed {
101
 
102
  //Add the default parameters to the querystring (retrieving JSON, not XML)
103
  $query = '?alt=json&sortorder=ascending&orderby=starttime';
 
 
 
104
 
105
- $gmt_offset = get_option( 'gmt_offset' ) * 3600;
106
-
107
- //Append the feed specific parameters to the querystring
108
- $query .= '&start-min=' . date( 'Y-m-d\TH:i:s', $this->start - $gmt_offset );
109
- $query .= '&start-max=' . date( 'Y-m-d\TH:i:s', $this->end - $gmt_offset );
110
- $query .= '&max-results=' . $this->max;
111
 
112
  if ( ! empty( $this->search_query ) ) {
113
  $query .= '&q=' . rawurlencode( $this->search_query );
@@ -134,7 +127,7 @@ class GCE_Feed {
134
  'sslverify' => false, //sslverify is set to false to ensure https URLs work reliably. Data source is Google's servers, so is trustworthy
135
  'timeout' => 10 //Increase timeout from the default 5 seconds to ensure even large feeds are retrieved successfully
136
  ) );
137
-
138
  // First check for transient data to use
139
  if( false !== get_transient( 'gce_feed_' . $this->id ) ) {
140
  $this->events = get_transient( 'gce_feed_' . $this->id );
13
 
14
  public $id,
15
  $feed_url,
 
 
 
16
  $date_format,
17
  $time_format,
18
  $cache,
38
 
39
  // Now create the Feed
40
  $this->create_feed();
41
+
42
  }
43
 
44
  /**
60
  $time_format = get_post_meta( $this->id, 'gce_time_format', true );
61
 
62
  $this->feed_url = get_post_meta( $this->id, 'gce_feed_url', true );
 
 
 
63
  $this->date_format = ( ! empty( $date_format ) ? $date_format : get_option( 'date_format' ) );
64
  $this->time_format = ( ! empty( $time_format ) ? $time_format : get_option( 'time_format' ) );
65
  $this->cache = get_post_meta( $this->id, 'gce_cache', true );
96
 
97
  //Add the default parameters to the querystring (retrieving JSON, not XML)
98
  $query = '?alt=json&sortorder=ascending&orderby=starttime';
99
+
100
+ $query .= '&start-min=' . date( 'Y-m-d\TH:i:s', mktime( 0, 0, 0, 1, 1, date( 'Y' ) - 1 ) );
101
+ $query .= '&start-max=' . date( 'Y-m-d\TH:i:s', mktime( 0, 0, 0, 1, 1, date( 'Y' ) + 5 ) );
102
 
103
+ $query .= '&max-results=1000';
 
 
 
 
 
104
 
105
  if ( ! empty( $this->search_query ) ) {
106
  $query .= '&q=' . rawurlencode( $this->search_query );
127
  'sslverify' => false, //sslverify is set to false to ensure https URLs work reliably. Data source is Google's servers, so is trustworthy
128
  'timeout' => 10 //Increase timeout from the default 5 seconds to ensure even large feeds are retrieved successfully
129
  ) );
130
+
131
  // First check for transient data to use
132
  if( false !== get_transient( 'gce_feed_' . $this->id ) ) {
133
  $this->events = get_transient( 'gce_feed_' . $this->id );
includes/gce-feed-cpt.php CHANGED
@@ -140,9 +140,6 @@ function gce_save_meta( $post_id ) {
140
  // An array to hold all of our post meta ids so we can run them through a loop
141
  $post_meta_fields = array(
142
  'gce_feed_url',
143
- 'gce_retrieve_from',
144
- 'gce_retrieve_until',
145
- 'gce_retrieve_max',
146
  'gce_date_format',
147
  'gce_time_format',
148
  'gce_cache',
@@ -152,6 +149,11 @@ function gce_save_meta( $post_id ) {
152
  'gce_custom_until',
153
  'gce_search_query',
154
  'gce_expand_recurring',
 
 
 
 
 
155
  // Display options
156
  'gce_display_start',
157
  'gce_display_start_text',
@@ -181,12 +183,7 @@ function gce_save_meta( $post_id ) {
181
  update_post_meta( $post_id, $pmf, stripslashes( $_POST[$pmf] ) );
182
  }
183
  } else {
184
- // We want max to be set to 25 by default if nothing is entered
185
- if( $pmf == 'gce_retrieve_max' ) {
186
- update_post_meta( $post_id, $pmf, 25 );
187
- } else {
188
- delete_post_meta( $post_id, $pmf );
189
- }
190
  }
191
  }
192
  }
@@ -207,7 +204,6 @@ function gce_add_column_headers( $defaults ) {
207
  'cb' => $defaults['cb'],
208
  'feed-id' => __( 'Feed ID', 'gce' ),
209
  'feed-sc' => __( 'Feed Shortcode', 'gce' ),
210
- 'max-events' => __( 'Max Events', 'gce' ),
211
  'display-type' => __( 'Display Type', 'gce' )
212
  );
213
 
@@ -231,10 +227,6 @@ function gce_column_content( $column_name, $post_ID ) {
231
  case 'feed-sc':
232
  echo '<code>[gcal id="' . $post_ID . '"]</code>';
233
  break;
234
- case 'max-events':
235
- $max = get_post_meta( $post_ID, 'gce_retrieve_max', true );
236
- echo $max;
237
- break;
238
  case 'display-type':
239
  $display = get_post_meta( $post_ID, 'gce_display_mode', true );
240
 
140
  // An array to hold all of our post meta ids so we can run them through a loop
141
  $post_meta_fields = array(
142
  'gce_feed_url',
 
 
 
143
  'gce_date_format',
144
  'gce_time_format',
145
  'gce_cache',
149
  'gce_custom_until',
150
  'gce_search_query',
151
  'gce_expand_recurring',
152
+ 'gce_paging',
153
+ 'gce_list_max_num',
154
+ 'gce_list_max_length',
155
+ 'gce_list_start_offset_num',
156
+ 'gce_list_start_offset_direction',
157
  // Display options
158
  'gce_display_start',
159
  'gce_display_start_text',
183
  update_post_meta( $post_id, $pmf, stripslashes( $_POST[$pmf] ) );
184
  }
185
  } else {
186
+ delete_post_meta( $post_id, $pmf );
 
 
 
 
 
187
  }
188
  }
189
  }
204
  'cb' => $defaults['cb'],
205
  'feed-id' => __( 'Feed ID', 'gce' ),
206
  'feed-sc' => __( 'Feed Shortcode', 'gce' ),
 
207
  'display-type' => __( 'Display Type', 'gce' )
208
  );
209
 
227
  case 'feed-sc':
228
  echo '<code>[gcal id="' . $post_ID . '"]</code>';
229
  break;
 
 
 
 
230
  case 'display-type':
231
  $display = get_post_meta( $post_ID, 'gce_display_mode', true );
232
 
includes/misc-functions.php CHANGED
@@ -8,13 +8,17 @@
8
  function gce_print_calendar( $feed_ids, $display = 'grid', $args = array(), $widget = false ) {
9
 
10
  $defaults = array(
11
- 'title_text' => '',
12
- 'max_events' => 25,
13
- 'sort' => 'asc',
14
- 'grouped' => 0,
15
- 'month' => null,
16
- 'year' => null,
17
- 'widget' => 0
 
 
 
 
18
  );
19
 
20
  $args = array_merge( $defaults, $args );
@@ -24,13 +28,44 @@ function gce_print_calendar( $feed_ids, $display = 'grid', $args = array(), $wid
24
  $ids = explode( '-', $feed_ids );
25
 
26
  //Create new display object, passing array of feed id(s)
27
- $d = new GCE_Display( $ids, $title_text, $max_events, $sort );
28
  $markup = '';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
 
30
  if( 'grid' == $display ) {
31
 
32
- $markup = '<script type="text/javascript">jQuery(document).ready(function($){gce_ajaxify("' . ( $widget == 1 ? 'gce-widget-' : 'gce-page-grid-' ) . $feed_ids
33
- . '", "' . $feed_ids . '", "' . absint( $max_events ) . '", "' . $title_text . '", "' . ( $widget == 1 ? 'widget' : 'page' ) . '");});</script>';
 
 
 
 
 
 
 
 
 
 
34
 
35
  if( $widget == 1 ) {
36
  $markup .= '<div class="gce-widget-grid" id="gce-widget-' . $feed_ids . '">';
@@ -38,11 +73,26 @@ function gce_print_calendar( $feed_ids, $display = 'grid', $args = array(), $wid
38
  $markup .= '<div class="gce-page-grid" id="gce-page-grid-' . $feed_ids . '">';
39
  }
40
 
41
- $markup .= $d->get_grid( $year, $month, $widget );
42
  $markup .= '</div>';
43
 
44
  } else if( 'list' == $display || 'list-grouped' == $display ) {
45
- $markup = '<div class="gce-page-list">' . $d->get_list( $grouped ) . '</div>';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
46
  }
47
 
48
  return $markup;
@@ -54,34 +104,106 @@ function gce_print_calendar( $feed_ids, $display = 'grid', $args = array(), $wid
54
  * @since 2.0.0
55
  */
56
  function gce_ajax() {
57
- if ( isset( $_GET['gce_feed_ids'] ) ) {
58
- $ids = $_GET['gce_feed_ids'];
59
- $title = $_GET['gce_title_text'];
60
- $max = $_GET['gce_max_events'];
61
- $month = $_GET['gce_month'];
62
- $year = $_GET['gce_year'];
 
 
 
 
 
 
 
 
 
63
 
64
  $title = ( 'null' == $title ) ? null : $title;
65
 
66
  $args = array(
67
  'title_text' => $title,
68
- 'max_events' => $max,
69
  'month' => $month,
70
  'year' => $year,
 
71
  );
72
 
73
- if ( 'page' == $_GET['gce_type'] ) {
74
  echo gce_print_calendar( $ids, 'grid', $args );
75
- } elseif ( 'widget' == $_GET['gce_type'] ) {
76
  $args['widget'] = 1;
77
  echo gce_print_calendar( $ids, 'grid', $args );
78
  }
79
- }
80
  die();
81
  }
82
  add_action( 'wp_ajax_nopriv_gce_ajax', 'gce_ajax' );
83
  add_action( 'wp_ajax_gce_ajax', 'gce_ajax' );
84
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
85
  function gce_feed_content( $content ) {
86
  global $post;
87
 
8
  function gce_print_calendar( $feed_ids, $display = 'grid', $args = array(), $widget = false ) {
9
 
10
  $defaults = array(
11
+ 'title_text' => '',
12
+ 'sort' => 'asc',
13
+ 'grouped' => 0,
14
+ 'month' => null,
15
+ 'year' => null,
16
+ 'widget' => 0,
17
+ 'paging_interval' => null,
18
+ 'max_events' => null,
19
+ 'start_offset' => null,
20
+ 'paging_type' => null,
21
+ 'paging' => null
22
  );
23
 
24
  $args = array_merge( $defaults, $args );
28
  $ids = explode( '-', $feed_ids );
29
 
30
  //Create new display object, passing array of feed id(s)
31
+ $d = new GCE_Display( $ids, $title_text, $sort );
32
  $markup = '';
33
+ $start = current_time( 'timestamp' );
34
+
35
+ if( $widget ) {
36
+ foreach( $ids as $f ) {
37
+ $paging = get_post_meta( $f, 'gce_paging_widget', true );
38
+ $old_paging[] = get_post_meta( $f, 'gce_paging', true );
39
+
40
+ if( $paging ) {
41
+ update_post_meta( $f, 'gce_paging', true );
42
+ }
43
+
44
+ $paging_interval = get_post_meta( $f, 'gce_widget_paging_interval', true );
45
+ }
46
+ }
47
+
48
+ // If paging is not set then we need to set it now
49
+ foreach( $ids as $id ) {
50
+ if( $paging == null && $paging != 0 ) {
51
+ $paging = get_post_meta( $id, 'gce_paging', true );
52
+ }
53
+ }
54
 
55
  if( 'grid' == $display ) {
56
 
57
+ global $localize;
58
+
59
+ $target = ( $widget == 1 ? 'gce-widget-' : 'gce-page-grid-' ) . $feed_ids;
60
+
61
+ $localize[$target] = array(
62
+ 'target_element' => $target,
63
+ 'feed_ids' => $feed_ids,
64
+ 'title_text' => $title_text,
65
+ 'type' => ( $widget == 1 ? 'widget' : 'page' )
66
+ );
67
+
68
+ wp_localize_script( GCE_PLUGIN_SLUG . '-public', 'gce_grid', $localize );
69
 
70
  if( $widget == 1 ) {
71
  $markup .= '<div class="gce-widget-grid" id="gce-widget-' . $feed_ids . '">';
73
  $markup .= '<div class="gce-page-grid" id="gce-page-grid-' . $feed_ids . '">';
74
  }
75
 
76
+ $markup .= $d->get_grid( $year, $month, $widget, $paging );
77
  $markup .= '</div>';
78
 
79
  } else if( 'list' == $display || 'list-grouped' == $display ) {
80
+
81
+ if( $widget ) {
82
+ $markup = '<div class="gce-widget-list" id="gce-widget-list-' . $feed_ids . '">' . $d->get_list( $grouped, ( $start + $start_offset ), $paging, $paging_interval, $start_offset, $max_events, $paging_type ) . '</div>';
83
+ } else {
84
+ $markup = '<div class="gce-page-list" id="gce-page-list-' . $feed_ids . '">' . $d->get_list( $grouped, ( $start + $start_offset ), $paging, $paging_interval, $start_offset, $max_events, $paging_type ) . '</div>';
85
+ }
86
+ }
87
+
88
+ // Reset post meta
89
+ if( $widget ) {
90
+ $i = 0;
91
+ foreach( $ids as $f ) {
92
+ update_post_meta( $f, 'gce_paging', $old_paging[$i] );
93
+
94
+ $i++;
95
+ }
96
  }
97
 
98
  return $markup;
104
  * @since 2.0.0
105
  */
106
  function gce_ajax() {
107
+
108
+ $nonce = $_POST['gce_nonce'];
109
+
110
+ // check to see if the submitted nonce matches with the
111
+ // generated nonce we created earlier
112
+ if ( ! wp_verify_nonce( $nonce, 'gce_ajax_nonce' ) ) {
113
+ die ( 'Request has failed.');
114
+ }
115
+
116
+ $ids = esc_html( $_POST['gce_feed_ids'] );
117
+ $title = esc_html( $_POST['gce_title_text'] );
118
+ $month = esc_html( $_POST['gce_month'] );
119
+ $year = esc_html( $_POST['gce_year'] );
120
+ $paging = esc_html( $_POST['gce_paging'] );
121
+ $type = esc_html( $_POST['gce_type'] );
122
 
123
  $title = ( 'null' == $title ) ? null : $title;
124
 
125
  $args = array(
126
  'title_text' => $title,
 
127
  'month' => $month,
128
  'year' => $year,
129
+ 'paging' => $paging
130
  );
131
 
132
+ if ( 'page' == $type ) {
133
  echo gce_print_calendar( $ids, 'grid', $args );
134
+ } elseif ( 'widget' == $type ) {
135
  $args['widget'] = 1;
136
  echo gce_print_calendar( $ids, 'grid', $args );
137
  }
138
+
139
  die();
140
  }
141
  add_action( 'wp_ajax_nopriv_gce_ajax', 'gce_ajax' );
142
  add_action( 'wp_ajax_gce_ajax', 'gce_ajax' );
143
 
144
+
145
+ /**
146
+ * AJAX function for grid pagination
147
+ *
148
+ * @since 2.0.0
149
+ */
150
+ function gce_ajax_list() {
151
+
152
+ $nonce = $_POST['gce_nonce'];
153
+
154
+ // check to see if the submitted nonce matches with the
155
+ // generated nonce we created earlier
156
+ if ( ! wp_verify_nonce( $nonce, 'gce_ajax_nonce' ) ) {
157
+ die ( 'Request has failed.');
158
+ }
159
+
160
+ $grouped = esc_html( $_POST['gce_grouped'] );
161
+ $start = esc_html( $_POST['gce_start'] );
162
+ $ids = esc_html( $_POST['gce_feed_ids'] );
163
+ $title_text = esc_html( $_POST['gce_title_text'] );
164
+ $sort = esc_html( $_POST['gce_sort'] );
165
+ $paging = esc_html( $_POST['gce_paging'] );
166
+ $paging_interval = esc_html( $_POST['gce_paging_interval'] );
167
+ $paging_direction = esc_html( $_POST['gce_paging_direction'] );
168
+ $start_offset = esc_html( $_POST['gce_start_offset'] );
169
+ $paging_type = esc_html( $_POST['gce_paging_type'] );
170
+
171
+ if( $paging_direction == 'back' ) {
172
+ if( $paging_type == 'month' ) {
173
+
174
+ $this_month = mktime( 0, 0, 0, date( 'm', $start ) - 1, 1, date( 'Y', $start ) );
175
+ $prev_month = mktime( 0, 0, 0, date( 'm', $start ) - 2, 1, date( 'Y', $start ) );
176
+ $prev_interval_days = date( 't', $prev_month );
177
+ $month_days = date( 't', $this_month );
178
+
179
+ $int = $month_days + $prev_interval_days;
180
+ $int = $int * 86400;
181
+
182
+ $start = $start - ( $int );
183
+
184
+ $changed_month_days = date( 't', $start );
185
+ $paging_interval = $changed_month_days * 86400;
186
+ } else {
187
+ $start = $start - ( $paging_interval * 2 );
188
+ }
189
+
190
+ } else {
191
+ if( $paging_type == 'month' ) {
192
+ $days_in_month = date( 't', $start );
193
+ $paging_interval = 86400 * $days_in_month;
194
+ }
195
+ }
196
+
197
+ $d = new GCE_Display( explode( '-', $ids ), $title_text, $sort );
198
+
199
+ echo $d->get_list( $grouped, $start, $paging, $paging_interval, $start_offset );
200
+
201
+ die();
202
+ }
203
+ add_action( 'wp_ajax_nopriv_gce_ajax_list', 'gce_ajax_list' );
204
+ add_action( 'wp_ajax_gce_ajax_list', 'gce_ajax_list' );
205
+
206
+
207
  function gce_feed_content( $content ) {
208
  global $post;
209
 
includes/php-calendar.php CHANGED
@@ -19,6 +19,12 @@ Changes made to original PHP Calendar script by me (Ross Hanney):
19
 
20
  function gce_generate_calendar( $year, $month, $days = array(), $day_name_length = 3, $month_href = NULL, $first_day = 0, $pn = array(), $widget = false ) {
21
  global $wp_locale;
 
 
 
 
 
 
22
 
23
  $first_of_month = mktime( 0, 0, 0, $month, 1, $year );
24
  #remember that mktime will automatically correct if invalid dates are entered
@@ -39,23 +45,27 @@ function gce_generate_calendar( $year, $month, $days = array(), $day_name_length
39
  list( $p, $pl ) = each( $pn );
40
  list( $n, $nl ) = each( $pn ); #previous and next links, if applicable
41
 
42
- if ( $p ) {
43
- if( $widget ) {
44
- $p = '<span class="gce-prev">' . ( ( $pl ) ? ( '<a class="gce-change-month" title="Previous month" name="' . $pl . '">' . $p . '</a>' ) : $p ) . '</span>&nbsp;';
45
- } else {
46
- $p = '<span class="gce-prev">' . ( ( $pl ) ? ( '<a class="gce-change-month" title="Previous month" name="' . $pl . '">' . $p . ' Back</a>' ) : $p ) . '</span>&nbsp;';
47
- }
48
  }
49
 
50
- if ( $n ) {
51
- if( $widget ) {
52
- $n = '&nbsp;<span class="gce-next">' . ( ( $nl ) ? ( '<a class="gce-change-month" title="Next month" name="' . $nl . '">' . $n . '</a>' ) : $n ) . '</span>';
53
- } else {
54
- $n = '&nbsp;<span class="gce-next">' . ( ( $nl ) ? ( '<a class="gce-change-month" title="Next month" name="' . $nl . '">Next ' . $n . '</a>' ) : $n ) . '</span>';
55
- }
56
  }
57
 
58
- $calendar = '<table class="gce-calendar">' . "\n" . '<caption class="gce-caption">' . $p . '<span class="gce-month-title">' . ( ( $month_href ) ? ( '<a href="' . esc_attr( $month_href ) . '">' . $title . '</a>' ) : $title ) . '</span>' . $n . "</caption>\n<tr>";
 
 
 
 
 
 
 
 
59
 
60
  if ( $day_name_length ) { #if the day names should be shown ($day_name_length > 0)
61
  #if day_name_length is >3, the full name of the day will be printed
@@ -91,4 +101,4 @@ function gce_generate_calendar( $year, $month, $days = array(), $day_name_length
91
 
92
  return $calendar . "</tr>\n</table>\n";
93
  }
94
- ?>
19
 
20
  function gce_generate_calendar( $year, $month, $days = array(), $day_name_length = 3, $month_href = NULL, $first_day = 0, $pn = array(), $widget = false ) {
21
  global $wp_locale;
22
+
23
+ $paging = false;
24
+
25
+ if( ! empty( $pn ) ) {
26
+ $paging = true;
27
+ }
28
 
29
  $first_of_month = mktime( 0, 0, 0, $month, 1, $year );
30
  #remember that mktime will automatically correct if invalid dates are entered
45
  list( $p, $pl ) = each( $pn );
46
  list( $n, $nl ) = each( $pn ); #previous and next links, if applicable
47
 
48
+ if( $widget ) {
49
+ $p = '<div class="gce-prev">' . ( ( $pl ) ? ( '<a href="#" class="gce-change-month" title="Previous month" name="' . $pl . '" data-gce-grid-paging="' . $paging . '">' . $p . '</a>' ) : $p ) . '</div>';
50
+ } else {
51
+ $p = '<div class="gce-prev">' . ( ( $pl ) ? ( '<a href="#" class="gce-change-month" title="Previous month" name="' . $pl . '" data-gce-grid-paging="' . $paging . '">' . $p . '</a>' ) : $p ) . '</div>';
 
 
52
  }
53
 
54
+ if( $widget ) {
55
+ $n = '<div class="gce-next">' . ( ( $nl ) ? ( '<a href="#" class="gce-change-month" title="Next month" name="' . $nl . '" data-gce-grid-paging="' . $paging . '">' . $n . '</a>' ) : $n ) . '</div>';
56
+ } else {
57
+ $n = '<div class="gce-next">' . ( ( $nl ) ? ( '<a href="#" class="gce-change-month" title="Next month" name="' . $nl . '" data-gce-grid-paging="' . $paging . '">' . $n . '</a>' ) : $n ) . '</div>';
 
 
58
  }
59
 
60
+ $calendar = '<table class="gce-calendar">' . "\n" .
61
+ '<caption class="gce-caption">' .
62
+ '<div class="gce-navbar">' .
63
+ $p .
64
+ $n .
65
+ '<div class="gce-month-title">' . ( ( $month_href ) ? ( '<a href="' . esc_attr( $month_href ) . '">' . $title . '</a>' ) : $title ) . '</div>' .
66
+ '</div>' .
67
+ '</caption>' . "\n" .
68
+ '<tr>' . "\n";
69
 
70
  if ( $day_name_length ) { #if the day names should be shown ($day_name_length > 0)
71
  #if day_name_length is >3, the full name of the day will be printed
101
 
102
  return $calendar . "</tr>\n</table>\n";
103
  }
104
+ ?>
includes/shortcodes.php CHANGED
@@ -9,7 +9,6 @@
9
  * @copyright 2014 Phil Derksen
10
  */
11
 
12
-
13
  /**
14
  * Adds support for the new [gcal] shortcode
15
  *
@@ -20,12 +19,16 @@
20
  function gce_gcal_shortcode( $attr ) {
21
 
22
  extract( shortcode_atts( array(
23
- 'id' => null,
24
- 'display' => '',
25
- 'max' => 0,
26
- 'order' => 'asc',
27
- 'title' => null,
28
- 'type' => null,
 
 
 
 
29
  ), $attr, 'gce_feed' ) );
30
 
31
  // If no ID is specified then return
@@ -33,6 +36,9 @@ function gce_gcal_shortcode( $attr ) {
33
  return;
34
  }
35
 
 
 
 
36
  $feed_ids = explode( ',', $id );
37
 
38
  foreach( $feed_ids as $k => $v ) {
@@ -49,6 +55,49 @@ function gce_gcal_shortcode( $attr ) {
49
  if( empty( $display ) ) {
50
  $display = get_post_meta( $v, 'gce_display_mode', true );
51
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
52
  }
53
 
54
  // Port over old options
@@ -59,17 +108,29 @@ function gce_gcal_shortcode( $attr ) {
59
  $display = $type;
60
  }
61
  }
 
 
 
 
62
 
63
  $args = array(
64
  'title_text' => $title,
65
- 'max_events' => $max,
66
  'sort' => $order,
67
  'grouped' => ( $display == 'list-grouped' ? 1 : 0 ),
68
  'month' => null,
69
  'year' => null,
70
- 'widget' => 0
 
 
 
71
  );
72
 
 
 
 
 
 
 
73
  $feed_ids = implode( '-', $feed_ids );
74
 
75
  return gce_print_calendar( $feed_ids, $display, $args );
9
  * @copyright 2014 Phil Derksen
10
  */
11
 
 
12
  /**
13
  * Adds support for the new [gcal] shortcode
14
  *
19
  function gce_gcal_shortcode( $attr ) {
20
 
21
  extract( shortcode_atts( array(
22
+ 'id' => null,
23
+ 'display' => '',
24
+ 'order' => 'asc',
25
+ 'title' => null,
26
+ 'type' => null,
27
+ 'paging' => null,
28
+ 'interval' => null,
29
+ 'interval_count' => null,
30
+ 'offset_interval_count' => null,
31
+ 'offset_direction' => null
32
  ), $attr, 'gce_feed' ) );
33
 
34
  // If no ID is specified then return
36
  return;
37
  }
38
 
39
+ $paging_interval = null;
40
+ $max_events = null;
41
+
42
  $feed_ids = explode( ',', $id );
43
 
44
  foreach( $feed_ids as $k => $v ) {
55
  if( empty( $display ) ) {
56
  $display = get_post_meta( $v, 'gce_display_mode', true );
57
  }
58
+
59
+ if( $interval == null ) {
60
+ $interval = get_post_meta( $v, 'gce_list_max_length', true );
61
+ }
62
+
63
+ if( $interval_count == null ) {
64
+ $interval_count = get_post_meta( $v, 'gce_list_max_num', true );
65
+ }
66
+
67
+ if( $offset_interval_count == null ) {
68
+ $offset_interval_count = get_post_meta( $v, 'gce_list_start_offset_num', true );
69
+ }
70
+
71
+ if( $offset_direction == null ) {
72
+ $offset_direction = get_post_meta( $v, 'gce_list_start_offset_direction', true );
73
+ }
74
+
75
+ if( $paging == null ) {
76
+ $paging = get_post_meta( $v, 'gce_paging', true );
77
+ }
78
+ }
79
+
80
+ if( $paging == 'false' ) {
81
+ $paging = 0;
82
+ } else if( $paging == 'true' ) {
83
+ $paging = 1;
84
+ }
85
+
86
+
87
+ if( $offset_direction == 'back' ) {
88
+ $offset_direction = -1;
89
+ } else {
90
+ $offset_direction = 1;
91
+ }
92
+
93
+ $start_offset = $offset_interval_count * 86400 * $offset_direction;
94
+
95
+ if( $interval == 'days' ) {
96
+ $paging_interval = $interval_count * 86400;
97
+ $paging_type = 'days';
98
+ } else if( $interval == 'events' ) {
99
+ $max_events = $interval_count;
100
+ $paging_type = 'events';
101
  }
102
 
103
  // Port over old options
108
  $display = $type;
109
  }
110
  }
111
+
112
+ if( $display == 'grouped-list' ) {
113
+ $display = 'list-grouped';
114
+ }
115
 
116
  $args = array(
117
  'title_text' => $title,
 
118
  'sort' => $order,
119
  'grouped' => ( $display == 'list-grouped' ? 1 : 0 ),
120
  'month' => null,
121
  'year' => null,
122
+ 'widget' => 0,
123
+ 'paging_interval' => $paging_interval,
124
+ 'max_events' => $max_events,
125
+ 'paging' => $paging
126
  );
127
 
128
+ $args['start_offset'] = $start_offset;
129
+
130
+ if( ! empty( $paging_type ) ) {
131
+ $args['paging_type'] = $paging_type;
132
+ }
133
+
134
  $feed_ids = implode( '-', $feed_ids );
135
 
136
  return gce_print_calendar( $feed_ids, $display, $args );
js/admin.js DELETED
@@ -1,41 +0,0 @@
1
- /**
2
- * Admin JavaScript functions
3
- *
4
- * @package GCE
5
- * @author Phil Derksen <pderksen@gmail.com>, Nick Young <mycorpweb@gmail.com>
6
- * @license GPL-2.0+
7
- * @copyright 2014 Phil Derksen
8
- */
9
-
10
- (function ($) {
11
- "use strict";
12
- $(function () {
13
-
14
- // Show the hidden text box if custom date is selected (Retrieve From)
15
- $('#gce_retrieve_from').on('change', function() {
16
-
17
- if( $(this).val() == 'custom_date' ) {
18
- $('#gce_custom_from').show();
19
- } else {
20
- $('#gce_custom_from').hide();
21
- }
22
- });
23
-
24
- // Show the hidden text box if custom date is selected (Retrieve Until)
25
- $('#gce_retrieve_until').on('change', function() {
26
-
27
- if( $(this).val() == 'custom_date' ) {
28
- $('#gce_custom_until').show();
29
- } else {
30
- $('#gce_custom_until').hide();
31
- }
32
- });
33
-
34
- // Add jQuery date picker to our 2 custom date fields
35
- $('#gce_custom_from').datepicker();
36
- $('#gce_custom_until').datepicker();
37
-
38
- });
39
- }(jQuery));
40
-
41
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
js/gce-script.js CHANGED
@@ -1,58 +1,106 @@
1
-
2
- /**
3
- * Public JS functions
4
- *
5
- * @package GCE
6
- * @author Phil Derksen <pderksen@gmail.com>, Nick Young <mycorpweb@gmail.com>
7
- * @license GPL-2.0+
8
- * @copyright 2014 Phil Derksen
9
- */
10
-
11
-
12
- function gce_ajaxify(target, feed_ids, max_events, title_text, type){
13
-
14
- //Add click event to change month links
15
- jQuery('#' + target + ' .gce-change-month').click(function(){
16
- //Extract month and year
17
- var month_year = jQuery(this).attr('name').split('-', 2);
18
- //Add loading text to table caption
19
- jQuery('#' + target + ' caption').html('Loading...');
20
- //Send AJAX request
21
- jQuery.get(gce.ajaxurl,{
22
- action:'gce_ajax',
23
- gce_type:type,
24
- gce_feed_ids:feed_ids,
25
- gce_title_text:title_text,
26
- gce_widget_id:target,
27
- gce_max_events:max_events,
28
- gce_month:month_year[0],
29
- gce_year:month_year[1]
30
- }, function(data){
31
- //Replace existing data with returned AJAX data
32
- if(type == 'widget'){
33
- jQuery('#' + target).html(data);
34
- }else{
35
- //console.log( 'Replacing content...' );
36
- jQuery('#' + target).replaceWith(data);
37
- }
38
- gce_tooltips('#' + target + ' .gce-has-events');
39
- });
40
- });
41
- }
42
-
43
- function gce_tooltips(target_items){
44
- jQuery(target_items).each(function(){
45
- //Add qtip to all target items
46
- jQuery(this).qtip({
47
- content: jQuery(this).children('.gce-event-info'),
48
- position: { corner: { target: 'center', tooltip: 'bottomLeft' }, adjust: { screen: true } },
49
- hide: { fixed: true, delay: 100, effect: { length: 0 } },
50
- show: { solo: true, delay: 0, effect: { length: 0 } },
51
- style: { padding: "0", classes: { tooltip: 'gce-qtip', tip: 'gce-qtip-tip', title: 'gce-qtip-title', content: 'gce-qtip-content', active: 'gce-qtip-active' }, border: { width: 0 } }
52
- });
53
- });
54
- }
55
-
56
- jQuery(document).ready(function(){
57
- gce_tooltips('.gce-has-events');
58
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ /**
3
+ * Public JS functions
4
+ *
5
+ * @package GCE
6
+ * @author Phil Derksen <pderksen@gmail.com>, Nick Young <mycorpweb@gmail.com>
7
+ * @license GPL-2.0+
8
+ * @copyright 2014 Phil Derksen
9
+ */
10
+ (function($) {
11
+ 'use strict';
12
+
13
+ $(function() {
14
+
15
+ gce_tooltips('.gce-has-events');
16
+
17
+ if( typeof gce_grid != 'undefined' ) {
18
+
19
+ $('body').on( 'click', '.gce-change-month', function(e) {
20
+
21
+ var id = $(this).closest('.gce-calendar').parent().attr('id');
22
+
23
+ e.preventDefault();
24
+
25
+ //Extract month and year
26
+ var month_year = $(this).attr('name').split('-', 2);
27
+ var paging = $(this).attr('data-gce-grid-paging');
28
+
29
+ //Add loading text to table caption
30
+ $('#' + gce_grid[id].target_element + ' caption').html('Loading...');
31
+ //Send AJAX request
32
+ $.post(gce.ajaxurl,{
33
+ action:'gce_ajax',
34
+ gce_type: gce_grid[id].type,
35
+ gce_feed_ids: gce_grid[id].feed_ids,
36
+ gce_title_text: gce_grid[id].title_text,
37
+ gce_widget_id: gce_grid[id].target_element,
38
+ gce_month: month_year[0],
39
+ gce_year: month_year[1],
40
+ gce_paging: paging,
41
+ gce_nonce: gce.ajaxnonce
42
+ }, function(data){
43
+ //Replace existing data with returned AJAX data
44
+ if(gce_grid[id].type == 'widget'){
45
+ $('#' + gce_grid[id].target_element).html(data);
46
+ }else{
47
+ $('#' + gce_grid[id].target_element).replaceWith(data);
48
+ }
49
+ gce_tooltips('#' + gce_grid[id].target_element + ' .gce-has-events');
50
+ });
51
+ });
52
+ }
53
+
54
+ $('body').on( 'click', '.gce-change-month-list', function(e) {
55
+
56
+ e.preventDefault();
57
+
58
+ var element = $(this);
59
+
60
+ var start = $(this).parent().parent().parent().data('gce-start');
61
+ var grouped = $(this).parent().parent().parent().data('gce-grouped');
62
+ var title_text = $(this).parent().parent().parent().data('gce-title');
63
+ var feed_ids = $(this).parent().parent().parent().data( 'gce-feeds');
64
+ var sort = $(this).parent().parent().parent().data('gce-sort');
65
+ var paging = $(this).parent().parent().parent().data('gce-paging');
66
+ var paging_interval = $(this).parent().parent().parent().data('gce-paging-interval');
67
+ var paging_direction = $(this).data('gce-paging-direction');
68
+ var start_offset = $(this).parent().parent().parent().data('gce-start-offset');
69
+ var paging_type = $(this).data('gce-paging-type');
70
+
71
+ //Add loading text to table caption
72
+ $(this).parent().parent().parent().find('.gce-month-title').html('Loading...');
73
+
74
+ //Send AJAX request
75
+ jQuery.post(gce.ajaxurl,{
76
+ action:'gce_ajax_list',
77
+ gce_feed_ids:feed_ids,
78
+ gce_title_text:title_text,
79
+ gce_start: start,
80
+ gce_grouped: grouped,
81
+ gce_sort: sort,
82
+ gce_paging: paging,
83
+ gce_paging_interval: paging_interval,
84
+ gce_paging_direction: paging_direction,
85
+ gce_start_offset: start_offset,
86
+ gce_paging_type: paging_type,
87
+ gce_nonce: gce.ajaxnonce
88
+ }, function(data){
89
+ element.parent().parent().parent().html(data);
90
+ });
91
+ });
92
+
93
+ function gce_tooltips(target_items) {
94
+ $(target_items).each(function(){
95
+ //Add qtip to all target items
96
+ $(this).qtip({
97
+ content: $(this).children('.gce-event-info'),
98
+ position: { corner: { target: 'center', tooltip: 'bottomLeft' }, adjust: { screen: true } },
99
+ hide: { fixed: true, delay: 100, effect: { length: 0 } },
100
+ show: { solo: true, delay: 0, effect: { length: 0 } },
101
+ style: { padding: "0", classes: { tooltip: 'gce-qtip', tip: 'gce-qtip-tip', title: 'gce-qtip-title', content: 'gce-qtip-content', active: 'gce-qtip-active' }, border: { width: 0 } }
102
+ });
103
+ });
104
+ }
105
+ });
106
+ }(jQuery))
js/jquery-qtip.js CHANGED
@@ -1,15 +1,15 @@
1
- /*!
2
- * jquery.qtip. The jQuery tooltip plugin
3
- *
4
- * Copyright (c) 2009 Craig Thompson
5
- * http://craigsworks.com
6
- *
7
- * Licensed under MIT
8
- * http://www.opensource.org/licenses/mit-license.php
9
- *
10
- * Launch : February 2009
11
- * Version : 1.0.0-rc3
12
- * Released: Tuesday 12th May, 2009 - 00:00
13
- * Debug: jquery.qtip.debug.js
14
- */
15
  (function(f){f.fn.qtip=function(B,u){var y,t,A,s,x,w,v,z;if(typeof B=="string"){if(typeof f(this).data("qtip")!=="object"){f.fn.qtip.log.error.call(self,1,f.fn.qtip.constants.NO_TOOLTIP_PRESENT,false)}if(B=="api"){return f(this).data("qtip").interfaces[f(this).data("qtip").current]}else{if(B=="interfaces"){return f(this).data("qtip").interfaces}}}else{if(!B){B={}}if(typeof B.content!=="object"||(B.content.jquery&&B.content.length>0)){B.content={text:B.content}}if(typeof B.content.title!=="object"){B.content.title={text:B.content.title}}if(typeof B.position!=="object"){B.position={corner:B.position}}if(typeof B.position.corner!=="object"){B.position.corner={target:B.position.corner,tooltip:B.position.corner}}if(typeof B.show!=="object"){B.show={when:B.show}}if(typeof B.show.when!=="object"){B.show.when={event:B.show.when}}if(typeof B.show.effect!=="object"){B.show.effect={type:B.show.effect}}if(typeof B.hide!=="object"){B.hide={when:B.hide}}if(typeof B.hide.when!=="object"){B.hide.when={event:B.hide.when}}if(typeof B.hide.effect!=="object"){B.hide.effect={type:B.hide.effect}}if(typeof B.style!=="object"){B.style={name:B.style}}B.style=c(B.style);s=f.extend(true,{},f.fn.qtip.defaults,B);s.style=a.call({options:s},s.style);s.user=f.extend(true,{},B)}return f(this).each(function(){if(typeof B=="string"){w=B.toLowerCase();A=f(this).qtip("interfaces");if(typeof A=="object"){if(u===true&&w=="destroy"){while(A.length>0){A[A.length-1].destroy()}}else{if(u!==true){A=[f(this).qtip("api")]}for(y=0;y<A.length;y++){if(w=="destroy"){A[y].destroy()}else{if(A[y].status.rendered===true){if(w=="show"){A[y].show()}else{if(w=="hide"){A[y].hide()}else{if(w=="focus"){A[y].focus()}else{if(w=="disable"){A[y].disable(true)}else{if(w=="enable"){A[y].disable(false)}}}}}}}}}}}else{v=f.extend(true,{},s);v.hide.effect.length=s.hide.effect.length;v.show.effect.length=s.show.effect.length;if(v.position.container===false){v.position.container=f(document.body)}if(v.position.target===false){v.position.target=f(this)}if(v.show.when.target===false){v.show.when.target=f(this)}if(v.hide.when.target===false){v.hide.when.target=f(this)}t=f.fn.qtip.interfaces.length;for(y=0;y<t;y++){if(typeof f.fn.qtip.interfaces[y]=="undefined"){t=y;break}}x=new d(f(this),v,t);f.fn.qtip.interfaces[t]=x;if(typeof f(this).data("qtip")==="object"&&f(this).data("qtip")){if(typeof f(this).attr("qtip")==="undefined"){f(this).data("qtip").current=f(this).data("qtip").interfaces.length}f(this).data("qtip").interfaces.push(x)}else{f(this).data("qtip",{current:0,interfaces:[x]})}if(v.content.prerender===false&&v.show.when.event!==false&&v.show.ready!==true){v.show.when.target.bind(v.show.when.event+".qtip-"+t+"-create",{qtip:t},function(C){z=f.fn.qtip.interfaces[C.data.qtip];z.options.show.when.target.unbind(z.options.show.when.event+".qtip-"+C.data.qtip+"-create");z.cache.mouse={x:C.pageX,y:C.pageY};p.call(z);z.options.show.when.target.trigger(z.options.show.when.event)})}else{x.cache.mouse={x:v.show.when.target.offset().left,y:v.show.when.target.offset().top};p.call(x)}}})};function d(u,t,v){var s=this;s.id=v;s.options=t;s.status={animated:false,rendered:false,disabled:false,focused:false};s.elements={target:u.addClass(s.options.style.classes.target),tooltip:null,wrapper:null,content:null,contentWrapper:null,title:null,button:null,tip:null,bgiframe:null};s.cache={mouse:{},position:{},toggle:0};s.timers={};f.extend(s,s.options.api,{show:function(y){var x,z;if(!s.status.rendered){return f.fn.qtip.log.error.call(s,2,f.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"show")}if(s.elements.tooltip.css("display")!=="none"){return s}s.elements.tooltip.stop(true,false);x=s.beforeShow.call(s,y);if(x===false){return s}function w(){if(s.options.position.type!=="static"){s.focus()}s.onShow.call(s,y);if(f.browser.msie){s.elements.tooltip.get(0).style.removeAttribute("filter")}}s.cache.toggle=1;if(s.options.position.type!=="static"){s.updatePosition(y,(s.options.show.effect.length>0))}if(typeof s.options.show.solo=="object"){z=f(s.options.show.solo)}else{if(s.options.show.solo===true){z=f("div.qtip").not(s.elements.tooltip)}}if(z){z.each(function(){if(f(this).qtip("api").status.rendered===true){f(this).qtip("api").hide()}})}if(typeof s.options.show.effect.type=="function"){s.options.show.effect.type.call(s.elements.tooltip,s.options.show.effect.length);s.elements.tooltip.queue(function(){w();f(this).dequeue()})}else{switch(s.options.show.effect.type.toLowerCase()){case"fade":s.elements.tooltip.fadeIn(s.options.show.effect.length,w);break;case"slide":s.elements.tooltip.slideDown(s.options.show.effect.length,function(){w();if(s.options.position.type!=="static"){s.updatePosition(y,true)}});break;case"grow":s.elements.tooltip.show(s.options.show.effect.length,w);break;default:s.elements.tooltip.show(null,w);break}s.elements.tooltip.addClass(s.options.style.classes.active)}return f.fn.qtip.log.error.call(s,1,f.fn.qtip.constants.EVENT_SHOWN,"show")},hide:function(y){var x;if(!s.status.rendered){return f.fn.qtip.log.error.call(s,2,f.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"hide")}else{if(s.elements.tooltip.css("display")==="none"){return s}}clearTimeout(s.timers.show);s.elements.tooltip.stop(true,false);x=s.beforeHide.call(s,y);if(x===false){return s}function w(){s.onHide.call(s,y)}s.cache.toggle=0;if(typeof s.options.hide.effect.type=="function"){s.options.hide.effect.type.call(s.elements.tooltip,s.options.hide.effect.length);s.elements.tooltip.queue(function(){w();f(this).dequeue()})}else{switch(s.options.hide.effect.type.toLowerCase()){case"fade":s.elements.tooltip.fadeOut(s.options.hide.effect.length,w);break;case"slide":s.elements.tooltip.slideUp(s.options.hide.effect.length,w);break;case"grow":s.elements.tooltip.hide(s.options.hide.effect.length,w);break;default:s.elements.tooltip.hide(null,w);break}s.elements.tooltip.removeClass(s.options.style.classes.active)}return f.fn.qtip.log.error.call(s,1,f.fn.qtip.constants.EVENT_HIDDEN,"hide")},updatePosition:function(w,x){var C,G,L,J,H,E,y,I,B,D,K,A,F,z;if(!s.status.rendered){return f.fn.qtip.log.error.call(s,2,f.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"updatePosition")}else{if(s.options.position.type=="static"){return f.fn.qtip.log.error.call(s,1,f.fn.qtip.constants.CANNOT_POSITION_STATIC,"updatePosition")}}G={position:{left:0,top:0},dimensions:{height:0,width:0},corner:s.options.position.corner.target};L={position:s.getPosition(),dimensions:s.getDimensions(),corner:s.options.position.corner.tooltip};if(s.options.position.target!=="mouse"){if(s.options.position.target.get(0).nodeName.toLowerCase()=="area"){J=s.options.position.target.attr("coords").split(",");for(C=0;C<J.length;C++){J[C]=parseInt(J[C])}H=s.options.position.target.parent("map").attr("name");E=f('img[usemap="#'+H+'"]:first').offset();G.position={left:Math.floor(E.left+J[0]),top:Math.floor(E.top+J[1])};switch(s.options.position.target.attr("shape").toLowerCase()){case"rect":G.dimensions={width:Math.ceil(Math.abs(J[2]-J[0])),height:Math.ceil(Math.abs(J[3]-J[1]))};break;case"circle":G.dimensions={width:J[2]+1,height:J[2]+1};break;case"poly":G.dimensions={width:J[0],height:J[1]};for(C=0;C<J.length;C++){if(C%2==0){if(J[C]>G.dimensions.width){G.dimensions.width=J[C]}if(J[C]<J[0]){G.position.left=Math.floor(E.left+J[C])}}else{if(J[C]>G.dimensions.height){G.dimensions.height=J[C]}if(J[C]<J[1]){G.position.top=Math.floor(E.top+J[C])}}}G.dimensions.width=G.dimensions.width-(G.position.left-E.left);G.dimensions.height=G.dimensions.height-(G.position.top-E.top);break;default:return f.fn.qtip.log.error.call(s,4,f.fn.qtip.constants.INVALID_AREA_SHAPE,"updatePosition");break}G.dimensions.width-=2;G.dimensions.height-=2}else{if(s.options.position.target.add(document.body).length===1){G.position={left:f(document).scrollLeft(),top:f(document).scrollTop()};G.dimensions={height:f(window).height(),width:f(window).width()}}else{if(typeof s.options.position.target.attr("qtip")!=="undefined"){G.position=s.options.position.target.qtip("api").cache.position}else{G.position=s.options.position.target.offset()}G.dimensions={height:s.options.position.target.outerHeight(),width:s.options.position.target.outerWidth()}}}y=f.extend({},G.position);if(G.corner.search(/right/i)!==-1){y.left+=G.dimensions.width}if(G.corner.search(/bottom/i)!==-1){y.top+=G.dimensions.height}if(G.corner.search(/((top|bottom)Middle)|center/)!==-1){y.left+=(G.dimensions.width/2)}if(G.corner.search(/((left|right)Middle)|center/)!==-1){y.top+=(G.dimensions.height/2)}}else{G.position=y={left:s.cache.mouse.x,top:s.cache.mouse.y};G.dimensions={height:1,width:1}}if(L.corner.search(/right/i)!==-1){y.left-=L.dimensions.width}if(L.corner.search(/bottom/i)!==-1){y.top-=L.dimensions.height}if(L.corner.search(/((top|bottom)Middle)|center/)!==-1){y.left-=(L.dimensions.width/2)}if(L.corner.search(/((left|right)Middle)|center/)!==-1){y.top-=(L.dimensions.height/2)}I=(f.browser.msie)?1:0;B=(f.browser.msie&&parseInt(f.browser.version.charAt(0))===6)?1:0;if(s.options.style.border.radius>0){if(L.corner.search(/Left/)!==-1){y.left-=s.options.style.border.radius}else{if(L.corner.search(/Right/)!==-1){y.left+=s.options.style.border.radius}}if(L.corner.search(/Top/)!==-1){y.top-=s.options.style.border.radius}else{if(L.corner.search(/Bottom/)!==-1){y.top+=s.options.style.border.radius}}}if(I){if(L.corner.search(/top/)!==-1){y.top-=I}else{if(L.corner.search(/bottom/)!==-1){y.top+=I}}if(L.corner.search(/left/)!==-1){y.left-=I}else{if(L.corner.search(/right/)!==-1){y.left+=I}}if(L.corner.search(/leftMiddle|rightMiddle/)!==-1){y.top-=1}}if(s.options.position.adjust.screen===true){y=o.call(s,y,G,L)}if(s.options.position.target==="mouse"&&s.options.position.adjust.mouse===true){if(s.options.position.adjust.screen===true&&s.elements.tip){K=s.elements.tip.attr("rel")}else{K=s.options.position.corner.tooltip}y.left+=(K.search(/right/i)!==-1)?-6:6;y.top+=(K.search(/bottom/i)!==-1)?-6:6}if(!s.elements.bgiframe&&f.browser.msie&&parseInt(f.browser.version.charAt(0))==6){f("select, object").each(function(){A=f(this).offset();A.bottom=A.top+f(this).height();A.right=A.left+f(this).width();if(y.top+L.dimensions.height>=A.top&&y.left+L.dimensions.width>=A.left){k.call(s)}})}y.left+=s.options.position.adjust.x;y.top+=s.options.position.adjust.y;F=s.getPosition();if(y.left!=F.left||y.top!=F.top){z=s.beforePositionUpdate.call(s,w);if(z===false){return s}s.cache.position=y;if(x===true){s.status.animated=true;s.elements.tooltip.animate(y,200,"swing",function(){s.status.animated=false})}else{s.elements.tooltip.css(y)}s.onPositionUpdate.call(s,w);if(typeof w!=="undefined"&&w.type&&w.type!=="mousemove"){f.fn.qtip.log.error.call(s,1,f.fn.qtip.constants.EVENT_POSITION_UPDATED,"updatePosition")}}return s},updateWidth:function(w){var x;if(!s.status.rendered){return f.fn.qtip.log.error.call(s,2,f.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"updateWidth")}else{if(w&&typeof w!=="number"){return f.fn.qtip.log.error.call(s,2,"newWidth must be of type number","updateWidth")}}x=s.elements.contentWrapper.siblings().add(s.elements.tip).add(s.elements.button);if(!w){if(typeof s.options.style.width.value=="number"){w=s.options.style.width.value}else{s.elements.tooltip.css({width:"auto"});x.hide();if(f.browser.msie){s.elements.wrapper.add(s.elements.contentWrapper.children()).css({zoom:"normal"})}w=s.getDimensions().width+1;if(!s.options.style.width.value){if(w>s.options.style.width.max){w=s.options.style.width.max}if(w<s.options.style.width.min){w=s.options.style.width.min}}}}if(w%2!==0){w-=1}s.elements.tooltip.width(w);x.show();if(s.options.style.border.radius){s.elements.tooltip.find(".qtip-betweenCorners").each(function(y){f(this).width(w-(s.options.style.border.radius*2))})}if(f.browser.msie){s.elements.wrapper.add(s.elements.contentWrapper.children()).css({zoom:"1"});s.elements.wrapper.width(w);if(s.elements.bgiframe){s.elements.bgiframe.width(w).height(s.getDimensions.height)}}return f.fn.qtip.log.error.call(s,1,f.fn.qtip.constants.EVENT_WIDTH_UPDATED,"updateWidth")},updateStyle:function(w){var z,A,x,y,B;if(!s.status.rendered){return f.fn.qtip.log.error.call(s,2,f.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"updateStyle")}else{if(typeof w!=="string"||!f.fn.qtip.styles[w]){return f.fn.qtip.log.error.call(s,2,f.fn.qtip.constants.STYLE_NOT_DEFINED,"updateStyle")}}s.options.style=a.call(s,f.fn.qtip.styles[w],s.options.user.style);s.elements.content.css(q(s.options.style));if(s.options.content.title.text!==false){s.elements.title.css(q(s.options.style.title,true))}s.elements.contentWrapper.css({borderColor:s.options.style.border.color});if(s.options.style.tip.corner!==false){if(f("<canvas>").get(0).getContext){z=s.elements.tooltip.find(".qtip-tip canvas:first");x=z.get(0).getContext("2d");x.clearRect(0,0,300,300);y=z.parent("div[rel]:first").attr("rel");B=b(y,s.options.style.tip.size.width,s.options.style.tip.size.height);h.call(s,z,B,s.options.style.tip.color||s.options.style.border.color)}else{if(f.browser.msie){z=s.elements.tooltip.find('.qtip-tip [nodeName="shape"]');z.attr("fillcolor",s.options.style.tip.color||s.options.style.border.color)}}}if(s.options.style.border.radius>0){s.elements.tooltip.find(".qtip-betweenCorners").css({backgroundColor:s.options.style.border.color});if(f("<canvas>").get(0).getContext){A=g(s.options.style.border.radius);s.elements.tooltip.find(".qtip-wrapper canvas").each(function(){x=f(this).get(0).getContext("2d");x.clearRect(0,0,300,300);y=f(this).parent("div[rel]:first").attr("rel");r.call(s,f(this),A[y],s.options.style.border.radius,s.options.style.border.color)})}else{if(f.browser.msie){s.elements.tooltip.find('.qtip-wrapper [nodeName="arc"]').each(function(){f(this).attr("fillcolor",s.options.style.border.color)})}}}return f.fn.qtip.log.error.call(s,1,f.fn.qtip.constants.EVENT_STYLE_UPDATED,"updateStyle")},updateContent:function(A,y){var z,x,w;if(!s.status.rendered){return f.fn.qtip.log.error.call(s,2,f.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"updateContent")}else{if(!A){return f.fn.qtip.log.error.call(s,2,f.fn.qtip.constants.NO_CONTENT_PROVIDED,"updateContent")}}z=s.beforeContentUpdate.call(s,A);if(typeof z=="string"){A=z}else{if(z===false){return}}if(f.browser.msie){s.elements.contentWrapper.children().css({zoom:"normal"})}if(A.jquery&&A.length>0){A.clone(true).appendTo(s.elements.content).show()}else{s.elements.content.html(A)}x=s.elements.content.find("img[complete=false]");if(x.length>0){w=0;x.each(function(C){f('<img src="'+f(this).attr("src")+'" />').load(function(){if(++w==x.length){B()}})})}else{B()}function B(){s.updateWidth();if(y!==false){if(s.options.position.type!=="static"){s.updatePosition(s.elements.tooltip.is(":visible"),true)}if(s.options.style.tip.corner!==false){n.call(s)}}}s.onContentUpdate.call(s);return f.fn.qtip.log.error.call(s,1,f.fn.qtip.constants.EVENT_CONTENT_UPDATED,"loadContent")},loadContent:function(w,z,A){var y;if(!s.status.rendered){return f.fn.qtip.log.error.call(s,2,f.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"loadContent")}y=s.beforeContentLoad.call(s);if(y===false){return s}if(A=="post"){f.post(w,z,x)}else{f.get(w,z,x)}function x(B){s.onContentLoad.call(s);f.fn.qtip.log.error.call(s,1,f.fn.qtip.constants.EVENT_CONTENT_LOADED,"loadContent");s.updateContent(B)}return s},updateTitle:function(w){if(!s.status.rendered){return f.fn.qtip.log.error.call(s,2,f.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"updateTitle")}else{if(!w){return f.fn.qtip.log.error.call(s,2,f.fn.qtip.constants.NO_CONTENT_PROVIDED,"updateTitle")}}returned=s.beforeTitleUpdate.call(s);if(returned===false){return s}if(s.elements.button){s.elements.button=s.elements.button.clone(true)}s.elements.title.html(w);if(s.elements.button){s.elements.title.prepend(s.elements.button)}s.onTitleUpdate.call(s);return f.fn.qtip.log.error.call(s,1,f.fn.qtip.constants.EVENT_TITLE_UPDATED,"updateTitle")},focus:function(A){var y,x,w,z;if(!s.status.rendered){return f.fn.qtip.log.error.call(s,2,f.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"focus")}else{if(s.options.position.type=="static"){return f.fn.qtip.log.error.call(s,1,f.fn.qtip.constants.CANNOT_FOCUS_STATIC,"focus")}}y=parseInt(s.elements.tooltip.css("z-index"));x=6000+f("div.qtip[qtip]").length-1;if(!s.status.focused&&y!==x){z=s.beforeFocus.call(s,A);if(z===false){return s}f("div.qtip[qtip]").not(s.elements.tooltip).each(function(){if(f(this).qtip("api").status.rendered===true){w=parseInt(f(this).css("z-index"));if(typeof w=="number"&&w>-1){f(this).css({zIndex:parseInt(f(this).css("z-index"))-1})}f(this).qtip("api").status.focused=false}});s.elements.tooltip.css({zIndex:x});s.status.focused=true;s.onFocus.call(s,A);f.fn.qtip.log.error.call(s,1,f.fn.qtip.constants.EVENT_FOCUSED,"focus")}return s},disable:function(w){if(!s.status.rendered){return f.fn.qtip.log.error.call(s,2,f.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"disable")}if(w){if(!s.status.disabled){s.status.disabled=true;f.fn.qtip.log.error.call(s,1,f.fn.qtip.constants.EVENT_DISABLED,"disable")}else{f.fn.qtip.log.error.call(s,1,f.fn.qtip.constants.TOOLTIP_ALREADY_DISABLED,"disable")}}else{if(s.status.disabled){s.status.disabled=false;f.fn.qtip.log.error.call(s,1,f.fn.qtip.constants.EVENT_ENABLED,"disable")}else{f.fn.qtip.log.error.call(s,1,f.fn.qtip.constants.TOOLTIP_ALREADY_ENABLED,"disable")}}return s},destroy:function(){var w,x,y;x=s.beforeDestroy.call(s);if(x===false){return s}if(s.status.rendered){s.options.show.when.target.unbind("mousemove.qtip",s.updatePosition);s.options.show.when.target.unbind("mouseout.qtip",s.hide);s.options.show.when.target.unbind(s.options.show.when.event+".qtip");s.options.hide.when.target.unbind(s.options.hide.when.event+".qtip");s.elements.tooltip.unbind(s.options.hide.when.event+".qtip");s.elements.tooltip.unbind("mouseover.qtip",s.focus);s.elements.tooltip.remove()}else{s.options.show.when.target.unbind(s.options.show.when.event+".qtip-create")}if(typeof s.elements.target.data("qtip")=="object"){y=s.elements.target.data("qtip").interfaces;if(typeof y=="object"&&y.length>0){for(w=0;w<y.length-1;w++){if(y[w].id==s.id){y.splice(w,1)}}}}delete f.fn.qtip.interfaces[s.id];if(typeof y=="object"&&y.length>0){s.elements.target.data("qtip").current=y.length-1}else{s.elements.target.removeData("qtip")}s.onDestroy.call(s);f.fn.qtip.log.error.call(s,1,f.fn.qtip.constants.EVENT_DESTROYED,"destroy");return s.elements.target},getPosition:function(){var w,x;if(!s.status.rendered){return f.fn.qtip.log.error.call(s,2,f.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"getPosition")}w=(s.elements.tooltip.css("display")!=="none")?false:true;if(w){s.elements.tooltip.css({visiblity:"hidden"}).show()}x=s.elements.tooltip.offset();if(w){s.elements.tooltip.css({visiblity:"visible"}).hide()}return x},getDimensions:function(){var w,x;if(!s.status.rendered){return f.fn.qtip.log.error.call(s,2,f.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"getDimensions")}w=(!s.elements.tooltip.is(":visible"))?true:false;if(w){s.elements.tooltip.css({visiblity:"hidden"}).show()}x={height:s.elements.tooltip.outerHeight(),width:s.elements.tooltip.outerWidth()};if(w){s.elements.tooltip.css({visiblity:"visible"}).hide()}return x}})}function p(){var s,w,u,t,v,y,x;s=this;s.beforeRender.call(s);s.status.rendered=true;s.elements.tooltip='<div qtip="'+s.id+'" class="qtip '+(s.options.style.classes.tooltip||s.options.style)+'"style="display:none; -moz-border-radius:0; -webkit-border-radius:0; border-radius:0;position:'+s.options.position.type+';"> <div class="qtip-wrapper" style="position:relative; overflow:hidden; text-align:left;"> <div class="qtip-contentWrapper" style="overflow:hidden;"> <div class="qtip-content '+s.options.style.classes.content+'"></div></div></div></div>';s.elements.tooltip=f(s.elements.tooltip);s.elements.tooltip.appendTo(s.options.position.container);s.elements.tooltip.data("qtip",{current:0,interfaces:[s]});s.elements.wrapper=s.elements.tooltip.children("div:first");s.elements.contentWrapper=s.elements.wrapper.children("div:first").css({background:s.options.style.background});s.elements.content=s.elements.contentWrapper.children("div:first").css(q(s.options.style));if(f.browser.msie){s.elements.wrapper.add(s.elements.content).css({zoom:1})}if(s.options.hide.when.event=="unfocus"){s.elements.tooltip.attr("unfocus",true)}if(typeof s.options.style.width.value=="number"){s.updateWidth()}if(f("<canvas>").get(0).getContext||f.browser.msie){if(s.options.style.border.radius>0){m.call(s)}else{s.elements.contentWrapper.css({border:s.options.style.border.width+"px solid "+s.options.style.border.color})}if(s.options.style.tip.corner!==false){e.call(s)}}else{s.elements.contentWrapper.css({border:s.options.style.border.width+"px solid "+s.options.style.border.color});s.options.style.border.radius=0;s.options.style.tip.corner=false;f.fn.qtip.log.error.call(s,2,f.fn.qtip.constants.CANVAS_VML_NOT_SUPPORTED,"render")}if((typeof s.options.content.text=="string"&&s.options.content.text.length>0)||(s.options.content.text.jquery&&s.options.content.text.length>0)){u=s.options.content.text}else{if(typeof s.elements.target.attr("title")=="string"&&s.elements.target.attr("title").length>0){u=s.elements.target.attr("title").replace("\\n","<br />");s.elements.target.attr("title","")}else{if(typeof s.elements.target.attr("alt")=="string"&&s.elements.target.attr("alt").length>0){u=s.elements.target.attr("alt").replace("\\n","<br />");s.elements.target.attr("alt","")}else{u=" ";f.fn.qtip.log.error.call(s,1,f.fn.qtip.constants.NO_VALID_CONTENT,"render")}}}if(s.options.content.title.text!==false){j.call(s)}s.updateContent(u);l.call(s);if(s.options.show.ready===true){s.show()}if(s.options.content.url!==false){t=s.options.content.url;v=s.options.content.data;y=s.options.content.method||"get";s.loadContent(t,v,y)}s.onRender.call(s);f.fn.qtip.log.error.call(s,1,f.fn.qtip.constants.EVENT_RENDERED,"render")}function m(){var F,z,t,B,x,E,u,G,D,y,w,C,A,s,v;F=this;F.elements.wrapper.find(".qtip-borderBottom, .qtip-borderTop").remove();t=F.options.style.border.width;B=F.options.style.border.radius;x=F.options.style.border.color||F.options.style.tip.color;E=g(B);u={};for(z in E){u[z]='<div rel="'+z+'" style="'+((z.search(/Left/)!==-1)?"left":"right")+":0; position:absolute; height:"+B+"px; width:"+B+'px; overflow:hidden; line-height:0.1px; font-size:1px">';if(f("<canvas>").get(0).getContext){u[z]+='<canvas height="'+B+'" width="'+B+'" style="vertical-align: top"></canvas>'}else{if(f.browser.msie){G=B*2+3;u[z]+='<v:arc stroked="false" fillcolor="'+x+'" startangle="'+E[z][0]+'" endangle="'+E[z][1]+'" style="width:'+G+"px; height:"+G+"px; margin-top:"+((z.search(/bottom/)!==-1)?-2:-1)+"px; margin-left:"+((z.search(/Right/)!==-1)?E[z][2]-3.5:-1)+'px; vertical-align:top; display:inline-block; behavior:url(#default#VML)"></v:arc>'}}u[z]+="</div>"}D=F.getDimensions().width-(Math.max(t,B)*2);y='<div class="qtip-betweenCorners" style="height:'+B+"px; width:"+D+"px; overflow:hidden; background-color:"+x+'; line-height:0.1px; font-size:1px;">';w='<div class="qtip-borderTop" dir="ltr" style="height:'+B+"px; margin-left:"+B+'px; line-height:0.1px; font-size:1px; padding:0;">'+u.topLeft+u.topRight+y;F.elements.wrapper.prepend(w);C='<div class="qtip-borderBottom" dir="ltr" style="height:'+B+"px; margin-left:"+B+'px; line-height:0.1px; font-size:1px; padding:0;">'+u.bottomLeft+u.bottomRight+y;F.elements.wrapper.append(C);if(f("<canvas>").get(0).getContext){F.elements.wrapper.find("canvas").each(function(){A=E[f(this).parent("[rel]:first").attr("rel")];r.call(F,f(this),A,B,x)})}else{if(f.browser.msie){F.elements.tooltip.append('<v:image style="behavior:url(#default#VML);"></v:image>')}}s=Math.max(B,(B+(t-B)));v=Math.max(t-B,0);F.elements.contentWrapper.css({border:"0px solid "+x,borderWidth:v+"px "+s+"px"})}function r(u,w,s,t){var v=u.get(0).getContext("2d");v.fillStyle=t;v.beginPath();v.arc(w[0],w[1],s,0,Math.PI*2,false);v.fill()}function e(v){var t,s,x,u,w;t=this;if(t.elements.tip!==null){t.elements.tip.remove()}s=t.options.style.tip.color||t.options.style.border.color;if(t.options.style.tip.corner===false){return}else{if(!v){v=t.options.style.tip.corner}}x=b(v,t.options.style.tip.size.width,t.options.style.tip.size.height);t.elements.tip='<div class="'+t.options.style.classes.tip+'" dir="ltr" rel="'+v+'" style="position:absolute; height:'+t.options.style.tip.size.height+"px; width:"+t.options.style.tip.size.width+'px; margin:0 auto; line-height:0.1px; font-size:1px;">';if(f("<canvas>").get(0).getContext){t.elements.tip+='<canvas height="'+t.options.style.tip.size.height+'" width="'+t.options.style.tip.size.width+'"></canvas>'}else{if(f.browser.msie){u=t.options.style.tip.size.width+","+t.options.style.tip.size.height;w="m"+x[0][0]+","+x[0][1];w+=" l"+x[1][0]+","+x[1][1];w+=" "+x[2][0]+","+x[2][1];w+=" xe";t.elements.tip+='<v:shape fillcolor="'+s+'" stroked="false" filled="true" path="'+w+'" coordsize="'+u+'" style="width:'+t.options.style.tip.size.width+"px; height:"+t.options.style.tip.size.height+"px; line-height:0.1px; display:inline-block; behavior:url(#default#VML); vertical-align:"+((v.search(/top/)!==-1)?"bottom":"top")+'"></v:shape>';t.elements.tip+='<v:image style="behavior:url(#default#VML);"></v:image>';t.elements.contentWrapper.css("position","relative")}}t.elements.tooltip.prepend(t.elements.tip+"</div>");t.elements.tip=t.elements.tooltip.find("."+t.options.style.classes.tip).eq(0);if(f("<canvas>").get(0).getContext){h.call(t,t.elements.tip.find("canvas:first"),x,s)}if(v.search(/top/)!==-1&&f.browser.msie&&parseInt(f.browser.version.charAt(0))===6){t.elements.tip.css({marginTop:-4})}n.call(t,v)}function h(t,v,s){var u=t.get(0).getContext("2d");u.fillStyle=s;u.beginPath();u.moveTo(v[0][0],v[0][1]);u.lineTo(v[1][0],v[1][1]);u.lineTo(v[2][0],v[2][1]);u.fill()}function n(u){var t,w,s,x,v;t=this;if(t.options.style.tip.corner===false||!t.elements.tip){return}if(!u){u=t.elements.tip.attr("rel")}w=positionAdjust=(f.browser.msie)?1:0;t.elements.tip.css(u.match(/left|right|top|bottom/)[0],0);if(u.search(/top|bottom/)!==-1){if(f.browser.msie){if(parseInt(f.browser.version.charAt(0))===6){positionAdjust=(u.search(/top/)!==-1)?-3:1}else{positionAdjust=(u.search(/top/)!==-1)?1:2}}if(u.search(/Middle/)!==-1){t.elements.tip.css({left:"50%",marginLeft:-(t.options.style.tip.size.width/2)})}else{if(u.search(/Left/)!==-1){t.elements.tip.css({left:t.options.style.border.radius-w})}else{if(u.search(/Right/)!==-1){t.elements.tip.css({right:t.options.style.border.radius+w})}}}if(u.search(/top/)!==-1){t.elements.tip.css({top:-positionAdjust})}else{t.elements.tip.css({bottom:positionAdjust})}}else{if(u.search(/left|right/)!==-1){if(f.browser.msie){positionAdjust=(parseInt(f.browser.version.charAt(0))===6)?1:((u.search(/left/)!==-1)?1:2)}if(u.search(/Middle/)!==-1){t.elements.tip.css({top:"50%",marginTop:-(t.options.style.tip.size.height/2)})}else{if(u.search(/Top/)!==-1){t.elements.tip.css({top:t.options.style.border.radius-w})}else{if(u.search(/Bottom/)!==-1){t.elements.tip.css({bottom:t.options.style.border.radius+w})}}}if(u.search(/left/)!==-1){t.elements.tip.css({left:-positionAdjust})}else{t.elements.tip.css({right:positionAdjust})}}}s="padding-"+u.match(/left|right|top|bottom/)[0];x=t.options.style.tip.size[(s.search(/left|right/)!==-1)?"width":"height"];t.elements.tooltip.css("padding",0);t.elements.tooltip.css(s,x);if(f.browser.msie&&parseInt(f.browser.version.charAt(0))==6){v=parseInt(t.elements.tip.css("margin-top"))||0;v+=parseInt(t.elements.content.css("margin-top"))||0;t.elements.tip.css({marginTop:v})}}function j(){var s=this;if(s.elements.title!==null){s.elements.title.remove()}s.elements.title=f('<div class="'+s.options.style.classes.title+'">').css(q(s.options.style.title,true)).css({zoom:(f.browser.msie)?1:0}).prependTo(s.elements.contentWrapper);if(s.options.content.title.text){s.updateTitle.call(s,s.options.content.title.text)}if(s.options.content.title.button!==false&&typeof s.options.content.title.button=="string"){s.elements.button=f('<a class="'+s.options.style.classes.button+'" style="float:right; position: relative"></a>').css(q(s.options.style.button,true)).html(s.options.content.title.button).prependTo(s.elements.title).click(function(t){if(!s.status.disabled){s.hide(t)}})}}function l(){var t,v,u,s;t=this;v=t.options.show.when.target;u=t.options.hide.when.target;if(t.options.hide.fixed){u=u.add(t.elements.tooltip)}if(t.options.hide.when.event=="inactive"){s=["click","dblclick","mousedown","mouseup","mousemove","mouseout","mouseenter","mouseleave","mouseover"];function y(z){if(t.status.disabled===true){return}clearTimeout(t.timers.inactive);t.timers.inactive=setTimeout(function(){f(s).each(function(){u.unbind(this+".qtip-inactive");t.elements.content.unbind(this+".qtip-inactive")});t.hide(z)},t.options.hide.delay)}}else{if(t.options.hide.fixed===true){t.elements.tooltip.bind("mouseover.qtip",function(){if(t.status.disabled===true){return}clearTimeout(t.timers.hide)})}}function x(z){if(t.status.disabled===true){return}if(t.options.hide.when.event=="inactive"){f(s).each(function(){u.bind(this+".qtip-inactive",y);t.elements.content.bind(this+".qtip-inactive",y)});y()}clearTimeout(t.timers.show);clearTimeout(t.timers.hide);t.timers.show=setTimeout(function(){t.show(z)},t.options.show.delay)}function w(z){if(t.status.disabled===true){return}if(t.options.hide.fixed===true&&t.options.hide.when.event.search(/mouse(out|leave)/i)!==-1&&f(z.relatedTarget).parents("div.qtip[qtip]").length>0){z.stopPropagation();z.preventDefault();clearTimeout(t.timers.hide);return false}clearTimeout(t.timers.show);clearTimeout(t.timers.hide);t.elements.tooltip.stop(true,true);t.timers.hide=setTimeout(function(){t.hide(z)},t.options.hide.delay)}if((t.options.show.when.target.add(t.options.hide.when.target).length===1&&t.options.show.when.event==t.options.hide.when.event&&t.options.hide.when.event!=="inactive")||t.options.hide.when.event=="unfocus"){t.cache.toggle=0;v.bind(t.options.show.when.event+".qtip",function(z){if(t.cache.toggle==0){x(z)}else{w(z)}})}else{v.bind(t.options.show.when.event+".qtip",x);if(t.options.hide.when.event!=="inactive"){u.bind(t.options.hide.when.event+".qtip",w)}}if(t.options.position.type.search(/(fixed|absolute)/)!==-1){t.elements.tooltip.bind("mouseover.qtip",t.focus)}if(t.options.position.target==="mouse"&&t.options.position.type!=="static"){v.bind("mousemove.qtip",function(z){t.cache.mouse={x:z.pageX,y:z.pageY};if(t.status.disabled===false&&t.options.position.adjust.mouse===true&&t.options.position.type!=="static"&&t.elements.tooltip.css("display")!=="none"){t.updatePosition(z)}})}}function o(u,v,A){var z,s,x,y,t,w;z=this;if(A.corner=="center"){return v.position}s=f.extend({},u);y={x:false,y:false};t={left:(s.left<f.fn.qtip.cache.screen.scroll.left),right:(s.left+A.dimensions.width+2>=f.fn.qtip.cache.screen.width+f.fn.qtip.cache.screen.scroll.left),top:(s.top<f.fn.qtip.cache.screen.scroll.top),bottom:(s.top+A.dimensions.height+2>=f.fn.qtip.cache.screen.height+f.fn.qtip.cache.screen.scroll.top)};x={left:(t.left&&(A.corner.search(/right/i)!=-1||(A.corner.search(/right/i)==-1&&!t.right))),right:(t.right&&(A.corner.search(/left/i)!=-1||(A.corner.search(/left/i)==-1&&!t.left))),top:(t.top&&A.corner.search(/top/i)==-1),bottom:(t.bottom&&A.corner.search(/bottom/i)==-1)};if(x.left){if(z.options.position.target!=="mouse"){s.left=v.position.left+v.dimensions.width}else{s.left=z.cache.mouse.x}y.x="Left"}else{if(x.right){if(z.options.position.target!=="mouse"){s.left=v.position.left-A.dimensions.width}else{s.left=z.cache.mouse.x-A.dimensions.width}y.x="Right"}}if(x.top){if(z.options.position.target!=="mouse"){s.top=v.position.top+v.dimensions.height}else{s.top=z.cache.mouse.y}y.y="top"}else{if(x.bottom){if(z.options.position.target!=="mouse"){s.top=v.position.top-A.dimensions.height}else{s.top=z.cache.mouse.y-A.dimensions.height}y.y="bottom"}}if(s.left<0){s.left=u.left;y.x=false}if(s.top<0){s.top=u.top;y.y=false}if(z.options.style.tip.corner!==false){s.corner=new String(A.corner);if(y.x!==false){s.corner=s.corner.replace(/Left|Right|Middle/,y.x)}if(y.y!==false){s.corner=s.corner.replace(/top|bottom/,y.y)}if(s.corner!==z.elements.tip.attr("rel")){e.call(z,s.corner)}}return s}function q(u,t){var v,s;v=f.extend(true,{},u);for(s in v){if(t===true&&s.search(/(tip|classes)/i)!==-1){delete v[s]}else{if(!t&&s.search(/(width|border|tip|title|classes|user)/i)!==-1){delete v[s]}}}return v}function c(s){if(typeof s.tip!=="object"){s.tip={corner:s.tip}}if(typeof s.tip.size!=="object"){s.tip.size={width:s.tip.size,height:s.tip.size}}if(typeof s.border!=="object"){s.border={width:s.border}}if(typeof s.width!=="object"){s.width={value:s.width}}if(typeof s.width.max=="string"){s.width.max=parseInt(s.width.max.replace(/([0-9]+)/i,"$1"))}if(typeof s.width.min=="string"){s.width.min=parseInt(s.width.min.replace(/([0-9]+)/i,"$1"))}if(typeof s.tip.size.x=="number"){s.tip.size.width=s.tip.size.x;delete s.tip.size.x}if(typeof s.tip.size.y=="number"){s.tip.size.height=s.tip.size.y;delete s.tip.size.y}return s}function a(){var s,t,u,x,v,w;s=this;u=[true,{}];for(t=0;t<arguments.length;t++){u.push(arguments[t])}x=[f.extend.apply(f,u)];while(typeof x[0].name=="string"){x.unshift(c(f.fn.qtip.styles[x[0].name]))}x.unshift(true,{classes:{tooltip:"qtip-"+(arguments[0].name||"defaults")}},f.fn.qtip.styles.defaults);v=f.extend.apply(f,x);w=(f.browser.msie)?1:0;v.tip.size.width+=w;v.tip.size.height+=w;if(v.tip.size.width%2>0){v.tip.size.width+=1}if(v.tip.size.height%2>0){v.tip.size.height+=1}if(v.tip.corner===true){v.tip.corner=(s.options.position.corner.tooltip==="center")?false:s.options.position.corner.tooltip}return v}function b(v,u,t){var s={bottomRight:[[0,0],[u,t],[u,0]],bottomLeft:[[0,0],[u,0],[0,t]],topRight:[[0,t],[u,0],[u,t]],topLeft:[[0,0],[0,t],[u,t]],topMiddle:[[0,t],[u/2,0],[u,t]],bottomMiddle:[[0,0],[u,0],[u/2,t]],rightMiddle:[[0,0],[u,t/2],[0,t]],leftMiddle:[[u,0],[u,t],[0,t/2]]};s.leftTop=s.bottomRight;s.rightTop=s.bottomLeft;s.leftBottom=s.topRight;s.rightBottom=s.topLeft;return s[v]}function g(s){var t;if(f("<canvas>").get(0).getContext){t={topLeft:[s,s],topRight:[0,s],bottomLeft:[s,0],bottomRight:[0,0]}}else{if(f.browser.msie){t={topLeft:[-90,90,0],topRight:[-90,90,-s],bottomLeft:[90,270,0],bottomRight:[90,270,-s]}}}return t}function k(){var s,t,u;s=this;u=s.getDimensions();t='<iframe class="qtip-bgiframe" frameborder="0" tabindex="-1" src="javascript:false" style="display:block; position:absolute; z-index:-1; filter:alpha(opacity=\'0\'); border: 1px solid red; height:'+u.height+"px; width:"+u.width+'px" />';s.elements.bgiframe=s.elements.wrapper.prepend(t).children(".qtip-bgiframe:first")}f(document).ready(function(){f.fn.qtip.cache={screen:{scroll:{left:f(window).scrollLeft(),top:f(window).scrollTop()},width:f(window).width(),height:f(window).height()}};var s;f(window).bind("resize scroll",function(t){clearTimeout(s);s=setTimeout(function(){if(t.type==="scroll"){f.fn.qtip.cache.screen.scroll={left:f(window).scrollLeft(),top:f(window).scrollTop()}}else{f.fn.qtip.cache.screen.width=f(window).width();f.fn.qtip.cache.screen.height=f(window).height()}for(i=0;i<f.fn.qtip.interfaces.length;i++){var u=f.fn.qtip.interfaces[i];if(u.status.rendered===true&&(u.options.position.type!=="static"||u.options.position.adjust.scroll&&t.type==="scroll"||u.options.position.adjust.resize&&t.type==="resize")){u.updatePosition(t,true)}}},100)});f(document).bind("mousedown.qtip",function(t){if(f(t.target).parents("div.qtip").length===0){f(".qtip[unfocus]").each(function(){var u=f(this).qtip("api");if(f(this).is(":visible")&&!u.status.disabled&&f(t.target).add(u.elements.target).length>1){u.hide(t)}})}})});f.fn.qtip.interfaces=[];f.fn.qtip.log={error:function(){return this}};f.fn.qtip.constants={};f.fn.qtip.defaults={content:{prerender:false,text:false,url:false,data:null,title:{text:false,button:false}},position:{target:false,corner:{target:"bottomRight",tooltip:"topLeft"},adjust:{x:0,y:0,mouse:true,screen:false,scroll:true,resize:true},type:"absolute",container:false},show:{when:{target:false,event:"mouseover"},effect:{type:"fade",length:100},delay:140,solo:false,ready:false},hide:{when:{target:false,event:"mouseout"},effect:{type:"fade",length:100},delay:0,fixed:false},api:{beforeRender:function(){},onRender:function(){},beforePositionUpdate:function(){},onPositionUpdate:function(){},beforeShow:function(){},onShow:function(){},beforeHide:function(){},onHide:function(){},beforeContentUpdate:function(){},onContentUpdate:function(){},beforeContentLoad:function(){},onContentLoad:function(){},beforeTitleUpdate:function(){},onTitleUpdate:function(){},beforeDestroy:function(){},onDestroy:function(){},beforeFocus:function(){},onFocus:function(){}}};f.fn.qtip.styles={defaults:{background:"white",color:"#111",overflow:"hidden",textAlign:"left",width:{min:0,max:250},padding:"5px 9px",border:{width:1,radius:0,color:"#d3d3d3"},tip:{corner:false,color:false,size:{width:13,height:13},opacity:1},title:{background:"#e1e1e1",fontWeight:"bold",padding:"7px 12px"},button:{cursor:"pointer"},classes:{target:"",tip:"qtip-tip",title:"qtip-title",button:"qtip-button",content:"qtip-content",active:"qtip-active"}},cream:{border:{width:3,radius:0,color:"#F9E98E"},title:{background:"#F0DE7D",color:"#A27D35"},background:"#FBF7AA",color:"#A27D35",classes:{tooltip:"qtip-cream"}},light:{border:{width:3,radius:0,color:"#E2E2E2"},title:{background:"#f1f1f1",color:"#454545"},background:"white",color:"#454545",classes:{tooltip:"qtip-light"}},dark:{border:{width:3,radius:0,color:"#303030"},title:{background:"#404040",color:"#f3f3f3"},background:"#505050",color:"#f3f3f3",classes:{tooltip:"qtip-dark"}},red:{border:{width:3,radius:0,color:"#CE6F6F"},title:{background:"#f28279",color:"#9C2F2F"},background:"#F79992",color:"#9C2F2F",classes:{tooltip:"qtip-red"}},green:{border:{width:3,radius:0,color:"#A9DB66"},title:{background:"#b9db8c",color:"#58792E"},background:"#CDE6AC",color:"#58792E",classes:{tooltip:"qtip-green"}},blue:{border:{width:3,radius:0,color:"#ADD9ED"},title:{background:"#D0E9F5",color:"#5E99BD"},background:"#E5F6FE",color:"#4D9FBF",classes:{tooltip:"qtip-blue"}}}})(jQuery);
1
+ /*!
2
+ * jquery.qtip. The jQuery tooltip plugin
3
+ *
4
+ * Copyright (c) 2009 Craig Thompson
5
+ * http://craigsworks.com
6
+ *
7
+ * Licensed under MIT
8
+ * http://www.opensource.org/licenses/mit-license.php
9
+ *
10
+ * Launch : February 2009
11
+ * Version : 1.0.0-rc3
12
+ * Released: Tuesday 12th May, 2009 - 00:00
13
+ * Debug: jquery.qtip.debug.js
14
+ */
15
  (function(f){f.fn.qtip=function(B,u){var y,t,A,s,x,w,v,z;if(typeof B=="string"){if(typeof f(this).data("qtip")!=="object"){f.fn.qtip.log.error.call(self,1,f.fn.qtip.constants.NO_TOOLTIP_PRESENT,false)}if(B=="api"){return f(this).data("qtip").interfaces[f(this).data("qtip").current]}else{if(B=="interfaces"){return f(this).data("qtip").interfaces}}}else{if(!B){B={}}if(typeof B.content!=="object"||(B.content.jquery&&B.content.length>0)){B.content={text:B.content}}if(typeof B.content.title!=="object"){B.content.title={text:B.content.title}}if(typeof B.position!=="object"){B.position={corner:B.position}}if(typeof B.position.corner!=="object"){B.position.corner={target:B.position.corner,tooltip:B.position.corner}}if(typeof B.show!=="object"){B.show={when:B.show}}if(typeof B.show.when!=="object"){B.show.when={event:B.show.when}}if(typeof B.show.effect!=="object"){B.show.effect={type:B.show.effect}}if(typeof B.hide!=="object"){B.hide={when:B.hide}}if(typeof B.hide.when!=="object"){B.hide.when={event:B.hide.when}}if(typeof B.hide.effect!=="object"){B.hide.effect={type:B.hide.effect}}if(typeof B.style!=="object"){B.style={name:B.style}}B.style=c(B.style);s=f.extend(true,{},f.fn.qtip.defaults,B);s.style=a.call({options:s},s.style);s.user=f.extend(true,{},B)}return f(this).each(function(){if(typeof B=="string"){w=B.toLowerCase();A=f(this).qtip("interfaces");if(typeof A=="object"){if(u===true&&w=="destroy"){while(A.length>0){A[A.length-1].destroy()}}else{if(u!==true){A=[f(this).qtip("api")]}for(y=0;y<A.length;y++){if(w=="destroy"){A[y].destroy()}else{if(A[y].status.rendered===true){if(w=="show"){A[y].show()}else{if(w=="hide"){A[y].hide()}else{if(w=="focus"){A[y].focus()}else{if(w=="disable"){A[y].disable(true)}else{if(w=="enable"){A[y].disable(false)}}}}}}}}}}}else{v=f.extend(true,{},s);v.hide.effect.length=s.hide.effect.length;v.show.effect.length=s.show.effect.length;if(v.position.container===false){v.position.container=f(document.body)}if(v.position.target===false){v.position.target=f(this)}if(v.show.when.target===false){v.show.when.target=f(this)}if(v.hide.when.target===false){v.hide.when.target=f(this)}t=f.fn.qtip.interfaces.length;for(y=0;y<t;y++){if(typeof f.fn.qtip.interfaces[y]=="undefined"){t=y;break}}x=new d(f(this),v,t);f.fn.qtip.interfaces[t]=x;if(typeof f(this).data("qtip")==="object"&&f(this).data("qtip")){if(typeof f(this).attr("qtip")==="undefined"){f(this).data("qtip").current=f(this).data("qtip").interfaces.length}f(this).data("qtip").interfaces.push(x)}else{f(this).data("qtip",{current:0,interfaces:[x]})}if(v.content.prerender===false&&v.show.when.event!==false&&v.show.ready!==true){v.show.when.target.bind(v.show.when.event+".qtip-"+t+"-create",{qtip:t},function(C){z=f.fn.qtip.interfaces[C.data.qtip];z.options.show.when.target.unbind(z.options.show.when.event+".qtip-"+C.data.qtip+"-create");z.cache.mouse={x:C.pageX,y:C.pageY};p.call(z);z.options.show.when.target.trigger(z.options.show.when.event)})}else{x.cache.mouse={x:v.show.when.target.offset().left,y:v.show.when.target.offset().top};p.call(x)}}})};function d(u,t,v){var s=this;s.id=v;s.options=t;s.status={animated:false,rendered:false,disabled:false,focused:false};s.elements={target:u.addClass(s.options.style.classes.target),tooltip:null,wrapper:null,content:null,contentWrapper:null,title:null,button:null,tip:null,bgiframe:null};s.cache={mouse:{},position:{},toggle:0};s.timers={};f.extend(s,s.options.api,{show:function(y){var x,z;if(!s.status.rendered){return f.fn.qtip.log.error.call(s,2,f.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"show")}if(s.elements.tooltip.css("display")!=="none"){return s}s.elements.tooltip.stop(true,false);x=s.beforeShow.call(s,y);if(x===false){return s}function w(){if(s.options.position.type!=="static"){s.focus()}s.onShow.call(s,y);if(f.browser.msie){s.elements.tooltip.get(0).style.removeAttribute("filter")}}s.cache.toggle=1;if(s.options.position.type!=="static"){s.updatePosition(y,(s.options.show.effect.length>0))}if(typeof s.options.show.solo=="object"){z=f(s.options.show.solo)}else{if(s.options.show.solo===true){z=f("div.qtip").not(s.elements.tooltip)}}if(z){z.each(function(){if(f(this).qtip("api").status.rendered===true){f(this).qtip("api").hide()}})}if(typeof s.options.show.effect.type=="function"){s.options.show.effect.type.call(s.elements.tooltip,s.options.show.effect.length);s.elements.tooltip.queue(function(){w();f(this).dequeue()})}else{switch(s.options.show.effect.type.toLowerCase()){case"fade":s.elements.tooltip.fadeIn(s.options.show.effect.length,w);break;case"slide":s.elements.tooltip.slideDown(s.options.show.effect.length,function(){w();if(s.options.position.type!=="static"){s.updatePosition(y,true)}});break;case"grow":s.elements.tooltip.show(s.options.show.effect.length,w);break;default:s.elements.tooltip.show(null,w);break}s.elements.tooltip.addClass(s.options.style.classes.active)}return f.fn.qtip.log.error.call(s,1,f.fn.qtip.constants.EVENT_SHOWN,"show")},hide:function(y){var x;if(!s.status.rendered){return f.fn.qtip.log.error.call(s,2,f.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"hide")}else{if(s.elements.tooltip.css("display")==="none"){return s}}clearTimeout(s.timers.show);s.elements.tooltip.stop(true,false);x=s.beforeHide.call(s,y);if(x===false){return s}function w(){s.onHide.call(s,y)}s.cache.toggle=0;if(typeof s.options.hide.effect.type=="function"){s.options.hide.effect.type.call(s.elements.tooltip,s.options.hide.effect.length);s.elements.tooltip.queue(function(){w();f(this).dequeue()})}else{switch(s.options.hide.effect.type.toLowerCase()){case"fade":s.elements.tooltip.fadeOut(s.options.hide.effect.length,w);break;case"slide":s.elements.tooltip.slideUp(s.options.hide.effect.length,w);break;case"grow":s.elements.tooltip.hide(s.options.hide.effect.length,w);break;default:s.elements.tooltip.hide(null,w);break}s.elements.tooltip.removeClass(s.options.style.classes.active)}return f.fn.qtip.log.error.call(s,1,f.fn.qtip.constants.EVENT_HIDDEN,"hide")},updatePosition:function(w,x){var C,G,L,J,H,E,y,I,B,D,K,A,F,z;if(!s.status.rendered){return f.fn.qtip.log.error.call(s,2,f.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"updatePosition")}else{if(s.options.position.type=="static"){return f.fn.qtip.log.error.call(s,1,f.fn.qtip.constants.CANNOT_POSITION_STATIC,"updatePosition")}}G={position:{left:0,top:0},dimensions:{height:0,width:0},corner:s.options.position.corner.target};L={position:s.getPosition(),dimensions:s.getDimensions(),corner:s.options.position.corner.tooltip};if(s.options.position.target!=="mouse"){if(s.options.position.target.get(0).nodeName.toLowerCase()=="area"){J=s.options.position.target.attr("coords").split(",");for(C=0;C<J.length;C++){J[C]=parseInt(J[C])}H=s.options.position.target.parent("map").attr("name");E=f('img[usemap="#'+H+'"]:first').offset();G.position={left:Math.floor(E.left+J[0]),top:Math.floor(E.top+J[1])};switch(s.options.position.target.attr("shape").toLowerCase()){case"rect":G.dimensions={width:Math.ceil(Math.abs(J[2]-J[0])),height:Math.ceil(Math.abs(J[3]-J[1]))};break;case"circle":G.dimensions={width:J[2]+1,height:J[2]+1};break;case"poly":G.dimensions={width:J[0],height:J[1]};for(C=0;C<J.length;C++){if(C%2==0){if(J[C]>G.dimensions.width){G.dimensions.width=J[C]}if(J[C]<J[0]){G.position.left=Math.floor(E.left+J[C])}}else{if(J[C]>G.dimensions.height){G.dimensions.height=J[C]}if(J[C]<J[1]){G.position.top=Math.floor(E.top+J[C])}}}G.dimensions.width=G.dimensions.width-(G.position.left-E.left);G.dimensions.height=G.dimensions.height-(G.position.top-E.top);break;default:return f.fn.qtip.log.error.call(s,4,f.fn.qtip.constants.INVALID_AREA_SHAPE,"updatePosition");break}G.dimensions.width-=2;G.dimensions.height-=2}else{if(s.options.position.target.add(document.body).length===1){G.position={left:f(document).scrollLeft(),top:f(document).scrollTop()};G.dimensions={height:f(window).height(),width:f(window).width()}}else{if(typeof s.options.position.target.attr("qtip")!=="undefined"){G.position=s.options.position.target.qtip("api").cache.position}else{G.position=s.options.position.target.offset()}G.dimensions={height:s.options.position.target.outerHeight(),width:s.options.position.target.outerWidth()}}}y=f.extend({},G.position);if(G.corner.search(/right/i)!==-1){y.left+=G.dimensions.width}if(G.corner.search(/bottom/i)!==-1){y.top+=G.dimensions.height}if(G.corner.search(/((top|bottom)Middle)|center/)!==-1){y.left+=(G.dimensions.width/2)}if(G.corner.search(/((left|right)Middle)|center/)!==-1){y.top+=(G.dimensions.height/2)}}else{G.position=y={left:s.cache.mouse.x,top:s.cache.mouse.y};G.dimensions={height:1,width:1}}if(L.corner.search(/right/i)!==-1){y.left-=L.dimensions.width}if(L.corner.search(/bottom/i)!==-1){y.top-=L.dimensions.height}if(L.corner.search(/((top|bottom)Middle)|center/)!==-1){y.left-=(L.dimensions.width/2)}if(L.corner.search(/((left|right)Middle)|center/)!==-1){y.top-=(L.dimensions.height/2)}I=(f.browser.msie)?1:0;B=(f.browser.msie&&parseInt(f.browser.version.charAt(0))===6)?1:0;if(s.options.style.border.radius>0){if(L.corner.search(/Left/)!==-1){y.left-=s.options.style.border.radius}else{if(L.corner.search(/Right/)!==-1){y.left+=s.options.style.border.radius}}if(L.corner.search(/Top/)!==-1){y.top-=s.options.style.border.radius}else{if(L.corner.search(/Bottom/)!==-1){y.top+=s.options.style.border.radius}}}if(I){if(L.corner.search(/top/)!==-1){y.top-=I}else{if(L.corner.search(/bottom/)!==-1){y.top+=I}}if(L.corner.search(/left/)!==-1){y.left-=I}else{if(L.corner.search(/right/)!==-1){y.left+=I}}if(L.corner.search(/leftMiddle|rightMiddle/)!==-1){y.top-=1}}if(s.options.position.adjust.screen===true){y=o.call(s,y,G,L)}if(s.options.position.target==="mouse"&&s.options.position.adjust.mouse===true){if(s.options.position.adjust.screen===true&&s.elements.tip){K=s.elements.tip.attr("rel")}else{K=s.options.position.corner.tooltip}y.left+=(K.search(/right/i)!==-1)?-6:6;y.top+=(K.search(/bottom/i)!==-1)?-6:6}if(!s.elements.bgiframe&&f.browser.msie&&parseInt(f.browser.version.charAt(0))==6){f("select, object").each(function(){A=f(this).offset();A.bottom=A.top+f(this).height();A.right=A.left+f(this).width();if(y.top+L.dimensions.height>=A.top&&y.left+L.dimensions.width>=A.left){k.call(s)}})}y.left+=s.options.position.adjust.x;y.top+=s.options.position.adjust.y;F=s.getPosition();if(y.left!=F.left||y.top!=F.top){z=s.beforePositionUpdate.call(s,w);if(z===false){return s}s.cache.position=y;if(x===true){s.status.animated=true;s.elements.tooltip.animate(y,200,"swing",function(){s.status.animated=false})}else{s.elements.tooltip.css(y)}s.onPositionUpdate.call(s,w);if(typeof w!=="undefined"&&w.type&&w.type!=="mousemove"){f.fn.qtip.log.error.call(s,1,f.fn.qtip.constants.EVENT_POSITION_UPDATED,"updatePosition")}}return s},updateWidth:function(w){var x;if(!s.status.rendered){return f.fn.qtip.log.error.call(s,2,f.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"updateWidth")}else{if(w&&typeof w!=="number"){return f.fn.qtip.log.error.call(s,2,"newWidth must be of type number","updateWidth")}}x=s.elements.contentWrapper.siblings().add(s.elements.tip).add(s.elements.button);if(!w){if(typeof s.options.style.width.value=="number"){w=s.options.style.width.value}else{s.elements.tooltip.css({width:"auto"});x.hide();if(f.browser.msie){s.elements.wrapper.add(s.elements.contentWrapper.children()).css({zoom:"normal"})}w=s.getDimensions().width+1;if(!s.options.style.width.value){if(w>s.options.style.width.max){w=s.options.style.width.max}if(w<s.options.style.width.min){w=s.options.style.width.min}}}}if(w%2!==0){w-=1}s.elements.tooltip.width(w);x.show();if(s.options.style.border.radius){s.elements.tooltip.find(".qtip-betweenCorners").each(function(y){f(this).width(w-(s.options.style.border.radius*2))})}if(f.browser.msie){s.elements.wrapper.add(s.elements.contentWrapper.children()).css({zoom:"1"});s.elements.wrapper.width(w);if(s.elements.bgiframe){s.elements.bgiframe.width(w).height(s.getDimensions.height)}}return f.fn.qtip.log.error.call(s,1,f.fn.qtip.constants.EVENT_WIDTH_UPDATED,"updateWidth")},updateStyle:function(w){var z,A,x,y,B;if(!s.status.rendered){return f.fn.qtip.log.error.call(s,2,f.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"updateStyle")}else{if(typeof w!=="string"||!f.fn.qtip.styles[w]){return f.fn.qtip.log.error.call(s,2,f.fn.qtip.constants.STYLE_NOT_DEFINED,"updateStyle")}}s.options.style=a.call(s,f.fn.qtip.styles[w],s.options.user.style);s.elements.content.css(q(s.options.style));if(s.options.content.title.text!==false){s.elements.title.css(q(s.options.style.title,true))}s.elements.contentWrapper.css({borderColor:s.options.style.border.color});if(s.options.style.tip.corner!==false){if(f("<canvas>").get(0).getContext){z=s.elements.tooltip.find(".qtip-tip canvas:first");x=z.get(0).getContext("2d");x.clearRect(0,0,300,300);y=z.parent("div[rel]:first").attr("rel");B=b(y,s.options.style.tip.size.width,s.options.style.tip.size.height);h.call(s,z,B,s.options.style.tip.color||s.options.style.border.color)}else{if(f.browser.msie){z=s.elements.tooltip.find('.qtip-tip [nodeName="shape"]');z.attr("fillcolor",s.options.style.tip.color||s.options.style.border.color)}}}if(s.options.style.border.radius>0){s.elements.tooltip.find(".qtip-betweenCorners").css({backgroundColor:s.options.style.border.color});if(f("<canvas>").get(0).getContext){A=g(s.options.style.border.radius);s.elements.tooltip.find(".qtip-wrapper canvas").each(function(){x=f(this).get(0).getContext("2d");x.clearRect(0,0,300,300);y=f(this).parent("div[rel]:first").attr("rel");r.call(s,f(this),A[y],s.options.style.border.radius,s.options.style.border.color)})}else{if(f.browser.msie){s.elements.tooltip.find('.qtip-wrapper [nodeName="arc"]').each(function(){f(this).attr("fillcolor",s.options.style.border.color)})}}}return f.fn.qtip.log.error.call(s,1,f.fn.qtip.constants.EVENT_STYLE_UPDATED,"updateStyle")},updateContent:function(A,y){var z,x,w;if(!s.status.rendered){return f.fn.qtip.log.error.call(s,2,f.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"updateContent")}else{if(!A){return f.fn.qtip.log.error.call(s,2,f.fn.qtip.constants.NO_CONTENT_PROVIDED,"updateContent")}}z=s.beforeContentUpdate.call(s,A);if(typeof z=="string"){A=z}else{if(z===false){return}}if(f.browser.msie){s.elements.contentWrapper.children().css({zoom:"normal"})}if(A.jquery&&A.length>0){A.clone(true).appendTo(s.elements.content).show()}else{s.elements.content.html(A)}x=s.elements.content.find("img[complete=false]");if(x.length>0){w=0;x.each(function(C){f('<img src="'+f(this).attr("src")+'" />').load(function(){if(++w==x.length){B()}})})}else{B()}function B(){s.updateWidth();if(y!==false){if(s.options.position.type!=="static"){s.updatePosition(s.elements.tooltip.is(":visible"),true)}if(s.options.style.tip.corner!==false){n.call(s)}}}s.onContentUpdate.call(s);return f.fn.qtip.log.error.call(s,1,f.fn.qtip.constants.EVENT_CONTENT_UPDATED,"loadContent")},loadContent:function(w,z,A){var y;if(!s.status.rendered){return f.fn.qtip.log.error.call(s,2,f.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"loadContent")}y=s.beforeContentLoad.call(s);if(y===false){return s}if(A=="post"){f.post(w,z,x)}else{f.get(w,z,x)}function x(B){s.onContentLoad.call(s);f.fn.qtip.log.error.call(s,1,f.fn.qtip.constants.EVENT_CONTENT_LOADED,"loadContent");s.updateContent(B)}return s},updateTitle:function(w){if(!s.status.rendered){return f.fn.qtip.log.error.call(s,2,f.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"updateTitle")}else{if(!w){return f.fn.qtip.log.error.call(s,2,f.fn.qtip.constants.NO_CONTENT_PROVIDED,"updateTitle")}}returned=s.beforeTitleUpdate.call(s);if(returned===false){return s}if(s.elements.button){s.elements.button=s.elements.button.clone(true)}s.elements.title.html(w);if(s.elements.button){s.elements.title.prepend(s.elements.button)}s.onTitleUpdate.call(s);return f.fn.qtip.log.error.call(s,1,f.fn.qtip.constants.EVENT_TITLE_UPDATED,"updateTitle")},focus:function(A){var y,x,w,z;if(!s.status.rendered){return f.fn.qtip.log.error.call(s,2,f.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"focus")}else{if(s.options.position.type=="static"){return f.fn.qtip.log.error.call(s,1,f.fn.qtip.constants.CANNOT_FOCUS_STATIC,"focus")}}y=parseInt(s.elements.tooltip.css("z-index"));x=6000+f("div.qtip[qtip]").length-1;if(!s.status.focused&&y!==x){z=s.beforeFocus.call(s,A);if(z===false){return s}f("div.qtip[qtip]").not(s.elements.tooltip).each(function(){if(f(this).qtip("api").status.rendered===true){w=parseInt(f(this).css("z-index"));if(typeof w=="number"&&w>-1){f(this).css({zIndex:parseInt(f(this).css("z-index"))-1})}f(this).qtip("api").status.focused=false}});s.elements.tooltip.css({zIndex:x});s.status.focused=true;s.onFocus.call(s,A);f.fn.qtip.log.error.call(s,1,f.fn.qtip.constants.EVENT_FOCUSED,"focus")}return s},disable:function(w){if(!s.status.rendered){return f.fn.qtip.log.error.call(s,2,f.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"disable")}if(w){if(!s.status.disabled){s.status.disabled=true;f.fn.qtip.log.error.call(s,1,f.fn.qtip.constants.EVENT_DISABLED,"disable")}else{f.fn.qtip.log.error.call(s,1,f.fn.qtip.constants.TOOLTIP_ALREADY_DISABLED,"disable")}}else{if(s.status.disabled){s.status.disabled=false;f.fn.qtip.log.error.call(s,1,f.fn.qtip.constants.EVENT_ENABLED,"disable")}else{f.fn.qtip.log.error.call(s,1,f.fn.qtip.constants.TOOLTIP_ALREADY_ENABLED,"disable")}}return s},destroy:function(){var w,x,y;x=s.beforeDestroy.call(s);if(x===false){return s}if(s.status.rendered){s.options.show.when.target.unbind("mousemove.qtip",s.updatePosition);s.options.show.when.target.unbind("mouseout.qtip",s.hide);s.options.show.when.target.unbind(s.options.show.when.event+".qtip");s.options.hide.when.target.unbind(s.options.hide.when.event+".qtip");s.elements.tooltip.unbind(s.options.hide.when.event+".qtip");s.elements.tooltip.unbind("mouseover.qtip",s.focus);s.elements.tooltip.remove()}else{s.options.show.when.target.unbind(s.options.show.when.event+".qtip-create")}if(typeof s.elements.target.data("qtip")=="object"){y=s.elements.target.data("qtip").interfaces;if(typeof y=="object"&&y.length>0){for(w=0;w<y.length-1;w++){if(y[w].id==s.id){y.splice(w,1)}}}}delete f.fn.qtip.interfaces[s.id];if(typeof y=="object"&&y.length>0){s.elements.target.data("qtip").current=y.length-1}else{s.elements.target.removeData("qtip")}s.onDestroy.call(s);f.fn.qtip.log.error.call(s,1,f.fn.qtip.constants.EVENT_DESTROYED,"destroy");return s.elements.target},getPosition:function(){var w,x;if(!s.status.rendered){return f.fn.qtip.log.error.call(s,2,f.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"getPosition")}w=(s.elements.tooltip.css("display")!=="none")?false:true;if(w){s.elements.tooltip.css({visiblity:"hidden"}).show()}x=s.elements.tooltip.offset();if(w){s.elements.tooltip.css({visiblity:"visible"}).hide()}return x},getDimensions:function(){var w,x;if(!s.status.rendered){return f.fn.qtip.log.error.call(s,2,f.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"getDimensions")}w=(!s.elements.tooltip.is(":visible"))?true:false;if(w){s.elements.tooltip.css({visiblity:"hidden"}).show()}x={height:s.elements.tooltip.outerHeight(),width:s.elements.tooltip.outerWidth()};if(w){s.elements.tooltip.css({visiblity:"visible"}).hide()}return x}})}function p(){var s,w,u,t,v,y,x;s=this;s.beforeRender.call(s);s.status.rendered=true;s.elements.tooltip='<div qtip="'+s.id+'" class="qtip '+(s.options.style.classes.tooltip||s.options.style)+'"style="display:none; -moz-border-radius:0; -webkit-border-radius:0; border-radius:0;position:'+s.options.position.type+';"> <div class="qtip-wrapper" style="position:relative; overflow:hidden; text-align:left;"> <div class="qtip-contentWrapper" style="overflow:hidden;"> <div class="qtip-content '+s.options.style.classes.content+'"></div></div></div></div>';s.elements.tooltip=f(s.elements.tooltip);s.elements.tooltip.appendTo(s.options.position.container);s.elements.tooltip.data("qtip",{current:0,interfaces:[s]});s.elements.wrapper=s.elements.tooltip.children("div:first");s.elements.contentWrapper=s.elements.wrapper.children("div:first").css({background:s.options.style.background});s.elements.content=s.elements.contentWrapper.children("div:first").css(q(s.options.style));if(f.browser.msie){s.elements.wrapper.add(s.elements.content).css({zoom:1})}if(s.options.hide.when.event=="unfocus"){s.elements.tooltip.attr("unfocus",true)}if(typeof s.options.style.width.value=="number"){s.updateWidth()}if(f("<canvas>").get(0).getContext||f.browser.msie){if(s.options.style.border.radius>0){m.call(s)}else{s.elements.contentWrapper.css({border:s.options.style.border.width+"px solid "+s.options.style.border.color})}if(s.options.style.tip.corner!==false){e.call(s)}}else{s.elements.contentWrapper.css({border:s.options.style.border.width+"px solid "+s.options.style.border.color});s.options.style.border.radius=0;s.options.style.tip.corner=false;f.fn.qtip.log.error.call(s,2,f.fn.qtip.constants.CANVAS_VML_NOT_SUPPORTED,"render")}if((typeof s.options.content.text=="string"&&s.options.content.text.length>0)||(s.options.content.text.jquery&&s.options.content.text.length>0)){u=s.options.content.text}else{if(typeof s.elements.target.attr("title")=="string"&&s.elements.target.attr("title").length>0){u=s.elements.target.attr("title").replace("\\n","<br />");s.elements.target.attr("title","")}else{if(typeof s.elements.target.attr("alt")=="string"&&s.elements.target.attr("alt").length>0){u=s.elements.target.attr("alt").replace("\\n","<br />");s.elements.target.attr("alt","")}else{u=" ";f.fn.qtip.log.error.call(s,1,f.fn.qtip.constants.NO_VALID_CONTENT,"render")}}}if(s.options.content.title.text!==false){j.call(s)}s.updateContent(u);l.call(s);if(s.options.show.ready===true){s.show()}if(s.options.content.url!==false){t=s.options.content.url;v=s.options.content.data;y=s.options.content.method||"get";s.loadContent(t,v,y)}s.onRender.call(s);f.fn.qtip.log.error.call(s,1,f.fn.qtip.constants.EVENT_RENDERED,"render")}function m(){var F,z,t,B,x,E,u,G,D,y,w,C,A,s,v;F=this;F.elements.wrapper.find(".qtip-borderBottom, .qtip-borderTop").remove();t=F.options.style.border.width;B=F.options.style.border.radius;x=F.options.style.border.color||F.options.style.tip.color;E=g(B);u={};for(z in E){u[z]='<div rel="'+z+'" style="'+((z.search(/Left/)!==-1)?"left":"right")+":0; position:absolute; height:"+B+"px; width:"+B+'px; overflow:hidden; line-height:0.1px; font-size:1px">';if(f("<canvas>").get(0).getContext){u[z]+='<canvas height="'+B+'" width="'+B+'" style="vertical-align: top"></canvas>'}else{if(f.browser.msie){G=B*2+3;u[z]+='<v:arc stroked="false" fillcolor="'+x+'" startangle="'+E[z][0]+'" endangle="'+E[z][1]+'" style="width:'+G+"px; height:"+G+"px; margin-top:"+((z.search(/bottom/)!==-1)?-2:-1)+"px; margin-left:"+((z.search(/Right/)!==-1)?E[z][2]-3.5:-1)+'px; vertical-align:top; display:inline-block; behavior:url(#default#VML)"></v:arc>'}}u[z]+="</div>"}D=F.getDimensions().width-(Math.max(t,B)*2);y='<div class="qtip-betweenCorners" style="height:'+B+"px; width:"+D+"px; overflow:hidden; background-color:"+x+'; line-height:0.1px; font-size:1px;">';w='<div class="qtip-borderTop" dir="ltr" style="height:'+B+"px; margin-left:"+B+'px; line-height:0.1px; font-size:1px; padding:0;">'+u.topLeft+u.topRight+y;F.elements.wrapper.prepend(w);C='<div class="qtip-borderBottom" dir="ltr" style="height:'+B+"px; margin-left:"+B+'px; line-height:0.1px; font-size:1px; padding:0;">'+u.bottomLeft+u.bottomRight+y;F.elements.wrapper.append(C);if(f("<canvas>").get(0).getContext){F.elements.wrapper.find("canvas").each(function(){A=E[f(this).parent("[rel]:first").attr("rel")];r.call(F,f(this),A,B,x)})}else{if(f.browser.msie){F.elements.tooltip.append('<v:image style="behavior:url(#default#VML);"></v:image>')}}s=Math.max(B,(B+(t-B)));v=Math.max(t-B,0);F.elements.contentWrapper.css({border:"0px solid "+x,borderWidth:v+"px "+s+"px"})}function r(u,w,s,t){var v=u.get(0).getContext("2d");v.fillStyle=t;v.beginPath();v.arc(w[0],w[1],s,0,Math.PI*2,false);v.fill()}function e(v){var t,s,x,u,w;t=this;if(t.elements.tip!==null){t.elements.tip.remove()}s=t.options.style.tip.color||t.options.style.border.color;if(t.options.style.tip.corner===false){return}else{if(!v){v=t.options.style.tip.corner}}x=b(v,t.options.style.tip.size.width,t.options.style.tip.size.height);t.elements.tip='<div class="'+t.options.style.classes.tip+'" dir="ltr" rel="'+v+'" style="position:absolute; height:'+t.options.style.tip.size.height+"px; width:"+t.options.style.tip.size.width+'px; margin:0 auto; line-height:0.1px; font-size:1px;">';if(f("<canvas>").get(0).getContext){t.elements.tip+='<canvas height="'+t.options.style.tip.size.height+'" width="'+t.options.style.tip.size.width+'"></canvas>'}else{if(f.browser.msie){u=t.options.style.tip.size.width+","+t.options.style.tip.size.height;w="m"+x[0][0]+","+x[0][1];w+=" l"+x[1][0]+","+x[1][1];w+=" "+x[2][0]+","+x[2][1];w+=" xe";t.elements.tip+='<v:shape fillcolor="'+s+'" stroked="false" filled="true" path="'+w+'" coordsize="'+u+'" style="width:'+t.options.style.tip.size.width+"px; height:"+t.options.style.tip.size.height+"px; line-height:0.1px; display:inline-block; behavior:url(#default#VML); vertical-align:"+((v.search(/top/)!==-1)?"bottom":"top")+'"></v:shape>';t.elements.tip+='<v:image style="behavior:url(#default#VML);"></v:image>';t.elements.contentWrapper.css("position","relative")}}t.elements.tooltip.prepend(t.elements.tip+"</div>");t.elements.tip=t.elements.tooltip.find("."+t.options.style.classes.tip).eq(0);if(f("<canvas>").get(0).getContext){h.call(t,t.elements.tip.find("canvas:first"),x,s)}if(v.search(/top/)!==-1&&f.browser.msie&&parseInt(f.browser.version.charAt(0))===6){t.elements.tip.css({marginTop:-4})}n.call(t,v)}function h(t,v,s){var u=t.get(0).getContext("2d");u.fillStyle=s;u.beginPath();u.moveTo(v[0][0],v[0][1]);u.lineTo(v[1][0],v[1][1]);u.lineTo(v[2][0],v[2][1]);u.fill()}function n(u){var t,w,s,x,v;t=this;if(t.options.style.tip.corner===false||!t.elements.tip){return}if(!u){u=t.elements.tip.attr("rel")}w=positionAdjust=(f.browser.msie)?1:0;t.elements.tip.css(u.match(/left|right|top|bottom/)[0],0);if(u.search(/top|bottom/)!==-1){if(f.browser.msie){if(parseInt(f.browser.version.charAt(0))===6){positionAdjust=(u.search(/top/)!==-1)?-3:1}else{positionAdjust=(u.search(/top/)!==-1)?1:2}}if(u.search(/Middle/)!==-1){t.elements.tip.css({left:"50%",marginLeft:-(t.options.style.tip.size.width/2)})}else{if(u.search(/Left/)!==-1){t.elements.tip.css({left:t.options.style.border.radius-w})}else{if(u.search(/Right/)!==-1){t.elements.tip.css({right:t.options.style.border.radius+w})}}}if(u.search(/top/)!==-1){t.elements.tip.css({top:-positionAdjust})}else{t.elements.tip.css({bottom:positionAdjust})}}else{if(u.search(/left|right/)!==-1){if(f.browser.msie){positionAdjust=(parseInt(f.browser.version.charAt(0))===6)?1:((u.search(/left/)!==-1)?1:2)}if(u.search(/Middle/)!==-1){t.elements.tip.css({top:"50%",marginTop:-(t.options.style.tip.size.height/2)})}else{if(u.search(/Top/)!==-1){t.elements.tip.css({top:t.options.style.border.radius-w})}else{if(u.search(/Bottom/)!==-1){t.elements.tip.css({bottom:t.options.style.border.radius+w})}}}if(u.search(/left/)!==-1){t.elements.tip.css({left:-positionAdjust})}else{t.elements.tip.css({right:positionAdjust})}}}s="padding-"+u.match(/left|right|top|bottom/)[0];x=t.options.style.tip.size[(s.search(/left|right/)!==-1)?"width":"height"];t.elements.tooltip.css("padding",0);t.elements.tooltip.css(s,x);if(f.browser.msie&&parseInt(f.browser.version.charAt(0))==6){v=parseInt(t.elements.tip.css("margin-top"))||0;v+=parseInt(t.elements.content.css("margin-top"))||0;t.elements.tip.css({marginTop:v})}}function j(){var s=this;if(s.elements.title!==null){s.elements.title.remove()}s.elements.title=f('<div class="'+s.options.style.classes.title+'">').css(q(s.options.style.title,true)).css({zoom:(f.browser.msie)?1:0}).prependTo(s.elements.contentWrapper);if(s.options.content.title.text){s.updateTitle.call(s,s.options.content.title.text)}if(s.options.content.title.button!==false&&typeof s.options.content.title.button=="string"){s.elements.button=f('<a class="'+s.options.style.classes.button+'" style="float:right; position: relative"></a>').css(q(s.options.style.button,true)).html(s.options.content.title.button).prependTo(s.elements.title).click(function(t){if(!s.status.disabled){s.hide(t)}})}}function l(){var t,v,u,s;t=this;v=t.options.show.when.target;u=t.options.hide.when.target;if(t.options.hide.fixed){u=u.add(t.elements.tooltip)}if(t.options.hide.when.event=="inactive"){s=["click","dblclick","mousedown","mouseup","mousemove","mouseout","mouseenter","mouseleave","mouseover"];function y(z){if(t.status.disabled===true){return}clearTimeout(t.timers.inactive);t.timers.inactive=setTimeout(function(){f(s).each(function(){u.unbind(this+".qtip-inactive");t.elements.content.unbind(this+".qtip-inactive")});t.hide(z)},t.options.hide.delay)}}else{if(t.options.hide.fixed===true){t.elements.tooltip.bind("mouseover.qtip",function(){if(t.status.disabled===true){return}clearTimeout(t.timers.hide)})}}function x(z){if(t.status.disabled===true){return}if(t.options.hide.when.event=="inactive"){f(s).each(function(){u.bind(this+".qtip-inactive",y);t.elements.content.bind(this+".qtip-inactive",y)});y()}clearTimeout(t.timers.show);clearTimeout(t.timers.hide);t.timers.show=setTimeout(function(){t.show(z)},t.options.show.delay)}function w(z){if(t.status.disabled===true){return}if(t.options.hide.fixed===true&&t.options.hide.when.event.search(/mouse(out|leave)/i)!==-1&&f(z.relatedTarget).parents("div.qtip[qtip]").length>0){z.stopPropagation();z.preventDefault();clearTimeout(t.timers.hide);return false}clearTimeout(t.timers.show);clearTimeout(t.timers.hide);t.elements.tooltip.stop(true,true);t.timers.hide=setTimeout(function(){t.hide(z)},t.options.hide.delay)}if((t.options.show.when.target.add(t.options.hide.when.target).length===1&&t.options.show.when.event==t.options.hide.when.event&&t.options.hide.when.event!=="inactive")||t.options.hide.when.event=="unfocus"){t.cache.toggle=0;v.bind(t.options.show.when.event+".qtip",function(z){if(t.cache.toggle==0){x(z)}else{w(z)}})}else{v.bind(t.options.show.when.event+".qtip",x);if(t.options.hide.when.event!=="inactive"){u.bind(t.options.hide.when.event+".qtip",w)}}if(t.options.position.type.search(/(fixed|absolute)/)!==-1){t.elements.tooltip.bind("mouseover.qtip",t.focus)}if(t.options.position.target==="mouse"&&t.options.position.type!=="static"){v.bind("mousemove.qtip",function(z){t.cache.mouse={x:z.pageX,y:z.pageY};if(t.status.disabled===false&&t.options.position.adjust.mouse===true&&t.options.position.type!=="static"&&t.elements.tooltip.css("display")!=="none"){t.updatePosition(z)}})}}function o(u,v,A){var z,s,x,y,t,w;z=this;if(A.corner=="center"){return v.position}s=f.extend({},u);y={x:false,y:false};t={left:(s.left<f.fn.qtip.cache.screen.scroll.left),right:(s.left+A.dimensions.width+2>=f.fn.qtip.cache.screen.width+f.fn.qtip.cache.screen.scroll.left),top:(s.top<f.fn.qtip.cache.screen.scroll.top),bottom:(s.top+A.dimensions.height+2>=f.fn.qtip.cache.screen.height+f.fn.qtip.cache.screen.scroll.top)};x={left:(t.left&&(A.corner.search(/right/i)!=-1||(A.corner.search(/right/i)==-1&&!t.right))),right:(t.right&&(A.corner.search(/left/i)!=-1||(A.corner.search(/left/i)==-1&&!t.left))),top:(t.top&&A.corner.search(/top/i)==-1),bottom:(t.bottom&&A.corner.search(/bottom/i)==-1)};if(x.left){if(z.options.position.target!=="mouse"){s.left=v.position.left+v.dimensions.width}else{s.left=z.cache.mouse.x}y.x="Left"}else{if(x.right){if(z.options.position.target!=="mouse"){s.left=v.position.left-A.dimensions.width}else{s.left=z.cache.mouse.x-A.dimensions.width}y.x="Right"}}if(x.top){if(z.options.position.target!=="mouse"){s.top=v.position.top+v.dimensions.height}else{s.top=z.cache.mouse.y}y.y="top"}else{if(x.bottom){if(z.options.position.target!=="mouse"){s.top=v.position.top-A.dimensions.height}else{s.top=z.cache.mouse.y-A.dimensions.height}y.y="bottom"}}if(s.left<0){s.left=u.left;y.x=false}if(s.top<0){s.top=u.top;y.y=false}if(z.options.style.tip.corner!==false){s.corner=new String(A.corner);if(y.x!==false){s.corner=s.corner.replace(/Left|Right|Middle/,y.x)}if(y.y!==false){s.corner=s.corner.replace(/top|bottom/,y.y)}if(s.corner!==z.elements.tip.attr("rel")){e.call(z,s.corner)}}return s}function q(u,t){var v,s;v=f.extend(true,{},u);for(s in v){if(t===true&&s.search(/(tip|classes)/i)!==-1){delete v[s]}else{if(!t&&s.search(/(width|border|tip|title|classes|user)/i)!==-1){delete v[s]}}}return v}function c(s){if(typeof s.tip!=="object"){s.tip={corner:s.tip}}if(typeof s.tip.size!=="object"){s.tip.size={width:s.tip.size,height:s.tip.size}}if(typeof s.border!=="object"){s.border={width:s.border}}if(typeof s.width!=="object"){s.width={value:s.width}}if(typeof s.width.max=="string"){s.width.max=parseInt(s.width.max.replace(/([0-9]+)/i,"$1"))}if(typeof s.width.min=="string"){s.width.min=parseInt(s.width.min.replace(/([0-9]+)/i,"$1"))}if(typeof s.tip.size.x=="number"){s.tip.size.width=s.tip.size.x;delete s.tip.size.x}if(typeof s.tip.size.y=="number"){s.tip.size.height=s.tip.size.y;delete s.tip.size.y}return s}function a(){var s,t,u,x,v,w;s=this;u=[true,{}];for(t=0;t<arguments.length;t++){u.push(arguments[t])}x=[f.extend.apply(f,u)];while(typeof x[0].name=="string"){x.unshift(c(f.fn.qtip.styles[x[0].name]))}x.unshift(true,{classes:{tooltip:"qtip-"+(arguments[0].name||"defaults")}},f.fn.qtip.styles.defaults);v=f.extend.apply(f,x);w=(f.browser.msie)?1:0;v.tip.size.width+=w;v.tip.size.height+=w;if(v.tip.size.width%2>0){v.tip.size.width+=1}if(v.tip.size.height%2>0){v.tip.size.height+=1}if(v.tip.corner===true){v.tip.corner=(s.options.position.corner.tooltip==="center")?false:s.options.position.corner.tooltip}return v}function b(v,u,t){var s={bottomRight:[[0,0],[u,t],[u,0]],bottomLeft:[[0,0],[u,0],[0,t]],topRight:[[0,t],[u,0],[u,t]],topLeft:[[0,0],[0,t],[u,t]],topMiddle:[[0,t],[u/2,0],[u,t]],bottomMiddle:[[0,0],[u,0],[u/2,t]],rightMiddle:[[0,0],[u,t/2],[0,t]],leftMiddle:[[u,0],[u,t],[0,t/2]]};s.leftTop=s.bottomRight;s.rightTop=s.bottomLeft;s.leftBottom=s.topRight;s.rightBottom=s.topLeft;return s[v]}function g(s){var t;if(f("<canvas>").get(0).getContext){t={topLeft:[s,s],topRight:[0,s],bottomLeft:[s,0],bottomRight:[0,0]}}else{if(f.browser.msie){t={topLeft:[-90,90,0],topRight:[-90,90,-s],bottomLeft:[90,270,0],bottomRight:[90,270,-s]}}}return t}function k(){var s,t,u;s=this;u=s.getDimensions();t='<iframe class="qtip-bgiframe" frameborder="0" tabindex="-1" src="javascript:false" style="display:block; position:absolute; z-index:-1; filter:alpha(opacity=\'0\'); border: 1px solid red; height:'+u.height+"px; width:"+u.width+'px" />';s.elements.bgiframe=s.elements.wrapper.prepend(t).children(".qtip-bgiframe:first")}f(document).ready(function(){f.fn.qtip.cache={screen:{scroll:{left:f(window).scrollLeft(),top:f(window).scrollTop()},width:f(window).width(),height:f(window).height()}};var s;f(window).bind("resize scroll",function(t){clearTimeout(s);s=setTimeout(function(){if(t.type==="scroll"){f.fn.qtip.cache.screen.scroll={left:f(window).scrollLeft(),top:f(window).scrollTop()}}else{f.fn.qtip.cache.screen.width=f(window).width();f.fn.qtip.cache.screen.height=f(window).height()}for(i=0;i<f.fn.qtip.interfaces.length;i++){var u=f.fn.qtip.interfaces[i];if(u.status.rendered===true&&(u.options.position.type!=="static"||u.options.position.adjust.scroll&&t.type==="scroll"||u.options.position.adjust.resize&&t.type==="resize")){u.updatePosition(t,true)}}},100)});f(document).bind("mousedown.qtip",function(t){if(f(t.target).parents("div.qtip").length===0){f(".qtip[unfocus]").each(function(){var u=f(this).qtip("api");if(f(this).is(":visible")&&!u.status.disabled&&f(t.target).add(u.elements.target).length>1){u.hide(t)}})}})});f.fn.qtip.interfaces=[];f.fn.qtip.log={error:function(){return this}};f.fn.qtip.constants={};f.fn.qtip.defaults={content:{prerender:false,text:false,url:false,data:null,title:{text:false,button:false}},position:{target:false,corner:{target:"bottomRight",tooltip:"topLeft"},adjust:{x:0,y:0,mouse:true,screen:false,scroll:true,resize:true},type:"absolute",container:false},show:{when:{target:false,event:"mouseover"},effect:{type:"fade",length:100},delay:140,solo:false,ready:false},hide:{when:{target:false,event:"mouseout"},effect:{type:"fade",length:100},delay:0,fixed:false},api:{beforeRender:function(){},onRender:function(){},beforePositionUpdate:function(){},onPositionUpdate:function(){},beforeShow:function(){},onShow:function(){},beforeHide:function(){},onHide:function(){},beforeContentUpdate:function(){},onContentUpdate:function(){},beforeContentLoad:function(){},onContentLoad:function(){},beforeTitleUpdate:function(){},onTitleUpdate:function(){},beforeDestroy:function(){},onDestroy:function(){},beforeFocus:function(){},onFocus:function(){}}};f.fn.qtip.styles={defaults:{background:"white",color:"#111",overflow:"hidden",textAlign:"left",width:{min:0,max:250},padding:"5px 9px",border:{width:1,radius:0,color:"#d3d3d3"},tip:{corner:false,color:false,size:{width:13,height:13},opacity:1},title:{background:"#e1e1e1",fontWeight:"bold",padding:"7px 12px"},button:{cursor:"pointer"},classes:{target:"",tip:"qtip-tip",title:"qtip-title",button:"qtip-button",content:"qtip-content",active:"qtip-active"}},cream:{border:{width:3,radius:0,color:"#F9E98E"},title:{background:"#F0DE7D",color:"#A27D35"},background:"#FBF7AA",color:"#A27D35",classes:{tooltip:"qtip-cream"}},light:{border:{width:3,radius:0,color:"#E2E2E2"},title:{background:"#f1f1f1",color:"#454545"},background:"white",color:"#454545",classes:{tooltip:"qtip-light"}},dark:{border:{width:3,radius:0,color:"#303030"},title:{background:"#404040",color:"#f3f3f3"},background:"#505050",color:"#f3f3f3",classes:{tooltip:"qtip-dark"}},red:{border:{width:3,radius:0,color:"#CE6F6F"},title:{background:"#f28279",color:"#9C2F2F"},background:"#F79992",color:"#9C2F2F",classes:{tooltip:"qtip-red"}},green:{border:{width:3,radius:0,color:"#A9DB66"},title:{background:"#b9db8c",color:"#58792E"},background:"#CDE6AC",color:"#58792E",classes:{tooltip:"qtip-green"}},blue:{border:{width:3,radius:0,color:"#ADD9ED"},title:{background:"#D0E9F5",color:"#5E99BD"},background:"#E5F6FE",color:"#4D9FBF",classes:{tooltip:"qtip-blue"}}}})(jQuery);
languages/gce-fr_FR.mo ADDED
Binary file
languages/gce-fr_FR.po ADDED
@@ -0,0 +1,1450 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2010 Google Calendar Events
2
+ # This file is distributed under the same license as the Google Calendar Events package.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: Google Calendar Events en español\n"
6
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/google-calendar-events\n"
7
+ "POT-Creation-Date: 2014-09-11 22:23+0100\n"
8
+ "PO-Revision-Date: \n"
9
+ "Last-Translator: Vincent B <vincent@yahoo.fr>\n"
10
+ "Language-Team: \n"
11
+ "Language: fr_FR\n"
12
+ "MIME-Version: 1.0\n"
13
+ "Content-Type: text/plain; charset=UTF-8\n"
14
+ "Content-Transfer-Encoding: 8bit\n"
15
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
16
+ "X-Generator: Poedit 1.6.9\n"
17
+ "X-Poedit-Basepath: ..\n"
18
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
19
+ "_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_ex:1,2c;"
20
+ "esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n"
21
+ "X-Poedit-SourceCharset: UTF-8\n"
22
+ "X-Poedit-SearchPath-0: .\n"
23
+
24
+ #: class-google-calendar-events-admin.php:67
25
+ #: class-google-calendar-events-admin.php:68 includes/register-settings.php:44
26
+ msgid "General Settings"
27
+ msgstr "Configuration générale"
28
+
29
+ #: class-google-calendar-events-admin.php:139 views/widgets.php:27
30
+ msgid "Google Calendar Events"
31
+ msgstr "Google Calendar Events"
32
+
33
+ #: class-google-calendar-events-admin.php:151
34
+ msgid "Feeds"
35
+ msgstr "Flux"
36
+
37
+ #: includes/class-gce-display.php:218
38
+ msgid "There are currently no events to display."
39
+ msgstr "Actuellement il n'y a pas de flux à afficher"
40
+
41
+ #: includes/class-gce-event.php:499
42
+ #, php-format
43
+ msgid "%s year"
44
+ msgstr "%s année"
45
+
46
+ #: includes/class-gce-event.php:499
47
+ #, php-format
48
+ msgid "%s years"
49
+ msgstr "%s années"
50
+
51
+ #: includes/class-gce-event.php:500
52
+ #, php-format
53
+ msgid "%s month"
54
+ msgstr "%s mois"
55
+
56
+ #: includes/class-gce-event.php:500
57
+ #, php-format
58
+ msgid "%s months"
59
+ msgstr "%s mois"
60
+
61
+ #: includes/class-gce-event.php:501
62
+ #, php-format
63
+ msgid "%s week"
64
+ msgstr "%s semaine"
65
+
66
+ #: includes/class-gce-event.php:501
67
+ #, php-format
68
+ msgid "%s weeks"
69
+ msgstr "%s semaines"
70
+
71
+ #: includes/class-gce-event.php:502
72
+ #, php-format
73
+ msgid "%s day"
74
+ msgstr "%s jour"
75
+
76
+ #: includes/class-gce-event.php:502
77
+ #, php-format
78
+ msgid "%s days"
79
+ msgstr "%s jours"
80
+
81
+ #: includes/class-gce-event.php:503
82
+ #, php-format
83
+ msgid "%s hour"
84
+ msgstr "%s heure"
85
+
86
+ #: includes/class-gce-event.php:503
87
+ #, php-format
88
+ msgid "%s hours"
89
+ msgstr "%s heures"
90
+
91
+ #: includes/class-gce-event.php:504
92
+ #, php-format
93
+ msgid "%s min"
94
+ msgstr "%s minute"
95
+
96
+ #: includes/class-gce-event.php:504
97
+ #, php-format
98
+ msgid "%s mins"
99
+ msgstr "%s minutes"
100
+
101
+ #: includes/class-gce-event.php:532
102
+ msgctxt "human_time_diff"
103
+ msgid ", "
104
+ msgstr ", "
105
+
106
+ #: includes/class-gce-feed.php:93
107
+ msgid ""
108
+ "The feed URL has not been set. Please make sure to set it correctly in the "
109
+ "Feed settings."
110
+ msgstr ""
111
+ "Le flux URL n'a pas été défini, Merci de vérifier qu'il le soit dans la "
112
+ "configuration des flux."
113
+
114
+ #: includes/class-gce-feed.php:180
115
+ msgid ""
116
+ "Some data was retrieved, but could not be parsed successfully. Please ensure "
117
+ "your feed URL is correct."
118
+ msgstr ""
119
+ "Des données ont été récupérées, mais elles ne peuvent être interprétées "
120
+ "correctement merci de vérifier que la définition du flux est correcte."
121
+
122
+ #: includes/class-gce-feed.php:186
123
+ msgid ""
124
+ "The feed could not be found (404). Please ensure your feed URL is correct."
125
+ msgstr ""
126
+ "Le flux RSS n'a pas pu être trouvé(error 404). Merci de vérifier que la "
127
+ "définition du flux est correcte."
128
+
129
+ #: includes/class-gce-feed.php:189
130
+ msgid ""
131
+ "Access to this feed was denied (403). Please ensure you have public sharing "
132
+ "enabled for your calendar."
133
+ msgstr ""
134
+ "L'accès au flux a été refusé error 403). Merci de vérifier sur votre/vos "
135
+ "calendrier/s que le partage public des données est activé"
136
+
137
+ #: includes/class-gce-feed.php:192
138
+ #, php-format
139
+ msgid ""
140
+ "The feed data could not be retrieved. Error code: %s. Please ensure your "
141
+ "feed URL is correct."
142
+ msgstr ""
143
+ "Les données du flux n'ont pu être récupérées. Le message d'erreur est : %s. "
144
+ "Merci de vérifier que la configuration de votre flux est correcte."
145
+
146
+ #: includes/class-gce-feed.php:197
147
+ msgid " Please ensure your feed URL is correct."
148
+ msgstr " Merci de vérifier que la configuration de votre flux est correcte."
149
+
150
+ #: includes/gce-feed-cpt.php:21
151
+ msgid "Google Calendar Feeds"
152
+ msgstr "Flux des Calendriers Google"
153
+
154
+ #: includes/gce-feed-cpt.php:22 includes/gce-feed-cpt.php:24
155
+ msgid "Feed"
156
+ msgstr "Flux"
157
+
158
+ #: includes/gce-feed-cpt.php:23
159
+ msgid "GCal Events"
160
+ msgstr "Evènements de GCal"
161
+
162
+ #: includes/gce-feed-cpt.php:25
163
+ msgid "Add New"
164
+ msgstr "Ajouter Nouveau"
165
+
166
+ #: includes/gce-feed-cpt.php:26
167
+ msgid "Add New Feed"
168
+ msgstr "Ajouter un nouveau Flux"
169
+
170
+ #: includes/gce-feed-cpt.php:27
171
+ msgid "New Feed"
172
+ msgstr "Nouveau Flux"
173
+
174
+ #: includes/gce-feed-cpt.php:28
175
+ msgid "Edit Feed"
176
+ msgstr "Editer Flux"
177
+
178
+ #: includes/gce-feed-cpt.php:29
179
+ msgid "View Feed"
180
+ msgstr "Voir flux"
181
+
182
+ #: includes/gce-feed-cpt.php:30
183
+ msgid "All GCal Feeds"
184
+ msgstr "Tous les flux Gcal"
185
+
186
+ #: includes/gce-feed-cpt.php:31
187
+ msgid "Search GCal Feeds"
188
+ msgstr "Chercher flux GCal"
189
+
190
+ #: includes/gce-feed-cpt.php:32
191
+ msgid "No feeds found."
192
+ msgstr "Aucun flux Gcal n'a été trouvé."
193
+
194
+ #: includes/gce-feed-cpt.php:33
195
+ msgid "No feeds found in Trash."
196
+ msgstr "Il n'y a pas de flux dans la corbeille."
197
+
198
+ #: includes/gce-feed-cpt.php:75 includes/gce-feed-cpt.php:76
199
+ #, php-format
200
+ msgid "%4$s updated. %1$sView %2$s%3$s"
201
+ msgstr "%4$s a été mis à jour. %1$sVoir %2$s%3$s"
202
+
203
+ #: includes/gce-feed-cpt.php:77
204
+ #, php-format
205
+ msgid "%4$s published. %1$sView %2$s%3$s"
206
+ msgstr "%4$s a été publié. %1$sVoir %2$s%3$s"
207
+
208
+ #: includes/gce-feed-cpt.php:78
209
+ #, php-format
210
+ msgid "%4$s saved. %1$sView %2$s%3$s"
211
+ msgstr "%4$s a été sauvegardé. %1$sVoir %2$s%3$s"
212
+
213
+ #: includes/gce-feed-cpt.php:79
214
+ #, php-format
215
+ msgid "%4$s submitted. %1$sView %2$s%3$s"
216
+ msgstr "%4$s a été soumis. %1$sVoir %2$s%3$s"
217
+
218
+ #: includes/gce-feed-cpt.php:80
219
+ #, php-format
220
+ msgid "%4$s draft updated. %1$sView %2$s%3$s"
221
+ msgstr "le brouillon de %4$s a été mis à jour. %1$sVoir %2$s%3$s"
222
+
223
+ #: includes/register-settings.php:29
224
+ msgid "Save Settings"
225
+ msgstr "Sauvegarder la configuration"
226
+
227
+ #: includes/register-settings.php:30
228
+ msgid ""
229
+ "Save your settings when uninstalling this plugin. Useful when upgrading or "
230
+ "re-installing."
231
+ msgstr ""
232
+ "Sauvegarder votre configuration quand vous désinstallez le plugin. Utile "
233
+ "lors des mises à jour ou réinstallations."
234
+
235
+ #: includes/register-settings.php:132
236
+ #, php-format
237
+ msgid ""
238
+ "The callback function used for the <strong>%s</strong> setting is missing."
239
+ msgstr ""
240
+ "La fonction de callback/rappel utilisée pour la configuration de <strong>%s</"
241
+ "strong> est manquante"
242
+
243
+ #: includes/admin/admin-functions.php:20
244
+ msgid "Cache has been cleared for this feed."
245
+ msgstr "Le cache a été vidé pour ce flux."
246
+
247
+ #: views/widgets.php:28
248
+ msgid ""
249
+ "Display a list or calendar grid of events from one or more Google Calendar "
250
+ "feeds you have added"
251
+ msgstr ""
252
+ "Affiche une liste ou une grille d'évènements pour un ou plusieurs flux "
253
+ "Calendrier Google que vous avez ajoutés"
254
+
255
+ #: views/widgets.php:72
256
+ msgid ""
257
+ "No valid Feed IDs have been entered for this widget. Please check that you "
258
+ "have entered the IDs correctly in the widget settings (Appearance > "
259
+ "Widgets), and that the Feeds have not been deleted."
260
+ msgstr ""
261
+ "Aucun ID de flux valide n'a été ajouté pour ce widget. Merci de vérifier que "
262
+ "l'ID du flux est correcte dans la configuration du widget (Apparance > "
263
+ "Widgets) et que les flux n'ont pas été supprimés."
264
+
265
+ #: views/widgets.php:104
266
+ msgid "You have not added any feeds yet."
267
+ msgstr "Aucun flux n'a encore été ajouté"
268
+
269
+ #: views/widgets.php:142
270
+ msgid "There are no feeds created yet."
271
+ msgstr "Aucun flux n'a encore été créé."
272
+
273
+ #: views/widgets.php:143
274
+ msgid "Add your first feed!"
275
+ msgstr "Ajouter votre premier flux Gcal."
276
+
277
+ #: views/widgets.php:163
278
+ msgid "Feeds to display, as a comma separated list (e.g. 101,102,103)"
279
+ msgstr ""
280
+ "Les flux Gcal à afficher doivent l'être sous forme de liste séparés par une "
281
+ "virgule (par exemple: 101,102,103)"
282
+
283
+ #: views/widgets.php:168
284
+ msgid "Display events as:"
285
+ msgstr "Montrer évènements comme:"
286
+
287
+ #: views/widgets.php:170 views/admin/gce-feed-meta-display.php:181
288
+ msgid "Grid"
289
+ msgstr "Grille"
290
+
291
+ #: views/widgets.php:171
292
+ msgid "Calendar Grid - with AJAX"
293
+ msgstr "Calendrier sous forme de grille avec AJAX"
294
+
295
+ #: views/widgets.php:172 views/admin/gce-feed-meta-display.php:182
296
+ msgid "List"
297
+ msgstr "Liste"
298
+
299
+ #: views/widgets.php:173 views/admin/gce-feed-meta-display.php:183
300
+ msgid "Grouped List"
301
+ msgstr "Liste groupée"
302
+
303
+ #: views/widgets.php:178
304
+ msgid "Maximum no. events to display. Enter 0 to show all retrieved."
305
+ msgstr ""
306
+ "Nombre maximum d'évènements à afficher. Entrez la valeur 0 pour afficher "
307
+ "tous les évènements trouvés."
308
+
309
+ #: views/widgets.php:183
310
+ msgid "Sort order (only applies to lists):"
311
+ msgstr "Critère de tri (Applicable seulemnent pour les listes):"
312
+
313
+ #: views/widgets.php:185
314
+ msgid "Ascending"
315
+ msgstr "Ascendant"
316
+
317
+ #: views/widgets.php:186
318
+ msgid "Descending"
319
+ msgstr "Descendant"
320
+
321
+ #: views/widgets.php:190
322
+ msgid ""
323
+ "Display title on tooltip / list item (e.g. 'Events on 7th March') Grouped "
324
+ "lists always have a title displayed."
325
+ msgstr ""
326
+ "Montrer le titre dans l'info-bulle (tooltip) ou l'élément de la liste "
327
+ "groupée (par exemple, 'Evènements du 7 mars'). Les listes groupées ont "
328
+ "toujours le titre affiché."
329
+
330
+ #: views/admin/display-options-meta.php:39
331
+ msgid ""
332
+ "Check this box to use the simple display options below instead of the Event "
333
+ "Builder code on the left."
334
+ msgstr ""
335
+ "Cochez cette case pour utiliser les options de présentation simplifiée au "
336
+ "lieu du Constructeur d'évènements à gauche."
337
+
338
+ #: views/admin/display-options-meta.php:44
339
+ msgid "Start date / time display"
340
+ msgstr "Presentation de la date et heure de début"
341
+
342
+ #: views/admin/display-options-meta.php:45
343
+ msgid "Select how to display the start date / time."
344
+ msgstr "Choisir comment afficher la date et heure de début."
345
+
346
+ #: views/admin/display-options-meta.php:47
347
+ #: views/admin/display-options-meta.php:61
348
+ msgid "None"
349
+ msgstr "Aucun"
350
+
351
+ #: views/admin/display-options-meta.php:48
352
+ msgid "Start time"
353
+ msgstr "Heure de début"
354
+
355
+ #: views/admin/display-options-meta.php:49
356
+ msgid "Start date"
357
+ msgstr "Date de début"
358
+
359
+ #: views/admin/display-options-meta.php:50
360
+ msgid "Start time and date"
361
+ msgstr "Heure et date de début"
362
+
363
+ #: views/admin/display-options-meta.php:51
364
+ msgid "Start date and time"
365
+ msgstr "Date et heure de début"
366
+
367
+ #: views/admin/display-options-meta.php:53
368
+ msgid "Text to display before the start time."
369
+ msgstr "Texte à afficher avant l'heure de début."
370
+
371
+ #: views/admin/display-options-meta.php:58
372
+ msgid "End time/date display"
373
+ msgstr "Affichage de la date et heure de fin"
374
+
375
+ #: views/admin/display-options-meta.php:59
376
+ msgid "Select how to display the end date / time."
377
+ msgstr "Choisir comment afficher la date et heure de fin."
378
+
379
+ #: views/admin/display-options-meta.php:62
380
+ msgid "End time"
381
+ msgstr "Heure de fin"
382
+
383
+ #: views/admin/display-options-meta.php:63
384
+ msgid "End date"
385
+ msgstr "Date de fin"
386
+
387
+ #: views/admin/display-options-meta.php:64
388
+ msgid "End time and date"
389
+ msgstr "Heure et date de fin"
390
+
391
+ #: views/admin/display-options-meta.php:65
392
+ msgid "End date and time"
393
+ msgstr "Date et heure de fin"
394
+
395
+ #: views/admin/display-options-meta.php:67
396
+ msgid "Text to display before the end time."
397
+ msgstr "Texte à afficher avant l'heure de fin."
398
+
399
+ #: views/admin/display-options-meta.php:72
400
+ msgid "Separator"
401
+ msgstr "Séparateur"
402
+
403
+ #: views/admin/display-options-meta.php:74
404
+ msgid ""
405
+ "If you have chosen to display both the time and date above, enter the text / "
406
+ "characters to display between the time and date here (including any spaces)."
407
+ msgstr ""
408
+ "Si vous avez choisi d'afficher à la fois l'heure et la date ci-dessus, Merci "
409
+ "d'entrez les caractères à afficher entre la date et l'heure ici(avec les "
410
+ "espaces)."
411
+
412
+ #: views/admin/display-options-meta.php:88
413
+ msgid "Description"
414
+ msgstr "Description"
415
+
416
+ #: views/admin/display-options-meta.php:91
417
+ msgid ""
418
+ "Show the description of events? (URLs in the description will be made into "
419
+ "links)."
420
+ msgstr ""
421
+ "Afficher la description des évènements? (les URLs des descritions sont "
422
+ "converties en liens)."
423
+
424
+ #: views/admin/display-options-meta.php:93
425
+ msgid "Text to display before the description."
426
+ msgstr "Texte à afficher avant la description."
427
+
428
+ #: views/admin/display-options-meta.php:95
429
+ msgid ""
430
+ "Maximum number of words to show from description. Leave blank for no limit."
431
+ msgstr ""
432
+ "Nombre maximum de mots à afficher de la description. Laisser le champ vide "
433
+ "si vous ne voulez aucune limite."
434
+
435
+ #: views/admin/display-options-meta.php:100
436
+ msgid "Event Link"
437
+ msgstr "Lien de l'évènement"
438
+
439
+ #: views/admin/display-options-meta.php:103
440
+ msgid "Show a link to the Google Calendar page for an event?"
441
+ msgstr "Mettre le lien vers la page de Google Calendar pour un évènement?"
442
+
443
+ #: views/admin/display-options-meta.php:107
444
+ msgid "Links open in a new window / tab?"
445
+ msgstr "Ouvrir le lien dans une nouvelle fenêtre?"
446
+
447
+ #: views/admin/display-options-meta.php:109
448
+ msgid "The link text to be displayed."
449
+ msgstr "Le texte du lien à afficher"
450
+
451
+ #: views/admin/gce-feed-meta-display.php:38
452
+ msgid ""
453
+ "We're <strong>smack dab</strong> in the middle of building additional "
454
+ "features for this plugin. Have ideas?"
455
+ msgstr ""
456
+ "Nous sommes actuellement en train d'ajouter des fonctionnalités "
457
+ "supplémentaires pour ce plugin.Des suggestions?"
458
+
459
+ #: views/admin/gce-feed-meta-display.php:41
460
+ msgid "Visit our roadmap and tell us what you're looking for"
461
+ msgstr "Visitez notre plan de route et dites-nous ce que vous recherchez"
462
+
463
+ #: views/admin/gce-feed-meta-display.php:47
464
+ msgid "Want to know when we release something new?"
465
+ msgstr "Vous souhaitez être tenu informé des mises à jour?"
466
+
467
+ #: views/admin/gce-feed-meta-display.php:50
468
+ msgid "Get notified of major plugin updates"
469
+ msgstr "Soyez informés des mises à jour du plugin"
470
+
471
+ #: views/admin/gce-feed-meta-display.php:57
472
+ msgid "Feed Shortcode"
473
+ msgstr "Raccourci de commande du Flux"
474
+
475
+ #: views/admin/gce-feed-meta-display.php:60
476
+ msgid ""
477
+ "Copy and paste this shortcode to display this Google Calendar feed in any "
478
+ "post or page."
479
+ msgstr ""
480
+ "Copier/collez ce raccourci de commande pour afficher ce flux de Google "
481
+ "Calendar dans n'importe quel post ou page."
482
+
483
+ #: views/admin/gce-feed-meta-display.php:64
484
+ msgid "GCal Feed URL"
485
+ msgstr "URL du flux GCal"
486
+
487
+ #: views/admin/gce-feed-meta-display.php:68
488
+ msgid "The Google Calendar feed URL."
489
+ msgstr "L'URL du flux Google Calendar."
490
+
491
+ #: views/admin/gce-feed-meta-display.php:69
492
+ msgid "Example"
493
+ msgstr "Exemple"
494
+
495
+ #: views/admin/gce-feed-meta-display.php:70
496
+ msgid "How to find your GCal feed URL"
497
+ msgstr "Comment trouver l'URL du flux GCal"
498
+
499
+ #: views/admin/gce-feed-meta-display.php:76
500
+ msgid "Search Query"
501
+ msgstr "Requête de recherche"
502
+
503
+ #: views/admin/gce-feed-meta-display.php:79
504
+ msgid "Find and show events based on a search query."
505
+ msgstr ""
506
+ "Trouver et afficher les évènements à partir de la requête de recherche."
507
+
508
+ #: views/admin/gce-feed-meta-display.php:84
509
+ msgid "Expand Recurring Events?"
510
+ msgstr "Evènements récurrents étendus?"
511
+
512
+ #: views/admin/gce-feed-meta-display.php:86
513
+ msgid "Yes"
514
+ msgstr "Oui"
515
+
516
+ #: views/admin/gce-feed-meta-display.php:87
517
+ msgid ""
518
+ "This will show recurring events each time they occur, otherwise it will only "
519
+ "show the event the first time it occurs."
520
+ msgstr ""
521
+ "cette option affiche les évènements récurrents chaque fois qu'ils se "
522
+ "produisent; Sinon, ils ne sont affichés que pour leur première occurence."
523
+
524
+ #: views/admin/gce-feed-meta-display.php:92
525
+ msgid "Retrieve Events From"
526
+ msgstr "Recupérer les évènements depuis"
527
+
528
+ #: views/admin/gce-feed-meta-display.php:95
529
+ #: views/admin/gce-feed-meta-display.php:111
530
+ msgid "Today"
531
+ msgstr "Aujourd'hui"
532
+
533
+ #: views/admin/gce-feed-meta-display.php:96
534
+ #: views/admin/gce-feed-meta-display.php:112
535
+ msgid "Start of current week"
536
+ msgstr "Début de la semaine courante"
537
+
538
+ #: views/admin/gce-feed-meta-display.php:97
539
+ #: views/admin/gce-feed-meta-display.php:113
540
+ msgid "Start of current month"
541
+ msgstr "Début du mois courant"
542
+
543
+ #: views/admin/gce-feed-meta-display.php:98
544
+ #: views/admin/gce-feed-meta-display.php:114
545
+ msgid "End of current month"
546
+ msgstr "Fin du mois courant"
547
+
548
+ #: views/admin/gce-feed-meta-display.php:99
549
+ msgid "The beginning of time"
550
+ msgstr "Le tout début"
551
+
552
+ #: views/admin/gce-feed-meta-display.php:100
553
+ #: views/admin/gce-feed-meta-display.php:116
554
+ msgid "Specific date"
555
+ msgstr "Date spécifique"
556
+
557
+ #: views/admin/gce-feed-meta-display.php:103
558
+ msgid "The point in time at which to start retrieving events."
559
+ msgstr "La date de départ à partir de laquelle on récupère les évènements."
560
+
561
+ #: views/admin/gce-feed-meta-display.php:108
562
+ msgid "Retrieve Events Until"
563
+ msgstr "Récupérer les évènements jusqu'à"
564
+
565
+ #: views/admin/gce-feed-meta-display.php:115
566
+ msgid "The end of time"
567
+ msgstr "La fin des temps"
568
+
569
+ #: views/admin/gce-feed-meta-display.php:119
570
+ msgid "The point in time at which to stop retrieving events."
571
+ msgstr "La date à partir de quand on arrête de récupérer les évènements."
572
+
573
+ #: views/admin/gce-feed-meta-display.php:124
574
+ msgid "Max Number of Events"
575
+ msgstr "Nombre max d'évènements"
576
+
577
+ #: views/admin/gce-feed-meta-display.php:127
578
+ msgid "Maximum number of events to show."
579
+ msgstr "Nombre maximum d'évènements à afficher"
580
+
581
+ #: views/admin/gce-feed-meta-display.php:132
582
+ msgid "Date Format"
583
+ msgstr "Format de date"
584
+
585
+ #: views/admin/gce-feed-meta-display.php:136
586
+ #: views/admin/gce-feed-meta-display.php:147
587
+ #, php-format
588
+ msgid "Use %sPHP date formatting%s."
589
+ msgstr "Utiliser le %sformat de date de PHP%s."
590
+
591
+ #: views/admin/gce-feed-meta-display.php:137
592
+ msgctxt "References the Date Format option"
593
+ msgid "Leave blank to use the default."
594
+ msgstr "Laisser en blanc pour utiliser les valeurs par défaut."
595
+
596
+ #: views/admin/gce-feed-meta-display.php:143
597
+ msgid "Time Format"
598
+ msgstr "Format d'heure"
599
+
600
+ #: views/admin/gce-feed-meta-display.php:148
601
+ msgctxt "References the Time Format option"
602
+ msgid "Leave blank to use the default."
603
+ msgstr "Laisser en blanc pour utiliser les valeurs par défaut."
604
+
605
+ #: views/admin/gce-feed-meta-display.php:154
606
+ msgid "Timezone Adjustment"
607
+ msgstr "Ajustement de fuseau horaire"
608
+
609
+ #: views/admin/gce-feed-meta-display.php:157
610
+ msgid ""
611
+ "If you are having problems with dates and times displaying in the wrong "
612
+ "timezone, select a city in your required timezone here."
613
+ msgstr ""
614
+ "Si vous avez des problèmes d'affichage de date et d'heure, dans le mauvais "
615
+ "fuseau horaire Selectionner une ville qui appartient au fuseau horaire "
616
+ "requis ici."
617
+
618
+ #: views/admin/gce-feed-meta-display.php:162
619
+ msgid "Cache Duration"
620
+ msgstr "Durée du cache"
621
+
622
+ #: views/admin/gce-feed-meta-display.php:165
623
+ msgid ""
624
+ "The length of time, in seconds, to cache the feed (43200 = 12 hours). If "
625
+ "this feed changes regularly, you may want to reduce the cache duration."
626
+ msgstr ""
627
+ "La durée de temps, en secondes, pour maintenir le Flux en cache (43200 = 12 "
628
+ "heures). Si ce flux change fréquemment, vous pouvez réduire la durée du "
629
+ "cache."
630
+
631
+ #: views/admin/gce-feed-meta-display.php:170
632
+ msgid "Multiple Day Events"
633
+ msgstr "Evènements sur plusieurs jours"
634
+
635
+ #: views/admin/gce-feed-meta-display.php:172
636
+ msgid "Show on each day"
637
+ msgstr "Montrer sur chaque jour"
638
+
639
+ #: views/admin/gce-feed-meta-display.php:173
640
+ msgid ""
641
+ "Show events that span multiple days on each day that they span, rather than "
642
+ "just the first day."
643
+ msgstr ""
644
+ "Montrer les évènements ayant lieu sur plusieurs jours,sur chaque jour plutôt "
645
+ "que sur le seul premier jour."
646
+
647
+ #: views/admin/gce-feed-meta-display.php:178
648
+ msgid "Display Mode"
649
+ msgstr "Mode d'affichage"
650
+
651
+ #: views/admin/gce-feed-meta-display.php:185
652
+ msgid "Choose how you want your calendar to be displayed."
653
+ msgstr "Choisir comment vous voulez afficher votre calendrier."
654
+
655
+ #: views/admin/gce-feed-meta-display.php:190
656
+ #: views/admin/gce-feed-meta-display.php:192
657
+ msgid "Clear Cache"
658
+ msgstr "Vider le cache"
659
+
660
+ #: views/admin/gce-feed-meta-display.php:195
661
+ #, php-format
662
+ msgid ""
663
+ "This will clear your feed cache. This also automatically happens when you "
664
+ "save your changes. %sIf you make changes you %sMUST%s save first or your "
665
+ "changes will be lost."
666
+ msgstr ""
667
+ "Ceci va vider le cache de votre flux. Cela arrive automatiquement quand vous "
668
+ "sauvez vos changements. %sSi vous faites des changements vous , %sDEVEZ%s "
669
+ "sauvegarder en premier lieu, ou vos modifications seront perdues."
670
+
671
+ #: views/admin/gce-feed-sidebar-help.php:6
672
+ msgid "Documentation & Getting Started"
673
+ msgstr "Documentation et guide de démarrage"
674
+
675
+ #: views/admin/gce-feed-sidebar-help.php:12
676
+ msgid "Community Support Forums"
677
+ msgstr "Forum de support communautaire"
678
+
679
+ #: views/admin/gce-feed-sidebar-help.php:18
680
+ msgid "Get Notified of Major Updates"
681
+ msgstr "Soyez informés des mises à jour principales"
682
+
683
+ #: views/admin/gce-feed-sidebar-help.php:24
684
+ msgid "Now Accepting 5-Star Reviews!"
685
+ msgstr "Nous acceptons la notation 5 étoiles!"
686
+
687
+ #~ msgid "The XML URL to your feed."
688
+ #~ msgstr "L'URL XML de votre flux."
689
+
690
+ #~ msgid "Feed Title"
691
+ #~ msgstr "Titre du Flux"
692
+
693
+ #~ msgid "Display Options"
694
+ #~ msgstr "Options d'affichage"
695
+
696
+ #~ msgid "Select display customization method"
697
+ #~ msgstr "Selectionner la méthode de personalisation de l'affichage"
698
+
699
+ #~ msgid "Event Display Builder"
700
+ #~ msgstr "Constructeur d'affichage d'évènements"
701
+
702
+ #~ msgid "Event display builder HTML and shortcodes"
703
+ #~ msgstr "HTML et raccourci de cde du constructeur d'affichage d'évènements"
704
+
705
+ #~ msgid "Simple Display Options"
706
+ #~ msgstr "Options d'affichage simplifié"
707
+
708
+ #~ msgid "Separator text / characters"
709
+ #~ msgstr "Texte de separation / caractères"
710
+
711
+ #~ msgid "Display location?"
712
+ #~ msgstr "Afficher le lieu?"
713
+
714
+ #~ msgid "Display link to event?"
715
+ #~ msgstr "Afficher le lien de l'évènement?"
716
+
717
+ #~ msgid "Enter the feed details below, then click the Add Feed button."
718
+ #~ msgstr ""
719
+ #~ "Entrez ci-après les détails du flux. Puis, cliquer sur le bouton Ajouter "
720
+ #~ "Flux."
721
+
722
+ #~ msgid "Anything you like. 'Upcoming Club Events', for example."
723
+ #~ msgstr ""
724
+ #~ "Ce que vous souhaitez. Par exemple: \"Prochains évènements du Club\"."
725
+
726
+ #~ msgid "This will probably be something like:"
727
+ #~ msgstr "Ce sera probablement quelquechose comme:"
728
+
729
+ #~ msgid "or:"
730
+ #~ msgstr "ou:"
731
+
732
+ #~ msgid ""
733
+ #~ "The point in time at which to start retrieving events. Use the text-box "
734
+ #~ "to specify an additional offset from you chosen start point. The offset "
735
+ #~ "should be provided in seconds (3600 = 1 hour, 86400 = 1 day) and can be "
736
+ #~ "negative. If you have selected the 'Specific date / time' option, enter a"
737
+ #~ msgstr ""
738
+ #~ "La date à partir de laquelle vous souhaitez retrouver les évènements. "
739
+ #~ "Utilisez le champ-texte pour préciser le temps additionnel à ajouter à la "
740
+ #~ "date de départ.Le temps additionel doit être précisé en secondes (3600 = "
741
+ #~ "1 heure, 86400 = 1 jour), Et cela ne peut être un chiffre négatif. Si "
742
+ #~ "vous avez sélectionné l'option 'Date et heure spécifique', entrez un"
743
+
744
+ #~ msgid "UNIX timestamp"
745
+ #~ msgstr "Format de date et heure UNIX"
746
+
747
+ #~ msgid "in the text-box."
748
+ #~ msgstr "dans le champ-texte."
749
+
750
+ #~ msgid "Now"
751
+ #~ msgstr "Maintenant"
752
+
753
+ #~ msgid "00:00 today"
754
+ #~ msgstr "A 00:00 aujourd'hui"
755
+
756
+ #~ msgid ""
757
+ #~ "Set this to a few more than you actually want to display (due to caching "
758
+ #~ "and timezone issues). The exact number to display can be configured per "
759
+ #~ "shortcode / widget."
760
+ #~ msgstr ""
761
+ #~ "Définir cette option avec une valeur un peu plus grande que celle que "
762
+ #~ "vous souhaitez réellementafficher(ceci est du aux problèmes de cache et "
763
+ #~ "de zone horaire le chiffre exact à afficher peut être configurée "
764
+ #~ "parraccourci de commande ou widgets."
765
+
766
+ #~ msgid ""
767
+ #~ "In <a href=\"http://php.net/manual/en/function.date.php\" target=\"_blank"
768
+ #~ "\">PHP date format</a>. Leave this blank if you'd rather stick with the "
769
+ #~ "default format for your blog."
770
+ #~ msgstr ""
771
+ #~ "Dans <a href=\"http://php.net/manual/en/function.date.php\" target="
772
+ #~ "\"_blank\">le format de date de PHP</a>. Laisser ce champ vide si vous "
773
+ #~ "préférezutiliser le format de date par défauté pour votre site web."
774
+
775
+ #~ msgid ""
776
+ #~ "In <a href=\"http://php.net/manual/en/function.date.php\" target=\"_blank"
777
+ #~ "\">PHP date format</a>. Again, leave this blank to stick with the default."
778
+ #~ msgstr ""
779
+ #~ "Dans <a href=\"http://php.net/manual/en/function.date.php\" target="
780
+ #~ "\"_blank\">le format de date PHP</a>. De nouveau, laissez ce champ vide "
781
+ #~ "si vous préférez utiliser le format de date par défaut."
782
+
783
+ #~ msgid ""
784
+ #~ "These settings control what information will be displayed for this feed "
785
+ #~ "in the tooltip (for grids), or in a list."
786
+ #~ msgstr ""
787
+ #~ "Ces options contrôlent quelle information sera affichée pour ce flux dans "
788
+ #~ "l'info-bulle (pour les grilles), ou dans une liste."
789
+
790
+ #~ msgid ""
791
+ #~ "It is recommended that you use the event display builder option, as it "
792
+ #~ "provides much more flexibility than the simple display options. The event "
793
+ #~ "display builder can do everything the simple display options can, plus "
794
+ #~ "lots more!"
795
+ #~ msgstr ""
796
+ #~ "Il est recommandé d'utiliser le constructeur de présentation "
797
+ #~ "d'évènemementscar il fournit plus de flexibilité que les options "
798
+ #~ "d'affichage simplifiéle constructeur de présentation d'évènements fait "
799
+ #~ "tout ce que fontles options d'affichage simplifié et plus encore !!"
800
+
801
+ #~ msgid "Event display builder"
802
+ #~ msgstr "Constructeur de presentation d'évènements"
803
+
804
+ #~ msgid "Simple display options"
805
+ #~ msgstr "Options d'affichage simplifié"
806
+
807
+ #~ msgid ""
808
+ #~ "Use the event display builder to customize how event information will be "
809
+ #~ "displayed in the grid tooltips and in lists. Use HTML and the shortcodes "
810
+ #~ "(explained below) to display the information you require. A basic example "
811
+ #~ "display format is provided as a starting point. For more information, "
812
+ #~ "take a look at the"
813
+ #~ msgstr ""
814
+ #~ "Utiliser le constructeur de présentation d'évènements pour "
815
+ #~ "personnaliserla forme de présentation des évènements dans les info-bulles "
816
+ #~ "ou les listesUtiliser HTML ou les raccourcis de commande(explication ci-"
817
+ #~ "dessous) pour afficher l'information désirée. Un exemple basique : le "
818
+ #~ "format d'affichage est fourni comme point de départ. Regardez le point à "
819
+
820
+ #~ msgid "event display builder guide"
821
+ #~ msgstr "Guide du constructeur de presentation d'évènements"
822
+
823
+ #~ msgid ""
824
+ #~ "(More information on all of the below shortcodes and attributes, and "
825
+ #~ "working examples, can be found in the"
826
+ #~ msgstr ""
827
+ #~ "Plus d'informations sur les raccourcis de commande et attributs , et et "
828
+ #~ "exemples d'utilisation, apeuvent se trouver , à l'adresse suivante"
829
+
830
+ #~ msgid "Event information shortcodes:"
831
+ #~ msgstr "Raccourcis de commande d'information des évènements:"
832
+
833
+ #~ msgid ""
834
+ #~ "The event title (possible attributes: <code>html</code>, <code>markdown</"
835
+ #~ "code>)"
836
+ #~ msgstr ""
837
+ #~ "le titre de l'évènements (attributs possibles : <code>html</code>, "
838
+ #~ "<code>markdown</code>)"
839
+
840
+ #~ msgid ""
841
+ #~ "The event start time. Will use the time format specified in the above "
842
+ #~ "settings"
843
+ #~ msgstr ""
844
+ #~ "L'heure de début de l'évènement. Utiliser le format de date spécifiéDans "
845
+ #~ "les options précédentes"
846
+
847
+ #~ msgid ""
848
+ #~ "The event start date. Will use the date format specified in the above "
849
+ #~ "settings"
850
+ #~ msgstr ""
851
+ #~ "La date de début de l'évènement.Utiliser le format de date spécifié Dans "
852
+ #~ "les options précédentes"
853
+
854
+ #~ msgid ""
855
+ #~ "The event start date / time. Will use the format specified in the "
856
+ #~ "<code>format</code> attribute (possible attributes: <code>format</code>)"
857
+ #~ msgstr ""
858
+ #~ "La date et heure de début de l'évènement. Utilisera le format spécifié "
859
+ #~ "dans l'attribut <code>format</code>(attributs possibles : <code>format</"
860
+ #~ "code>)"
861
+
862
+ #~ msgid ""
863
+ #~ "The difference between the start time of the event and the time now, in "
864
+ #~ "human-readable format, such as '1 hour', '4 days', '15 mins' (possible "
865
+ #~ "attributes: <code>precision</code>)"
866
+ #~ msgstr ""
867
+ #~ "La différence entre l'heure de début de l'évènement et l'heure actuelle,"
868
+ #~ "en un format lisible pour l'homme, comme '1 heure', '4 jours', '15 "
869
+ #~ "minutes (attributs possibles: <code>precision</code>)"
870
+
871
+ #~ msgid ""
872
+ #~ "The event end time. Will use the time format specified in the above "
873
+ #~ "settings"
874
+ #~ msgstr ""
875
+ #~ "L'heure de fin de l'évènement. Uiliser le format d'heure spécifié dans "
876
+ #~ "les options précédentes"
877
+
878
+ #~ msgid ""
879
+ #~ "The event end date. Will use the date format specified in the above "
880
+ #~ "settings"
881
+ #~ msgstr ""
882
+ #~ "La date de fin de l'évènements. Utilisera le format d'heure spécifié dans "
883
+ #~ "les options précédentes"
884
+
885
+ #~ msgid ""
886
+ #~ "The event end date / time. Will use the format specified in the "
887
+ #~ "<code>format</code> attribute (possible attributes: <code>format</code>)"
888
+ #~ msgstr ""
889
+ #~ "La date de fin de l'évènements. Utilisera le format d'heure spécifié dans "
890
+ #~ "l'attribut <code>format</code> (attributs possibles: <code>format</code>)"
891
+
892
+ #~ msgid ""
893
+ #~ "The difference between the end time of the event and the time now, in "
894
+ #~ "human-readable format (possible attributes: <code>precision</code>)"
895
+ #~ msgstr ""
896
+ #~ "La différence entre l'heure de début de l'évènement et l'heure actuelle,"
897
+ #~ "en un format lisible pour l'homme, comme '1 heure', '4 jours', '15 "
898
+ #~ "minutes (attributs possibles: <code>precision</code>)"
899
+
900
+ #~ msgid ""
901
+ #~ "The event location (possible attributes: <code>html</code>, "
902
+ #~ "<code>markdown</code>)"
903
+ #~ msgstr ""
904
+ #~ "Le lieu de l'évènement(attributs possibles: <code>html</code>, "
905
+ #~ "<code>markdown</code>)"
906
+
907
+ #~ msgid ""
908
+ #~ "Anything between the opening and closing shortcode tags (inlcuding "
909
+ #~ "further shortcodes) will be linked to Google Maps, using the event "
910
+ #~ "location as a search parameter (possible attributes: <code>newwindow</"
911
+ #~ "code>)"
912
+ #~ msgstr ""
913
+ #~ "N'importe quoi entre les étiquettes de raccourci de commande d'ouverture "
914
+ #~ "et de fermeture(y compris raccourci de commandes additionnels) qui sera "
915
+ #~ "lié avec Google Maps, utilisant le lieu de l'évènements comme paramètre "
916
+ #~ "de recherche (attributs possibles: <code>newwindow</code>)"
917
+
918
+ #~ msgid ""
919
+ #~ "The event description (possible attributes: <code>html</code>, "
920
+ #~ "<code>markdown</code>, <code>limit</code>)"
921
+ #~ msgstr ""
922
+ #~ "La description de l'évènement(attributs possibles: <code>html</code>, "
923
+ #~ "<code>markdown</code>, <code>limit</code>)"
924
+
925
+ #~ msgid ""
926
+ #~ "Anything between the opening and closing shortcode tags (inlcuding "
927
+ #~ "further shortcodes) will be linked to the Google Calendar page for the "
928
+ #~ "event (possible attributes: <code>newwindow</code>)"
929
+ #~ msgstr ""
930
+ #~ "N'importe quoi entre les étiquettes de raccourci de commande d'ouverture "
931
+ #~ "et de fermeture(y compris raccourci de commandes additionnels) qui sera "
932
+ #~ "lié avec la page de l'évènement de Google Calendar (attributs possibles: "
933
+ #~ "<code>newwindow</code>)"
934
+
935
+ #~ msgid "The raw URL to the Google Calendar page for the event"
936
+ #~ msgstr "L'URL en format brut de la page de Google Calendar pour l'évènement"
937
+
938
+ #~ msgid ""
939
+ #~ "The length of the event, in human-readable format (possible attributes: "
940
+ #~ "<code>precision</code>)"
941
+ #~ msgstr ""
942
+ #~ "La durée de l'évènement en un format lisible pour l'être humain "
943
+ #~ "(attributs possibles: <code>precision</code>)"
944
+
945
+ #~ msgid ""
946
+ #~ "The position of the event in the current list, or the position of the "
947
+ #~ "event in the current month (for grids)"
948
+ #~ msgstr ""
949
+ #~ "La position de l'évènement dans la liste actuelle, ou la position de "
950
+ #~ "l'évènement dans le mois courant (pour les grilles)"
951
+
952
+ #~ msgid "The event UID (a unique identifier assigned to the event by Google)"
953
+ #~ msgstr ""
954
+ #~ "l'UID de l'évènement un identifiant unique assigné à l'évènement par "
955
+ #~ "Google)"
956
+
957
+ #~ msgid "The title of the feed from which the event comes"
958
+ #~ msgstr "Le tire du flux d'où provient l'évènement "
959
+
960
+ #~ msgid "The ID of the feed from which the event comes"
961
+ #~ msgstr "l'ID du flux d'où provient l'évènement"
962
+
963
+ #~ msgid ""
964
+ #~ "The calendar ID (a unique identifier assigned to the calendar by Google)"
965
+ #~ msgstr ""
966
+ #~ "l'ID du calendrier (un identifiant unique, assigné au calendrier par "
967
+ #~ "Google)"
968
+
969
+ #~ msgid "Conditional shortcodes:"
970
+ #~ msgstr "Raccourcis de commande additionels:"
971
+
972
+ #~ msgid ""
973
+ #~ "Anything entered between the opening and closing tags of each of the "
974
+ #~ "following shortcodes will only be displayed if its condition (below) is "
975
+ #~ "met."
976
+ #~ msgstr ""
977
+ #~ "Ce qui a été entré entre les étiquettes d'ouverture et de fermeture des "
978
+ #~ "raccourcis de commande suivants sera affiché si les les conditions "
979
+ #~ "suivantes sont remplies "
980
+
981
+ #~ msgid "The event is an all-day event"
982
+ #~ msgstr "L'évènement dure toute la journée"
983
+
984
+ #~ msgid "The event is not an all-day event"
985
+ #~ msgstr "L'évènement ne dure pas toute la journée"
986
+
987
+ #~ msgid "The event has a title"
988
+ #~ msgstr "L'évènement a un titre"
989
+
990
+ #~ msgid "The event has a description"
991
+ #~ msgstr "L'évènement a une description"
992
+
993
+ #~ msgid "The event has a location"
994
+ #~ msgstr "L'évènement a un lieu"
995
+
996
+ #~ msgid "The event is to be displayed in a tooltip (not a list)"
997
+ #~ msgstr ""
998
+ #~ "L'évènement doit être affiché dans une info-bulle (et non une liste)"
999
+
1000
+ #~ msgid "The event is to be displayed in a list (not a tooltip)"
1001
+ #~ msgstr ""
1002
+ #~ "L'évènement doit être affiché dans une liste (et pas une info-bulle)"
1003
+
1004
+ #~ msgid ""
1005
+ #~ "The event is taking place now (after the start time, but before the end "
1006
+ #~ "time)"
1007
+ #~ msgstr ""
1008
+ #~ "L'évènement a lieu maintenant (Après l'heure de début, mais avant l'heure "
1009
+ #~ "de fin)"
1010
+
1011
+ #~ msgid ""
1012
+ #~ "The event is not taking place now (may have ended or not yet started)"
1013
+ #~ msgstr ""
1014
+ #~ "L'évènement n'a pas lieu maintenant (soit il est terminé, soit il n'a pas "
1015
+ #~ "encore commencé)"
1016
+
1017
+ #~ msgid "The event has started (even if it has also ended)"
1018
+ #~ msgstr "L'évènement a débuté (même s'il est déjà terminé)"
1019
+
1020
+ #~ msgid "The event has not started"
1021
+ #~ msgstr "L'évènement n'a pas commencé"
1022
+
1023
+ #~ msgid "The event has ended"
1024
+ #~ msgstr "l'évènement est terminé"
1025
+
1026
+ #~ msgid "The event has not ended (even if it hasn't started)"
1027
+ #~ msgstr "L'évènement n'est pas terminé (y compris s'il n'a pas commencé)"
1028
+
1029
+ #~ msgid "The event is the first of the day"
1030
+ #~ msgstr "L'évènement est le premier de la journée"
1031
+
1032
+ #~ msgid "The event is not the first of the day"
1033
+ #~ msgstr "l'évènement n'est pas le premier du jour"
1034
+
1035
+ #~ msgid "The event spans multiple days"
1036
+ #~ msgstr "l'évènement s'étend sur plusieurs jours"
1037
+
1038
+ #~ msgid "The event does not span multiple days"
1039
+ #~ msgstr "l'évènement ne s'étend pas sur plusieurs jours"
1040
+
1041
+ #~ msgid "Attributes:"
1042
+ #~ msgstr "Attrubuts:"
1043
+
1044
+ #~ msgid "The possible attributes mentioned above are explained here:"
1045
+ #~ msgstr "Les attributs possibles mentionnés ci-dessus sont expliqués ici : "
1046
+
1047
+ #~ msgid ""
1048
+ #~ "Whether or not to parse HTML that has been entered in the relevant field. "
1049
+ #~ "Can be <code>true</code> or <code>false</code>"
1050
+ #~ msgstr ""
1051
+ #~ "Si on doit ou non analyser le code HTML qui a été entré dans le champ "
1052
+ #~ "Cela peut-être <code>true</code> ou <code>false</code>"
1053
+
1054
+ #~ msgid ""
1055
+ #~ "Whether or not to parse <a href=\"http://daringfireball.net/projects/"
1056
+ #~ "markdown\" target=\"_blank\">Markdown</a> that has been entered in the "
1057
+ #~ "relevant field. <a href=\"http://michelf.com/projects/php-markdown\" "
1058
+ #~ "target=\"_blank\">PHP Markdown</a> must be installed for this to work. "
1059
+ #~ "Can be <code>true</code> or <code>false</code>"
1060
+ #~ msgstr ""
1061
+ #~ "Si on doit analyser ou pas me code <a href=\"http://daringfireball.net/"
1062
+ #~ "projects/markdown\" target=\"_blank\">Markdown</a> qui a été entré dans "
1063
+ #~ "le champ suivant. Pour que cela fonctionne, il faut installer <a href="
1064
+ #~ "\"http://michelf.com/projects/php-markdown\" target=\"_blank\">PHP "
1065
+ #~ "Markdown</a> Cela peut-être <code>true</code> ou <code>false</code>"
1066
+
1067
+ #~ msgid ""
1068
+ #~ "The word limit for the field. Should be specified as a positive integer"
1069
+ #~ msgstr ""
1070
+ #~ "Nombre de mots maximum pour ce champ. Un entier postitif doit être saisi "
1071
+
1072
+ #~ msgid ""
1073
+ #~ "The date / time format to use. Should specified as a <a href=\"http://php."
1074
+ #~ "net/manual/en/function.date.php\" target=\"_blank\">PHP date format</a> "
1075
+ #~ "string"
1076
+ #~ msgstr ""
1077
+ #~ "Le format de date / heure à utiliser. Doit être spécifié commechaine dans "
1078
+ #~ "<a href=\"http://php.net/manual/en/function.date.php\" target=\"_blank"
1079
+ #~ "\">format date en PHP</a>"
1080
+
1081
+ #~ msgid ""
1082
+ #~ "Whether or not the link should open in a new window / tab. Can be "
1083
+ #~ "<code>true</code> or <code>false</code>"
1084
+ #~ msgstr ""
1085
+ #~ "Si le lien doit être ouvert ou non dans une nouvelle fenêtre. Cela peut-"
1086
+ #~ "être <code>true</code> o <code>false</code>"
1087
+
1088
+ #~ msgid ""
1089
+ #~ "How precise to be when displaying a time difference in human-readable "
1090
+ #~ "format. Should be specified as a positive integer"
1091
+ #~ msgstr ""
1092
+ #~ "Precision quand doit être affiché la différence de temps, en format "
1093
+ #~ "lisible par l'être humain. Le nombre saisi doit un entier positif."
1094
+
1095
+ #~ msgid ""
1096
+ #~ "An offset (in seconds) to apply to start / end times before display. "
1097
+ #~ "Should be specified as a (positive or negative) integer"
1098
+ #~ msgstr ""
1099
+ #~ "Un délai (en secondes) qui s'applique aux heures de début /fin avant "
1100
+ #~ "l'affichage. Le nombre saisi doit un entier positif ou négatif."
1101
+
1102
+ #~ msgid ""
1103
+ #~ "Whether or not to automatically convert URLs in the description to links. "
1104
+ #~ "Can be <code>true</code> or <code>false</code>"
1105
+ #~ msgstr ""
1106
+ #~ "Si les URL entrées dans la description doivent être convertis "
1107
+ #~ "automatiquement ou non en liensCela peut être <code>true</code> ou "
1108
+ #~ "<code>false</code>"
1109
+
1110
+ #~ msgid ""
1111
+ #~ "You can use some HTML in the text fields, but ensure it is valid or "
1112
+ #~ "things might go wonky. Text fields can be empty too."
1113
+ #~ msgstr ""
1114
+ #~ "Vous pouvez utiliser du HTML dans les champs de texte, mais assurez-vous "
1115
+ #~ "qu'il est valide, ou les résultats obtenus seront bizarres. Les champs de "
1116
+ #~ "texte peuvent également rester vides"
1117
+
1118
+ #~ msgid "Don't display start time or date"
1119
+ #~ msgstr "Ne pas afficher la date ou heure de début"
1120
+
1121
+ #~ msgid "Display start time and date (in that order)"
1122
+ #~ msgstr "Afficher l'heure et la date de début (dans cet ordre)"
1123
+
1124
+ #~ msgid "Display start date and time (in that order)"
1125
+ #~ msgstr "Afficher la date et l'heure de début (dans cet ordre)"
1126
+
1127
+ #~ msgid "Don't display end time or date"
1128
+ #~ msgstr "Ne pas afficher l'heure ou la date de fin"
1129
+
1130
+ #~ msgid "Display end date"
1131
+ #~ msgstr "Afficher la date de fin"
1132
+
1133
+ #~ msgid "Display end time and date (in that order)"
1134
+ #~ msgstr "Afficher l'heure et la date de fin (dans cet ordre)"
1135
+
1136
+ #~ msgid "Display end date and time (in that order)"
1137
+ #~ msgstr "Afficher la date et heure de fin (dans cet ordre)"
1138
+
1139
+ #~ msgid "Show the location of events?"
1140
+ #~ msgstr "Montrer le lieu de l'évènement?"
1141
+
1142
+ #~ msgid "Text to display before the location."
1143
+ #~ msgstr "Texte à afficher avant le lieu."
1144
+
1145
+ #~ msgid "Delete Feed"
1146
+ #~ msgstr "Effacer le Flux"
1147
+
1148
+ #~ msgid ""
1149
+ #~ "Are you want you want to delete this feed? (Remember to remove / adjust "
1150
+ #~ "any widgets or shortcodes associated with this feed)."
1151
+ #~ msgstr ""
1152
+ #~ "Vous êtes certain de vouloir effacer ce Flux? (Souvenez-vous que vous "
1153
+ #~ "devez effacer / reconfigurer tout widget ou raccourci de commande associé "
1154
+ #~ "à ce Flux. "
1155
+
1156
+ #~ msgid ""
1157
+ #~ "Make any changes you require to the feed details below, then click the "
1158
+ #~ "Save Changes button."
1159
+ #~ msgstr ""
1160
+ #~ "Effectuez les changement requis pour les détails du flux ci-dessous, puis "
1161
+ #~ "cliquer sur le bouton \"Sauvegarder\"."
1162
+
1163
+ #~ msgid ""
1164
+ #~ "This will probably be something like: <code>http://www.google.com/"
1165
+ #~ "calendar/feeds/your-email@gmail.com/public/full</code>."
1166
+ #~ msgstr ""
1167
+ #~ "Cela sera probablement quelque chose comme : <code>http://www.google.com/"
1168
+ #~ "calendar/feeds/votre-email@gmail.com/public/full</code>."
1169
+
1170
+ #~ msgid ""
1171
+ #~ "or: <code>http://www.google.com/calendar/feeds/your-email@gmail.com/"
1172
+ #~ "private-d65741b037h695ff274247f90746b2ty/basic</code>."
1173
+ #~ msgstr ""
1174
+ #~ "ou bien: <code>http://www.google.com/calendar/feeds/votre-email@gmail.com/"
1175
+ #~ "private-d65741b037h695ff274247f90746b2ty/basic</code>."
1176
+
1177
+ #~ msgid ""
1178
+ #~ "The point in time at which to start retrieving events. Use the text-box "
1179
+ #~ "to specify an additional offset from you chosen start point. The offset "
1180
+ #~ "should be provided in seconds (3600 = 1 hour, 86400 = 1 day) and can be "
1181
+ #~ "negative. If you have selected the 'Specific date / time' option, enter a "
1182
+ #~ "<a href=\"http://www.timestampgenerator.com\" target=\"_blank\">UNIX "
1183
+ #~ "timestamp</a> in the text-box."
1184
+ #~ msgstr ""
1185
+ #~ "La date à partir de laquelle afficher les évènements trouvés. Utiliser le "
1186
+ #~ "champ-texte pour spécifier le délai supplémentaire après le point de "
1187
+ #~ "départ choisi. Ce délai doit être spécifié en secondes (3600 = 1 heure, "
1188
+ #~ "86400 = 1 jour) et peut être un nombre negatif. si vous choisi l'option "
1189
+ #~ "'Date / Heure spécifique', entrez une<a href=\"http://www."
1190
+ #~ "timestampgenerator.com\" target=\"_blank\">date et heure en format UNIX</"
1191
+ #~ "a> dans le champ texte."
1192
+
1193
+ #~ msgid ""
1194
+ #~ "Use the event display builder to customize how event information will be "
1195
+ #~ "displayed in the grid tooltips and in lists. Use HTML and the shortcodes "
1196
+ #~ "(explained below) to display the information you require. A basic example "
1197
+ #~ "display format is provided as a starting point. For more information, "
1198
+ #~ "take a look at the <a href=\"http://www.rhanney.co.uk/plugins/google-"
1199
+ #~ "calendar-events/event-display-builder\" target=\"_blank\">event display "
1200
+ #~ "builder guide</a>."
1201
+ #~ msgstr ""
1202
+ #~ "Utiliser le constructeur de presentation d'évènements pour personnaliser "
1203
+ #~ "l'affichage des évènements sous forme de grilles et info-bulles ou sous "
1204
+ #~ "forme de listes Utiliser HTML et les raccourcis de commande (expliqués ci-"
1205
+ #~ "dessous) pour afficher l'information que vous souhaitez. Un exemple "
1206
+ #~ "basique de format de présentation est fourni comme base de départ pour "
1207
+ #~ "plus d'information, allez visiter <a href=\"http://www.rhanney.co.uk/"
1208
+ #~ "plugins/google-calendar-events/event-display-builder\" target=\"_blank"
1209
+ #~ "\">guide du constructeur de presentation d'évènements</a>."
1210
+
1211
+ #~ msgid ""
1212
+ #~ "(More information on all of the below shortcodes and attributes, and "
1213
+ #~ "working examples, can be found in the <a href=\"http://www.rhanney.co.uk/"
1214
+ #~ "plugins/google-calendar-events/event-display-builder\" target=\"_blank"
1215
+ #~ "\">event display builder guide</a>)"
1216
+ #~ msgstr ""
1217
+ #~ "Plus d'information sur les raccourcis de commandes et attributs est "
1218
+ #~ "disponible à l'adresse suivante <a href=\"http://www.rhanney.co.uk/"
1219
+ #~ "plugins/google-calendar-events/event-display-builder\" target=\"_blank"
1220
+ #~ "\">Guide du constructeur de presentation d'évènements </a> (en anglais)"
1221
+
1222
+ #~ msgid ""
1223
+ #~ "Show the description of events? (URLs in the description will be made "
1224
+ #~ "into links)."
1225
+ #~ msgstr ""
1226
+ #~ "Afficher la description des évènements? (les URLs des desccriptions sont "
1227
+ #~ "converties en liens)."
1228
+
1229
+ #~ msgid "Click here to add a new feed"
1230
+ #~ msgstr "Cliquer ici pour ajouter un nouveau flux"
1231
+
1232
+ #~ msgid "Add Feed"
1233
+ #~ msgstr "Ajouter un Flux"
1234
+
1235
+ #~ msgid "Current Feeds"
1236
+ #~ msgstr "Flux actuels"
1237
+
1238
+ #~ msgid "ID"
1239
+ #~ msgstr "ID"
1240
+
1241
+ #~ msgid "Title"
1242
+ #~ msgstr "Titre"
1243
+
1244
+ #~ msgid "URL"
1245
+ #~ msgstr "URL"
1246
+
1247
+ #~ msgid "Refresh"
1248
+ #~ msgstr "Actualiser"
1249
+
1250
+ #~ msgid "Edit"
1251
+ #~ msgstr "Editer"
1252
+
1253
+ #~ msgid "Delete"
1254
+ #~ msgstr "Effacer"
1255
+
1256
+ #~ msgid "Custom stylesheet URL"
1257
+ #~ msgstr "URL de la feuille de style personnalisé"
1258
+
1259
+ #~ msgid ""
1260
+ #~ "If you want to alter the default plugin styling, create a new stylesheet "
1261
+ #~ "on your server (not in the <code>google-calendar-events</code> directory) "
1262
+ #~ "and then enter its URL below."
1263
+ #~ msgstr ""
1264
+ #~ "Si vous souahitez modifier la feuille de style par défaut du plugin, "
1265
+ #~ "créez une nouvelle feuille de style sur votre serveur (pas dans le "
1266
+ #~ "répertoire <code>google-calendar-events</code>) et précisez ici son URL."
1267
+
1268
+ #~ msgid "Add JavaScript to footer?"
1269
+ #~ msgstr "Ajouter du Javascript en bas de page?"
1270
+
1271
+ #~ msgid ""
1272
+ #~ "If you are having issues with tooltips not appearing or the AJAX "
1273
+ #~ "functionality not working, try ticking the checkbox below."
1274
+ #~ msgstr ""
1275
+ #~ "Si vous avez des problèmes d'affichage pour les info-bulles ou des "
1276
+ #~ "fonctionnalités AJAXqui ne fonctionnent, vous pouvez cocher la case ci-"
1277
+ #~ "dessous "
1278
+
1279
+ #~ msgid "Loading text"
1280
+ #~ msgstr "Texte de \"Chargement\""
1281
+
1282
+ #~ msgid "Text to display while calendar data is loading (on AJAX requests)."
1283
+ #~ msgstr ""
1284
+ #~ "Texte à afficher pendant le chargement du calendrier (avec une requête "
1285
+ #~ "AJAX)."
1286
+
1287
+ #~ msgid "Error message"
1288
+ #~ msgstr "Message d'erreur"
1289
+
1290
+ #~ msgid ""
1291
+ #~ "An error message to display to non-admin users if events cannot be "
1292
+ #~ "displayed for any reason (admins will see a message indicating the cause "
1293
+ #~ "of the problem)."
1294
+ #~ msgstr ""
1295
+ #~ "Un message d'erreur à afficher aux utilisateurs, non administrateur si "
1296
+ #~ "des évènements peuvent ne pas être affichés pour quelle raison que ce "
1297
+ #~ "soit (les administrateurs verront un autre message qui indiquera la cause "
1298
+ #~ "du problème)."
1299
+
1300
+ #~ msgid "Optimise event retrieval?"
1301
+ #~ msgstr "Vous souhaitez optimiser la récupération de l'évènement? "
1302
+
1303
+ #~ msgid ""
1304
+ #~ "If this option is enabled, the plugin will use an experimental feature of "
1305
+ #~ "the Google Data API, which can improve performance significantly, "
1306
+ #~ "especially with large numbers of events. Google could potentially "
1307
+ #~ "remove / change this feature at any time."
1308
+ #~ msgstr ""
1309
+ #~ "Si cette option est activée, le plugin utilisera une fonctionnalité "
1310
+ #~ "expérimentale de l'API de Google Data, qui permet d'améliorer de manière "
1311
+ #~ "significative le chargement, spécialement avec de grands nombres "
1312
+ #~ "d'évènements. Prenez en compte que Google peut modifier ou supprimer "
1313
+ #~ "cette fonctionnalité à n'importe quel moment."
1314
+
1315
+ #~ msgid "Use old styles?"
1316
+ #~ msgstr "Utiliser les anciennes feuilles de styles?"
1317
+
1318
+ #~ msgid ""
1319
+ #~ "Some CSS changes were made in version 0.7. If this option is enabled, the "
1320
+ #~ "old CSS will still be added along with the main stylesheet. You should "
1321
+ #~ "consider updating your stylesheet so that you don't need this enabled."
1322
+ #~ msgstr ""
1323
+ #~ "Dans la version 0.7, des changements de feuilles de style (CSS) ont été "
1324
+ #~ "faites. Si cette option est activée, les anciennes feuilles de style "
1325
+ #~ "seront ajoutées aux feuilles de style principales VOus devriez considérer "
1326
+ #~ "une mise à jour de vos feuilles de style pour éviter d'avoir besoin de "
1327
+ #~ "cette option."
1328
+
1329
+ #~ msgid "Save settings on uninstall?"
1330
+ #~ msgstr "Sauvegarder la configuration ou désinstaller?"
1331
+
1332
+ #~ msgid ""
1333
+ #~ "Normally when you uninstall your plugin your settings are removed also. "
1334
+ #~ "Checking this option will save your settings even after an uninstall."
1335
+ #~ msgstr ""
1336
+ #~ "Normalement, quand on désinstalle un plugin, la configuration du plugin "
1337
+ #~ "est également supprimée. Si vous activez cette option la configuration "
1338
+ #~ "sera sauvegardée même après une désinstallation."
1339
+
1340
+ #~ msgid "Save"
1341
+ #~ msgstr "Sauvegarder"
1342
+
1343
+ #~ msgid "Refresh Feed Cache"
1344
+ #~ msgstr "Rafraichir le cache du Flux"
1345
+
1346
+ #~ msgid ""
1347
+ #~ "The plugin will automatically refresh the cache when it expires, but you "
1348
+ #~ "can manually clear the cache now by clicking the button below."
1349
+ #~ msgstr ""
1350
+ #~ "Le plugin rafraichira automatiquement le cache du Flux à l'expiration, "
1351
+ #~ "mais vous pouvez mannuellement effacer le cache en cliquant sur le bouton "
1352
+ #~ "ci-après."
1353
+
1354
+ #~ msgid "Are you want you want to clear the cache data for this feed?"
1355
+ #~ msgstr "Etes vous sûr que vous voulez effacer le cache de ce Flux? "
1356
+
1357
+ #~ msgid "Notice:"
1358
+ #~ msgstr "Avis:"
1359
+
1360
+ #~ msgid ""
1361
+ #~ "The way in which Google Calendar Events stores cached data has been much "
1362
+ #~ "improved in version 0.6. As you have upgraded from a previous version of "
1363
+ #~ "the plugin, there is likely to be some data from the old caching system "
1364
+ #~ "hanging around in your database that is now useless. Click below to clear "
1365
+ #~ "expired cached data from your database."
1366
+ #~ msgstr ""
1367
+ #~ "La forme selon laquelle le plugin Google Calendar Events enregistre les "
1368
+ #~ "données dans le cache a été amélioré dans la version 0.6. Comme vous avez "
1369
+ #~ "migré depuis une version antérieure du plugin il est probable que les "
1370
+ #~ "données anciennes du cache enregistrées dans votre base soient maintenant "
1371
+ #~ "obsolètes. Cliquer ici pour effacer les données du cache enregistré dans "
1372
+ #~ "votre base de données."
1373
+
1374
+ #~ msgid "Clear expired cached data"
1375
+ #~ msgstr "Effacer les données obsolètes du cache"
1376
+
1377
+ #~ msgid "or"
1378
+ #~ msgstr "ou"
1379
+
1380
+ #~ msgid "Ignore this notice"
1381
+ #~ msgstr "Ignorer cet avis"
1382
+
1383
+ #~ msgid "Cancel"
1384
+ #~ msgstr "Annuler"
1385
+
1386
+ #~ msgid "Refresh Feed"
1387
+ #~ msgstr "Rafraichir le Flux"
1388
+
1389
+ #~ msgid "Save Changes"
1390
+ #~ msgstr "Sauvegarder les modifications"
1391
+
1392
+ #~ msgid "Old cached data cleared."
1393
+ #~ msgstr "Le cache des données obsolètes a été effacé."
1394
+
1395
+ #~ msgid "General options updated."
1396
+ #~ msgstr "Les options générales ont été sauvegardées"
1397
+
1398
+ #~ msgid ""
1399
+ #~ "No valid Feed IDs have been entered for this shortcode. Please check that "
1400
+ #~ "you have entered the IDs correctly and that the Feeds have not been "
1401
+ #~ "deleted."
1402
+ #~ msgstr ""
1403
+ #~ "Aucun ID de Flux valide n'a été entré pour ce raccourci de commande. "
1404
+ #~ "Merci de vérifier que l'ID est correctement saisi et que les Flux n'ont "
1405
+ #~ "pas été effacés."
1406
+
1407
+ #~ msgid ""
1408
+ #~ "No feeds have been added yet. You can add a feed in the Google Calendar "
1409
+ #~ "Events settings."
1410
+ #~ msgstr ""
1411
+ #~ "Aucun flux n'a encore été ajouté. Vous pouvez ajouter un flux dans la "
1412
+ #~ "configuration de Google Calendar Events."
1413
+
1414
+ #~ msgid ""
1415
+ #~ "1 or more of your feeds could not be displayed. The following errors "
1416
+ #~ "occurred:"
1417
+ #~ msgstr ""
1418
+ #~ "1 ou plusieurs flux n'ont pu être affichés. Les erreurs suivantes ont eu "
1419
+ #~ "lieu:"
1420
+
1421
+ #~ msgid ""
1422
+ #~ "Major updates are coming to Google Calendar Events on August 23, 2014. "
1423
+ #~ msgstr ""
1424
+ #~ "Les modifications importantes de Google Calendar Events ont lieu le 23 "
1425
+ #~ "août2014 "
1426
+
1427
+ #~ msgid "Read more about the changes."
1428
+ #~ msgstr "Plus d'informations à propos des changements."
1429
+
1430
+ #~ msgid "Hide this"
1431
+ #~ msgstr "Cacher ceci"
1432
+
1433
+ #~ msgid ""
1434
+ #~ "No feeds have been added yet. You can add feeds in the Google Calendar "
1435
+ #~ "Events settings."
1436
+ #~ msgstr ""
1437
+ #~ "Aucun flux n'a encore été ajouté. Vous pouvez ajouter les flux dans "
1438
+ #~ "laconfiguration de Google Calendar Events."
1439
+
1440
+ #~ msgid "Calendar Grid"
1441
+ #~ msgstr "Grille Calendaire"
1442
+
1443
+ #~ msgid "List - grouped by date"
1444
+ #~ msgstr "Liste - groupée par date"
1445
+
1446
+ #~ msgid "Previous month"
1447
+ #~ msgstr "Mois précédent"
1448
+
1449
+ #~ msgid "Next month"
1450
+ #~ msgstr "Mois suivant"
languages/gce-it_IT.mo ADDED
Binary file
languages/gce-it_IT.po ADDED
@@ -0,0 +1,693 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Google Calendar Events\n"
4
+ "POT-Creation-Date: 2014-09-16 12:29-0700\n"
5
+ "PO-Revision-Date: 2014-09-24 15:18+0100\n"
6
+ "Last-Translator: Francesco Paccagnella <translations@pacca.it>\n"
7
+ "Language-Team: \n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=UTF-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "X-Generator: Poedit 1.6.9\n"
12
+ "X-Poedit-Basepath: .\n"
13
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
14
+ "X-Poedit-KeywordsList: __;_e;_x\n"
15
+ "Language: it\n"
16
+ "X-Poedit-SearchPath-0: .\n"
17
+
18
+ #: google-calendar-events/class-google-calendar-events-admin.php:67
19
+ #: google-calendar-events/class-google-calendar-events-admin.php:68
20
+ #: google-calendar-events/includes/register-settings.php:44
21
+ msgid "General Settings"
22
+ msgstr "Impostazioni Generali"
23
+
24
+ #: google-calendar-events/class-google-calendar-events-admin.php:139
25
+ #: google-calendar-events/views/widgets.php:27
26
+ msgid "Google Calendar Events"
27
+ msgstr "Eventi Google Calendar"
28
+
29
+ #: google-calendar-events/class-google-calendar-events-admin.php:151
30
+ msgid "Feeds"
31
+ msgstr "Feeds"
32
+
33
+ #: google-calendar-events/includes/admin/admin-functions.php:20
34
+ msgid "Cache has been cleared for this feed."
35
+ msgstr "La cache di questo feed è stata cancellata."
36
+
37
+ #: google-calendar-events/includes/class-gce-display.php:218
38
+ msgid "There are currently no events to display."
39
+ msgstr "Attualmente non ci sono eventi da visualizzare."
40
+
41
+ #: google-calendar-events/includes/class-gce-event.php:499
42
+ #, php-format
43
+ msgid "%s year"
44
+ msgstr "%s anno"
45
+
46
+ #: google-calendar-events/includes/class-gce-event.php:499
47
+ #, php-format
48
+ msgid "%s years"
49
+ msgstr "%s anni"
50
+
51
+ #: google-calendar-events/includes/class-gce-event.php:500
52
+ #, php-format
53
+ msgid "%s month"
54
+ msgstr "%s mese"
55
+
56
+ #: google-calendar-events/includes/class-gce-event.php:500
57
+ #, php-format
58
+ msgid "%s months"
59
+ msgstr "%s mesi"
60
+
61
+ #: google-calendar-events/includes/class-gce-event.php:501
62
+ #, php-format
63
+ msgid "%s week"
64
+ msgstr "%s settimana"
65
+
66
+ #: google-calendar-events/includes/class-gce-event.php:501
67
+ #, php-format
68
+ msgid "%s weeks"
69
+ msgstr "%s settimane"
70
+
71
+ #: google-calendar-events/includes/class-gce-event.php:502
72
+ #, php-format
73
+ msgid "%s day"
74
+ msgstr "%s giorno"
75
+
76
+ #: google-calendar-events/includes/class-gce-event.php:502
77
+ #, php-format
78
+ msgid "%s days"
79
+ msgstr "%s giorni"
80
+
81
+ #: google-calendar-events/includes/class-gce-event.php:503
82
+ #, php-format
83
+ msgid "%s hour"
84
+ msgstr "%s ora"
85
+
86
+ #: google-calendar-events/includes/class-gce-event.php:503
87
+ #, php-format
88
+ msgid "%s hours"
89
+ msgstr "%s ore"
90
+
91
+ #: google-calendar-events/includes/class-gce-event.php:504
92
+ #, php-format
93
+ msgid "%s min"
94
+ msgstr "%s minuto"
95
+
96
+ #: google-calendar-events/includes/class-gce-event.php:504
97
+ #, php-format
98
+ msgid "%s mins"
99
+ msgstr "%s minuti"
100
+
101
+ #: google-calendar-events/includes/class-gce-event.php:532
102
+ msgid ", "
103
+ msgstr ", "
104
+
105
+ #: google-calendar-events/includes/class-gce-feed.php:93
106
+ msgid ""
107
+ "The feed URL has not been set. Please make sure to set it correctly in the "
108
+ "Feed settings."
109
+ msgstr ""
110
+ "L'indirizzo del feed non è stato impostato. Assicurarsi di averlo impostato "
111
+ "correttamente nelle impostazioni dei Feed."
112
+
113
+ #: google-calendar-events/includes/class-gce-feed.php:180
114
+ msgid ""
115
+ "Some data was retrieved, but could not be parsed successfully. Please ensure "
116
+ "your feed URL is correct."
117
+ msgstr ""
118
+ "E' stato ricevuto qualche dato, ma non può essere analizzato correttamente. "
119
+ "Assicurarsi che l'indirizzo del feed sia corretto."
120
+
121
+ #: google-calendar-events/includes/class-gce-feed.php:186
122
+ msgid ""
123
+ "The feed could not be found (404). Please ensure your feed URL is correct."
124
+ msgstr ""
125
+ "Il feed non è stato trovato (404). Assicurarsi che l'indirizzo del feed sia "
126
+ "corretto."
127
+
128
+ #: google-calendar-events/includes/class-gce-feed.php:189
129
+ msgid ""
130
+ "Access to this feed was denied (403). Please ensure you have public sharing "
131
+ "enabled for your calendar."
132
+ msgstr ""
133
+ "Non è consentito l'accesso al feed (403). Assicurarsi che sia abilitata la "
134
+ "condivisione pubblica nel calendario."
135
+
136
+ #: google-calendar-events/includes/class-gce-feed.php:192
137
+ #, php-format
138
+ msgid ""
139
+ "The feed data could not be retrieved. Error code: %s. Please ensure your "
140
+ "feed URL is correct."
141
+ msgstr ""
142
+ "I dati del feed non possono essere recuperati. Codice errore: %s. "
143
+ "Assicurarsi che l'indirizzo del feed sia corretto."
144
+
145
+ #: google-calendar-events/includes/class-gce-feed.php:197
146
+ msgid " Please ensure your feed URL is correct."
147
+ msgstr "Assicurarsi che l'indirizzo del feed sia corretto."
148
+
149
+ #: google-calendar-events/includes/gce-feed-cpt.php:21
150
+ msgid "Google Calendar Feeds"
151
+ msgstr "Feed di Google Calendar"
152
+
153
+ #: google-calendar-events/includes/gce-feed-cpt.php:22
154
+ #: google-calendar-events/includes/gce-feed-cpt.php:24
155
+ msgid "Feed"
156
+ msgstr "Feed"
157
+
158
+ #: google-calendar-events/includes/gce-feed-cpt.php:23
159
+ msgid "GCal Events"
160
+ msgstr "Eventi GCal"
161
+
162
+ #: google-calendar-events/includes/gce-feed-cpt.php:25
163
+ msgid "Add New"
164
+ msgstr "Aggiungi Nuovo"
165
+
166
+ #: google-calendar-events/includes/gce-feed-cpt.php:26
167
+ msgid "Add New Feed"
168
+ msgstr "Aggiungi Nuovo Feed"
169
+
170
+ #: google-calendar-events/includes/gce-feed-cpt.php:27
171
+ msgid "New Feed"
172
+ msgstr "Nuovo Feed"
173
+
174
+ #: google-calendar-events/includes/gce-feed-cpt.php:28
175
+ msgid "Edit Feed"
176
+ msgstr "Modifica Feed"
177
+
178
+ #: google-calendar-events/includes/gce-feed-cpt.php:29
179
+ msgid "View Feed"
180
+ msgstr "Visualizza Feed"
181
+
182
+ #: google-calendar-events/includes/gce-feed-cpt.php:30
183
+ msgid "All GCal Feeds"
184
+ msgstr "Tutti i Feeds GCal"
185
+
186
+ #: google-calendar-events/includes/gce-feed-cpt.php:31
187
+ msgid "Search GCal Feeds"
188
+ msgstr "Cerca Feeds GCal"
189
+
190
+ #: google-calendar-events/includes/gce-feed-cpt.php:32
191
+ msgid "No feeds found."
192
+ msgstr "Nessun feed trovato."
193
+
194
+ #: google-calendar-events/includes/gce-feed-cpt.php:33
195
+ msgid "No feeds found in Trash."
196
+ msgstr "Nessun feed trovato nel Cestino."
197
+
198
+ #: google-calendar-events/includes/gce-feed-cpt.php:75
199
+ #: google-calendar-events/includes/gce-feed-cpt.php:76
200
+ #, php-format
201
+ msgid "%4$s updated. %1$sView %2$s%3$s"
202
+ msgstr "%4$s aggiornato. %1$sVisualizza %2$s%3$s"
203
+
204
+ #: google-calendar-events/includes/gce-feed-cpt.php:77
205
+ #, php-format
206
+ msgid "%4$s published. %1$sView %2$s%3$s"
207
+ msgstr "%4$s pubblicato. %1$sVisualizza %2$s%3$s"
208
+
209
+ #: google-calendar-events/includes/gce-feed-cpt.php:78
210
+ #, php-format
211
+ msgid "%4$s saved. %1$sView %2$s%3$s"
212
+ msgstr "%4$s salvato. %1$sVisualizza %2$s%3$s"
213
+
214
+ #: google-calendar-events/includes/gce-feed-cpt.php:79
215
+ #, php-format
216
+ msgid "%4$s submitted. %1$sView %2$s%3$s"
217
+ msgstr "%4$s inviato. %1$sVisualizza %2$s%3$s"
218
+
219
+ #: google-calendar-events/includes/gce-feed-cpt.php:80
220
+ #, php-format
221
+ msgid "%4$s draft updated. %1$sView %2$s%3$s"
222
+ msgstr "%4$s bozza aggiornata. %1$sVisualizza %2$s%3$s"
223
+
224
+ #: google-calendar-events/includes/gce-feed-cpt.php:209
225
+ msgid "Feed ID"
226
+ msgstr "ID del Feed"
227
+
228
+ #: google-calendar-events/includes/gce-feed-cpt.php:210
229
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:57
230
+ msgid "Feed Shortcode"
231
+ msgstr "Shortcode del Feed"
232
+
233
+ #: google-calendar-events/includes/gce-feed-cpt.php:211
234
+ msgid "Max Events"
235
+ msgstr "Eventi Massimi"
236
+
237
+ #: google-calendar-events/includes/gce-feed-cpt.php:212
238
+ msgid "Display Type"
239
+ msgstr "Tipo di Visualizzazione"
240
+
241
+ #: google-calendar-events/includes/gce-feed-cpt.php:243
242
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:181
243
+ #: google-calendar-events/views/widgets.php:170
244
+ msgid "Grid"
245
+ msgstr "Griglia"
246
+
247
+ #: google-calendar-events/includes/gce-feed-cpt.php:245
248
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:182
249
+ #: google-calendar-events/views/widgets.php:172
250
+ msgid "List"
251
+ msgstr "Lista"
252
+
253
+ #: google-calendar-events/includes/gce-feed-cpt.php:247
254
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:183
255
+ #: google-calendar-events/views/widgets.php:173
256
+ msgid "Grouped List"
257
+ msgstr "Lista Raggruppata"
258
+
259
+ #: google-calendar-events/includes/register-settings.php:29
260
+ msgid "Save Settings"
261
+ msgstr "Salva Impostazioni"
262
+
263
+ #: google-calendar-events/includes/register-settings.php:30
264
+ msgid ""
265
+ "Save your settings when uninstalling this plugin. Useful when upgrading or "
266
+ "re-installing."
267
+ msgstr ""
268
+ "Salva le impostazioni alla disinstallazione del plugin. Utile quando si "
269
+ "aggiorna o si reinstalla."
270
+
271
+ #: google-calendar-events/includes/register-settings.php:132
272
+ #, php-format
273
+ msgid ""
274
+ "The callback function used for the <strong>%s</strong> setting is missing."
275
+ msgstr ""
276
+ "La funzione richiamata utilizzata per l'impostazione <strong>%s</strong> è "
277
+ "assente."
278
+
279
+ #: google-calendar-events/views/admin/display-options-meta.php:39
280
+ msgid ""
281
+ "Check this box to use the simple display options below instead of the Event "
282
+ "Builder code on the left."
283
+ msgstr ""
284
+ "Spuntare questa casella per usare le opzioni nella visualizzazione "
285
+ "semplificata più sotto anziché utilizzare il codice in Event Builder sulla "
286
+ "sinistra."
287
+
288
+ #: google-calendar-events/views/admin/display-options-meta.php:44
289
+ msgid "Start date / time display"
290
+ msgstr "Data / ora d'inizio visualizzazione"
291
+
292
+ #: google-calendar-events/views/admin/display-options-meta.php:45
293
+ msgid "Select how to display the start date / time."
294
+ msgstr "Selezionare come visualizzare la data / ora d'inizio."
295
+
296
+ #: google-calendar-events/views/admin/display-options-meta.php:47
297
+ #: google-calendar-events/views/admin/display-options-meta.php:61
298
+ msgid "None"
299
+ msgstr "Nessuno"
300
+
301
+ #: google-calendar-events/views/admin/display-options-meta.php:48
302
+ msgid "Start time"
303
+ msgstr "Ora d'inizio"
304
+
305
+ #: google-calendar-events/views/admin/display-options-meta.php:49
306
+ msgid "Start date"
307
+ msgstr "Data d'inizio"
308
+
309
+ #: google-calendar-events/views/admin/display-options-meta.php:50
310
+ msgid "Start time and date"
311
+ msgstr "Ora e data d'inizio"
312
+
313
+ #: google-calendar-events/views/admin/display-options-meta.php:51
314
+ msgid "Start date and time"
315
+ msgstr "Data e ora d'inizio."
316
+
317
+ #: google-calendar-events/views/admin/display-options-meta.php:53
318
+ msgid "Text to display before the start time."
319
+ msgstr "Testo da visualizzare prima dell'ora d'inizio."
320
+
321
+ #: google-calendar-events/views/admin/display-options-meta.php:58
322
+ msgid "End time/date display"
323
+ msgstr "Ora/data di fine visualizzazione"
324
+
325
+ #: google-calendar-events/views/admin/display-options-meta.php:59
326
+ msgid "Select how to display the end date / time."
327
+ msgstr "Scegliere come visualizzare la data / ora della fine."
328
+
329
+ #: google-calendar-events/views/admin/display-options-meta.php:62
330
+ msgid "End time"
331
+ msgstr "Ora della fine"
332
+
333
+ #: google-calendar-events/views/admin/display-options-meta.php:63
334
+ msgid "End date"
335
+ msgstr "Data della fine"
336
+
337
+ #: google-calendar-events/views/admin/display-options-meta.php:64
338
+ msgid "End time and date"
339
+ msgstr "Ora e data della fine"
340
+
341
+ #: google-calendar-events/views/admin/display-options-meta.php:65
342
+ msgid "End date and time"
343
+ msgstr "Data e ora della fine"
344
+
345
+ #: google-calendar-events/views/admin/display-options-meta.php:67
346
+ msgid "Text to display before the end time."
347
+ msgstr "Testo da visualizzare prima dell'ora della fine."
348
+
349
+ #: google-calendar-events/views/admin/display-options-meta.php:72
350
+ msgid "Separator"
351
+ msgstr "Separatore"
352
+
353
+ #: google-calendar-events/views/admin/display-options-meta.php:74
354
+ msgid ""
355
+ "If you have chosen to display both the time and date above, enter the text / "
356
+ "characters to display between the time and date here (including any spaces)."
357
+ msgstr ""
358
+ "Se è stato scelto di visualizzare sia la data che l'ora, inserire qui il "
359
+ "testo o i caratteri da visualizzare tra l'ora e la data (includendo anche "
360
+ "gli eventuali spazi)."
361
+
362
+ #: google-calendar-events/views/admin/display-options-meta.php:88
363
+ msgid "Description"
364
+ msgstr "Descrizione"
365
+
366
+ #: google-calendar-events/views/admin/display-options-meta.php:91
367
+ msgid ""
368
+ "Show the description of events? (URLs in the description will be made into "
369
+ "links)."
370
+ msgstr ""
371
+ "Visualizza la descrizione degli eventi? (Gli indirizzi nella descrizione "
372
+ "saranno riportati come link)."
373
+
374
+ #: google-calendar-events/views/admin/display-options-meta.php:93
375
+ msgid "Text to display before the description."
376
+ msgstr "Testo da visualizzare prima della descrizione."
377
+
378
+ #: google-calendar-events/views/admin/display-options-meta.php:95
379
+ msgid ""
380
+ "Maximum number of words to show from description. Leave blank for no limit."
381
+ msgstr ""
382
+ "Numero massimo di parole da visualizzare nella descrizione. Lasciare vuoto "
383
+ "per non impostare limiti."
384
+
385
+ #: google-calendar-events/views/admin/display-options-meta.php:100
386
+ msgid "Event Link"
387
+ msgstr "Link dell'Evento"
388
+
389
+ #: google-calendar-events/views/admin/display-options-meta.php:103
390
+ msgid "Show a link to the Google Calendar page for an event?"
391
+ msgstr "Visualizzare un link alla pagina di Google Calendar per un evento?"
392
+
393
+ #: google-calendar-events/views/admin/display-options-meta.php:107
394
+ msgid "Links open in a new window / tab?"
395
+ msgstr "I link si aprono in una nuova finestra / tab?"
396
+
397
+ #: google-calendar-events/views/admin/display-options-meta.php:109
398
+ msgid "The link text to be displayed."
399
+ msgstr "Il testo del link da visualizzare."
400
+
401
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:38
402
+ msgid ""
403
+ "We're <strong>smack dab</strong> in the middle of building additional "
404
+ "features for this plugin. Have ideas?"
405
+ msgstr ""
406
+ "Siamo <strong>esattamente</strong> nel pieno dello sviluppo di funzioni "
407
+ "aggiuntive per questo plugin. Qualche idea?"
408
+
409
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:41
410
+ msgid "Visit our roadmap and tell us what you're looking for"
411
+ msgstr "Visita la nostra roadmap e riportaci quello che stai cercando"
412
+
413
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:47
414
+ msgid "Want to know when we release something new?"
415
+ msgstr "Vuoi sapere quando rilasceremo qualcosa di nuovo?"
416
+
417
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:50
418
+ msgid "Get notified of major plugin updates"
419
+ msgstr "Ricevi un avviso per gli aggiornamenti più importanti del plugin"
420
+
421
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:60
422
+ msgid ""
423
+ "Copy and paste this shortcode to display this Google Calendar feed in any "
424
+ "post or page."
425
+ msgstr ""
426
+ "Copia ed incolla questo shortcode per visualizzare questo feed di Google "
427
+ "Calendar in qualsiasi post o pagina."
428
+
429
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:64
430
+ msgid "GCal Feed URL"
431
+ msgstr "Indirizzo del Feed GCal"
432
+
433
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:68
434
+ msgid "The Google Calendar feed URL."
435
+ msgstr "L'indirizzo del feed di Google Calendar."
436
+
437
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:69
438
+ msgid "Example"
439
+ msgstr "Esempio"
440
+
441
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:70
442
+ msgid "How to find your GCal feed URL"
443
+ msgstr "Come trovare l'indirizzo del proprio feed di GCal"
444
+
445
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:76
446
+ msgid "Search Query"
447
+ msgstr "Query di Ricerca"
448
+
449
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:79
450
+ msgid "Find and show events based on a search query."
451
+ msgstr "Trova e visualizza gli eventi basati su una query di ricerca."
452
+
453
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:84
454
+ msgid "Expand Recurring Events?"
455
+ msgstr "Espandere Eventi Ricorrenti?"
456
+
457
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:86
458
+ msgid "Yes"
459
+ msgstr "Sì"
460
+
461
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:87
462
+ msgid ""
463
+ "This will show recurring events each time they occur, otherwise it will only "
464
+ "show the event the first time it occurs."
465
+ msgstr ""
466
+ "Questo visualizzerà gli eventi ricorrenti ogni volta che accadono, "
467
+ "altrimenti l'evento verrà visualizzato solamente la prima volta che accade."
468
+
469
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:92
470
+ msgid "Retrieve Events From"
471
+ msgstr "Recupera Eventi Da"
472
+
473
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:95
474
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:111
475
+ msgid "Today"
476
+ msgstr "Oggi"
477
+
478
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:96
479
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:112
480
+ msgid "Start of current week"
481
+ msgstr "L'inizio della settimana corrente"
482
+
483
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:97
484
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:113
485
+ msgid "Start of current month"
486
+ msgstr "L'inizio del mese corrente"
487
+
488
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:98
489
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:114
490
+ msgid "End of current month"
491
+ msgstr "La fine del mese corrente"
492
+
493
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:99
494
+ msgid "The beginning of time"
495
+ msgstr "L'inizio del tempo"
496
+
497
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:100
498
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:116
499
+ msgid "Specific date"
500
+ msgstr "Una data specifica"
501
+
502
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:103
503
+ msgid "The point in time at which to start retrieving events."
504
+ msgstr "Il punto nel tempo dal quale iniziare a recuperare gli eventi."
505
+
506
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:108
507
+ msgid "Retrieve Events Until"
508
+ msgstr "Recupera Eventi Fino"
509
+
510
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:115
511
+ msgid "The end of time"
512
+ msgstr "La fine del tempo"
513
+
514
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:119
515
+ msgid "The point in time at which to stop retrieving events."
516
+ msgstr "Il punto nel tempo nel quale terminare il recupero degli eventi."
517
+
518
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:124
519
+ msgid "Max Number of Events"
520
+ msgstr "Massimo Numero di Eventi"
521
+
522
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:127
523
+ msgid "Maximum number of events to show."
524
+ msgstr "Massimo numero di eventi da visualizzare."
525
+
526
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:132
527
+ msgid "Date Format"
528
+ msgstr "Formato Data"
529
+
530
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:136
531
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:147
532
+ #, php-format
533
+ msgid "Use %sPHP date formatting%s."
534
+ msgstr "Usa il %sil formato data di PHP%s."
535
+
536
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:137
537
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:148
538
+ msgid "Leave blank to use the default."
539
+ msgstr "Lasciare vuoto per utilizzare il predefinito."
540
+
541
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:143
542
+ msgid "Time Format"
543
+ msgstr "Formato Ora"
544
+
545
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:154
546
+ msgid "Timezone Adjustment"
547
+ msgstr "Regolazione del Fuso Orario"
548
+
549
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:157
550
+ msgid ""
551
+ "If you are having problems with dates and times displaying in the wrong "
552
+ "timezone, select a city in your required timezone here."
553
+ msgstr ""
554
+ "Se si incontrano problemi con date e orari che visualizzano fusi orari "
555
+ "sbagliati, selezionare qui una città nel fuso orario richiesto."
556
+
557
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:162
558
+ msgid "Cache Duration"
559
+ msgstr "Durata della Cache"
560
+
561
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:165
562
+ msgid ""
563
+ "The length of time, in seconds, to cache the feed (43200 = 12 hours). If "
564
+ "this feed changes regularly, you may want to reduce the cache duration."
565
+ msgstr ""
566
+ "Il periodo, in secondi, di aggiornamento della cache (43200 = 12 ore). Se "
567
+ "questo feed cambia regolarmente, potrebbe essere necessario ridurre la "
568
+ "durata della cache."
569
+
570
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:170
571
+ msgid "Multiple Day Events"
572
+ msgstr "Eventi in Giorni Multipli"
573
+
574
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:172
575
+ msgid "Show on each day"
576
+ msgstr "Visualizza in ogni giorno"
577
+
578
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:173
579
+ msgid ""
580
+ "Show events that span multiple days on each day that they span, rather than "
581
+ "just the first day."
582
+ msgstr ""
583
+ "Visualizza gli eventi che durano più giorni in ogni giorno in cui accadono, "
584
+ "anziché solamente nel primo giorno."
585
+
586
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:178
587
+ msgid "Display Mode"
588
+ msgstr "Modo di Visualizzazione"
589
+
590
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:185
591
+ msgid "Choose how you want your calendar to be displayed."
592
+ msgstr "Scegliere come vi vuole visualizzare il proprio calendario."
593
+
594
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:190
595
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:192
596
+ msgid "Clear Cache"
597
+ msgstr "Cancella Cache"
598
+
599
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:195
600
+ #, php-format
601
+ msgid ""
602
+ "This will clear your feed cache. This also automatically happens when you "
603
+ "save your changes. %sIf you make changes you %sMUST%s save first or your "
604
+ "changes will be lost."
605
+ msgstr ""
606
+ "Questo cancellerà la cache del feed. Ciò accade automaticamente anche quando "
607
+ "si salvano le modifiche. %sSe si effettuano modifiche è %sOBBLIGATORIO%s "
608
+ "salvare prima, altrimenti saranno perse."
609
+
610
+ #: google-calendar-events/views/admin/gce-feed-sidebar-help.php:6
611
+ msgid "Documentation & Getting Started"
612
+ msgstr "Documentazione & Come Iniziare"
613
+
614
+ #: google-calendar-events/views/admin/gce-feed-sidebar-help.php:12
615
+ msgid "Community Support Forums"
616
+ msgstr "Forum di Supporto della Comunità"
617
+
618
+ #: google-calendar-events/views/admin/gce-feed-sidebar-help.php:18
619
+ msgid "Get Notified of Major Updates"
620
+ msgstr "Ricevi Notifiche per gli Aggiornamenti Importanti"
621
+
622
+ #: google-calendar-events/views/admin/gce-feed-sidebar-help.php:24
623
+ msgid "Now Accepting 5-Star Reviews!"
624
+ msgstr "Si Accettano Ora Recensioni 5 Stelle!"
625
+
626
+ #: google-calendar-events/views/widgets.php:28
627
+ msgid ""
628
+ "Display a list or calendar grid of events from one or more Google Calendar "
629
+ "feeds you have added"
630
+ msgstr ""
631
+ "Visualizza una lista o una griglia di eventi da uno o più feed di Google "
632
+ "Calendar che sono stati aggiunti"
633
+
634
+ #: google-calendar-events/views/widgets.php:72
635
+ msgid ""
636
+ "No valid Feed IDs have been entered for this widget. Please check that you "
637
+ "have entered the IDs correctly in the widget settings (Appearance > "
638
+ "Widgets), and that the Feeds have not been deleted."
639
+ msgstr ""
640
+ "Non è stato inserito alcun Feed ID valido in questo widget. Controllare di "
641
+ "aver inserito correttamente gli ID nelle impostazioni del widget (Aspetto > "
642
+ "Widgets), e che i Feed non siano stati cancellati."
643
+
644
+ #: google-calendar-events/views/widgets.php:104
645
+ msgid "You have not added any feeds yet."
646
+ msgstr "Non è stato aggiunto ancora alcun feed."
647
+
648
+ #: google-calendar-events/views/widgets.php:142
649
+ msgid "There are no feeds created yet."
650
+ msgstr "Non è ancora stato creato alcun feed."
651
+
652
+ #: google-calendar-events/views/widgets.php:143
653
+ msgid "Add your first feed!"
654
+ msgstr "Aggiungere il primo feed!"
655
+
656
+ #: google-calendar-events/views/widgets.php:163
657
+ msgid "Feeds to display, as a comma separated list (e.g. 101,102,103)"
658
+ msgstr ""
659
+ "Feed da visualizzare, come lista separata da virgole (esempio 101,102,103)"
660
+
661
+ #: google-calendar-events/views/widgets.php:168
662
+ msgid "Display events as:"
663
+ msgstr "Visualizza eventi come:"
664
+
665
+ #: google-calendar-events/views/widgets.php:171
666
+ msgid "Calendar Grid - with AJAX"
667
+ msgstr "Calendario a Griglia - con AJAX"
668
+
669
+ #: google-calendar-events/views/widgets.php:178
670
+ msgid "Maximum no. events to display. Enter 0 to show all retrieved."
671
+ msgstr ""
672
+ "Massimo numero di eventi da visualizzare. Inserire 0 per visualizzare tutti "
673
+ "quelli recuperati."
674
+
675
+ #: google-calendar-events/views/widgets.php:183
676
+ msgid "Sort order (only applies to lists):"
677
+ msgstr "Ordinamento (si applica soltanto alle liste):"
678
+
679
+ #: google-calendar-events/views/widgets.php:185
680
+ msgid "Ascending"
681
+ msgstr "Ascendente"
682
+
683
+ #: google-calendar-events/views/widgets.php:186
684
+ msgid "Descending"
685
+ msgstr "Discendente"
686
+
687
+ #: google-calendar-events/views/widgets.php:190
688
+ msgid ""
689
+ "Display title on tooltip / list item (e.g. 'Events on 7th March') Grouped "
690
+ "lists always have a title displayed."
691
+ msgstr ""
692
+ "Visualizza il titolo su tooltip / lista (esempio 'Eventi del 7 Marzo'). Le "
693
+ "liste raggruppate visualizzano sempre il titolo."
languages/gce.pot CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Google Calendar Events\n"
4
- "POT-Creation-Date: 2014-09-16 12:29-0700\n"
5
- "PO-Revision-Date: 2014-09-16 12:32-0700\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: en\n"
@@ -12,8 +12,8 @@ msgstr ""
12
  "X-Generator: Poedit 1.6.4\n"
13
  "X-Poedit-Basepath: .\n"
14
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
- "X-Poedit-KeywordsList: __;_e;_x\n"
16
- "X-Poedit-SearchPath-0: .\n"
17
 
18
  #: google-calendar-events/class-google-calendar-events-admin.php:67
19
  #: google-calendar-events/class-google-calendar-events-admin.php:68
@@ -34,105 +34,105 @@ msgstr ""
34
  msgid "Cache has been cleared for this feed."
35
  msgstr ""
36
 
37
- #: google-calendar-events/includes/class-gce-display.php:218
38
- msgid "There are currently no events to display."
39
  msgstr ""
40
 
41
- #: google-calendar-events/includes/class-gce-event.php:499
 
 
 
 
42
  #, php-format
43
  msgid "%s year"
44
  msgstr ""
45
 
46
- #: google-calendar-events/includes/class-gce-event.php:499
47
  #, php-format
48
  msgid "%s years"
49
  msgstr ""
50
 
51
- #: google-calendar-events/includes/class-gce-event.php:500
52
  #, php-format
53
  msgid "%s month"
54
  msgstr ""
55
 
56
- #: google-calendar-events/includes/class-gce-event.php:500
57
  #, php-format
58
  msgid "%s months"
59
  msgstr ""
60
 
61
- #: google-calendar-events/includes/class-gce-event.php:501
62
  #, php-format
63
  msgid "%s week"
64
  msgstr ""
65
 
66
- #: google-calendar-events/includes/class-gce-event.php:501
67
  #, php-format
68
  msgid "%s weeks"
69
  msgstr ""
70
 
71
- #: google-calendar-events/includes/class-gce-event.php:502
72
  #, php-format
73
  msgid "%s day"
74
  msgstr ""
75
 
76
- #: google-calendar-events/includes/class-gce-event.php:502
77
  #, php-format
78
  msgid "%s days"
79
  msgstr ""
80
 
81
- #: google-calendar-events/includes/class-gce-event.php:503
82
  #, php-format
83
  msgid "%s hour"
84
  msgstr ""
85
 
86
- #: google-calendar-events/includes/class-gce-event.php:503
87
  #, php-format
88
  msgid "%s hours"
89
  msgstr ""
90
 
91
- #: google-calendar-events/includes/class-gce-event.php:504
92
  #, php-format
93
  msgid "%s min"
94
  msgstr ""
95
 
96
- #: google-calendar-events/includes/class-gce-event.php:504
97
  #, php-format
98
  msgid "%s mins"
99
  msgstr ""
100
 
101
- #: google-calendar-events/includes/class-gce-event.php:532
102
- msgid ", "
103
- msgstr ""
104
-
105
- #: google-calendar-events/includes/class-gce-feed.php:93
106
  msgid ""
107
  "The feed URL has not been set. Please make sure to set it correctly in the "
108
  "Feed settings."
109
  msgstr ""
110
 
111
- #: google-calendar-events/includes/class-gce-feed.php:180
112
  msgid ""
113
  "Some data was retrieved, but could not be parsed successfully. Please ensure "
114
  "your feed URL is correct."
115
  msgstr ""
116
 
117
- #: google-calendar-events/includes/class-gce-feed.php:186
118
  msgid ""
119
  "The feed could not be found (404). Please ensure your feed URL is correct."
120
  msgstr ""
121
 
122
- #: google-calendar-events/includes/class-gce-feed.php:189
123
  msgid ""
124
  "Access to this feed was denied (403). Please ensure you have public sharing "
125
  "enabled for your calendar."
126
  msgstr ""
127
 
128
- #: google-calendar-events/includes/class-gce-feed.php:192
129
  #, php-format
130
  msgid ""
131
  "The feed data could not be retrieved. Error code: %s. Please ensure your "
132
  "feed URL is correct."
133
  msgstr ""
134
 
135
- #: google-calendar-events/includes/class-gce-feed.php:197
136
  msgid " Please ensure your feed URL is correct."
137
  msgstr ""
138
 
@@ -211,38 +211,34 @@ msgstr ""
211
  msgid "%4$s draft updated. %1$sView %2$s%3$s"
212
  msgstr ""
213
 
214
- #: google-calendar-events/includes/gce-feed-cpt.php:209
215
  msgid "Feed ID"
216
  msgstr ""
217
 
218
- #: google-calendar-events/includes/gce-feed-cpt.php:210
219
- #: google-calendar-events/views/admin/gce-feed-meta-display.php:57
220
  msgid "Feed Shortcode"
221
  msgstr ""
222
 
223
- #: google-calendar-events/includes/gce-feed-cpt.php:211
224
- msgid "Max Events"
225
- msgstr ""
226
-
227
- #: google-calendar-events/includes/gce-feed-cpt.php:212
228
  msgid "Display Type"
229
  msgstr ""
230
 
231
- #: google-calendar-events/includes/gce-feed-cpt.php:243
232
- #: google-calendar-events/views/admin/gce-feed-meta-display.php:181
233
- #: google-calendar-events/views/widgets.php:170
234
  msgid "Grid"
235
  msgstr ""
236
 
237
- #: google-calendar-events/includes/gce-feed-cpt.php:245
238
- #: google-calendar-events/views/admin/gce-feed-meta-display.php:182
239
- #: google-calendar-events/views/widgets.php:172
240
  msgid "List"
241
  msgstr ""
242
 
243
- #: google-calendar-events/includes/gce-feed-cpt.php:247
244
- #: google-calendar-events/views/admin/gce-feed-meta-display.php:183
245
- #: google-calendar-events/views/widgets.php:173
246
  msgid "Grouped List"
247
  msgstr ""
248
 
@@ -374,213 +370,187 @@ msgstr ""
374
  msgid "The link text to be displayed."
375
  msgstr ""
376
 
377
- #: google-calendar-events/views/admin/gce-feed-meta-display.php:38
378
  msgid ""
379
  "We're <strong>smack dab</strong> in the middle of building additional "
380
  "features for this plugin. Have ideas?"
381
  msgstr ""
382
 
383
- #: google-calendar-events/views/admin/gce-feed-meta-display.php:41
384
  msgid "Visit our roadmap and tell us what you're looking for"
385
  msgstr ""
386
 
387
- #: google-calendar-events/views/admin/gce-feed-meta-display.php:47
388
- msgid "Want to know when we release something new?"
389
  msgstr ""
390
 
391
- #: google-calendar-events/views/admin/gce-feed-meta-display.php:50
392
- msgid "Get notified of major plugin updates"
393
  msgstr ""
394
 
395
- #: google-calendar-events/views/admin/gce-feed-meta-display.php:60
396
  msgid ""
397
  "Copy and paste this shortcode to display this Google Calendar feed in any "
398
  "post or page."
399
  msgstr ""
400
 
401
- #: google-calendar-events/views/admin/gce-feed-meta-display.php:64
402
  msgid "GCal Feed URL"
403
  msgstr ""
404
 
405
- #: google-calendar-events/views/admin/gce-feed-meta-display.php:68
406
  msgid "The Google Calendar feed URL."
407
  msgstr ""
408
 
409
- #: google-calendar-events/views/admin/gce-feed-meta-display.php:69
410
  msgid "Example"
411
  msgstr ""
412
 
413
- #: google-calendar-events/views/admin/gce-feed-meta-display.php:70
414
  msgid "How to find your GCal feed URL"
415
  msgstr ""
416
 
417
- #: google-calendar-events/views/admin/gce-feed-meta-display.php:76
418
  msgid "Search Query"
419
  msgstr ""
420
 
421
- #: google-calendar-events/views/admin/gce-feed-meta-display.php:79
422
  msgid "Find and show events based on a search query."
423
  msgstr ""
424
 
425
- #: google-calendar-events/views/admin/gce-feed-meta-display.php:84
426
  msgid "Expand Recurring Events?"
427
  msgstr ""
428
 
429
- #: google-calendar-events/views/admin/gce-feed-meta-display.php:86
430
  msgid "Yes"
431
  msgstr ""
432
 
433
- #: google-calendar-events/views/admin/gce-feed-meta-display.php:87
434
  msgid ""
435
  "This will show recurring events each time they occur, otherwise it will only "
436
  "show the event the first time it occurs."
437
  msgstr ""
438
 
439
- #: google-calendar-events/views/admin/gce-feed-meta-display.php:92
440
- msgid "Retrieve Events From"
441
- msgstr ""
442
-
443
  #: google-calendar-events/views/admin/gce-feed-meta-display.php:95
444
- #: google-calendar-events/views/admin/gce-feed-meta-display.php:111
445
- msgid "Today"
446
- msgstr ""
447
-
448
- #: google-calendar-events/views/admin/gce-feed-meta-display.php:96
449
- #: google-calendar-events/views/admin/gce-feed-meta-display.php:112
450
- msgid "Start of current week"
451
- msgstr ""
452
-
453
- #: google-calendar-events/views/admin/gce-feed-meta-display.php:97
454
- #: google-calendar-events/views/admin/gce-feed-meta-display.php:113
455
- msgid "Start of current month"
456
- msgstr ""
457
-
458
- #: google-calendar-events/views/admin/gce-feed-meta-display.php:98
459
- #: google-calendar-events/views/admin/gce-feed-meta-display.php:114
460
- msgid "End of current month"
461
  msgstr ""
462
 
463
  #: google-calendar-events/views/admin/gce-feed-meta-display.php:99
464
- msgid "The beginning of time"
 
 
465
  msgstr ""
466
 
467
- #: google-calendar-events/views/admin/gce-feed-meta-display.php:100
468
- #: google-calendar-events/views/admin/gce-feed-meta-display.php:116
469
- msgid "Specific date"
470
  msgstr ""
471
 
472
- #: google-calendar-events/views/admin/gce-feed-meta-display.php:103
473
- msgid "The point in time at which to start retrieving events."
474
  msgstr ""
475
 
476
- #: google-calendar-events/views/admin/gce-feed-meta-display.php:108
477
- msgid "Retrieve Events Until"
 
 
478
  msgstr ""
479
 
480
- #: google-calendar-events/views/admin/gce-feed-meta-display.php:115
481
- msgid "The end of time"
482
  msgstr ""
483
 
484
- #: google-calendar-events/views/admin/gce-feed-meta-display.php:119
485
- msgid "The point in time at which to stop retrieving events."
486
  msgstr ""
487
 
488
- #: google-calendar-events/views/admin/gce-feed-meta-display.php:124
489
- msgid "Max Number of Events"
 
 
490
  msgstr ""
491
 
492
- #: google-calendar-events/views/admin/gce-feed-meta-display.php:127
493
- msgid "Maximum number of events to show."
494
  msgstr ""
495
 
496
- #: google-calendar-events/views/admin/gce-feed-meta-display.php:132
497
- msgid "Date Format"
498
  msgstr ""
499
 
500
- #: google-calendar-events/views/admin/gce-feed-meta-display.php:136
501
- #: google-calendar-events/views/admin/gce-feed-meta-display.php:147
502
- #, php-format
503
- msgid "Use %sPHP date formatting%s."
504
  msgstr ""
505
 
506
- #: google-calendar-events/views/admin/gce-feed-meta-display.php:137
507
- #: google-calendar-events/views/admin/gce-feed-meta-display.php:148
508
- msgid "Leave blank to use the default."
509
  msgstr ""
510
 
511
- #: google-calendar-events/views/admin/gce-feed-meta-display.php:143
512
- msgid "Time Format"
 
513
  msgstr ""
514
 
515
- #: google-calendar-events/views/admin/gce-feed-meta-display.php:154
516
- msgid "Timezone Adjustment"
 
 
 
517
  msgstr ""
518
 
519
  #: google-calendar-events/views/admin/gce-feed-meta-display.php:157
520
- msgid ""
521
- "If you are having problems with dates and times displaying in the wrong "
522
- "timezone, select a city in your required timezone here."
523
  msgstr ""
524
 
525
- #: google-calendar-events/views/admin/gce-feed-meta-display.php:162
526
- msgid "Cache Duration"
527
  msgstr ""
528
 
529
- #: google-calendar-events/views/admin/gce-feed-meta-display.php:165
530
- msgid ""
531
- "The length of time, in seconds, to cache the feed (43200 = 12 hours). If "
532
- "this feed changes regularly, you may want to reduce the cache duration."
533
  msgstr ""
534
 
535
- #: google-calendar-events/views/admin/gce-feed-meta-display.php:170
536
- msgid "Multiple Day Events"
537
  msgstr ""
538
 
539
- #: google-calendar-events/views/admin/gce-feed-meta-display.php:172
540
- msgid "Show on each day"
541
  msgstr ""
542
 
543
  #: google-calendar-events/views/admin/gce-feed-meta-display.php:173
544
- msgid ""
545
- "Show events that span multiple days on each day that they span, rather than "
546
- "just the first day."
547
- msgstr ""
548
-
549
- #: google-calendar-events/views/admin/gce-feed-meta-display.php:178
550
- msgid "Display Mode"
551
  msgstr ""
552
 
553
- #: google-calendar-events/views/admin/gce-feed-meta-display.php:185
554
- msgid "Choose how you want your calendar to be displayed."
555
- msgstr ""
556
-
557
- #: google-calendar-events/views/admin/gce-feed-meta-display.php:190
558
- #: google-calendar-events/views/admin/gce-feed-meta-display.php:192
559
- msgid "Clear Cache"
560
  msgstr ""
561
 
562
- #: google-calendar-events/views/admin/gce-feed-meta-display.php:195
563
- #, php-format
564
  msgid ""
565
- "This will clear your feed cache. This also automatically happens when you "
566
- "save your changes. %sIf you make changes you %sMUST%s save first or your "
567
- "changes will be lost."
568
  msgstr ""
569
 
570
  #: google-calendar-events/views/admin/gce-feed-sidebar-help.php:6
571
- msgid "Documentation & Getting Started"
572
  msgstr ""
573
 
574
  #: google-calendar-events/views/admin/gce-feed-sidebar-help.php:12
575
- msgid "Community Support Forums"
576
  msgstr ""
577
 
578
  #: google-calendar-events/views/admin/gce-feed-sidebar-help.php:18
579
- msgid "Get Notified of Major Updates"
580
  msgstr ""
581
 
582
  #: google-calendar-events/views/admin/gce-feed-sidebar-help.php:24
583
- msgid "Now Accepting 5-Star Reviews!"
584
  msgstr ""
585
 
586
  #: google-calendar-events/views/widgets.php:28
@@ -589,54 +559,54 @@ msgid ""
589
  "feeds you have added"
590
  msgstr ""
591
 
592
- #: google-calendar-events/views/widgets.php:72
593
  msgid ""
594
  "No valid Feed IDs have been entered for this widget. Please check that you "
595
  "have entered the IDs correctly in the widget settings (Appearance > "
596
  "Widgets), and that the Feeds have not been deleted."
597
  msgstr ""
598
 
599
- #: google-calendar-events/views/widgets.php:104
600
  msgid "You have not added any feeds yet."
601
  msgstr ""
602
 
603
- #: google-calendar-events/views/widgets.php:142
604
  msgid "There are no feeds created yet."
605
  msgstr ""
606
 
607
- #: google-calendar-events/views/widgets.php:143
608
  msgid "Add your first feed!"
609
  msgstr ""
610
 
611
- #: google-calendar-events/views/widgets.php:163
612
  msgid "Feeds to display, as a comma separated list (e.g. 101,102,103)"
613
  msgstr ""
614
 
615
- #: google-calendar-events/views/widgets.php:168
616
  msgid "Display events as:"
617
  msgstr ""
618
 
619
- #: google-calendar-events/views/widgets.php:171
620
  msgid "Calendar Grid - with AJAX"
621
  msgstr ""
622
 
623
- #: google-calendar-events/views/widgets.php:178
624
- msgid "Maximum no. events to display. Enter 0 to show all retrieved."
625
- msgstr ""
626
-
627
- #: google-calendar-events/views/widgets.php:183
628
  msgid "Sort order (only applies to lists):"
629
  msgstr ""
630
 
631
- #: google-calendar-events/views/widgets.php:185
632
  msgid "Ascending"
633
  msgstr ""
634
 
635
- #: google-calendar-events/views/widgets.php:186
636
  msgid "Descending"
637
  msgstr ""
638
 
639
- #: google-calendar-events/views/widgets.php:190
 
 
 
 
640
  msgid ""
641
  "Display title on tooltip / list item (e.g. 'Events on 7th March') Grouped "
642
  "lists always have a title displayed."
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Google Calendar Events\n"
4
+ "POT-Creation-Date: 2014-10-04 17:15-0700\n"
5
+ "PO-Revision-Date: 2014-10-04 17:19-0700\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: en\n"
12
  "X-Generator: Poedit 1.6.4\n"
13
  "X-Poedit-Basepath: .\n"
14
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
+ "X-Poedit-KeywordsList: __;_e\n"
16
+ "X-Poedit-SearchPath-0: google-calendar-events\n"
17
 
18
  #: google-calendar-events/class-google-calendar-events-admin.php:67
19
  #: google-calendar-events/class-google-calendar-events-admin.php:68
34
  msgid "Cache has been cleared for this feed."
35
  msgstr ""
36
 
37
+ #: google-calendar-events/includes/admin/admin-functions.php:71
38
+ msgid "Clear Cache"
39
  msgstr ""
40
 
41
+ #: google-calendar-events/includes/class-gce-display.php:360
42
+ msgid "No events to display."
43
+ msgstr ""
44
+
45
+ #: google-calendar-events/includes/class-gce-event.php:496
46
  #, php-format
47
  msgid "%s year"
48
  msgstr ""
49
 
50
+ #: google-calendar-events/includes/class-gce-event.php:496
51
  #, php-format
52
  msgid "%s years"
53
  msgstr ""
54
 
55
+ #: google-calendar-events/includes/class-gce-event.php:497
56
  #, php-format
57
  msgid "%s month"
58
  msgstr ""
59
 
60
+ #: google-calendar-events/includes/class-gce-event.php:497
61
  #, php-format
62
  msgid "%s months"
63
  msgstr ""
64
 
65
+ #: google-calendar-events/includes/class-gce-event.php:498
66
  #, php-format
67
  msgid "%s week"
68
  msgstr ""
69
 
70
+ #: google-calendar-events/includes/class-gce-event.php:498
71
  #, php-format
72
  msgid "%s weeks"
73
  msgstr ""
74
 
75
+ #: google-calendar-events/includes/class-gce-event.php:499
76
  #, php-format
77
  msgid "%s day"
78
  msgstr ""
79
 
80
+ #: google-calendar-events/includes/class-gce-event.php:499
81
  #, php-format
82
  msgid "%s days"
83
  msgstr ""
84
 
85
+ #: google-calendar-events/includes/class-gce-event.php:500
86
  #, php-format
87
  msgid "%s hour"
88
  msgstr ""
89
 
90
+ #: google-calendar-events/includes/class-gce-event.php:500
91
  #, php-format
92
  msgid "%s hours"
93
  msgstr ""
94
 
95
+ #: google-calendar-events/includes/class-gce-event.php:501
96
  #, php-format
97
  msgid "%s min"
98
  msgstr ""
99
 
100
+ #: google-calendar-events/includes/class-gce-event.php:501
101
  #, php-format
102
  msgid "%s mins"
103
  msgstr ""
104
 
105
+ #: google-calendar-events/includes/class-gce-feed.php:82
 
 
 
 
106
  msgid ""
107
  "The feed URL has not been set. Please make sure to set it correctly in the "
108
  "Feed settings."
109
  msgstr ""
110
 
111
+ #: google-calendar-events/includes/class-gce-feed.php:164
112
  msgid ""
113
  "Some data was retrieved, but could not be parsed successfully. Please ensure "
114
  "your feed URL is correct."
115
  msgstr ""
116
 
117
+ #: google-calendar-events/includes/class-gce-feed.php:170
118
  msgid ""
119
  "The feed could not be found (404). Please ensure your feed URL is correct."
120
  msgstr ""
121
 
122
+ #: google-calendar-events/includes/class-gce-feed.php:173
123
  msgid ""
124
  "Access to this feed was denied (403). Please ensure you have public sharing "
125
  "enabled for your calendar."
126
  msgstr ""
127
 
128
+ #: google-calendar-events/includes/class-gce-feed.php:176
129
  #, php-format
130
  msgid ""
131
  "The feed data could not be retrieved. Error code: %s. Please ensure your "
132
  "feed URL is correct."
133
  msgstr ""
134
 
135
+ #: google-calendar-events/includes/class-gce-feed.php:181
136
  msgid " Please ensure your feed URL is correct."
137
  msgstr ""
138
 
211
  msgid "%4$s draft updated. %1$sView %2$s%3$s"
212
  msgstr ""
213
 
214
+ #: google-calendar-events/includes/gce-feed-cpt.php:206
215
  msgid "Feed ID"
216
  msgstr ""
217
 
218
+ #: google-calendar-events/includes/gce-feed-cpt.php:207
219
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:60
220
  msgid "Feed Shortcode"
221
  msgstr ""
222
 
223
+ #: google-calendar-events/includes/gce-feed-cpt.php:208
 
 
 
 
224
  msgid "Display Type"
225
  msgstr ""
226
 
227
+ #: google-calendar-events/includes/gce-feed-cpt.php:235
228
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:136
229
+ #: google-calendar-events/views/widgets.php:223
230
  msgid "Grid"
231
  msgstr ""
232
 
233
+ #: google-calendar-events/includes/gce-feed-cpt.php:237
234
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:137
235
+ #: google-calendar-events/views/widgets.php:225
236
  msgid "List"
237
  msgstr ""
238
 
239
+ #: google-calendar-events/includes/gce-feed-cpt.php:239
240
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:138
241
+ #: google-calendar-events/views/widgets.php:226
242
  msgid "Grouped List"
243
  msgstr ""
244
 
370
  msgid "The link text to be displayed."
371
  msgstr ""
372
 
373
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:41
374
  msgid ""
375
  "We're <strong>smack dab</strong> in the middle of building additional "
376
  "features for this plugin. Have ideas?"
377
  msgstr ""
378
 
379
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:44
380
  msgid "Visit our roadmap and tell us what you're looking for"
381
  msgstr ""
382
 
383
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:50
384
+ msgid "Want to be in the know?"
385
  msgstr ""
386
 
387
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:53
388
+ msgid "Get notified when new features are released"
389
  msgstr ""
390
 
391
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:63
392
  msgid ""
393
  "Copy and paste this shortcode to display this Google Calendar feed in any "
394
  "post or page."
395
  msgstr ""
396
 
397
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:67
398
  msgid "GCal Feed URL"
399
  msgstr ""
400
 
401
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:71
402
  msgid "The Google Calendar feed URL."
403
  msgstr ""
404
 
405
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:72
406
  msgid "Example"
407
  msgstr ""
408
 
409
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:73
410
  msgid "How to find your GCal feed URL"
411
  msgstr ""
412
 
413
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:79
414
  msgid "Search Query"
415
  msgstr ""
416
 
417
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:82
418
  msgid "Find and show events based on a search query."
419
  msgstr ""
420
 
421
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:87
422
  msgid "Expand Recurring Events?"
423
  msgstr ""
424
 
425
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:89
426
  msgid "Yes"
427
  msgstr ""
428
 
429
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:90
430
  msgid ""
431
  "This will show recurring events each time they occur, otherwise it will only "
432
  "show the event the first time it occurs."
433
  msgstr ""
434
 
 
 
 
 
435
  #: google-calendar-events/views/admin/gce-feed-meta-display.php:95
436
+ msgid "Date Format"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
437
  msgstr ""
438
 
439
  #: google-calendar-events/views/admin/gce-feed-meta-display.php:99
440
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:110
441
+ #, php-format
442
+ msgid "Use %sPHP date formatting%s."
443
  msgstr ""
444
 
445
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:106
446
+ msgid "Time Format"
 
447
  msgstr ""
448
 
449
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:117
450
+ msgid "Cache Duration"
451
  msgstr ""
452
 
453
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:120
454
+ msgid ""
455
+ "The length of time, in seconds, to cache the feed (43200 = 12 hours). If "
456
+ "this feed changes regularly, you may want to reduce the cache duration."
457
  msgstr ""
458
 
459
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:125
460
+ msgid "Multiple Day Events"
461
  msgstr ""
462
 
463
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:127
464
+ msgid "Show on each day"
465
  msgstr ""
466
 
467
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:128
468
+ msgid ""
469
+ "Show events that span multiple days on each day that they span, rather than "
470
+ "just the first day."
471
  msgstr ""
472
 
473
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:133
474
+ msgid "Display Mode"
475
  msgstr ""
476
 
477
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:140
478
+ msgid "Choose how you want your calendar to be displayed."
479
  msgstr ""
480
 
481
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:145
482
+ #: google-calendar-events/views/widgets.php:239
483
+ msgid "Show Paging Links"
 
484
  msgstr ""
485
 
486
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:147
487
+ #: google-calendar-events/views/widgets.php:241
488
+ msgid "Disable to hide Next/Back links."
489
  msgstr ""
490
 
491
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:152
492
+ #: google-calendar-events/views/widgets.php:245
493
+ msgid "Number of Events per Page"
494
  msgstr ""
495
 
496
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:156
497
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:168
498
+ #: google-calendar-events/views/widgets.php:248
499
+ #: google-calendar-events/views/widgets.php:257
500
+ msgid "Days"
501
  msgstr ""
502
 
503
  #: google-calendar-events/views/admin/gce-feed-meta-display.php:157
504
+ #: google-calendar-events/views/widgets.php:249
505
+ msgid "Events"
 
506
  msgstr ""
507
 
508
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:159
509
+ msgid "How many events to display per page (List View only)."
510
  msgstr ""
511
 
512
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:164
513
+ msgid "Start Date Offset"
 
 
514
  msgstr ""
515
 
516
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:169
517
+ msgid "Weeks"
518
  msgstr ""
519
 
520
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:170
521
+ msgid "Months"
522
  msgstr ""
523
 
524
  #: google-calendar-events/views/admin/gce-feed-meta-display.php:173
525
+ #: google-calendar-events/views/widgets.php:260
526
+ msgid "Back"
 
 
 
 
 
527
  msgstr ""
528
 
529
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:174
530
+ #: google-calendar-events/views/widgets.php:261
531
+ msgid "Ahead"
 
 
 
 
532
  msgstr ""
533
 
534
+ #: google-calendar-events/views/admin/gce-feed-meta-display.php:176
 
535
  msgid ""
536
+ "If you need to show events starting on a day other than today. (List View "
537
+ "only)."
 
538
  msgstr ""
539
 
540
  #: google-calendar-events/views/admin/gce-feed-sidebar-help.php:6
541
+ msgid "Documentation & getting started"
542
  msgstr ""
543
 
544
  #: google-calendar-events/views/admin/gce-feed-sidebar-help.php:12
545
+ msgid "Community support forums"
546
  msgstr ""
547
 
548
  #: google-calendar-events/views/admin/gce-feed-sidebar-help.php:18
549
+ msgid "Get notified of new features"
550
  msgstr ""
551
 
552
  #: google-calendar-events/views/admin/gce-feed-sidebar-help.php:24
553
+ msgid "Rate this plugin"
554
  msgstr ""
555
 
556
  #: google-calendar-events/views/widgets.php:28
559
  "feeds you have added"
560
  msgstr ""
561
 
562
+ #: google-calendar-events/views/widgets.php:114
563
  msgid ""
564
  "No valid Feed IDs have been entered for this widget. Please check that you "
565
  "have entered the IDs correctly in the widget settings (Appearance > "
566
  "Widgets), and that the Feeds have not been deleted."
567
  msgstr ""
568
 
569
+ #: google-calendar-events/views/widgets.php:147
570
  msgid "You have not added any feeds yet."
571
  msgstr ""
572
 
573
+ #: google-calendar-events/views/widgets.php:190
574
  msgid "There are no feeds created yet."
575
  msgstr ""
576
 
577
+ #: google-calendar-events/views/widgets.php:191
578
  msgid "Add your first feed!"
579
  msgstr ""
580
 
581
+ #: google-calendar-events/views/widgets.php:216
582
  msgid "Feeds to display, as a comma separated list (e.g. 101,102,103)"
583
  msgstr ""
584
 
585
+ #: google-calendar-events/views/widgets.php:221
586
  msgid "Display events as:"
587
  msgstr ""
588
 
589
+ #: google-calendar-events/views/widgets.php:224
590
  msgid "Calendar Grid - with AJAX"
591
  msgstr ""
592
 
593
+ #: google-calendar-events/views/widgets.php:231
 
 
 
 
594
  msgid "Sort order (only applies to lists):"
595
  msgstr ""
596
 
597
+ #: google-calendar-events/views/widgets.php:233
598
  msgid "Ascending"
599
  msgstr ""
600
 
601
+ #: google-calendar-events/views/widgets.php:234
602
  msgid "Descending"
603
  msgstr ""
604
 
605
+ #: google-calendar-events/views/widgets.php:254
606
+ msgid "Start Date Offset (List View Only)"
607
+ msgstr ""
608
+
609
+ #: google-calendar-events/views/widgets.php:266
610
  msgid ""
611
  "Display title on tooltip / list item (e.g. 'Events on 7th March') Grouped "
612
  "lists always have a title displayed."
license.txt CHANGED
@@ -1,339 +1,339 @@
1
- GNU GENERAL PUBLIC LICENSE
2
- Version 2, June 1991
3
-
4
- Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
5
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
6
- Everyone is permitted to copy and distribute verbatim copies
7
- of this license document, but changing it is not allowed.
8
-
9
- Preamble
10
-
11
- The licenses for most software are designed to take away your
12
- freedom to share and change it. By contrast, the GNU General Public
13
- License is intended to guarantee your freedom to share and change free
14
- software--to make sure the software is free for all its users. This
15
- General Public License applies to most of the Free Software
16
- Foundation's software and to any other program whose authors commit to
17
- using it. (Some other Free Software Foundation software is covered by
18
- the GNU Lesser General Public License instead.) You can apply it to
19
- your programs, too.
20
-
21
- When we speak of free software, we are referring to freedom, not
22
- price. Our General Public Licenses are designed to make sure that you
23
- have the freedom to distribute copies of free software (and charge for
24
- this service if you wish), that you receive source code or can get it
25
- if you want it, that you can change the software or use pieces of it
26
- in new free programs; and that you know you can do these things.
27
-
28
- To protect your rights, we need to make restrictions that forbid
29
- anyone to deny you these rights or to ask you to surrender the rights.
30
- These restrictions translate to certain responsibilities for you if you
31
- distribute copies of the software, or if you modify it.
32
-
33
- For example, if you distribute copies of such a program, whether
34
- gratis or for a fee, you must give the recipients all the rights that
35
- you have. You must make sure that they, too, receive or can get the
36
- source code. And you must show them these terms so they know their
37
- rights.
38
-
39
- We protect your rights with two steps: (1) copyright the software, and
40
- (2) offer you this license which gives you legal permission to copy,
41
- distribute and/or modify the software.
42
-
43
- Also, for each author's protection and ours, we want to make certain
44
- that everyone understands that there is no warranty for this free
45
- software. If the software is modified by someone else and passed on, we
46
- want its recipients to know that what they have is not the original, so
47
- that any problems introduced by others will not reflect on the original
48
- authors' reputations.
49
-
50
- Finally, any free program is threatened constantly by software
51
- patents. We wish to avoid the danger that redistributors of a free
52
- program will individually obtain patent licenses, in effect making the
53
- program proprietary. To prevent this, we have made it clear that any
54
- patent must be licensed for everyone's free use or not licensed at all.
55
-
56
- The precise terms and conditions for copying, distribution and
57
- modification follow.
58
-
59
- GNU GENERAL PUBLIC LICENSE
60
- TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
61
-
62
- 0. This License applies to any program or other work which contains
63
- a notice placed by the copyright holder saying it may be distributed
64
- under the terms of this General Public License. The "Program", below,
65
- refers to any such program or work, and a "work based on the Program"
66
- means either the Program or any derivative work under copyright law:
67
- that is to say, a work containing the Program or a portion of it,
68
- either verbatim or with modifications and/or translated into another
69
- language. (Hereinafter, translation is included without limitation in
70
- the term "modification".) Each licensee is addressed as "you".
71
-
72
- Activities other than copying, distribution and modification are not
73
- covered by this License; they are outside its scope. The act of
74
- running the Program is not restricted, and the output from the Program
75
- is covered only if its contents constitute a work based on the
76
- Program (independent of having been made by running the Program).
77
- Whether that is true depends on what the Program does.
78
-
79
- 1. You may copy and distribute verbatim copies of the Program's
80
- source code as you receive it, in any medium, provided that you
81
- conspicuously and appropriately publish on each copy an appropriate
82
- copyright notice and disclaimer of warranty; keep intact all the
83
- notices that refer to this License and to the absence of any warranty;
84
- and give any other recipients of the Program a copy of this License
85
- along with the Program.
86
-
87
- You may charge a fee for the physical act of transferring a copy, and
88
- you may at your option offer warranty protection in exchange for a fee.
89
-
90
- 2. You may modify your copy or copies of the Program or any portion
91
- of it, thus forming a work based on the Program, and copy and
92
- distribute such modifications or work under the terms of Section 1
93
- above, provided that you also meet all of these conditions:
94
-
95
- a) You must cause the modified files to carry prominent notices
96
- stating that you changed the files and the date of any change.
97
-
98
- b) You must cause any work that you distribute or publish, that in
99
- whole or in part contains or is derived from the Program or any
100
- part thereof, to be licensed as a whole at no charge to all third
101
- parties under the terms of this License.
102
-
103
- c) If the modified program normally reads commands interactively
104
- when run, you must cause it, when started running for such
105
- interactive use in the most ordinary way, to print or display an
106
- announcement including an appropriate copyright notice and a
107
- notice that there is no warranty (or else, saying that you provide
108
- a warranty) and that users may redistribute the program under
109
- these conditions, and telling the user how to view a copy of this
110
- License. (Exception: if the Program itself is interactive but
111
- does not normally print such an announcement, your work based on
112
- the Program is not required to print an announcement.)
113
-
114
- These requirements apply to the modified work as a whole. If
115
- identifiable sections of that work are not derived from the Program,
116
- and can be reasonably considered independent and separate works in
117
- themselves, then this License, and its terms, do not apply to those
118
- sections when you distribute them as separate works. But when you
119
- distribute the same sections as part of a whole which is a work based
120
- on the Program, the distribution of the whole must be on the terms of
121
- this License, whose permissions for other licensees extend to the
122
- entire whole, and thus to each and every part regardless of who wrote it.
123
-
124
- Thus, it is not the intent of this section to claim rights or contest
125
- your rights to work written entirely by you; rather, the intent is to
126
- exercise the right to control the distribution of derivative or
127
- collective works based on the Program.
128
-
129
- In addition, mere aggregation of another work not based on the Program
130
- with the Program (or with a work based on the Program) on a volume of
131
- a storage or distribution medium does not bring the other work under
132
- the scope of this License.
133
-
134
- 3. You may copy and distribute the Program (or a work based on it,
135
- under Section 2) in object code or executable form under the terms of
136
- Sections 1 and 2 above provided that you also do one of the following:
137
-
138
- a) Accompany it with the complete corresponding machine-readable
139
- source code, which must be distributed under the terms of Sections
140
- 1 and 2 above on a medium customarily used for software interchange; or,
141
-
142
- b) Accompany it with a written offer, valid for at least three
143
- years, to give any third party, for a charge no more than your
144
- cost of physically performing source distribution, a complete
145
- machine-readable copy of the corresponding source code, to be
146
- distributed under the terms of Sections 1 and 2 above on a medium
147
- customarily used for software interchange; or,
148
-
149
- c) Accompany it with the information you received as to the offer
150
- to distribute corresponding source code. (This alternative is
151
- allowed only for noncommercial distribution and only if you
152
- received the program in object code or executable form with such
153
- an offer, in accord with Subsection b above.)
154
-
155
- The source code for a work means the preferred form of the work for
156
- making modifications to it. For an executable work, complete source
157
- code means all the source code for all modules it contains, plus any
158
- associated interface definition files, plus the scripts used to
159
- control compilation and installation of the executable. However, as a
160
- special exception, the source code distributed need not include
161
- anything that is normally distributed (in either source or binary
162
- form) with the major components (compiler, kernel, and so on) of the
163
- operating system on which the executable runs, unless that component
164
- itself accompanies the executable.
165
-
166
- If distribution of executable or object code is made by offering
167
- access to copy from a designated place, then offering equivalent
168
- access to copy the source code from the same place counts as
169
- distribution of the source code, even though third parties are not
170
- compelled to copy the source along with the object code.
171
-
172
- 4. You may not copy, modify, sublicense, or distribute the Program
173
- except as expressly provided under this License. Any attempt
174
- otherwise to copy, modify, sublicense or distribute the Program is
175
- void, and will automatically terminate your rights under this License.
176
- However, parties who have received copies, or rights, from you under
177
- this License will not have their licenses terminated so long as such
178
- parties remain in full compliance.
179
-
180
- 5. You are not required to accept this License, since you have not
181
- signed it. However, nothing else grants you permission to modify or
182
- distribute the Program or its derivative works. These actions are
183
- prohibited by law if you do not accept this License. Therefore, by
184
- modifying or distributing the Program (or any work based on the
185
- Program), you indicate your acceptance of this License to do so, and
186
- all its terms and conditions for copying, distributing or modifying
187
- the Program or works based on it.
188
-
189
- 6. Each time you redistribute the Program (or any work based on the
190
- Program), the recipient automatically receives a license from the
191
- original licensor to copy, distribute or modify the Program subject to
192
- these terms and conditions. You may not impose any further
193
- restrictions on the recipients' exercise of the rights granted herein.
194
- You are not responsible for enforcing compliance by third parties to
195
- this License.
196
-
197
- 7. If, as a consequence of a court judgment or allegation of patent
198
- infringement or for any other reason (not limited to patent issues),
199
- conditions are imposed on you (whether by court order, agreement or
200
- otherwise) that contradict the conditions of this License, they do not
201
- excuse you from the conditions of this License. If you cannot
202
- distribute so as to satisfy simultaneously your obligations under this
203
- License and any other pertinent obligations, then as a consequence you
204
- may not distribute the Program at all. For example, if a patent
205
- license would not permit royalty-free redistribution of the Program by
206
- all those who receive copies directly or indirectly through you, then
207
- the only way you could satisfy both it and this License would be to
208
- refrain entirely from distribution of the Program.
209
-
210
- If any portion of this section is held invalid or unenforceable under
211
- any particular circumstance, the balance of the section is intended to
212
- apply and the section as a whole is intended to apply in other
213
- circumstances.
214
-
215
- It is not the purpose of this section to induce you to infringe any
216
- patents or other property right claims or to contest validity of any
217
- such claims; this section has the sole purpose of protecting the
218
- integrity of the free software distribution system, which is
219
- implemented by public license practices. Many people have made
220
- generous contributions to the wide range of software distributed
221
- through that system in reliance on consistent application of that
222
- system; it is up to the author/donor to decide if he or she is willing
223
- to distribute software through any other system and a licensee cannot
224
- impose that choice.
225
-
226
- This section is intended to make thoroughly clear what is believed to
227
- be a consequence of the rest of this License.
228
-
229
- 8. If the distribution and/or use of the Program is restricted in
230
- certain countries either by patents or by copyrighted interfaces, the
231
- original copyright holder who places the Program under this License
232
- may add an explicit geographical distribution limitation excluding
233
- those countries, so that distribution is permitted only in or among
234
- countries not thus excluded. In such case, this License incorporates
235
- the limitation as if written in the body of this License.
236
-
237
- 9. The Free Software Foundation may publish revised and/or new versions
238
- of the General Public License from time to time. Such new versions will
239
- be similar in spirit to the present version, but may differ in detail to
240
- address new problems or concerns.
241
-
242
- Each version is given a distinguishing version number. If the Program
243
- specifies a version number of this License which applies to it and "any
244
- later version", you have the option of following the terms and conditions
245
- either of that version or of any later version published by the Free
246
- Software Foundation. If the Program does not specify a version number of
247
- this License, you may choose any version ever published by the Free Software
248
- Foundation.
249
-
250
- 10. If you wish to incorporate parts of the Program into other free
251
- programs whose distribution conditions are different, write to the author
252
- to ask for permission. For software which is copyrighted by the Free
253
- Software Foundation, write to the Free Software Foundation; we sometimes
254
- make exceptions for this. Our decision will be guided by the two goals
255
- of preserving the free status of all derivatives of our free software and
256
- of promoting the sharing and reuse of software generally.
257
-
258
- NO WARRANTY
259
-
260
- 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
261
- FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
262
- OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
263
- PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
264
- OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
265
- MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
266
- TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
267
- PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
268
- REPAIR OR CORRECTION.
269
-
270
- 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
271
- WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
272
- REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
273
- INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
274
- OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
275
- TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
276
- YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
277
- PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
278
- POSSIBILITY OF SUCH DAMAGES.
279
-
280
- END OF TERMS AND CONDITIONS
281
-
282
- How to Apply These Terms to Your New Programs
283
-
284
- If you develop a new program, and you want it to be of the greatest
285
- possible use to the public, the best way to achieve this is to make it
286
- free software which everyone can redistribute and change under these terms.
287
-
288
- To do so, attach the following notices to the program. It is safest
289
- to attach them to the start of each source file to most effectively
290
- convey the exclusion of warranty; and each file should have at least
291
- the "copyright" line and a pointer to where the full notice is found.
292
-
293
- <one line to give the program's name and a brief idea of what it does.>
294
- Copyright (C) <year> <name of author>
295
-
296
- This program is free software; you can redistribute it and/or modify
297
- it under the terms of the GNU General Public License as published by
298
- the Free Software Foundation; either version 2 of the License, or
299
- (at your option) any later version.
300
-
301
- This program is distributed in the hope that it will be useful,
302
- but WITHOUT ANY WARRANTY; without even the implied warranty of
303
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
304
- GNU General Public License for more details.
305
-
306
- You should have received a copy of the GNU General Public License along
307
- with this program; if not, write to the Free Software Foundation, Inc.,
308
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
309
-
310
- Also add information on how to contact you by electronic and paper mail.
311
-
312
- If the program is interactive, make it output a short notice like this
313
- when it starts in an interactive mode:
314
-
315
- Gnomovision version 69, Copyright (C) year name of author
316
- Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
317
- This is free software, and you are welcome to redistribute it
318
- under certain conditions; type `show c' for details.
319
-
320
- The hypothetical commands `show w' and `show c' should show the appropriate
321
- parts of the General Public License. Of course, the commands you use may
322
- be called something other than `show w' and `show c'; they could even be
323
- mouse-clicks or menu items--whatever suits your program.
324
-
325
- You should also get your employer (if you work as a programmer) or your
326
- school, if any, to sign a "copyright disclaimer" for the program, if
327
- necessary. Here is a sample; alter the names:
328
-
329
- Yoyodyne, Inc., hereby disclaims all copyright interest in the program
330
- `Gnomovision' (which makes passes at compilers) written by James Hacker.
331
-
332
- <signature of Ty Coon>, 1 April 1989
333
- Ty Coon, President of Vice
334
-
335
- This General Public License does not permit incorporating your program into
336
- proprietary programs. If your program is a subroutine library, you may
337
- consider it more useful to permit linking proprietary applications with the
338
- library. If this is what you want to do, use the GNU Lesser General
339
  Public License instead of this License.
1
+ GNU GENERAL PUBLIC LICENSE
2
+ Version 2, June 1991
3
+
4
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
5
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
6
+ Everyone is permitted to copy and distribute verbatim copies
7
+ of this license document, but changing it is not allowed.
8
+
9
+ Preamble
10
+
11
+ The licenses for most software are designed to take away your
12
+ freedom to share and change it. By contrast, the GNU General Public
13
+ License is intended to guarantee your freedom to share and change free
14
+ software--to make sure the software is free for all its users. This
15
+ General Public License applies to most of the Free Software
16
+ Foundation's software and to any other program whose authors commit to
17
+ using it. (Some other Free Software Foundation software is covered by
18
+ the GNU Lesser General Public License instead.) You can apply it to
19
+ your programs, too.
20
+
21
+ When we speak of free software, we are referring to freedom, not
22
+ price. Our General Public Licenses are designed to make sure that you
23
+ have the freedom to distribute copies of free software (and charge for
24
+ this service if you wish), that you receive source code or can get it
25
+ if you want it, that you can change the software or use pieces of it
26
+ in new free programs; and that you know you can do these things.
27
+
28
+ To protect your rights, we need to make restrictions that forbid
29
+ anyone to deny you these rights or to ask you to surrender the rights.
30
+ These restrictions translate to certain responsibilities for you if you
31
+ distribute copies of the software, or if you modify it.
32
+
33
+ For example, if you distribute copies of such a program, whether
34
+ gratis or for a fee, you must give the recipients all the rights that
35
+ you have. You must make sure that they, too, receive or can get the
36
+ source code. And you must show them these terms so they know their
37
+ rights.
38
+
39
+ We protect your rights with two steps: (1) copyright the software, and
40
+ (2) offer you this license which gives you legal permission to copy,
41
+ distribute and/or modify the software.
42
+
43
+ Also, for each author's protection and ours, we want to make certain
44
+ that everyone understands that there is no warranty for this free
45
+ software. If the software is modified by someone else and passed on, we
46
+ want its recipients to know that what they have is not the original, so
47
+ that any problems introduced by others will not reflect on the original
48
+ authors' reputations.
49
+
50
+ Finally, any free program is threatened constantly by software
51
+ patents. We wish to avoid the danger that redistributors of a free
52
+ program will individually obtain patent licenses, in effect making the
53
+ program proprietary. To prevent this, we have made it clear that any
54
+ patent must be licensed for everyone's free use or not licensed at all.
55
+
56
+ The precise terms and conditions for copying, distribution and
57
+ modification follow.
58
+
59
+ GNU GENERAL PUBLIC LICENSE
60
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
61
+
62
+ 0. This License applies to any program or other work which contains
63
+ a notice placed by the copyright holder saying it may be distributed
64
+ under the terms of this General Public License. The "Program", below,
65
+ refers to any such program or work, and a "work based on the Program"
66
+ means either the Program or any derivative work under copyright law:
67
+ that is to say, a work containing the Program or a portion of it,
68
+ either verbatim or with modifications and/or translated into another
69
+ language. (Hereinafter, translation is included without limitation in
70
+ the term "modification".) Each licensee is addressed as "you".
71
+
72
+ Activities other than copying, distribution and modification are not
73
+ covered by this License; they are outside its scope. The act of
74
+ running the Program is not restricted, and the output from the Program
75
+ is covered only if its contents constitute a work based on the
76
+ Program (independent of having been made by running the Program).
77
+ Whether that is true depends on what the Program does.
78
+
79
+ 1. You may copy and distribute verbatim copies of the Program's
80
+ source code as you receive it, in any medium, provided that you
81
+ conspicuously and appropriately publish on each copy an appropriate
82
+ copyright notice and disclaimer of warranty; keep intact all the
83
+ notices that refer to this License and to the absence of any warranty;
84
+ and give any other recipients of the Program a copy of this License
85
+ along with the Program.
86
+
87
+ You may charge a fee for the physical act of transferring a copy, and
88
+ you may at your option offer warranty protection in exchange for a fee.
89
+
90
+ 2. You may modify your copy or copies of the Program or any portion
91
+ of it, thus forming a work based on the Program, and copy and
92
+ distribute such modifications or work under the terms of Section 1
93
+ above, provided that you also meet all of these conditions:
94
+
95
+ a) You must cause the modified files to carry prominent notices
96
+ stating that you changed the files and the date of any change.
97
+
98
+ b) You must cause any work that you distribute or publish, that in
99
+ whole or in part contains or is derived from the Program or any
100
+ part thereof, to be licensed as a whole at no charge to all third
101
+ parties under the terms of this License.
102
+
103
+ c) If the modified program normally reads commands interactively
104
+ when run, you must cause it, when started running for such
105
+ interactive use in the most ordinary way, to print or display an
106
+ announcement including an appropriate copyright notice and a
107
+ notice that there is no warranty (or else, saying that you provide
108
+ a warranty) and that users may redistribute the program under
109
+ these conditions, and telling the user how to view a copy of this
110
+ License. (Exception: if the Program itself is interactive but
111
+ does not normally print such an announcement, your work based on
112
+ the Program is not required to print an announcement.)
113
+
114
+ These requirements apply to the modified work as a whole. If
115
+ identifiable sections of that work are not derived from the Program,
116
+ and can be reasonably considered independent and separate works in
117
+ themselves, then this License, and its terms, do not apply to those
118
+ sections when you distribute them as separate works. But when you
119
+ distribute the same sections as part of a whole which is a work based
120
+ on the Program, the distribution of the whole must be on the terms of
121
+ this License, whose permissions for other licensees extend to the
122
+ entire whole, and thus to each and every part regardless of who wrote it.
123
+
124
+ Thus, it is not the intent of this section to claim rights or contest
125
+ your rights to work written entirely by you; rather, the intent is to
126
+ exercise the right to control the distribution of derivative or
127
+ collective works based on the Program.
128
+
129
+ In addition, mere aggregation of another work not based on the Program
130
+ with the Program (or with a work based on the Program) on a volume of
131
+ a storage or distribution medium does not bring the other work under
132
+ the scope of this License.
133
+
134
+ 3. You may copy and distribute the Program (or a work based on it,
135
+ under Section 2) in object code or executable form under the terms of
136
+ Sections 1 and 2 above provided that you also do one of the following:
137
+
138
+ a) Accompany it with the complete corresponding machine-readable
139
+ source code, which must be distributed under the terms of Sections
140
+ 1 and 2 above on a medium customarily used for software interchange; or,
141
+
142
+ b) Accompany it with a written offer, valid for at least three
143
+ years, to give any third party, for a charge no more than your
144
+ cost of physically performing source distribution, a complete
145
+ machine-readable copy of the corresponding source code, to be
146
+ distributed under the terms of Sections 1 and 2 above on a medium
147
+ customarily used for software interchange; or,
148
+
149
+ c) Accompany it with the information you received as to the offer
150
+ to distribute corresponding source code. (This alternative is
151
+ allowed only for noncommercial distribution and only if you
152
+ received the program in object code or executable form with such
153
+ an offer, in accord with Subsection b above.)
154
+
155
+ The source code for a work means the preferred form of the work for
156
+ making modifications to it. For an executable work, complete source
157
+ code means all the source code for all modules it contains, plus any
158
+ associated interface definition files, plus the scripts used to
159
+ control compilation and installation of the executable. However, as a
160
+ special exception, the source code distributed need not include
161
+ anything that is normally distributed (in either source or binary
162
+ form) with the major components (compiler, kernel, and so on) of the
163
+ operating system on which the executable runs, unless that component
164
+ itself accompanies the executable.
165
+
166
+ If distribution of executable or object code is made by offering
167
+ access to copy from a designated place, then offering equivalent
168
+ access to copy the source code from the same place counts as
169
+ distribution of the source code, even though third parties are not
170
+ compelled to copy the source along with the object code.
171
+
172
+ 4. You may not copy, modify, sublicense, or distribute the Program
173
+ except as expressly provided under this License. Any attempt
174
+ otherwise to copy, modify, sublicense or distribute the Program is
175
+ void, and will automatically terminate your rights under this License.
176
+ However, parties who have received copies, or rights, from you under
177
+ this License will not have their licenses terminated so long as such
178
+ parties remain in full compliance.
179
+
180
+ 5. You are not required to accept this License, since you have not
181
+ signed it. However, nothing else grants you permission to modify or
182
+ distribute the Program or its derivative works. These actions are
183
+ prohibited by law if you do not accept this License. Therefore, by
184
+ modifying or distributing the Program (or any work based on the
185
+ Program), you indicate your acceptance of this License to do so, and
186
+ all its terms and conditions for copying, distributing or modifying
187
+ the Program or works based on it.
188
+
189
+ 6. Each time you redistribute the Program (or any work based on the
190
+ Program), the recipient automatically receives a license from the
191
+ original licensor to copy, distribute or modify the Program subject to
192
+ these terms and conditions. You may not impose any further
193
+ restrictions on the recipients' exercise of the rights granted herein.
194
+ You are not responsible for enforcing compliance by third parties to
195
+ this License.
196
+
197
+ 7. If, as a consequence of a court judgment or allegation of patent
198
+ infringement or for any other reason (not limited to patent issues),
199
+ conditions are imposed on you (whether by court order, agreement or
200
+ otherwise) that contradict the conditions of this License, they do not
201
+ excuse you from the conditions of this License. If you cannot
202
+ distribute so as to satisfy simultaneously your obligations under this
203
+ License and any other pertinent obligations, then as a consequence you
204
+ may not distribute the Program at all. For example, if a patent
205
+ license would not permit royalty-free redistribution of the Program by
206
+ all those who receive copies directly or indirectly through you, then
207
+ the only way you could satisfy both it and this License would be to
208
+ refrain entirely from distribution of the Program.
209
+
210
+ If any portion of this section is held invalid or unenforceable under
211
+ any particular circumstance, the balance of the section is intended to
212
+ apply and the section as a whole is intended to apply in other
213
+ circumstances.
214
+
215
+ It is not the purpose of this section to induce you to infringe any
216
+ patents or other property right claims or to contest validity of any
217
+ such claims; this section has the sole purpose of protecting the
218
+ integrity of the free software distribution system, which is
219
+ implemented by public license practices. Many people have made
220
+ generous contributions to the wide range of software distributed
221
+ through that system in reliance on consistent application of that
222
+ system; it is up to the author/donor to decide if he or she is willing
223
+ to distribute software through any other system and a licensee cannot
224
+ impose that choice.
225
+
226
+ This section is intended to make thoroughly clear what is believed to
227
+ be a consequence of the rest of this License.
228
+
229
+ 8. If the distribution and/or use of the Program is restricted in
230
+ certain countries either by patents or by copyrighted interfaces, the
231
+ original copyright holder who places the Program under this License
232
+ may add an explicit geographical distribution limitation excluding
233
+ those countries, so that distribution is permitted only in or among
234
+ countries not thus excluded. In such case, this License incorporates
235
+ the limitation as if written in the body of this License.
236
+
237
+ 9. The Free Software Foundation may publish revised and/or new versions
238
+ of the General Public License from time to time. Such new versions will
239
+ be similar in spirit to the present version, but may differ in detail to
240
+ address new problems or concerns.
241
+
242
+ Each version is given a distinguishing version number. If the Program
243
+ specifies a version number of this License which applies to it and "any
244
+ later version", you have the option of following the terms and conditions
245
+ either of that version or of any later version published by the Free
246
+ Software Foundation. If the Program does not specify a version number of
247
+ this License, you may choose any version ever published by the Free Software
248
+ Foundation.
249
+
250
+ 10. If you wish to incorporate parts of the Program into other free
251
+ programs whose distribution conditions are different, write to the author
252
+ to ask for permission. For software which is copyrighted by the Free
253
+ Software Foundation, write to the Free Software Foundation; we sometimes
254
+ make exceptions for this. Our decision will be guided by the two goals
255
+ of preserving the free status of all derivatives of our free software and
256
+ of promoting the sharing and reuse of software generally.
257
+
258
+ NO WARRANTY
259
+
260
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
261
+ FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
262
+ OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
263
+ PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
264
+ OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
265
+ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
266
+ TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
267
+ PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
268
+ REPAIR OR CORRECTION.
269
+
270
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
271
+ WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
272
+ REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
273
+ INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
274
+ OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
275
+ TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
276
+ YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
277
+ PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
278
+ POSSIBILITY OF SUCH DAMAGES.
279
+
280
+ END OF TERMS AND CONDITIONS
281
+
282
+ How to Apply These Terms to Your New Programs
283
+
284
+ If you develop a new program, and you want it to be of the greatest
285
+ possible use to the public, the best way to achieve this is to make it
286
+ free software which everyone can redistribute and change under these terms.
287
+
288
+ To do so, attach the following notices to the program. It is safest
289
+ to attach them to the start of each source file to most effectively
290
+ convey the exclusion of warranty; and each file should have at least
291
+ the "copyright" line and a pointer to where the full notice is found.
292
+
293
+ <one line to give the program's name and a brief idea of what it does.>
294
+ Copyright (C) <year> <name of author>
295
+
296
+ This program is free software; you can redistribute it and/or modify
297
+ it under the terms of the GNU General Public License as published by
298
+ the Free Software Foundation; either version 2 of the License, or
299
+ (at your option) any later version.
300
+
301
+ This program is distributed in the hope that it will be useful,
302
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
303
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
304
+ GNU General Public License for more details.
305
+
306
+ You should have received a copy of the GNU General Public License along
307
+ with this program; if not, write to the Free Software Foundation, Inc.,
308
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
309
+
310
+ Also add information on how to contact you by electronic and paper mail.
311
+
312
+ If the program is interactive, make it output a short notice like this
313
+ when it starts in an interactive mode:
314
+
315
+ Gnomovision version 69, Copyright (C) year name of author
316
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
317
+ This is free software, and you are welcome to redistribute it
318
+ under certain conditions; type `show c' for details.
319
+
320
+ The hypothetical commands `show w' and `show c' should show the appropriate
321
+ parts of the General Public License. Of course, the commands you use may
322
+ be called something other than `show w' and `show c'; they could even be
323
+ mouse-clicks or menu items--whatever suits your program.
324
+
325
+ You should also get your employer (if you work as a programmer) or your
326
+ school, if any, to sign a "copyright disclaimer" for the program, if
327
+ necessary. Here is a sample; alter the names:
328
+
329
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
330
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
331
+
332
+ <signature of Ty Coon>, 1 April 1989
333
+ Ty Coon, President of Vice
334
+
335
+ This General Public License does not permit incorporating your program into
336
+ proprietary programs. If your program is a subroutine library, you may
337
+ consider it more useful to permit linking proprietary applications with the
338
+ library. If this is what you want to do, use the GNU Lesser General
339
  Public License instead of this License.
readme.txt CHANGED
@@ -1,235 +1,261 @@
1
- === Google Calendar Events ===
2
- Contributors: pderksen, nickyoung87, rosshanney
3
- Tags: google calendar, google, calendar, events, gcal
4
- Requires at least: 3.7.4
5
- Tested up to: 4.0
6
- Stable tag: trunk
7
- License: GPLv2 or later
8
- License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
-
10
- Parses Google Calendar feeds and displays the events as a calendar grid or list on a page, post or widget.
11
-
12
- == Description ==
13
-
14
- Parses Google Calendar feeds and displays the events as a calendar grid or list on a page, post or widget.
15
-
16
- = Features =
17
-
18
- * Parses Google Calendar feeds to extract events
19
- * Displays events as a list or within a calendar grid
20
- * Events from multiple Google Calendar feeds can be shown in a single list / grid
21
- * Lists and grids can be displayed in posts, pages or within a widget
22
- * Options to change the number of events retrieved, date / time format, cache duration etc
23
- * Complete customisation of the event information displayed
24
- * Calendar grids can have the ability to change the month displayed
25
-
26
- [Plugin Documentation & Getting Started](http://wpdocs.philderksen.com/google-calendar-events/?utm_source=wordpress_org&utm_medium=link&utm_campaign=gce_lite)
27
-
28
- ###Feature Requests and Updates###
29
-
30
- * [Public roadmap/feature requests](https://trello.com/b/ZQSzsarY)
31
- * [Get notified when new features are released](http://eepurl.com/0_VsT)
32
- * [Follow this project on Github](https://github.com/pderksen/WP-Google-Calendar-Events)
33
-
34
- This plugin was originally created by [Ross Hanney](http://www.rhanney.co.uk), a web developer based in the UK specialising in WordPress and PHP.
35
-
36
- Spanish translation provided by Eduardo Larequi of [educacion.navarra.es/web/pnte/](http://www.educacion.navarra.es/web/pnte/).
37
-
38
- == Installation ==
39
-
40
- There are three ways to install this plugin.
41
-
42
- = 1. Admin Search =
43
- 1. In your Admin, go to menu Plugins > Add.
44
- 1. Search for `Google Calendar`.
45
- 1. Find the plugin that's labeled `Google Calendar Events`.
46
- 1. Look for the author name `Phil Derksen` on the plugin.
47
- 1. Click to install.
48
- 1. Activate the plugin.
49
- 1. A new menu item `GCal Events` will appear in the main menu.
50
-
51
- = 2. Download & Upload =
52
- 1. Download the plugin (a zip file) on the right column of this page.
53
- 1. In your Admin, go to menu Plugins > Add.
54
- 1. Select the tab "Upload".
55
- 1. Upload the .zip file you just downloaded.
56
- 1. Activate the plugin.
57
- 1. A new menu item `GCal Events` will appear in the main menu.
58
-
59
- = 3. FTP Upload =
60
- 1. Download the plugin (.zip file) on the right column of this page.
61
- 1. Unzip the zip file contents.
62
- 1. Upload the `google-calendar-events` folder to the `/wp-content/plugins/` directory of your site.
63
- 1. Activate the plugin through the 'Plugins' menu in WordPress.
64
- 1. A new menu item `GCal Events` will appear in the main menu.
65
-
66
- == Frequently Asked Questions ==
67
-
68
- [Plugin Documentation & Getting Started](http://wpdocs.philderksen.com/google-calendar-events/?utm_source=wordpress_org&utm_medium=link&utm_campaign=gce_lite)
69
-
70
- == Screenshots ==
71
-
72
- 1. Grid display in full page with tooltip
73
- 1. Grid display in widget
74
- 1. List display in widget
75
- 1. Simple display options
76
- 1. Calendar feed settings
77
- 1. Calendar widget settings
78
- 1. Event display builder editor
79
-
80
- == Changelog ==
81
-
82
- = 2.0.3.1 =
83
-
84
- * Fixed bug where retrieve from/until dates were accidentally removed.
85
-
86
- = 2.0.3 =
87
-
88
- * Fixed bug where calendar feed caches weren't getting cleared properly.
89
- * Fixed feed settings metabox content wrapping issue.
90
-
91
- = 2.0.2 =
92
-
93
- * Added Spanish translation (thanks to Eduardo Larequi of [educacion.navarra.es/web/pnte/](http://www.educacion.navarra.es/web/pnte/)).
94
- * Fixed timezone issues by forcing calendar feeds to use the timezone selected in the site's General Settings. Feed-specific timezone setting removed.
95
- * Fixed a bug with recurring events display.
96
- * Fixed an upgrade bug with multiple day events.
97
-
98
- = 2.0.1 =
99
-
100
- * Fixed display errors with certain event builder shortcodes.
101
- * Added language folder.
102
-
103
- = 2.0.0 =
104
-
105
- * Plugin rewritten from scratch.
106
- * Now using custom post types for storing and customizing Google calendar feeds.
107
- * Introduced the shortcode `[gcal]` (old shortcode still supported).
108
-
109
- = 0.7.3.1 =
110
-
111
- * Include missing file: upgrade-notice.php.
112
-
113
- = 0.7.3 =
114
-
115
- * Added warning about upcoming version 2.0 release.
116
- * Added option to save settings upon uninstall.
117
- * Tested with WordPress 4.0.
118
-
119
- = 0.7.2 =
120
-
121
- * Fixed a bug causing the "More details" Google Calendar information to be displayed in the wrong timezone
122
- * Fixed a bug that prevented setting the cache duration to 0 from working correctly
123
- * Fixed an issue that prevented Ajax from working with FORCE_SSL_ADMIN enabled
124
- * Now uses [wp_enqueue_scripts](http://wpdevel.wordpress.com/2011/12/12/use-wp_enqueue_scripts-not-wp_print_styles-to-enqueue-scripts-and-styles-for-the-frontend/)
125
-
126
- = 0.7.1 =
127
-
128
- * Fixed bug causing AJAX enabled calendar grids to not function correctly
129
- * Fixed bug causing all-day events from outside required date range to be displayed
130
- * Fixed bug causing tooltip date title heading setting to be ignored
131
- * Added further data sanitisation on output
132
- * Feeds with no events will now be cached to prevent HTTP requests on every page load
133
-
134
- = 0.7 =
135
-
136
- * Fixed bug causing event dates / times to be displayed in the wrong timezone
137
- * Changed the [link-path] Event Display Builder shortcode to [url]
138
- * Fixed an Opera specific CSS issue causing page lists to be hidden
139
- * Lists can now be displayed in descending or ascending order
140
- * Added [event-id] and [cal-id] Event Display Builder shortcodes
141
- * Added an offset parameter for date / time based Event Display Builder shortcodes
142
- * Added an autolink parameter for enabling / disabling automatic linking of URLs
143
- * Added gce-day-past or gce-day-future classes to calendar grid cells
144
- * Cleaned up CSS
145
-
146
- = 0.6 =
147
-
148
- * Drastically reduced memory usage
149
- * Improved feed data caching system
150
- * Improved error reporting
151
- * General performance and efficiency improvements
152
- * Added a few more shortcodes to the event display builder
153
- * Other [miscellaneous changes / additions and bug fixes](http://www.rhanney.co.uk/2011/04/29/google-calendar-events-0-6)
154
-
155
- = 0.5 =
156
-
157
- * Added [event display builder](http://www.rhanney.co.uk/plugins/google-calendar-events/event-display-builder) feature, which vastly improves the customization possibilities of the plugin. This feature encompasses many of the most requested features, such as:
158
- - All-day events can be handled differently than 'normal' events
159
- - Start and end times / dates can be displayed on the same line (as can any other event information)
160
- - HTML (and Markdown) entered in Google Calendar fields can be properly parsed
161
- * Start and end times for retrieval of events are now much more flexible
162
- * A custom error message for non-admin users can now be specified
163
- * No longer loads SimplePie when it is not required
164
-
165
- = 0.4.1 =
166
-
167
- * Fix / workaround for the long-running timezone bug. Please take a look at [this](http://www.rhanney.co.uk/2011/01/16/google-calendar-events-0-4-1) for more information.
168
- * Added additional 'Maximum no. events to display' option to widget / shortcode (mainly to address a further issue caused by the above fix)
169
- * i18n related bug fix
170
- * Added support for widget_title filter (courtesy of [James](http://lunasea-studios.com))
171
- * Added Hungarian (hu_HU) translation ([danieltakacs](http://ek.klog.hu))
172
- * Now using minified version of jQuery qTip script
173
-
174
- = 0.4 =
175
-
176
- * More control over how start and end dates / times are displayed
177
- * Events can now be limited to a specified timeframe (number of days)
178
- * Events on the same day in lists can now be shown under a single date title
179
- * JavaScript can now be added to the footer rather than the header, via an option
180
- * The 'Loading...' text can now be customized
181
- * Description text can now be limited to a specified number of words
182
- * Multi-day events can be shown on each day that they span ([sort of](http://www.rhanney.co.uk/2010/08/19/google-calendar-events-0-4#multiday))
183
- * Bug fixes
184
- * i18n / l10n fixes
185
-
186
- = 0.3.1 =
187
-
188
- * l10n / i18n fixes. Dates should now be localized correctly and should maintain localization after an AJAX request
189
- * MU / Multi-site issues. Issues preventing adding of feeds have been addressed
190
-
191
- = 0.3 =
192
-
193
- * Now allows events from multiple Google Calendar feeds to be displayed on a single calendar grid / list
194
- * Internationalization support added
195
-
196
- = 0.2.1 =
197
-
198
- * Added option to allow 'More details' links to open in new window / tab.
199
- * Added option to choose a specific timezone for each feed
200
- * Line breaks in an event description will now be preserved
201
- * Fixed a bug casing the title to not be displayed on lists
202
- * Other minor bug fixes
203
-
204
- = 0.2 =
205
-
206
- * Added customization options for how information is displayed.
207
- * Can now display: start time, end time and date, location, description and event link.
208
- * Tooltips now using qTip jQuery plugin.
209
-
210
- = 0.1.4 =
211
-
212
- * More bug fixes.
213
-
214
- = 0.1.3 =
215
-
216
- * Several bug fixes, including fixing JavaScript problems that prevented tooltips appearing.
217
-
218
- = 0.1.2 =
219
-
220
- * Bug fixes.
221
-
222
- = 0.1.1 =
223
-
224
- * Fix to prevent conflicts with other plugins.
225
- * Changes to readme.txt.
226
-
227
- = 0.1 =
228
-
229
- * Initial release.
230
-
231
- == Upgrade Notice ==
232
-
233
- = 2.0.0 =
234
-
235
- This is a major upgrade to a new code base and structure. PLEASE make sure you backup your site before upgrading.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ === Google Calendar Events ===
2
+ Contributors: pderksen, nickyoung87, rosshanney
3
+ Tags: google calendar, google, calendar, events, gcal
4
+ Requires at least: 3.7.4
5
+ Tested up to: 4.0
6
+ Stable tag: trunk
7
+ License: GPLv2 or later
8
+ License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
+
10
+ Parses Google Calendar feeds and displays the events as a calendar grid or list on a page, post or widget.
11
+
12
+ == Description ==
13
+
14
+ Parses Google Calendar feeds and displays the events as a calendar grid or list on a page, post or widget.
15
+
16
+ = Features =
17
+
18
+ * Parses Google Calendar feeds to extract events.
19
+ * Displays events as a list or within a calendar grid.
20
+ * Events from multiple Google Calendar feeds can be shown in a single list / grid.
21
+ * Lists and grids can be displayed in posts, pages or within a widget.
22
+ * Options to change the number of events retrieved, date / time format, cache duration, etc.
23
+ * Complete customisation of the event information displayed.
24
+ * Calendar grids can have the ability to change the month displayed.
25
+
26
+ [Plugin Documentation & Getting Started](http://wpdocs.philderksen.com/google-calendar-events/?utm_source=wordpress_org&utm_medium=link&utm_campaign=gce_lite)
27
+
28
+ ###Feature Requests and Updates###
29
+
30
+ * [Public roadmap/feature requests](https://trello.com/b/ZQSzsarY)
31
+ * [Get notified when new features are released](http://eepurl.com/0_VsT)
32
+ * [Follow this project on Github](https://github.com/pderksen/WP-Google-Calendar-Events)
33
+
34
+ This plugin was originally created by [Ross Hanney](http://www.rhanney.co.uk), a web developer based in the UK specialising in WordPress and PHP.
35
+
36
+ Spanish translation provided by Eduardo Larequi of [educacion.navarra.es/web/pnte/](http://www.educacion.navarra.es/web/pnte/).
37
+ Italian translation provided by Francesco Paccagnella of [pacca.it](http://www.pacca.it/)).
38
+ French translation provided by Vincent Bray.
39
+
40
+ == Installation ==
41
+
42
+ There are three ways to install this plugin.
43
+
44
+ = 1. Admin Search =
45
+ 1. In your Admin, go to menu Plugins > Add.
46
+ 1. Search for `Google Calendar`.
47
+ 1. Find the plugin that's labeled `Google Calendar Events`.
48
+ 1. Look for the author name `Phil Derksen` on the plugin.
49
+ 1. Click to install.
50
+ 1. Activate the plugin.
51
+ 1. A new menu item `GCal Events` will appear in the main menu.
52
+
53
+ = 2. Download & Upload =
54
+ 1. Download the plugin (a zip file) on the right column of this page.
55
+ 1. In your Admin, go to menu Plugins > Add.
56
+ 1. Select the tab "Upload".
57
+ 1. Upload the .zip file you just downloaded.
58
+ 1. Activate the plugin.
59
+ 1. A new menu item `GCal Events` will appear in the main menu.
60
+
61
+ = 3. FTP Upload =
62
+ 1. Download the plugin (.zip file) on the right column of this page.
63
+ 1. Unzip the zip file contents.
64
+ 1. Upload the `google-calendar-events` folder to the `/wp-content/plugins/` directory of your site.
65
+ 1. Activate the plugin through the 'Plugins' menu in WordPress.
66
+ 1. A new menu item `GCal Events` will appear in the main menu.
67
+
68
+ == Frequently Asked Questions ==
69
+
70
+ [Plugin Documentation & Getting Started](http://wpdocs.philderksen.com/google-calendar-events/?utm_source=wordpress_org&utm_medium=link&utm_campaign=gce_lite)
71
+
72
+ == Screenshots ==
73
+
74
+ 1. Grid display in full page with tooltip
75
+ 1. Grid display in widget
76
+ 1. List display in widget
77
+ 1. Simple display options
78
+ 1. Calendar feed settings
79
+ 1. Calendar widget settings
80
+ 1. Event display builder editor
81
+
82
+ == Changelog ==
83
+
84
+ = 2.0.4 =
85
+
86
+ * Added option to show/hide paging.
87
+ * Added option to limit display to any number of days or events per page.
88
+ * Added option to set the start date offset any number of days back or ahead (list view).
89
+ * Removed retrieve events from/until options now that display limit options will be used.
90
+ * Removed max number of events to retrieve option.
91
+ * Added shortcode attribute 'interval'.
92
+ * Added shortcode attribute 'interval_count'.
93
+ * Added shortcode attribute 'paging'.
94
+ * Added shortcode attribute 'offset_interval_count'.
95
+ * Added shortcode attribute 'offset_direction'.
96
+ * Added settings to feed and widget to set the paging interval.
97
+ * Updated shortcode 'display' attribute to allow a value of 'grouped-list'.
98
+ * Date no longer shows up for the title (list view).
99
+ * HTML restructured to use div tags instead of an unordered list (list view).
100
+ * Nav bar HTML (Next/Prev links and month title) restructured to use div tags instead of span and percentages.
101
+ * Added Italian translation (thanks to Francesco Paccagnella of [pacca.it](http://www.pacca.it/)).
102
+ * Added French translation files provided by Vincent Bray.
103
+ * Fixed PHP error during upgrade.
104
+ * Moved clear cache button and changed style.
105
+ * JavaScript restructured to fit more in line with best practices.
106
+ * Remove unused admin script file.
107
+
108
+ = 2.0.3.1 =
109
+
110
+ * Fixed bug where retrieve from/until dates were accidentally removed.
111
+
112
+ = 2.0.3 =
113
+
114
+ * Fixed bug where calendar feed caches weren't getting cleared properly.
115
+ * Fixed feed settings metabox content wrapping issue.
116
+
117
+ = 2.0.2 =
118
+
119
+ * Added Spanish translation (thanks to Eduardo Larequi of [educacion.navarra.es/web/pnte/](http://www.educacion.navarra.es/web/pnte/)).
120
+ * Fixed timezone issues by forcing calendar feeds to use the timezone selected in the site's General Settings. Feed-specific timezone setting removed.
121
+ * Fixed a bug with recurring events display.
122
+ * Fixed an upgrade bug with multiple day events.
123
+
124
+ = 2.0.1 =
125
+
126
+ * Fixed display errors with certain event builder shortcodes.
127
+ * Added language folder.
128
+
129
+ = 2.0.0 =
130
+
131
+ * Plugin rewritten from scratch.
132
+ * Now using custom post types for storing and customizing Google calendar feeds.
133
+ * Introduced the shortcode `[gcal]` (old shortcode still supported).
134
+
135
+ = 0.7.3.1 =
136
+
137
+ * Include missing file: upgrade-notice.php.
138
+
139
+ = 0.7.3 =
140
+
141
+ * Added warning about upcoming version 2.0 release.
142
+ * Added option to save settings upon uninstall.
143
+ * Tested with WordPress 4.0.
144
+
145
+ = 0.7.2 =
146
+
147
+ * Fixed a bug causing the "More details" Google Calendar information to be displayed in the wrong timezone
148
+ * Fixed a bug that prevented setting the cache duration to 0 from working correctly
149
+ * Fixed an issue that prevented Ajax from working with FORCE_SSL_ADMIN enabled
150
+ * Now uses [wp_enqueue_scripts](http://wpdevel.wordpress.com/2011/12/12/use-wp_enqueue_scripts-not-wp_print_styles-to-enqueue-scripts-and-styles-for-the-frontend/)
151
+
152
+ = 0.7.1 =
153
+
154
+ * Fixed bug causing AJAX enabled calendar grids to not function correctly
155
+ * Fixed bug causing all-day events from outside required date range to be displayed
156
+ * Fixed bug causing tooltip date title heading setting to be ignored
157
+ * Added further data sanitisation on output
158
+ * Feeds with no events will now be cached to prevent HTTP requests on every page load
159
+
160
+ = 0.7 =
161
+
162
+ * Fixed bug causing event dates / times to be displayed in the wrong timezone
163
+ * Changed the [link-path] Event Display Builder shortcode to [url]
164
+ * Fixed an Opera specific CSS issue causing page lists to be hidden
165
+ * Lists can now be displayed in descending or ascending order
166
+ * Added [event-id] and [cal-id] Event Display Builder shortcodes
167
+ * Added an offset parameter for date / time based Event Display Builder shortcodes
168
+ * Added an autolink parameter for enabling / disabling automatic linking of URLs
169
+ * Added gce-day-past or gce-day-future classes to calendar grid cells
170
+ * Cleaned up CSS
171
+
172
+ = 0.6 =
173
+
174
+ * Drastically reduced memory usage
175
+ * Improved feed data caching system
176
+ * Improved error reporting
177
+ * General performance and efficiency improvements
178
+ * Added a few more shortcodes to the event display builder
179
+ * Other [miscellaneous changes / additions and bug fixes](http://www.rhanney.co.uk/2011/04/29/google-calendar-events-0-6)
180
+
181
+ = 0.5 =
182
+
183
+ * Added [event display builder](http://www.rhanney.co.uk/plugins/google-calendar-events/event-display-builder) feature, which vastly improves the customization possibilities of the plugin. This feature encompasses many of the most requested features, such as:
184
+ - All-day events can be handled differently than 'normal' events
185
+ - Start and end times / dates can be displayed on the same line (as can any other event information)
186
+ - HTML (and Markdown) entered in Google Calendar fields can be properly parsed
187
+ * Start and end times for retrieval of events are now much more flexible
188
+ * A custom error message for non-admin users can now be specified
189
+ * No longer loads SimplePie when it is not required
190
+
191
+ = 0.4.1 =
192
+
193
+ * Fix / workaround for the long-running timezone bug. Please take a look at [this](http://www.rhanney.co.uk/2011/01/16/google-calendar-events-0-4-1) for more information.
194
+ * Added additional 'Maximum no. events to display' option to widget / shortcode (mainly to address a further issue caused by the above fix)
195
+ * i18n related bug fix
196
+ * Added support for widget_title filter (courtesy of [James](http://lunasea-studios.com))
197
+ * Added Hungarian (hu_HU) translation ([danieltakacs](http://ek.klog.hu))
198
+ * Now using minified version of jQuery qTip script
199
+
200
+ = 0.4 =
201
+
202
+ * More control over how start and end dates / times are displayed
203
+ * Events can now be limited to a specified timeframe (number of days)
204
+ * Events on the same day in lists can now be shown under a single date title
205
+ * JavaScript can now be added to the footer rather than the header, via an option
206
+ * The 'Loading...' text can now be customized
207
+ * Description text can now be limited to a specified number of words
208
+ * Multi-day events can be shown on each day that they span ([sort of](http://www.rhanney.co.uk/2010/08/19/google-calendar-events-0-4#multiday))
209
+ * Bug fixes
210
+ * i18n / l10n fixes
211
+
212
+ = 0.3.1 =
213
+
214
+ * l10n / i18n fixes. Dates should now be localized correctly and should maintain localization after an AJAX request
215
+ * MU / Multi-site issues. Issues preventing adding of feeds have been addressed
216
+
217
+ = 0.3 =
218
+
219
+ * Now allows events from multiple Google Calendar feeds to be displayed on a single calendar grid / list
220
+ * Internationalization support added
221
+
222
+ = 0.2.1 =
223
+
224
+ * Added option to allow 'More details' links to open in new window / tab.
225
+ * Added option to choose a specific timezone for each feed
226
+ * Line breaks in an event description will now be preserved
227
+ * Fixed a bug casing the title to not be displayed on lists
228
+ * Other minor bug fixes
229
+
230
+ = 0.2 =
231
+
232
+ * Added customization options for how information is displayed.
233
+ * Can now display: start time, end time and date, location, description and event link.
234
+ * Tooltips now using qTip jQuery plugin.
235
+
236
+ = 0.1.4 =
237
+
238
+ * More bug fixes.
239
+
240
+ = 0.1.3 =
241
+
242
+ * Several bug fixes, including fixing JavaScript problems that prevented tooltips appearing.
243
+
244
+ = 0.1.2 =
245
+
246
+ * Bug fixes.
247
+
248
+ = 0.1.1 =
249
+
250
+ * Fix to prevent conflicts with other plugins.
251
+ * Changes to readme.txt.
252
+
253
+ = 0.1 =
254
+
255
+ * Initial release.
256
+
257
+ == Upgrade Notice ==
258
+
259
+ = 2.0.0 =
260
+
261
+ This is a major upgrade to a new code base and structure. PLEASE make sure you backup your site before upgrading.
uninstall.php CHANGED
@@ -1,70 +1,75 @@
1
- <?php
2
- /**
3
- * Fired when the plugin is uninstalled.
4
- *
5
- * @package GCE
6
- * @author Phil Derksen <pderksen@gmail.com>, Nick Young <mycorpweb@gmail.com>
7
- * @license GPL-2.0+
8
- * @copyright 2014 Phil Derksen
9
- */
10
-
11
- // If uninstall not called from WordPress, then exit
12
- if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
13
- exit;
14
- }
15
-
16
- $general = get_option( 'gce_settings_general' );
17
-
18
- // If this is empty then it means it is unchecked and we should delete everything
19
- if ( empty( $general['save_settings'] ) ) {
20
-
21
- /*** VERSION 2.0.0 GCE OPTIONS ***/
22
-
23
- // Remove CPTs and transients
24
- $feeds = get_posts( array(
25
- 'post_type' => 'gce_feed',
26
- 'post_status' => array(
27
- 'any',
28
- 'trash',
29
- 'auto-draft'
30
- )
31
- ));
32
-
33
- foreach( $feeds as $f ) {
34
- // delete the transient while we have the post ID available
35
- delete_transient( 'gce_feed_' . $f->ID );
36
-
37
- // Now delete the post
38
- wp_delete_post( $f->ID, true );
39
- }
40
-
41
- // Remove all post meta
42
- delete_post_meta_by_key( 'gce_feed_url' );
43
- delete_post_meta_by_key( 'gce_retrieve_from' );
44
- delete_post_meta_by_key( 'gce_retrieve_until' );
45
- delete_post_meta_by_key( 'gce_retrieve_max' );
46
- delete_post_meta_by_key( 'gce_date_format' );
47
- delete_post_meta_by_key( 'gce_time_format' );
48
- delete_post_meta_by_key( 'gce_cache' );
49
- delete_post_meta_by_key( 'gce_multi_day_events' );
50
- delete_post_meta_by_key( 'gce_display_mode' );
51
- delete_post_meta_by_key( 'gce_custom_from' );
52
- delete_post_meta_by_key( 'gce_custom_until' );
53
-
54
- // Remove options
55
- delete_option( 'gce_upgrade_has_run' );
56
- delete_option( 'gce_version' );
57
- delete_option( 'gce_settings_general' );
58
- delete_option( 'gce_cpt_setup' );
59
-
60
- // Remove widgets
61
- delete_option( 'widget_gce_widget' );
62
-
63
-
64
- /*** OLD GCE VERSION OPTIONS ***/
65
-
66
- delete_option( 'gce_options' );
67
- delete_option( 'gce_general' );
68
- delete_option( 'gce_clear_old_transients' );
69
- delete_option( 'gce_show_upgrade_notice' );
70
- }
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Fired when the plugin is uninstalled.
4
+ *
5
+ * @package GCE
6
+ * @author Phil Derksen <pderksen@gmail.com>, Nick Young <mycorpweb@gmail.com>
7
+ * @license GPL-2.0+
8
+ * @copyright 2014 Phil Derksen
9
+ */
10
+
11
+ // If uninstall not called from WordPress, then exit
12
+ if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
13
+ exit;
14
+ }
15
+
16
+ $general = get_option( 'gce_settings_general' );
17
+
18
+ // If this is empty then it means it is unchecked and we should delete everything
19
+ if ( empty( $general['save_settings'] ) ) {
20
+
21
+ /*** VERSION 2.0.0 GCE OPTIONS ***/
22
+
23
+ // Remove CPTs and transients
24
+ $feeds = get_posts( array(
25
+ 'post_type' => 'gce_feed',
26
+ 'post_status' => array(
27
+ 'any',
28
+ 'trash',
29
+ 'auto-draft'
30
+ )
31
+ ));
32
+
33
+ foreach( $feeds as $f ) {
34
+ // delete the transient while we have the post ID available
35
+ delete_transient( 'gce_feed_' . $f->ID );
36
+
37
+ // Now delete the post
38
+ wp_delete_post( $f->ID, true );
39
+ }
40
+
41
+ // Remove all post meta
42
+ delete_post_meta_by_key( 'gce_feed_url' );
43
+ delete_post_meta_by_key( 'gce_retrieve_from' );
44
+ delete_post_meta_by_key( 'gce_retrieve_until' );
45
+ delete_post_meta_by_key( 'gce_retrieve_max' );
46
+ delete_post_meta_by_key( 'gce_date_format' );
47
+ delete_post_meta_by_key( 'gce_time_format' );
48
+ delete_post_meta_by_key( 'gce_cache' );
49
+ delete_post_meta_by_key( 'gce_multi_day_events' );
50
+ delete_post_meta_by_key( 'gce_display_mode' );
51
+ delete_post_meta_by_key( 'gce_custom_from' );
52
+ delete_post_meta_by_key( 'gce_custom_until' );
53
+ delete_post_meta_by_key( 'gce_paging' );
54
+ delete_post_meta_by_key( 'gce_list_max_num' );
55
+ delete_post_meta_by_key( 'gce_list_max_length' );
56
+ delete_post_meta_by_key( 'gce_list_start_offset_num' );
57
+ delete_post_meta_by_key( 'gce_list_start_offset_direction' );
58
+
59
+ // Remove options
60
+ delete_option( 'gce_upgrade_has_run' );
61
+ delete_option( 'gce_version' );
62
+ delete_option( 'gce_settings_general' );
63
+ delete_option( 'gce_cpt_setup' );
64
+
65
+ // Remove widgets
66
+ delete_option( 'widget_gce_widget' );
67
+
68
+
69
+ /*** OLD GCE VERSION OPTIONS ***/
70
+
71
+ delete_option( 'gce_options' );
72
+ delete_option( 'gce_general' );
73
+ delete_option( 'gce_clear_old_transients' );
74
+ delete_option( 'gce_show_upgrade_notice' );
75
+ }
views/admin/gce-feed-meta-display.php CHANGED
@@ -19,19 +19,23 @@
19
  }
20
 
21
  // Load up all post meta data
22
- $gce_feed_url = get_post_meta( $post->ID, 'gce_feed_url', true );
23
- $gce_retrieve_from = get_post_meta( $post->ID, 'gce_retrieve_from', true );
24
- $gce_retrieve_until = get_post_meta( $post->ID, 'gce_retrieve_until', true );
25
- $gce_retrieve_max = get_post_meta( $post->ID, 'gce_retrieve_max', true );
26
- $gce_date_format = get_post_meta( $post->ID, 'gce_date_format', true );
27
- $gce_time_format = get_post_meta( $post->ID, 'gce_time_format', true );
28
- $gce_cache = get_post_meta( $post->ID, 'gce_cache', true );
29
- $gce_multi_day_events = get_post_meta( $post->ID, 'gce_multi_day_events', true );
30
- $gce_display_mode = get_post_meta( $post->ID, 'gce_display_mode', true );
31
- $gce_custom_from = get_post_meta( $post->ID, 'gce_custom_from', true );
32
- $gce_custom_until = get_post_meta( $post->ID, 'gce_custom_until', true );
33
- $gce_search_query = get_post_meta( $post->ID, 'gce_search_query', true );
34
- $gce_expand_recurring = get_post_meta( $post->ID, 'gce_expand_recurring', true );
 
 
 
 
35
  ?>
36
 
37
  <div id="gce-admin-promo">
@@ -88,46 +92,6 @@
88
  </td>
89
  </tr>
90
 
91
- <tr>
92
- <th scope="row"><label for="gce_retrieve_from"><?php _e( 'Retrieve Events From', 'gce' ); ?></label></th>
93
- <td>
94
- <select name="gce_retrieve_from" id="gce_retrieve_from">
95
- <option value="today" <?php selected( $gce_retrieve_from, 'today', true ); ?>><?php _e( 'Today', 'gce' ); ?></option>
96
- <option value="start_week" <?php selected( $gce_retrieve_from, 'start_week', true ); ?>><?php _e( 'Start of current week', 'gce' ); ?></option>
97
- <option value="start_month" <?php selected( $gce_retrieve_from, 'start_month', true ); ?>><?php _e( 'Start of current month', 'gce' ); ?></option>
98
- <option value="end_month" <?php selected( $gce_retrieve_from, 'end_month', true ); ?>><?php _e( 'End of current month', 'gce' ); ?></option>
99
- <option value="start_time" <?php selected( $gce_retrieve_from, 'start_time', true ); ?>><?php _e( 'The beginning of time', 'gce' ); ?></option>
100
- <option value="custom_date" <?php selected( $gce_retrieve_from, 'custom_date', true ); ?>><?php _e( 'Specific date', 'gce' ); ?></option>
101
- </select>
102
- <input type="text" <?php echo ( $gce_retrieve_from != 'custom_date' ? 'class="gce-admin-hidden" ' : ' ' ); ?> name="gce_custom_from" id="gce_custom_from" value="<?php echo $gce_custom_from; ?>" />
103
- <p class="description"><?php _e( 'The point in time at which to start retrieving events.', 'gce' ); ?></p>
104
- </td>
105
- </tr>
106
-
107
- <tr>
108
- <th scope="row"><label for="gce_retrieve_until"><?php _e( 'Retrieve Events Until', 'gce' ); ?></label></th>
109
- <td>
110
- <select name="gce_retrieve_until" id="gce_retrieve_until">
111
- <option value="today" <?php selected( $gce_retrieve_until, 'today', true ); ?>><?php _e( 'Today', 'gce' ); ?></option>
112
- <option value="start_week" <?php selected( $gce_retrieve_until, 'start_week', true ); ?>><?php _e( 'Start of current week', 'gce' ); ?></option>
113
- <option value="start_month" <?php selected( $gce_retrieve_until, 'start_month', true ); ?>><?php _e( 'Start of current month', 'gce' ); ?></option>
114
- <option value="end_month" <?php selected( $gce_retrieve_until, 'end_month', true ); ?>><?php _e( 'End of current month', 'gce' ); ?></option>
115
- <option value="end_time" <?php selected( $gce_retrieve_until, 'end_time', true ); ?>><?php _e( 'The end of time', 'gce' ); ?></option>
116
- <option value="custom_date" <?php selected( $gce_retrieve_until, 'custom_date', true ); ?>><?php _e( 'Specific date', 'gce' ); ?></option>
117
- </select>
118
- <input type="text" <?php echo ( $gce_retrieve_until != 'custom_date' ? 'class="gce-admin-hidden" ' : ' ' ); ?> name="gce_custom_until" id="gce_custom_until" value="<?php echo $gce_custom_until; ?>" />
119
- <p class="description"><?php _e( 'The point in time at which to stop retrieving events.', 'gce' ); ?></p>
120
- </td>
121
- </tr>
122
-
123
- <tr>
124
- <th scope="row"><label for="gce_retrieve_max"><?php _e( 'Max Number of Events', 'gce' ); ?></label></th>
125
- <td>
126
- <input type="text" class="" name="gce_retrieve_max" id="gce_retrieve_max" value="<?php echo $gce_retrieve_max; ?>" />
127
- <p class="description"><?php _e( 'Maximum number of events to show.', 'gce' ); ?></p>
128
- <td>
129
- </tr>
130
-
131
  <tr>
132
  <th scope="row"><label for="gce_date_format"><?php _e( 'Date Format', 'gce' ); ?></label></th>
133
  <td>
@@ -179,15 +143,34 @@
179
  </tr>
180
 
181
  <tr>
182
- <th scope="row"><?php _e( 'Clear Cache', 'gce' ); ?></th>
183
  <td>
184
- <a href="<?php echo add_query_arg( array( 'clear_cache' => true ) ); ?>" class="button-secondary"><?php _e( 'Clear Cache', 'gce' ); ?></a>
185
- <p class="description">
186
- <?php
187
- printf( __( 'This will clear your feed cache. This also automatically happens when you save your changes. %s' .
188
- 'If you make changes you %sMUST%s save first or your changes will be lost.' ), '<br>', '<strong>', '</strong>' );
189
- ?>
190
- </p>
 
 
 
 
 
 
191
  </td>
192
  </tr>
 
 
 
 
 
 
 
 
 
 
 
 
 
193
  </table>
19
  }
20
 
21
  // Load up all post meta data
22
+ $gce_feed_url = get_post_meta( $post->ID, 'gce_feed_url', true );
23
+ $gce_date_format = get_post_meta( $post->ID, 'gce_date_format', true );
24
+ $gce_time_format = get_post_meta( $post->ID, 'gce_time_format', true );
25
+ $gce_cache = get_post_meta( $post->ID, 'gce_cache', true );
26
+ $gce_multi_day_events = get_post_meta( $post->ID, 'gce_multi_day_events', true );
27
+ $gce_display_mode = get_post_meta( $post->ID, 'gce_display_mode', true );
28
+ $gce_search_query = get_post_meta( $post->ID, 'gce_search_query', true );
29
+ $gce_expand_recurring = get_post_meta( $post->ID, 'gce_expand_recurring', true );
30
+ $gce_paging = get_post_meta( $post->ID, 'gce_paging', true );
31
+ $gce_list_max_num = get_post_meta( $post->ID, 'gce_list_max_num', true );
32
+ $gce_list_max_length = get_post_meta( $post->ID, 'gce_list_max_length', true );
33
+ $gce_list_start_offset_num = get_post_meta( $post->ID, 'gce_list_start_offset_num', true );
34
+ $gce_list_start_offset_direction = get_post_meta( $post->ID, 'gce_list_start_offset_direction', true );
35
+
36
+ if( empty( $gce_list_start_offset_num ) ) {
37
+ $gce_list_start_offset_num = 0;
38
+ }
39
  ?>
40
 
41
  <div id="gce-admin-promo">
92
  </td>
93
  </tr>
94
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
95
  <tr>
96
  <th scope="row"><label for="gce_date_format"><?php _e( 'Date Format', 'gce' ); ?></label></th>
97
  <td>
143
  </tr>
144
 
145
  <tr>
146
+ <th scope="row"><label for="gce_paging"><?php _e( 'Show Paging Links', 'gce' ); ?></label></th>
147
  <td>
148
+ <input type="checkbox" name="gce_paging" id="gce_paging" value="1" <?php checked( $gce_paging, '1' ); ?> /> <?php _e( 'Check this option to display Next and Back navigation links.', 'gce' ); ?>
149
+ </td>
150
+ </tr>
151
+
152
+ <tr>
153
+ <th scope="row"><label for="gce_list_max_num"><?php _e( 'Number of Events per Page', 'gce' ); ?></label></th>
154
+ <td>
155
+ <input type="number" min="0" step="1" class="small-text" id="gce_list_max_num" name="gce_list_max_num" value="<?php echo $gce_list_max_num; ?>" />
156
+ <select name="gce_list_max_length" id="gce_list_max_length">
157
+ <option value="days" <?php selected( $gce_list_max_length, 'days', true ); ?>><?php _e( 'Days', 'gce' ); ?></option>
158
+ <option value="events" <?php selected( $gce_list_max_length, 'events', true ); ?>><?php _e( 'Events', 'gce' ); ?></option>
159
+ </select>
160
+ <p class="description"><?php _e( 'How many events to display per page (List View only).', 'gce' ); ?></p>
161
  </td>
162
  </tr>
163
+
164
+ <tr>
165
+ <th scope="row"><label for="gce_list_start_offset_num"><?php _e( 'Start Date Offset', 'gce' ); ?></label></th>
166
+ <td>
167
+ <input type="number" min="0" step="1" class="small-text" id="gce_list_start_offset_num" name="gce_list_start_offset_num" value="<?php echo $gce_list_start_offset_num; ?>" />
168
+ <?php _e( 'Days', 'gce' ); ?>
169
+ <select name="gce_list_start_offset_direction" id="gce_list_start_offset_direction">
170
+ <option value="back" <?php selected( $gce_list_start_offset_direction, 'back', true ); ?>><?php _e( 'Back', 'gce' ); ?></option>
171
+ <option value="ahead" <?php selected( $gce_list_start_offset_direction, 'ahead', true ); ?>><?php _e( 'Ahead', 'gce' ); ?></option>
172
+ </select>
173
+ <p class="description"><?php _e( 'If you need to show events starting on a day other than today. (List View only).', 'gce' ); ?></p>
174
+ </td>
175
+ </tr>
176
  </table>
views/widgets.php CHANGED
@@ -40,6 +40,35 @@ class GCE_Widget extends WP_Widget {
40
  //Output before widget stuff
41
  echo $before_widget;
42
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
43
  // Check whether any feeds have been added yet
44
  if( wp_count_posts( 'gce_feed' )->publish > 0 ) {
45
  //Output title stuff
@@ -67,6 +96,16 @@ class GCE_Widget extends WP_Widget {
67
  if ( false !== get_post_meta( $feed_id ) )
68
  $no_feeds_exist = false;
69
  }
 
 
 
 
 
 
 
 
 
 
70
  } else {
71
  if ( current_user_can( 'manage_options' ) ) {
72
  _e( 'No valid Feed IDs have been entered for this widget. Please check that you have entered the IDs correctly in the widget settings (Appearance > Widgets), and that the Feeds have not been deleted.', 'gce' );
@@ -79,16 +118,17 @@ class GCE_Widget extends WP_Widget {
79
  $feed_ids = implode( '-', $feed_ids );
80
 
81
  $title_text = ( ! empty( $instance['display_title_text'] ) ? $instance['display_title_text'] : null );
82
- $max_events = ( isset( $instance['max_events'] ) ) ? $instance['max_events'] : 0;
83
  $sort_order = ( isset( $instance['order'] ) ) ? $instance['order'] : 'asc';
84
 
85
  $args = array(
86
- 'title_text' => $title_text,
87
- 'max_events' => $max_events,
88
- 'sort' => $sort_order,
89
- 'month' => null,
90
- 'year' => null,
91
- 'widget' => 1
 
 
92
  );
93
 
94
  if( 'list-grouped' == $instance['display_type'] ) {
@@ -118,13 +158,17 @@ class GCE_Widget extends WP_Widget {
118
  */
119
  function update( $new_instance, $old_instance ) {
120
 
121
- $instance = $old_instance;
122
- $instance['title'] = esc_html( $new_instance['title'] );
123
- $instance['id'] = esc_html( $new_instance['id'] );
124
- $instance['display_type'] = esc_html( $new_instance['display_type'] );
125
- $instance['max_events'] = absint( $new_instance['max_events'] );
126
- $instance['order'] = ( 'asc' == $new_instance['order'] ) ? 'asc' : 'desc';
127
- $instance['display_title_text'] = wp_filter_kses( $new_instance['display_title_text'] );
 
 
 
 
128
 
129
  return $instance;
130
  }
@@ -145,13 +189,17 @@ class GCE_Widget extends WP_Widget {
145
  return;
146
  }
147
 
148
- $title = ( isset( $instance['title'] ) ) ? $instance['title'] : '';
149
- $ids = ( isset( $instance['id'] ) ) ? $instance['id'] : '';
150
- $display_type = ( isset( $instance['display_type'] ) ) ? $instance['display_type'] : 'grid';
151
- $max_events = ( isset( $instance['max_events'] ) ) ? $instance['max_events'] : 0;
152
- $order = ( isset( $instance['order'] ) ) ? $instance['order'] : 'asc';
153
- $display_title = ( isset( $instance['display_title'] ) ) ? $instance['display_title'] : true;
154
- $title_text = ( isset( $instance['display_title_text'] ) ) ? $instance['display_title_text'] : 'Events on';
 
 
 
 
155
 
156
  ?>
157
  <p>
@@ -160,7 +208,7 @@ class GCE_Widget extends WP_Widget {
160
  </p>
161
  <p>
162
  <label for="<?php echo $this->get_field_id( 'id' ); ?>">
163
- <?php _e( 'Feeds to display, as a comma separated list (e.g. 101,102,103)', 'gce' ); ?>
164
  </label>
165
  <input type="text" id="<?php echo $this->get_field_id( 'id' ); ?>" name="<?php echo $this->get_field_name( 'id' ); ?>" value="<?php echo $ids; ?>" class="widefat" />
166
  </p>
@@ -168,26 +216,46 @@ class GCE_Widget extends WP_Widget {
168
  <label for="<?php echo $this->get_field_id( 'display_type' ); ?>"><?php _e( 'Display events as:', 'gce' ); ?></label>
169
  <select id="<?php echo $this->get_field_id( 'display_type' ); ?>" name="<?php echo $this->get_field_name( 'display_type' ); ?>" class="widefat">
170
  <option value="grid"<?php selected( $display_type, 'grid' ); ?>><?php _e( 'Grid', 'gce' ); ?></option>
171
- <!-- <option value="ajax"<?php selected( $display_type, 'ajax' ); ?>><?php _e( 'Calendar Grid - with AJAX', 'gce' ); ?></option> -->
172
  <option value="list"<?php selected( $display_type, 'list' ); ?>><?php _e( 'List', 'gce' ); ?></option>
173
  <option value="list-grouped"<?php selected( $display_type, 'list-grouped' );?>><?php _e( 'Grouped List', 'gce' ); ?></option>
174
  </select>
175
  </p>
176
-
177
  <p>
178
- <label for="<?php echo $this->get_field_id( 'max_events' ); ?>"><?php _e( 'Maximum no. events to display. Enter 0 to show all retrieved.' ); ?></label>
179
- <input type="text" id="<?php echo $this->get_field_id( 'max_events' ); ?>" name="<?php echo $this->get_field_name( 'max_events' ); ?>" value="<?php echo $max_events; ?>" class="widefat" />
 
180
  </p>
181
-
182
  <p>
183
- <label for="<?php echo $this->get_field_id( 'order' ); ?>"><?php _e( 'Sort order (only applies to lists):' ); ?></label>
184
  <select id="<?php echo $this->get_field_id( 'order' ); ?>" name="<?php echo $this->get_field_name( 'order' ); ?>" class="widefat">
185
  <option value="asc" <?php selected( $order, 'asc' ); ?>><?php _e( 'Ascending', 'gce' ); ?></option>
186
  <option value="desc" <?php selected( $order, 'desc' ); ?>><?php _e( 'Descending', 'gce' ); ?></option>
187
  </select>
188
  </p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
189
  <p>
190
- <label for="<?php echo $this->get_field_id( 'display_title' ); ?>"><?php _e( 'Display title on tooltip / list item (e.g. \'Events on 7th March\') Grouped lists always have a title displayed.', 'gce' ); ?></label>
191
  <input type="text" class="widefat" id="<?php echo $this->get_field_id( 'display_title_text' ); ?>" name="<?php echo $this->get_field_name( 'display_title_text' ); ?>" value="<?php echo $title_text; ?>" />
192
  </p>
193
 
40
  //Output before widget stuff
41
  echo $before_widget;
42
 
43
+ $paging = ( isset( $instance['paging'] ) ? $instance['paging'] : null );
44
+ $max_num = ( isset( $instance['list_max_num'] ) ? $instance['list_max_num'] : null );
45
+ $max_length = ( isset( $instance['list_max_length'] ) ? $instance['list_max_length'] : null );
46
+ $max_events = null;
47
+
48
+ // Start offset
49
+ $offset_num = ( isset( $instance['list_start_offset_num'] ) ? $instance['list_start_offset_num'] : 0 );
50
+ $offset_length = 86400;
51
+ $offset_direction = ( isset( $instance['list_start_offset_direction'] ) ? $instance['list_start_offset_direction'] : null );
52
+
53
+
54
+ if( $offset_direction == 'back' ) {
55
+ $offset_direction = -1;
56
+ } else {
57
+ $offset_direction = 1;
58
+ }
59
+
60
+ $start_offset = $offset_num * $offset_length * $offset_direction;
61
+
62
+ $paging_interval = null;
63
+
64
+ if( $max_length == 'days' ) {
65
+ $paging_interval = $max_num * 86400;
66
+ }
67
+
68
+ if( $max_length == 'events' ) {
69
+ $max_events = $max_num;
70
+ }
71
+
72
  // Check whether any feeds have been added yet
73
  if( wp_count_posts( 'gce_feed' )->publish > 0 ) {
74
  //Output title stuff
96
  if ( false !== get_post_meta( $feed_id ) )
97
  $no_feeds_exist = false;
98
  }
99
+
100
+ foreach( $feed_ids as $feed_id ) {
101
+ if( $paging ) {
102
+ update_post_meta( $feed_id, 'gce_paging_widget', true );
103
+ } else {
104
+ delete_post_meta( $feed_id, 'gce_paging_widget' );
105
+ }
106
+
107
+ update_post_meta( $feed_id, 'gce_widget_paging_interval', $paging_interval );
108
+ }
109
  } else {
110
  if ( current_user_can( 'manage_options' ) ) {
111
  _e( 'No valid Feed IDs have been entered for this widget. Please check that you have entered the IDs correctly in the widget settings (Appearance > Widgets), and that the Feeds have not been deleted.', 'gce' );
118
  $feed_ids = implode( '-', $feed_ids );
119
 
120
  $title_text = ( ! empty( $instance['display_title_text'] ) ? $instance['display_title_text'] : null );
 
121
  $sort_order = ( isset( $instance['order'] ) ) ? $instance['order'] : 'asc';
122
 
123
  $args = array(
124
+ 'title_text' => $title_text,
125
+ 'sort' => $sort_order,
126
+ 'month' => null,
127
+ 'year' => null,
128
+ 'widget' => 1,
129
+ 'max_events' => $max_events,
130
+ 'start_offset' => $start_offset,
131
+ 'paging_type' => $max_length
132
  );
133
 
134
  if( 'list-grouped' == $instance['display_type'] ) {
158
  */
159
  function update( $new_instance, $old_instance ) {
160
 
161
+ $instance = $old_instance;
162
+ $instance['title'] = esc_html( $new_instance['title'] );
163
+ $instance['id'] = esc_html( $new_instance['id'] );
164
+ $instance['display_type'] = esc_html( $new_instance['display_type'] );
165
+ $instance['order'] = ( 'asc' == $new_instance['order'] ) ? 'asc' : 'desc';
166
+ $instance['display_title_text'] = esc_html( $new_instance['display_title_text'] );
167
+ $instance['paging'] = ( isset( $new_instance['paging'] ) ? 1 : 0 );
168
+ $instance['list_max_num'] = $new_instance['list_max_num'];
169
+ $instance['list_max_length'] = $new_instance['list_max_length'];
170
+ $instance['list_start_offset_num'] = $new_instance['list_start_offset_num'];
171
+ $instance['list_start_offset_direction'] = $new_instance['list_start_offset_direction'];
172
 
173
  return $instance;
174
  }
189
  return;
190
  }
191
 
192
+ $title = ( isset( $instance['title'] ) ) ? $instance['title'] : '';
193
+ $ids = ( isset( $instance['id'] ) ) ? $instance['id'] : '';
194
+ $display_type = ( isset( $instance['display_type'] ) ) ? $instance['display_type'] : 'grid';
195
+ $order = ( isset( $instance['order'] ) ) ? $instance['order'] : 'asc';
196
+ $display_title = ( isset( $instance['display_title'] ) ) ? $instance['display_title'] : true;
197
+ $title_text = ( isset( $instance['display_title_text'] ) ) ? $instance['display_title_text'] : 'Events on';
198
+ $paging = ( isset( $instance['paging'] ) ? $instance['paging'] : 1 );
199
+ $list_max_num = ( isset( $instance['list_max_num'] ) ? $instance['list_max_num'] : 7 );
200
+ $list_max_length = ( isset( $instance['list_max_length'] ) ? $instance['list_max_length'] : 'days' );
201
+ $list_start_offset_num = ( isset( $instance['list_start_offset_num'] ) ? $instance['list_start_offset_num'] : 0 );
202
+ $list_start_offset_direction = ( isset( $instance['list_start_offset_direction'] ) ? $instance['list_start_offset_direction'] : 'back' );
203
 
204
  ?>
205
  <p>
208
  </p>
209
  <p>
210
  <label for="<?php echo $this->get_field_id( 'id' ); ?>">
211
+ <?php _e( 'Feeds to display, as a comma separated list (e.g. 101,102,103):', 'gce' ); ?>
212
  </label>
213
  <input type="text" id="<?php echo $this->get_field_id( 'id' ); ?>" name="<?php echo $this->get_field_name( 'id' ); ?>" value="<?php echo $ids; ?>" class="widefat" />
214
  </p>
216
  <label for="<?php echo $this->get_field_id( 'display_type' ); ?>"><?php _e( 'Display events as:', 'gce' ); ?></label>
217
  <select id="<?php echo $this->get_field_id( 'display_type' ); ?>" name="<?php echo $this->get_field_name( 'display_type' ); ?>" class="widefat">
218
  <option value="grid"<?php selected( $display_type, 'grid' ); ?>><?php _e( 'Grid', 'gce' ); ?></option>
 
219
  <option value="list"<?php selected( $display_type, 'list' ); ?>><?php _e( 'List', 'gce' ); ?></option>
220
  <option value="list-grouped"<?php selected( $display_type, 'list-grouped' );?>><?php _e( 'Grouped List', 'gce' ); ?></option>
221
  </select>
222
  </p>
223
+
224
  <p>
225
+ <label for="<?php echo $this->get_field_id( 'paging' ); ?>"><?php _e( 'Show paging links:', 'gce' ); ?></label><br>
226
+ <input type="checkbox" id="<?php echo $this->get_field_id( 'paging' ); ?>" name="<?php echo $this->get_field_name( 'paging' ); ?>" class="widefat" value="1" <?php checked( $paging, 1 ); ?>>
227
+ <?php _e( 'Check this option to display Next and Back navigation links.', 'gce' ); ?>
228
  </p>
229
+
230
  <p>
231
+ <label for="<?php echo $this->get_field_id( 'order' ); ?>"><?php _e( 'Sort order (List View only):' ); ?></label>
232
  <select id="<?php echo $this->get_field_id( 'order' ); ?>" name="<?php echo $this->get_field_name( 'order' ); ?>" class="widefat">
233
  <option value="asc" <?php selected( $order, 'asc' ); ?>><?php _e( 'Ascending', 'gce' ); ?></option>
234
  <option value="desc" <?php selected( $order, 'desc' ); ?>><?php _e( 'Descending', 'gce' ); ?></option>
235
  </select>
236
  </p>
237
+
238
+ <p>
239
+ <label for="<?php echo $this->get_field_id( 'list_max_num' ); ?>"><?php _e( 'Number of events per page (List View only):', 'gce' ); ?></label><br>
240
+ <input type="number" min="0" step="1" class="small-text" id="<?php echo $this->get_field_id( 'list_max_num' ); ?>" name="<?php echo $this->get_field_name( 'list_max_num' ); ?>" value="<?php echo $list_max_num; ?>" />
241
+ <select name="<?php echo $this->get_field_name( 'list_max_length' ); ?>" id="<?php echo $this->get_field_id( 'list_max_length' ); ?>">
242
+ <option value="days" <?php selected( $list_max_length, 'days', true ); ?>><?php _e( 'Days', 'gce' ); ?></option>
243
+ <option value="events" <?php selected( $list_max_length, 'events', true ); ?>><?php _e( 'Events', 'gce' ); ?></option>
244
+ </select>
245
+ </p>
246
+
247
+ <p>
248
+ <label for="<?php echo $this->get_field_id( 'list_start_offset_num' ); ?>"><?php _e( 'Start date offset (List View only):', 'gce' ); ?></label><br>
249
+ <input type="number" min="0" step="1" class="small-text" id="<?php echo $this->get_field_id( 'list_start_offset_num' ); ?>" name="<?php echo $this->get_field_name( 'list_start_offset_num' ); ?>" value="<?php echo $list_start_offset_num; ?>" />
250
+ <?php _e( 'Days', 'gce' ); ?>
251
+ <select name="<?php echo $this->get_field_name( 'list_start_offset_direction' ); ?>" id="<?php echo $this->get_field_id( 'list_start_offset_direction' ); ?>">
252
+ <option value="back" <?php selected( $list_start_offset_direction, 'back', true ); ?>><?php _e( 'Back', 'gce' ); ?></option>
253
+ <option value="ahead" <?php selected( $list_start_offset_direction, 'ahead', true ); ?>><?php _e( 'Ahead', 'gce' ); ?></option>
254
+ </select>
255
+ </p>
256
+
257
  <p>
258
+ <label for="<?php echo $this->get_field_id( 'display_title' ); ?>"><?php _e( 'Display title on tooltip/list item (e.g. \'Events on 7th March\'). Grouped lists always have a title displayed.', 'gce' ); ?></label>
259
  <input type="text" class="widefat" id="<?php echo $this->get_field_id( 'display_title_text' ); ?>" name="<?php echo $this->get_field_name( 'display_title_text' ); ?>" value="<?php echo $title_text; ?>" />
260
  </p>
261