The Events Calendar - Version 1.5.3

Version Description

Settings * updated minimum php requirement to 5.1

Bug Fixes * fixed permalink issue on calendar * removed limit of events shown on calendar view * fixed conflicting namespace error with xml2array function * curl support for (soon to be deprecated) safe_mod

Features * update minuted to increment by 5 rather than 1 and default to 00 * added a class per category to each event in the grid view: "cat_classname" to allow users more styling controls in the grid. * added embedded google maps integration & admin panel controls * changed "Grid view" to "Calendar", "List view" to "Event List" * made significant headway on preparing translation - more to go * clean up admin quite a bit to make it easier to navigate the events form

Download this release

Release Info

Developer shane.pearlman
Plugin Icon The Events Calendar
Version 1.5.3
Comparing to
See all releases

Code changes from version 1.5.2 to 1.5.3

readme.txt CHANGED
@@ -2,14 +2,16 @@
2
 
3
  Contributors: Kelsey Damas, Matt Wiebe, Justin Endler, Reid Peifer produced by Shane & Peter, Inc.
4
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=10750983
5
- Tags: widget, events, simple, tooltips, grid, month, list, calendar, event, venue, eventbrite, registration, tickets, ticketing, eventbright, api, dates, date, plugin, posts, sidebar, template, theme, time, google maps, google, maps, conference, workshop, concert, meeting, seminar, summit, forum
6
  Requires at least: 2.8
7
  Tested up to: 2.9.1
8
- Stable tag: 1.5.2
9
 
10
  == Description ==
11
 
12
- The Events Calendar plugin enables you to rapidly create and manage events using the post editor. Features include optional Eventbrite integration, Google Maps integration as well as default templates such as a calendar grid and event list for streamlined one click installation.
 
 
13
 
14
  = The Events Calendar =
15
 
@@ -20,19 +22,22 @@ The Events Calendar plugin enables you to rapidly create and manage events using
20
  * MU Compatible
21
  * Google Maps Integration
22
  * Posts are automatically moved to the top of the loop on the day of the event
23
- * Month view with tooltips
24
  * Includes support for venue, cost, address, start and end time, google maps link
25
  * Support for international addresses and time
26
  * Optional Ticketing With Eventbrite Integration - http://www.eventbrite.com/ - though the Eventbrite for The Events Calendar plugin (http://wordpress.org/extend/plugins/eventbrite-for-the-events-calendar/).
27
 
28
  = Upcoming Features =
29
 
 
 
 
30
  * Option to disable re-posting of event
 
 
31
  * Repeated events
32
- * Language files
33
  * Dynamic categories (rather than requiring the use of event)
34
  * Event subcategories
35
- * A bunch of UI cleanup
36
 
37
  Please visit the forum for feature suggestions: http://wordpress.org/tags/the-events-calendar/
38
 
@@ -53,11 +58,20 @@ This plugin is actively supported and we will do our best to help you. In return
53
 
54
  No setup required. Just plug and play!
55
 
 
 
 
 
 
 
 
 
 
56
  = Requirements =
57
 
58
- PHP 5 ONLY!!!
59
 
60
- = Advanced =
61
 
62
  The built in template can be overridden by files within your template.
63
 
@@ -140,13 +154,17 @@ http://codex.wordpress.org/Displaying_Posts_Using_a_Custom_Select_Query#Query_ba
140
 
141
  **events_displaying_past()**
142
 
143
- returns true if the query is set for past events
144
 
145
  For those of you who have the Eventbrite plugin turned on:
146
 
 
 
 
 
147
  **the_event_tickets( $id, $width, $height)**
148
 
149
- This returns an EventBrite.com embedded ticket sales inline (not wordpress) widget
150
 
151
  = Top of the Loop Cron =
152
 
@@ -170,6 +188,25 @@ Please visit the forum for questions or comments: http://wordpress.org/tags/the-
170
 
171
  == Changelog ==
172
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
173
  = 1.5.2 =
174
 
175
  * updated ticket display to hide after event end date
@@ -219,7 +256,7 @@ Please visit the forum for questions or comments: http://wordpress.org/tags/the-
219
 
220
  = 1.2 =
221
 
222
- * Added Internationalization (translation) support
223
  * Added international addresses
224
  * Extracted from S&P core plugin to stand alone.
225
 
2
 
3
  Contributors: Kelsey Damas, Matt Wiebe, Justin Endler, Reid Peifer produced by Shane & Peter, Inc.
4
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=10750983
5
+ Tags: widget, events, simple, tooltips, grid, month, list, calendar, event, venue, eventbrite, registration, tickets, ticketing, eventbright, api, dates, date, plugin, posts, sidebar, template, theme, time, google maps, conference, workshop, concert, meeting, seminar, summit, forum, shortcode
6
  Requires at least: 2.8
7
  Tested up to: 2.9.1
8
+ Stable tag: 1.5.3
9
 
10
  == Description ==
11
 
12
+ The Events Calendar plugin enables you to rapidly create and manage events using the post editor. Features include Google Maps integration as well as default templates such as a calendar grid and event list for streamlined one click installation.
13
+
14
+ Looking to track attendees, sell tickets and more? Go download the Eventbrite for The Events Calendar plugin (http://wordpress.org/extend/plugins/eventbrite-for-the-events-calendar/). Eventbrite is a free service that provides the full power of a conference ticketing system. This plugin upgrades The Events Calendar with all the basic Eventbrite controls without ever leaving the wordpress post editor. Don't have an Eventbrite account? No problem, use the following link to set one up: http://www.eventbrite.com/r/simpleevents.
15
 
16
  = The Events Calendar =
17
 
22
  * MU Compatible
23
  * Google Maps Integration
24
  * Posts are automatically moved to the top of the loop on the day of the event
25
+ * Calendar Month view with tooltips
26
  * Includes support for venue, cost, address, start and end time, google maps link
27
  * Support for international addresses and time
28
  * Optional Ticketing With Eventbrite Integration - http://www.eventbrite.com/ - though the Eventbrite for The Events Calendar plugin (http://wordpress.org/extend/plugins/eventbrite-for-the-events-calendar/).
29
 
30
  = Upcoming Features =
31
 
32
+ * Localization / Language files (almost there) - Post in the forum if you want to help.
33
+ * Improved international features (24 hour + calendar start day)
34
+ * More bug hunting and support (huff puff)
35
  * Option to disable re-posting of event
36
+ * Ical Feed
37
+ * Improved error checking and reporting
38
  * Repeated events
 
39
  * Dynamic categories (rather than requiring the use of event)
40
  * Event subcategories
 
41
 
42
  Please visit the forum for feature suggestions: http://wordpress.org/tags/the-events-calendar/
43
 
58
 
59
  No setup required. Just plug and play!
60
 
61
+ = Settings =
62
+
63
+ There are a growing number of options you can set to make your calendar behave in a specific manner. Simple click The Event Calendar in the settings panel:
64
+
65
+ * Donation: Remove our plea for your support
66
+ * Default View for Events: Select Calendar or Event list as the default view for the events loop
67
+ * Default Country: Select the default country for the admin
68
+ * Embed Google Maps: Turn on Google Maps and define the height and width of the map.
69
+
70
  = Requirements =
71
 
72
+ PHP 5.1 OR ABOVE
73
 
74
+ == Documentation ==
75
 
76
  The built in template can be overridden by files within your template.
77
 
154
 
155
  **events_displaying_past()**
156
 
157
+ Returns true if the query is set for past events
158
 
159
  For those of you who have the Eventbrite plugin turned on:
160
 
161
+ **event_google_map_embed( $id, $width, $height)**
162
+
163
+ Returns an embedded google map. Width and height are set through the admin panel unless overridden directly through the function call.
164
+
165
  **the_event_tickets( $id, $width, $height)**
166
 
167
+ Returns an EventBrite.com embedded ticket sales inline (not wordpress) widget
168
 
169
  = Top of the Loop Cron =
170
 
188
 
189
  == Changelog ==
190
 
191
+ = 1.5.3 =
192
+
193
+ Settings
194
+ * updated minimum php requirement to 5.1
195
+
196
+ Bug Fixes
197
+ * fixed permalink issue on calendar
198
+ * removed limit of events shown on calendar view
199
+ * fixed conflicting namespace error with xml2array function
200
+ * curl support for (soon to be deprecated) safe_mod
201
+
202
+ Features
203
+ * update minuted to increment by 5 rather than 1 and default to 00
204
+ * added a class per category to each event in the grid view: "cat_classname" to allow users more styling controls in the grid.
205
+ * added embedded google maps integration & admin panel controls
206
+ * changed "Grid view" to "Calendar", "List view" to "Event List"
207
+ * made significant headway on preparing translation - more to go
208
+ * clean up admin quite a bit to make it easier to navigate the events form
209
+
210
  = 1.5.2 =
211
 
212
  * updated ticket display to hide after event end date
256
 
257
  = 1.2 =
258
 
259
+ * Started internationalization (translation) support
260
  * Added international addresses
261
  * Extracted from S&P core plugin to stand alone.
262
 
resources/images/bg_fade.png ADDED
Binary file
resources/images/logo_eventbrite.png ADDED
Binary file
screenshot-1.png CHANGED
Binary file
screenshot-2.png CHANGED
Binary file
screenshot-3.png CHANGED
Binary file
screenshot-4.png CHANGED
Binary file
screenshot-5.png CHANGED
Binary file
the-events-calendar.mo ADDED
Binary file
the-events-calendar.php CHANGED
@@ -3,10 +3,11 @@
3
  Plugin Name: The Events Calendar
4
  Plugin URI: http://wordpress.org/extend/plugins/the-events-calendar/
5
  Description: The Events Calendar plugin enables you to rapidly create and manage events using the post editor. Features include optional Eventbrite integration, Google Maps integration as well as default calendar grid and list templates for streamlined one click installation.
6
- Version: 1.5.2
7
  Author URI: http://www.shaneandpeter.com/
8
  Text Domain: events
9
  */
 
10
  if ( !class_exists( 'The_Events_Calendar' ) ) {
11
 
12
  class The_Events_Calendar {
@@ -18,8 +19,7 @@ if ( !class_exists( 'The_Events_Calendar' ) ) {
18
  const DATETIMEFORMAT12 = 'F j, Y g:i A';
19
  const DATETIMEFORMAT24 = 'F j, Y H:i';
20
  const EVENTTIMEFORMATOPT = 'events_timeformat';
21
-
22
- public $debug = false;
23
  private $defaultOptions = '';
24
  public $latestOptions;
25
 
@@ -49,246 +49,246 @@ if ( !class_exists( 'The_Events_Calendar' ) ) {
49
  private $countries;
50
 
51
  private function constructCountries( $useDefault = true ) {
52
- $countries = array(
53
- "US" => __("United States", $this->pluginDomain),
54
- "AF" => __("Afghanistan", $this->pluginDomain),
55
- "AL" => __("Albania", $this->pluginDomain),
56
- "DZ" => __("Algeria", $this->pluginDomain),
57
- "AS" => __("American Samoa", $this->pluginDomain),
58
- "AD" => __("Andorra", $this->pluginDomain),
59
- "AO" => __("Angola", $this->pluginDomain),
60
- "AI" => __("Anguilla", $this->pluginDomain),
61
- "AQ" => __("Antarctica", $this->pluginDomain),
62
- "AG" => __("Antigua And Barbuda", $this->pluginDomain),
63
- "AR" => __("Argentina", $this->pluginDomain),
64
- "AM" => __("Armenia", $this->pluginDomain),
65
- "AW" => __("Aruba", $this->pluginDomain),
66
- "AU" => __("Australia", $this->pluginDomain),
67
- "AT" => __("Austria", $this->pluginDomain),
68
- "AZ" => __("Azerbaijan", $this->pluginDomain),
69
- "BS" => __("Bahamas", $this->pluginDomain),
70
- "BH" => __("Bahrain", $this->pluginDomain),
71
- "BD" => __("Bangladesh", $this->pluginDomain),
72
- "BB" => __("Barbados", $this->pluginDomain),
73
- "BY" => __("Belarus", $this->pluginDomain),
74
- "BE" => __("Belgium", $this->pluginDomain),
75
- "BZ" => __("Belize", $this->pluginDomain),
76
- "BJ" => __("Benin", $this->pluginDomain),
77
- "BM" => __("Bermuda", $this->pluginDomain),
78
- "BT" => __("Bhutan", $this->pluginDomain),
79
- "BO" => __("Bolivia", $this->pluginDomain),
80
- "BA" => __("Bosnia And Herzegowina", $this->pluginDomain),
81
- "BW" => __("Botswana", $this->pluginDomain),
82
- "BV" => __("Bouvet Island", $this->pluginDomain),
83
- "BR" => __("Brazil", $this->pluginDomain),
84
- "IO" => __("British Indian Ocean Territory", $this->pluginDomain),
85
- "BN" => __("Brunei Darussalam", $this->pluginDomain),
86
- "BG" => __("Bulgaria", $this->pluginDomain),
87
- "BF" => __("Burkina Faso", $this->pluginDomain),
88
- "BI" => __("Burundi", $this->pluginDomain),
89
- "KH" => __("Cambodia", $this->pluginDomain),
90
- "CM" => __("Cameroon", $this->pluginDomain),
91
- "CA" => __("Canada", $this->pluginDomain),
92
- "CV" => __("Cape Verde", $this->pluginDomain),
93
- "KY" => __("Cayman Islands", $this->pluginDomain),
94
- "CF" => __("Central African Republic", $this->pluginDomain),
95
- "TD" => __("Chad", $this->pluginDomain),
96
- "CL" => __("Chile", $this->pluginDomain),
97
- "CN" => __("China", $this->pluginDomain),
98
- "CX" => __("Christmas Island", $this->pluginDomain),
99
- "CC" => __("Cocos (Keeling) Islands", $this->pluginDomain),
100
- "CO" => __("Colombia", $this->pluginDomain),
101
- "KM" => __("Comoros", $this->pluginDomain),
102
- "CG" => __("Congo", $this->pluginDomain),
103
- "CD" => __("Congo, The Democratic Republic Of The", $this->pluginDomain),
104
- "CK" => __("Cook Islands", $this->pluginDomain),
105
- "CR" => __("Costa Rica", $this->pluginDomain),
106
- "CI" => __("Cote D'Ivoire", $this->pluginDomain),
107
- "HR" => __("Croatia (Local Name: Hrvatska)", $this->pluginDomain),
108
- "CU" => __("Cuba", $this->pluginDomain),
109
- "CY" => __("Cyprus", $this->pluginDomain),
110
- "CZ" => __("Czech Republic", $this->pluginDomain),
111
- "DK" => __("Denmark", $this->pluginDomain),
112
- "DJ" => __("Djibouti", $this->pluginDomain),
113
- "DM" => __("Dominica", $this->pluginDomain),
114
- "DO" => __("Dominican Republic", $this->pluginDomain),
115
- "TP" => __("East Timor", $this->pluginDomain),
116
- "EC" => __("Ecuador", $this->pluginDomain),
117
- "EG" => __("Egypt", $this->pluginDomain),
118
- "SV" => __("El Salvador", $this->pluginDomain),
119
- "GQ" => __("Equatorial Guinea", $this->pluginDomain),
120
- "ER" => __("Eritrea", $this->pluginDomain),
121
- "EE" => __("Estonia", $this->pluginDomain),
122
- "ET" => __("Ethiopia", $this->pluginDomain),
123
- "FK" => __("Falkland Islands (Malvinas)", $this->pluginDomain),
124
- "FO" => __("Faroe Islands", $this->pluginDomain),
125
- "FJ" => __("Fiji", $this->pluginDomain),
126
- "FI" => __("Finland", $this->pluginDomain),
127
- "FR" => __("France", $this->pluginDomain),
128
- "FX" => __("France, Metropolitan", $this->pluginDomain),
129
- "GF" => __("French Guiana", $this->pluginDomain),
130
- "PF" => __("French Polynesia", $this->pluginDomain),
131
- "TF" => __("French Southern Territories", $this->pluginDomain),
132
- "GA" => __("Gabon", $this->pluginDomain),
133
- "GM" => __("Gambia", $this->pluginDomain),
134
- "GE" => __("Georgia", $this->pluginDomain),
135
- "DE" => __("Germany", $this->pluginDomain),
136
- "GH" => __("Ghana", $this->pluginDomain),
137
- "GI" => __("Gibraltar", $this->pluginDomain),
138
- "GR" => __("Greece", $this->pluginDomain),
139
- "GL" => __("Greenland", $this->pluginDomain),
140
- "GD" => __("Grenada", $this->pluginDomain),
141
- "GP" => __("Guadeloupe", $this->pluginDomain),
142
- "GU" => __("Guam", $this->pluginDomain),
143
- "GT" => __("Guatemala", $this->pluginDomain),
144
- "GN" => __("Guinea", $this->pluginDomain),
145
- "GW" => __("Guinea-Bissau", $this->pluginDomain),
146
- "GY" => __("Guyana", $this->pluginDomain),
147
- "HT" => __("Haiti", $this->pluginDomain),
148
- "HM" => __("Heard And Mc Donald Islands", $this->pluginDomain),
149
- "VA" => __("Holy See (Vatican City State)", $this->pluginDomain),
150
- "HN" => __("Honduras", $this->pluginDomain),
151
- "HK" => __("Hong Kong", $this->pluginDomain),
152
- "HU" => __("Hungary", $this->pluginDomain),
153
- "IS" => __("Iceland", $this->pluginDomain),
154
- "IN" => __("India", $this->pluginDomain),
155
- "ID" => __("Indonesia", $this->pluginDomain),
156
- "IR" => __("Iran (Islamic Republic Of)", $this->pluginDomain),
157
- "IQ" => __("Iraq", $this->pluginDomain),
158
- "IE" => __("Ireland", $this->pluginDomain),
159
- "IL" => __("Israel", $this->pluginDomain),
160
- "IT" => __("Italy", $this->pluginDomain),
161
- "JM" => __("Jamaica", $this->pluginDomain),
162
- "JP" => __("Japan", $this->pluginDomain),
163
- "JO" => __("Jordan", $this->pluginDomain),
164
- "KZ" => __("Kazakhstan", $this->pluginDomain),
165
- "KE" => __("Kenya", $this->pluginDomain),
166
- "KI" => __("Kiribati", $this->pluginDomain),
167
- "KP" => __("Korea, Democratic People's Republic Of", $this->pluginDomain),
168
- "KR" => __("Korea, Republic Of", $this->pluginDomain),
169
- "KW" => __("Kuwait", $this->pluginDomain),
170
- "KG" => __("Kyrgyzstan", $this->pluginDomain),
171
- "LA" => __("Lao People's Democratic Republic", $this->pluginDomain),
172
- "LV" => __("Latvia", $this->pluginDomain),
173
- "LB" => __("Lebanon", $this->pluginDomain),
174
- "LS" => __("Lesotho", $this->pluginDomain),
175
- "LR" => __("Liberia", $this->pluginDomain),
176
- "LY" => __("Libyan Arab Jamahiriya", $this->pluginDomain),
177
- "LI" => __("Liechtenstein", $this->pluginDomain),
178
- "LT" => __("Lithuania", $this->pluginDomain),
179
- "LU" => __("Luxembourg", $this->pluginDomain),
180
- "MO" => __("Macau", $this->pluginDomain),
181
- "MK" => __("Macedonia, Former Yugoslav Republic Of", $this->pluginDomain),
182
- "MG" => __("Madagascar", $this->pluginDomain),
183
- "MW" => __("Malawi", $this->pluginDomain),
184
- "MY" => __("Malaysia", $this->pluginDomain),
185
- "MV" => __("Maldives", $this->pluginDomain),
186
- "ML" => __("Mali", $this->pluginDomain),
187
- "MT" => __("Malta", $this->pluginDomain),
188
- "MH" => __("Marshall Islands", $this->pluginDomain),
189
- "MQ" => __("Martinique", $this->pluginDomain),
190
- "MR" => __("Mauritania", $this->pluginDomain),
191
- "MU" => __("Mauritius", $this->pluginDomain),
192
- "YT" => __("Mayotte", $this->pluginDomain),
193
- "MX" => __("Mexico", $this->pluginDomain),
194
- "FM" => __("Micronesia, Federated States Of", $this->pluginDomain),
195
- "MD" => __("Moldova, Republic Of", $this->pluginDomain),
196
- "MC" => __("Monaco", $this->pluginDomain),
197
- "MN" => __("Mongolia", $this->pluginDomain),
198
- "MS" => __("Montserrat", $this->pluginDomain),
199
- "MA" => __("Morocco", $this->pluginDomain),
200
- "MZ" => __("Mozambique", $this->pluginDomain),
201
- "MM" => __("Myanmar", $this->pluginDomain),
202
- "NA" => __("Namibia", $this->pluginDomain),
203
- "NR" => __("Nauru", $this->pluginDomain),
204
- "NP" => __("Nepal", $this->pluginDomain),
205
- "NL" => __("Netherlands", $this->pluginDomain),
206
- "AN" => __("Netherlands Antilles", $this->pluginDomain),
207
- "NC" => __("New Caledonia", $this->pluginDomain),
208
- "NZ" => __("New Zealand", $this->pluginDomain),
209
- "NI" => __("Nicaragua", $this->pluginDomain),
210
- "NE" => __("Niger", $this->pluginDomain),
211
- "NG" => __("Nigeria", $this->pluginDomain),
212
- "NU" => __("Niue", $this->pluginDomain),
213
- "NF" => __("Norfolk Island", $this->pluginDomain),
214
- "MP" => __("Northern Mariana Islands", $this->pluginDomain),
215
- "NO" => __("Norway", $this->pluginDomain),
216
- "OM" => __("Oman", $this->pluginDomain),
217
- "PK" => __("Pakistan", $this->pluginDomain),
218
- "PW" => __("Palau", $this->pluginDomain),
219
- "PA" => __("Panama", $this->pluginDomain),
220
- "PG" => __("Papua New Guinea", $this->pluginDomain),
221
- "PY" => __("Paraguay", $this->pluginDomain),
222
- "PE" => __("Peru", $this->pluginDomain),
223
- "PH" => __("Philippines", $this->pluginDomain),
224
- "PN" => __("Pitcairn", $this->pluginDomain),
225
- "PL" => __("Poland", $this->pluginDomain),
226
- "PT" => __("Portugal", $this->pluginDomain),
227
- "PR" => __("Puerto Rico", $this->pluginDomain),
228
- "QA" => __("Qatar", $this->pluginDomain),
229
- "RE" => __("Reunion", $this->pluginDomain),
230
- "RO" => __("Romania", $this->pluginDomain),
231
- "RU" => __("Russian Federation", $this->pluginDomain),
232
- "RW" => __("Rwanda", $this->pluginDomain),
233
- "KN" => __("Saint Kitts And Nevis", $this->pluginDomain),
234
- "LC" => __("Saint Lucia", $this->pluginDomain),
235
- "VC" => __("Saint Vincent And The Grenadines", $this->pluginDomain),
236
- "WS" => __("Samoa", $this->pluginDomain),
237
- "SM" => __("San Marino", $this->pluginDomain),
238
- "ST" => __("Sao Tome And Principe", $this->pluginDomain),
239
- "SA" => __("Saudi Arabia", $this->pluginDomain),
240
- "SN" => __("Senegal", $this->pluginDomain),
241
- "SC" => __("Seychelles", $this->pluginDomain),
242
- "SL" => __("Sierra Leone", $this->pluginDomain),
243
- "SG" => __("Singapore", $this->pluginDomain),
244
- "SK" => __("Slovakia (Slovak Republic)", $this->pluginDomain),
245
- "SI" => __("Slovenia", $this->pluginDomain),
246
- "SB" => __("Solomon Islands", $this->pluginDomain),
247
- "SO" => __("Somalia", $this->pluginDomain),
248
- "ZA" => __("South Africa", $this->pluginDomain),
249
- "GS" => __("South Georgia, South Sandwich Islands", $this->pluginDomain),
250
- "ES" => __("Spain", $this->pluginDomain),
251
- "LK" => __("Sri Lanka", $this->pluginDomain),
252
- "SH" => __("St. Helena", $this->pluginDomain),
253
- "PM" => __("St. Pierre And Miquelon", $this->pluginDomain),
254
- "SD" => __("Sudan", $this->pluginDomain),
255
- "SR" => __("Suriname", $this->pluginDomain),
256
- "SJ" => __("Svalbard And Jan Mayen Islands", $this->pluginDomain),
257
- "SZ" => __("Swaziland", $this->pluginDomain),
258
- "SE" => __("Sweden", $this->pluginDomain),
259
- "CH" => __("Switzerland", $this->pluginDomain),
260
- "SY" => __("Syrian Arab Republic", $this->pluginDomain),
261
- "TW" => __("Taiwan", $this->pluginDomain),
262
- "TJ" => __("Tajikistan", $this->pluginDomain),
263
- "TZ" => __("Tanzania, United Republic Of", $this->pluginDomain),
264
- "TH" => __("Thailand", $this->pluginDomain),
265
- "TG" => __("Togo", $this->pluginDomain),
266
- "TK" => __("Tokelau", $this->pluginDomain),
267
- "TO" => __("Tonga", $this->pluginDomain),
268
- "TT" => __("Trinidad And Tobago", $this->pluginDomain),
269
- "TN" => __("Tunisia", $this->pluginDomain),
270
- "TR" => __("Turkey", $this->pluginDomain),
271
- "TM" => __("Turkmenistan", $this->pluginDomain),
272
- "TC" => __("Turks And Caicos Islands", $this->pluginDomain),
273
- "TV" => __("Tuvalu", $this->pluginDomain),
274
- "UG" => __("Uganda", $this->pluginDomain),
275
- "UA" => __("Ukraine", $this->pluginDomain),
276
- "AE" => __("United Arab Emirates", $this->pluginDomain),
277
- "GB" => __("United Kingdom", $this->pluginDomain),
278
- "UM" => __("United States Minor Outlying Islands", $this->pluginDomain),
279
- "UY" => __("Uruguay", $this->pluginDomain),
280
- "UZ" => __("Uzbekistan", $this->pluginDomain),
281
- "VU" => __("Vanuatu", $this->pluginDomain),
282
- "VE" => __("Venezuela", $this->pluginDomain),
283
- "VN" => __("Viet Nam", $this->pluginDomain),
284
- "VG" => __("Virgin Islands (British)", $this->pluginDomain),
285
- "VI" => __("Virgin Islands (U.S.)", $this->pluginDomain),
286
- "WF" => __("Wallis And Futuna Islands", $this->pluginDomain),
287
- "EH" => __("Western Sahara", $this->pluginDomain),
288
- "YE" => __("Yemen", $this->pluginDomain),
289
- "YU" => __("Yugoslavia", $this->pluginDomain),
290
- "ZM" => __("Zambia", $this->pluginDomain),
291
- "ZW" => __("Zimbabwe", $this->pluginDomain)
292
  );
293
  if ($useDefault) {
294
  $defaultCountry = eventsGetOptionValue('defaultCountry');
@@ -356,7 +356,13 @@ if ( !class_exists( 'The_Events_Calendar' ) ) {
356
  if($_POST['defaultCountry']) {
357
  $this->constructCountries();
358
  $defaultCountryKey = array_search($_POST['defaultCountry'],$this->countries);
359
- $options['defaultCountry'] = array($defaultCountryKey,$_POST['defaultCountry']);
 
 
 
 
 
 
360
  }
361
 
362
  do_action( 'sp-events-save-more-options' );
@@ -528,7 +534,7 @@ if ( !class_exists( 'The_Events_Calendar' ) ) {
528
  $now = time();
529
  $firstTime = $now - ($now % 66400);
530
  wp_schedule_event( $firstTime, 'daily', 'reschedule_event_post'); // schedule this for midnight, daily
531
- $this->create_category_if_not_exists( );
532
  }
533
  /**
534
  * This function is scheduled to run at midnight. If any posts are set with EventStartDate
@@ -1059,7 +1065,7 @@ if ( !class_exists( 'The_Events_Calendar' ) ) {
1059
  $minutes = $this->minutes();
1060
  $options = '';
1061
  if ( empty ( $date ) ) {
1062
- $minute = date( 'i' );
1063
  } else {
1064
  $minute = date( 'i', strtotime( $date ) );
1065
  }
@@ -1091,7 +1097,7 @@ if ( !class_exists( 'The_Events_Calendar' ) ) {
1091
  */
1092
  public static function minutes( ) {
1093
  $minutes = array();
1094
- foreach(range(0,59) as $minute) {
1095
  if ($minute < 10) {
1096
  $minute = "0" . $minute;
1097
  }
@@ -1146,7 +1152,6 @@ if ( !class_exists( 'The_Events_Calendar' ) ) {
1146
  } // end The_Events_Calendar class
1147
  } // end if !class_exists The_Events_Calendar
1148
 
1149
-
1150
  if( class_exists( 'The_Events_Calendar' ) && !function_exists( 'get_event_style' ) ) {
1151
  global $spEvents;
1152
  $spEvents = new The_Events_Calendar();
@@ -1282,6 +1287,60 @@ if( class_exists( 'The_Events_Calendar' ) && !function_exists( 'get_event_style'
1282
  function event_google_map_link( $postId = null ) {
1283
  echo get_event_google_map_link( $postId );
1284
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1285
  /**
1286
  * Prints out the javascript required to control the datepicker (onChange of the id='datepicker')
1287
  *
@@ -1549,7 +1608,8 @@ if( class_exists( 'The_Events_Calendar' ) && !function_exists( 'get_event_style'
1549
  * @uses $wp_query
1550
  * @return array results
1551
  */
1552
- function get_events( $numResults = 10 ) {
 
1553
  global $wpdb, $wp_query, $spEvents;
1554
  $spEvents->setOptions();
1555
  $categoryId = get_cat_id( The_Events_Calendar::CATEGORYNAME );
@@ -1566,6 +1626,7 @@ if( class_exists( 'The_Events_Calendar' ) && !function_exists( 'get_event_style'
1566
  $whereClause .= " OR (d2.meta_value >= '".$spEvents->date."' AND d2.meta_value < '".$spEvents->nextMonth( $spEvents->date )."' ) ";
1567
  // Or does the event start sometime in the past and end sometime in the distant future?
1568
  $whereClause .= " OR (d1.meta_value <= '".$spEvents->date."' AND d2.meta_value > '".$spEvents->nextMonth( $spEvents->date )."' ) ) ";
 
1569
  }
1570
  if ( events_displaying_upcoming() ) {
1571
  $extraSelectClause = ", d2.meta_value as EventEndDate ";
@@ -1816,140 +1877,7 @@ if( class_exists( 'The_Events_Calendar' ) && !function_exists( 'get_event_style'
1816
  }
1817
  return get_post_meta( $postId, '_EventAllDay', true );
1818
  }
1819
- /**
1820
- * xml2array() will convert the given XML text to an array in the XML structure.
1821
- * Link: http://www.bin-co.com/php/scripts/xml2array/
1822
- * Arguments : $contents - The XML text
1823
- * $get_attributes - 1 or 0. If this is 1 the function will get the attributes as well as the tag values - this results in a different array structure in the return value.
1824
- * $priority - Can be 'tag' or 'attribute'. This will change the way the resulting array sturcture. For 'tag', the tags are given more importance.
1825
- * Return: The parsed XML in an array form. Use print_r() to see the resulting array structure.
1826
- * Examples: $array = xml2array(file_get_contents('feed.xml'));
1827
- * $array = xml2array(file_get_contents('feed.xml', 1, 'attribute'));
1828
- */
1829
- function xml2array($contents, $get_attributes=1, $priority = 'tag') {
1830
- if(!$contents) return array();
1831
-
1832
- if(!function_exists('xml_parser_create')) {
1833
- //print "'xml_parser_create()' function not found!";
1834
- return array();
1835
- }
1836
-
1837
- //Get the XML parser of PHP - PHP must have this module for the parser to work
1838
- $parser = xml_parser_create('');
1839
- xml_parser_set_option($parser, XML_OPTION_TARGET_ENCODING, "UTF-8"); # http://minutillo.com/steve/weblog/2004/6/17/php-xml-and-character-encodings-a-tale-of-sadness-rage-and-data-loss
1840
- xml_parser_set_option($parser, XML_OPTION_CASE_FOLDING, 0);
1841
- xml_parser_set_option($parser, XML_OPTION_SKIP_WHITE, 1);
1842
- xml_parse_into_struct($parser, trim($contents), $xml_values);
1843
- xml_parser_free($parser);
1844
-
1845
- if(!$xml_values) return;//Hmm...
1846
-
1847
- //Initializations
1848
- $xml_array = array();
1849
- $parents = array();
1850
- $opened_tags = array();
1851
- $arr = array();
1852
-
1853
- $current = &$xml_array; //Refference
1854
-
1855
- //Go through the tags.
1856
- $repeated_tag_index = array();//Multiple tags with same name will be turned into an array
1857
- foreach($xml_values as $data) {
1858
- unset($attributes,$value);//Remove existing values, or there will be trouble
1859
-
1860
- //This command will extract these variables into the foreach scope
1861
- // tag(string), type(string), level(int), attributes(array).
1862
- extract($data);//We could use the array by itself, but this cooler.
1863
-
1864
- $result = array();
1865
- $attributes_data = array();
1866
-
1867
- if(isset($value)) {
1868
- if($priority == 'tag') $result = $value;
1869
- else $result['value'] = $value; //Put the value in a assoc array if we are in the 'Attribute' mode
1870
- }
1871
-
1872
- //Set the attributes too.
1873
- if(isset($attributes) and $get_attributes) {
1874
- foreach($attributes as $attr => $val) {
1875
- if($priority == 'tag') $attributes_data[$attr] = $val;
1876
- else $result['attr'][$attr] = $val; //Set all the attributes in a array called 'attr'
1877
- }
1878
- }
1879
-
1880
- //See tag status and do the needed.
1881
- if($type == "open") {//The starting of the tag '<tag>'
1882
- $parent[$level-1] = &$current;
1883
- if(!is_array($current) or (!in_array($tag, array_keys($current)))) { //Insert New tag
1884
- $current[$tag] = $result;
1885
- if($attributes_data) $current[$tag. '_attr'] = $attributes_data;
1886
- $repeated_tag_index[$tag.'_'.$level] = 1;
1887
-
1888
- $current = &$current[$tag];
1889
-
1890
- } else { //There was another element with the same tag name
1891
-
1892
- if(isset($current[$tag][0])) {//If there is a 0th element it is already an array
1893
- $current[$tag][$repeated_tag_index[$tag.'_'.$level]] = $result;
1894
- $repeated_tag_index[$tag.'_'.$level]++;
1895
- } else {//This section will make the value an array if multiple tags with the same name appear together
1896
- $current[$tag] = array($current[$tag],$result);//This will combine the existing item and the new item together to make an array
1897
- $repeated_tag_index[$tag.'_'.$level] = 2;
1898
-
1899
- if(isset($current[$tag.'_attr'])) { //The attribute of the last(0th) tag must be moved as well
1900
- $current[$tag]['0_attr'] = $current[$tag.'_attr'];
1901
- unset($current[$tag.'_attr']);
1902
- }
1903
-
1904
- }
1905
- $last_item_index = $repeated_tag_index[$tag.'_'.$level]-1;
1906
- $current = &$current[$tag][$last_item_index];
1907
- }
1908
-
1909
- } elseif($type == "complete") { //Tags that ends in 1 line '<tag />'
1910
- //See if the key is already taken.
1911
- if(!isset($current[$tag])) { //New Key
1912
- $current[$tag] = $result;
1913
- $repeated_tag_index[$tag.'_'.$level] = 1;
1914
- if($priority == 'tag' and $attributes_data) $current[$tag. '_attr'] = $attributes_data;
1915
-
1916
- } else { //If taken, put all things inside a list(array)
1917
- if(isset($current[$tag][0]) and is_array($current[$tag])) {//If it is already an array...
1918
-
1919
- // ...push the new element into that array.
1920
- $current[$tag][$repeated_tag_index[$tag.'_'.$level]] = $result;
1921
-
1922
- if($priority == 'tag' and $get_attributes and $attributes_data) {
1923
- $current[$tag][$repeated_tag_index[$tag.'_'.$level] . '_attr'] = $attributes_data;
1924
- }
1925
- $repeated_tag_index[$tag.'_'.$level]++;
1926
-
1927
- } else { //If it is not an array...
1928
- $current[$tag] = array($current[$tag],$result); //...Make it an array using using the existing value and the new value
1929
- $repeated_tag_index[$tag.'_'.$level] = 1;
1930
- if($priority == 'tag' and $get_attributes) {
1931
- if(isset($current[$tag.'_attr'])) { //The attribute of the last(0th) tag must be moved as well
1932
-
1933
- $current[$tag]['0_attr'] = $current[$tag.'_attr'];
1934
- unset($current[$tag.'_attr']);
1935
- }
1936
-
1937
- if($attributes_data) {
1938
- $current[$tag][$repeated_tag_index[$tag.'_'.$level] . '_attr'] = $attributes_data;
1939
- }
1940
- }
1941
- $repeated_tag_index[$tag.'_'.$level]++; //0 and 1 index is already taken
1942
- }
1943
- }
1944
-
1945
- } elseif($type == 'close') { //End of tag '</tag>'
1946
- $current = &$parent[$level-1];
1947
- }
1948
- }
1949
-
1950
- return($xml_array);
1951
- }
1952
- }
1953
 
1954
  if( !class_exists( 'Events_List_Widget' ) ) {
1955
  /**
@@ -2128,4 +2056,4 @@ if( !class_exists( 'Events_Calendar_Widget') ) {
2128
  register_widget( 'Events_Calendar_Widget' );
2129
  }
2130
  }
2131
- ?>
3
  Plugin Name: The Events Calendar
4
  Plugin URI: http://wordpress.org/extend/plugins/the-events-calendar/
5
  Description: The Events Calendar plugin enables you to rapidly create and manage events using the post editor. Features include optional Eventbrite integration, Google Maps integration as well as default calendar grid and list templates for streamlined one click installation.
6
+ Version: 1.5.3
7
  Author URI: http://www.shaneandpeter.com/
8
  Text Domain: events
9
  */
10
+
11
  if ( !class_exists( 'The_Events_Calendar' ) ) {
12
 
13
  class The_Events_Calendar {
19
  const DATETIMEFORMAT12 = 'F j, Y g:i A';
20
  const DATETIMEFORMAT24 = 'F j, Y H:i';
21
  const EVENTTIMEFORMATOPT = 'events_timeformat';
22
+
 
23
  private $defaultOptions = '';
24
  public $latestOptions;
25
 
49
  private $countries;
50
 
51
  private function constructCountries( $useDefault = true ) {
52
+ $countries = array(
53
+ "US" => __("United States", $this->pluginDomain),
54
+ "AF" => __("Afghanistan", $this->pluginDomain),
55
+ "AL" => __("Albania", $this->pluginDomain),
56
+ "DZ" => __("Algeria", $this->pluginDomain),
57
+ "AS" => __("American Samoa", $this->pluginDomain),
58
+ "AD" => __("Andorra", $this->pluginDomain),
59
+ "AO" => __("Angola", $this->pluginDomain),
60
+ "AI" => __("Anguilla", $this->pluginDomain),
61
+ "AQ" => __("Antarctica", $this->pluginDomain),
62
+ "AG" => __("Antigua And Barbuda", $this->pluginDomain),
63
+ "AR" => __("Argentina", $this->pluginDomain),
64
+ "AM" => __("Armenia", $this->pluginDomain),
65
+ "AW" => __("Aruba", $this->pluginDomain),
66
+ "AU" => __("Australia", $this->pluginDomain),
67
+ "AT" => __("Austria", $this->pluginDomain),
68
+ "AZ" => __("Azerbaijan", $this->pluginDomain),
69
+ "BS" => __("Bahamas", $this->pluginDomain),
70
+ "BH" => __("Bahrain", $this->pluginDomain),
71
+ "BD" => __("Bangladesh", $this->pluginDomain),
72
+ "BB" => __("Barbados", $this->pluginDomain),
73
+ "BY" => __("Belarus", $this->pluginDomain),
74
+ "BE" => __("Belgium", $this->pluginDomain),
75
+ "BZ" => __("Belize", $this->pluginDomain),
76
+ "BJ" => __("Benin", $this->pluginDomain),
77
+ "BM" => __("Bermuda", $this->pluginDomain),
78
+ "BT" => __("Bhutan", $this->pluginDomain),
79
+ "BO" => __("Bolivia", $this->pluginDomain),
80
+ "BA" => __("Bosnia And Herzegowina", $this->pluginDomain),
81
+ "BW" => __("Botswana", $this->pluginDomain),
82
+ "BV" => __("Bouvet Island", $this->pluginDomain),
83
+ "BR" => __("Brazil", $this->pluginDomain),
84
+ "IO" => __("British Indian Ocean Territory", $this->pluginDomain),
85
+ "BN" => __("Brunei Darussalam", $this->pluginDomain),
86
+ "BG" => __("Bulgaria", $this->pluginDomain),
87
+ "BF" => __("Burkina Faso", $this->pluginDomain),
88
+ "BI" => __("Burundi", $this->pluginDomain),
89
+ "KH" => __("Cambodia", $this->pluginDomain),
90
+ "CM" => __("Cameroon", $this->pluginDomain),
91
+ "CA" => __("Canada", $this->pluginDomain),
92
+ "CV" => __("Cape Verde", $this->pluginDomain),
93
+ "KY" => __("Cayman Islands", $this->pluginDomain),
94
+ "CF" => __("Central African Republic", $this->pluginDomain),
95
+ "TD" => __("Chad", $this->pluginDomain),
96
+ "CL" => __("Chile", $this->pluginDomain),
97
+ "CN" => __("China", $this->pluginDomain),
98
+ "CX" => __("Christmas Island", $this->pluginDomain),
99
+ "CC" => __("Cocos (Keeling) Islands", $this->pluginDomain),
100
+ "CO" => __("Colombia", $this->pluginDomain),
101
+ "KM" => __("Comoros", $this->pluginDomain),
102
+ "CG" => __("Congo", $this->pluginDomain),
103
+ "CD" => __("Congo, The Democratic Republic Of The", $this->pluginDomain),
104
+ "CK" => __("Cook Islands", $this->pluginDomain),
105
+ "CR" => __("Costa Rica", $this->pluginDomain),
106
+ "CI" => __("Cote D'Ivoire", $this->pluginDomain),
107
+ "HR" => __("Croatia (Local Name: Hrvatska)", $this->pluginDomain),
108
+ "CU" => __("Cuba", $this->pluginDomain),
109
+ "CY" => __("Cyprus", $this->pluginDomain),
110
+ "CZ" => __("Czech Republic", $this->pluginDomain),
111
+ "DK" => __("Denmark", $this->pluginDomain),
112
+ "DJ" => __("Djibouti", $this->pluginDomain),
113
+ "DM" => __("Dominica", $this->pluginDomain),
114
+ "DO" => __("Dominican Republic", $this->pluginDomain),
115
+ "TP" => __("East Timor", $this->pluginDomain),
116
+ "EC" => __("Ecuador", $this->pluginDomain),
117
+ "EG" => __("Egypt", $this->pluginDomain),
118
+ "SV" => __("El Salvador", $this->pluginDomain),
119
+ "GQ" => __("Equatorial Guinea", $this->pluginDomain),
120
+ "ER" => __("Eritrea", $this->pluginDomain),
121
+ "EE" => __("Estonia", $this->pluginDomain),
122
+ "ET" => __("Ethiopia", $this->pluginDomain),
123
+ "FK" => __("Falkland Islands (Malvinas)", $this->pluginDomain),
124
+ "FO" => __("Faroe Islands", $this->pluginDomain),
125
+ "FJ" => __("Fiji", $this->pluginDomain),
126
+ "FI" => __("Finland", $this->pluginDomain),
127
+ "FR" => __("France", $this->pluginDomain),
128
+ "FX" => __("France, Metropolitan", $this->pluginDomain),
129
+ "GF" => __("French Guiana", $this->pluginDomain),
130
+ "PF" => __("French Polynesia", $this->pluginDomain),
131
+ "TF" => __("French Southern Territories", $this->pluginDomain),
132
+ "GA" => __("Gabon", $this->pluginDomain),
133
+ "GM" => __("Gambia", $this->pluginDomain),
134
+ "GE" => __("Georgia", $this->pluginDomain),
135
+ "DE" => __("Germany", $this->pluginDomain),
136
+ "GH" => __("Ghana", $this->pluginDomain),
137
+ "GI" => __("Gibraltar", $this->pluginDomain),
138
+ "GR" => __("Greece", $this->pluginDomain),
139
+ "GL" => __("Greenland", $this->pluginDomain),
140
+ "GD" => __("Grenada", $this->pluginDomain),
141
+ "GP" => __("Guadeloupe", $this->pluginDomain),
142
+ "GU" => __("Guam", $this->pluginDomain),
143
+ "GT" => __("Guatemala", $this->pluginDomain),
144
+ "GN" => __("Guinea", $this->pluginDomain),
145
+ "GW" => __("Guinea-Bissau", $this->pluginDomain),
146
+ "GY" => __("Guyana", $this->pluginDomain),
147
+ "HT" => __("Haiti", $this->pluginDomain),
148
+ "HM" => __("Heard And Mc Donald Islands", $this->pluginDomain),
149
+ "VA" => __("Holy See (Vatican City State)", $this->pluginDomain),
150
+ "HN" => __("Honduras", $this->pluginDomain),
151
+ "HK" => __("Hong Kong", $this->pluginDomain),
152
+ "HU" => __("Hungary", $this->pluginDomain),
153
+ "IS" => __("Iceland", $this->pluginDomain),
154
+ "IN" => __("India", $this->pluginDomain),
155
+ "ID" => __("Indonesia", $this->pluginDomain),
156
+ "IR" => __("Iran (Islamic Republic Of)", $this->pluginDomain),
157
+ "IQ" => __("Iraq", $this->pluginDomain),
158
+ "IE" => __("Ireland", $this->pluginDomain),
159
+ "IL" => __("Israel", $this->pluginDomain),
160
+ "IT" => __("Italy", $this->pluginDomain),
161
+ "JM" => __("Jamaica", $this->pluginDomain),
162
+ "JP" => __("Japan", $this->pluginDomain),
163
+ "JO" => __("Jordan", $this->pluginDomain),
164
+ "KZ" => __("Kazakhstan", $this->pluginDomain),
165
+ "KE" => __("Kenya", $this->pluginDomain),
166
+ "KI" => __("Kiribati", $this->pluginDomain),
167
+ "KP" => __("Korea, Democratic People's Republic Of", $this->pluginDomain),
168
+ "KR" => __("Korea, Republic Of", $this->pluginDomain),
169
+ "KW" => __("Kuwait", $this->pluginDomain),
170
+ "KG" => __("Kyrgyzstan", $this->pluginDomain),
171
+ "LA" => __("Lao People's Democratic Republic", $this->pluginDomain),
172
+ "LV" => __("Latvia", $this->pluginDomain),
173
+ "LB" => __("Lebanon", $this->pluginDomain),
174
+ "LS" => __("Lesotho", $this->pluginDomain),
175
+ "LR" => __("Liberia", $this->pluginDomain),
176
+ "LY" => __("Libyan Arab Jamahiriya", $this->pluginDomain),
177
+ "LI" => __("Liechtenstein", $this->pluginDomain),
178
+ "LT" => __("Lithuania", $this->pluginDomain),
179
+ "LU" => __("Luxembourg", $this->pluginDomain),
180
+ "MO" => __("Macau", $this->pluginDomain),
181
+ "MK" => __("Macedonia, Former Yugoslav Republic Of", $this->pluginDomain),
182
+ "MG" => __("Madagascar", $this->pluginDomain),
183
+ "MW" => __("Malawi", $this->pluginDomain),
184
+ "MY" => __("Malaysia", $this->pluginDomain),
185
+ "MV" => __("Maldives", $this->pluginDomain),
186
+ "ML" => __("Mali", $this->pluginDomain),
187
+ "MT" => __("Malta", $this->pluginDomain),
188
+ "MH" => __("Marshall Islands", $this->pluginDomain),
189
+ "MQ" => __("Martinique", $this->pluginDomain),
190
+ "MR" => __("Mauritania", $this->pluginDomain),
191
+ "MU" => __("Mauritius", $this->pluginDomain),
192
+ "YT" => __("Mayotte", $this->pluginDomain),
193
+ "MX" => __("Mexico", $this->pluginDomain),
194
+ "FM" => __("Micronesia, Federated States Of", $this->pluginDomain),
195
+ "MD" => __("Moldova, Republic Of", $this->pluginDomain),
196
+ "MC" => __("Monaco", $this->pluginDomain),
197
+ "MN" => __("Mongolia", $this->pluginDomain),
198
+ "MS" => __("Montserrat", $this->pluginDomain),
199
+ "MA" => __("Morocco", $this->pluginDomain),
200
+ "MZ" => __("Mozambique", $this->pluginDomain),
201
+ "MM" => __("Myanmar", $this->pluginDomain),
202
+ "NA" => __("Namibia", $this->pluginDomain),
203
+ "NR" => __("Nauru", $this->pluginDomain),
204
+ "NP" => __("Nepal", $this->pluginDomain),
205
+ "NL" => __("Netherlands", $this->pluginDomain),
206
+ "AN" => __("Netherlands Antilles", $this->pluginDomain),
207
+ "NC" => __("New Caledonia", $this->pluginDomain),
208
+ "NZ" => __("New Zealand", $this->pluginDomain),
209
+ "NI" => __("Nicaragua", $this->pluginDomain),
210
+ "NE" => __("Niger", $this->pluginDomain),
211
+ "NG" => __("Nigeria", $this->pluginDomain),
212
+ "NU" => __("Niue", $this->pluginDomain),
213
+ "NF" => __("Norfolk Island", $this->pluginDomain),
214
+ "MP" => __("Northern Mariana Islands", $this->pluginDomain),
215
+ "NO" => __("Norway", $this->pluginDomain),
216
+ "OM" => __("Oman", $this->pluginDomain),
217
+ "PK" => __("Pakistan", $this->pluginDomain),
218
+ "PW" => __("Palau", $this->pluginDomain),
219
+ "PA" => __("Panama", $this->pluginDomain),
220
+ "PG" => __("Papua New Guinea", $this->pluginDomain),
221
+ "PY" => __("Paraguay", $this->pluginDomain),
222
+ "PE" => __("Peru", $this->pluginDomain),
223
+ "PH" => __("Philippines", $this->pluginDomain),
224
+ "PN" => __("Pitcairn", $this->pluginDomain),
225
+ "PL" => __("Poland", $this->pluginDomain),
226
+ "PT" => __("Portugal", $this->pluginDomain),
227
+ "PR" => __("Puerto Rico", $this->pluginDomain),
228
+ "QA" => __("Qatar", $this->pluginDomain),
229
+ "RE" => __("Reunion", $this->pluginDomain),
230
+ "RO" => __("Romania", $this->pluginDomain),
231
+ "RU" => __("Russian Federation", $this->pluginDomain),
232
+ "RW" => __("Rwanda", $this->pluginDomain),
233
+ "KN" => __("Saint Kitts And Nevis", $this->pluginDomain),
234
+ "LC" => __("Saint Lucia", $this->pluginDomain),
235
+ "VC" => __("Saint Vincent And The Grenadines", $this->pluginDomain),
236
+ "WS" => __("Samoa", $this->pluginDomain),
237
+ "SM" => __("San Marino", $this->pluginDomain),
238
+ "ST" => __("Sao Tome And Principe", $this->pluginDomain),
239
+ "SA" => __("Saudi Arabia", $this->pluginDomain),
240
+ "SN" => __("Senegal", $this->pluginDomain),
241
+ "SC" => __("Seychelles", $this->pluginDomain),
242
+ "SL" => __("Sierra Leone", $this->pluginDomain),
243
+ "SG" => __("Singapore", $this->pluginDomain),
244
+ "SK" => __("Slovakia (Slovak Republic)", $this->pluginDomain),
245
+ "SI" => __("Slovenia", $this->pluginDomain),
246
+ "SB" => __("Solomon Islands", $this->pluginDomain),
247
+ "SO" => __("Somalia", $this->pluginDomain),
248
+ "ZA" => __("South Africa", $this->pluginDomain),
249
+ "GS" => __("South Georgia, South Sandwich Islands", $this->pluginDomain),
250
+ "ES" => __("Spain", $this->pluginDomain),
251
+ "LK" => __("Sri Lanka", $this->pluginDomain),
252
+ "SH" => __("St. Helena", $this->pluginDomain),
253
+ "PM" => __("St. Pierre And Miquelon", $this->pluginDomain),
254
+ "SD" => __("Sudan", $this->pluginDomain),
255
+ "SR" => __("Suriname", $this->pluginDomain),
256
+ "SJ" => __("Svalbard And Jan Mayen Islands", $this->pluginDomain),
257
+ "SZ" => __("Swaziland", $this->pluginDomain),
258
+ "SE" => __("Sweden", $this->pluginDomain),
259
+ "CH" => __("Switzerland", $this->pluginDomain),
260
+ "SY" => __("Syrian Arab Republic", $this->pluginDomain),
261
+ "TW" => __("Taiwan", $this->pluginDomain),
262
+ "TJ" => __("Tajikistan", $this->pluginDomain),
263
+ "TZ" => __("Tanzania, United Republic Of", $this->pluginDomain),
264
+ "TH" => __("Thailand", $this->pluginDomain),
265
+ "TG" => __("Togo", $this->pluginDomain),
266
+ "TK" => __("Tokelau", $this->pluginDomain),
267
+ "TO" => __("Tonga", $this->pluginDomain),
268
+ "TT" => __("Trinidad And Tobago", $this->pluginDomain),
269
+ "TN" => __("Tunisia", $this->pluginDomain),
270
+ "TR" => __("Turkey", $this->pluginDomain),
271
+ "TM" => __("Turkmenistan", $this->pluginDomain),
272
+ "TC" => __("Turks And Caicos Islands", $this->pluginDomain),
273
+ "TV" => __("Tuvalu", $this->pluginDomain),
274
+ "UG" => __("Uganda", $this->pluginDomain),
275
+ "UA" => __("Ukraine", $this->pluginDomain),
276
+ "AE" => __("United Arab Emirates", $this->pluginDomain),
277
+ "GB" => __("United Kingdom", $this->pluginDomain),
278
+ "UM" => __("United States Minor Outlying Islands", $this->pluginDomain),
279
+ "UY" => __("Uruguay", $this->pluginDomain),
280
+ "UZ" => __("Uzbekistan", $this->pluginDomain),
281
+ "VU" => __("Vanuatu", $this->pluginDomain),
282
+ "VE" => __("Venezuela", $this->pluginDomain),
283
+ "VN" => __("Viet Nam", $this->pluginDomain),
284
+ "VG" => __("Virgin Islands (British)", $this->pluginDomain),
285
+ "VI" => __("Virgin Islands (U.S.)", $this->pluginDomain),
286
+ "WF" => __("Wallis And Futuna Islands", $this->pluginDomain),
287
+ "EH" => __("Western Sahara", $this->pluginDomain),
288
+ "YE" => __("Yemen", $this->pluginDomain),
289
+ "YU" => __("Yugoslavia", $this->pluginDomain),
290
+ "ZM" => __("Zambia", $this->pluginDomain),
291
+ "ZW" => __("Zimbabwe", $this->pluginDomain)
292
  );
293
  if ($useDefault) {
294
  $defaultCountry = eventsGetOptionValue('defaultCountry');
356
  if($_POST['defaultCountry']) {
357
  $this->constructCountries();
358
  $defaultCountryKey = array_search($_POST['defaultCountry'],$this->countries);
359
+ $options['defaultCountry'] = array($defaultCountryKey,$_POST['defaultCountry']);
360
+ }
361
+
362
+ $options['embedGoogleMaps'] = $_POST['embedGoogleMaps'];
363
+ if($_POST['embedGoogleMapsHeight']) {
364
+ $options['embedGoogleMapsHeight'] = $_POST['embedGoogleMapsHeight'];
365
+ $options['embedGoogleMapsWidth'] = $_POST['embedGoogleMapsWidth'];
366
  }
367
 
368
  do_action( 'sp-events-save-more-options' );
534
  $now = time();
535
  $firstTime = $now - ($now % 66400);
536
  wp_schedule_event( $firstTime, 'daily', 'reschedule_event_post'); // schedule this for midnight, daily
537
+ $this->create_category_if_not_exists( );
538
  }
539
  /**
540
  * This function is scheduled to run at midnight. If any posts are set with EventStartDate
1065
  $minutes = $this->minutes();
1066
  $options = '';
1067
  if ( empty ( $date ) ) {
1068
+ $minute = '00';
1069
  } else {
1070
  $minute = date( 'i', strtotime( $date ) );
1071
  }
1097
  */
1098
  public static function minutes( ) {
1099
  $minutes = array();
1100
+ for($minute=0; $minute < 60; $minute+=5) {
1101
  if ($minute < 10) {
1102
  $minute = "0" . $minute;
1103
  }
1152
  } // end The_Events_Calendar class
1153
  } // end if !class_exists The_Events_Calendar
1154
 
 
1155
  if( class_exists( 'The_Events_Calendar' ) && !function_exists( 'get_event_style' ) ) {
1156
  global $spEvents;
1157
  $spEvents = new The_Events_Calendar();
1287
  function event_google_map_link( $postId = null ) {
1288
  echo get_event_google_map_link( $postId );
1289
  }
1290
+ /**
1291
+ * Returns an embeded google maps for the given event
1292
+ *
1293
+ * @param string $postId
1294
+ * @param int $width
1295
+ * @param int $height
1296
+ * @return string - an iframe pulling http://maps.google.com/ for this event
1297
+ */
1298
+ function get_event_google_map_embed( $postId = null, $width = '100%', $height = '350' ) {
1299
+ if ( $postId === null || !is_numeric( $postId ) ) {
1300
+ global $post;
1301
+ $postId = $post->ID;
1302
+ }
1303
+ if ( !is_event( $postId ) ) {
1304
+ return false;
1305
+ }
1306
+ $address = get_post_meta( $postId, '_EventAddress', true );
1307
+ $city = get_post_meta( $postId, '_EventCity', true );
1308
+ $state = get_post_meta( $postId, '_EventState', true );
1309
+ $province = get_post_meta($postId, '_EventProvince', true );
1310
+ $zip = get_post_meta( $postId, '_EventZip', true );
1311
+ $country = get_post_meta($postId, '_EventCountry', true );
1312
+ if (!$height){
1313
+ $height = eventsGetOptionValue('embedGoogleMapsHeight','350');}
1314
+ if (!$width){
1315
+ $width = eventsGetOptionValue('embedGoogleMapsWidth','100%');}
1316
+
1317
+ if ( $country == "United States" && !empty( $address ) && !empty( $city ) && !empty( $state) && !empty( $zip ) ) {
1318
+ $googleaddress = urlencode( $address . " " . $city . " " . $state . " " . $zip . " " . $country);
1319
+ } elseif ( !empty( $country ) && !empty( $address ) && !empty( $city ) && !empty( $province ) && !empty( $zip ) ) {
1320
+ $googleaddress = urlencode( $address . " " . $city . " " . $province . " " . $zip . " " . $country);
1321
+ };
1322
+
1323
+ if ($googleaddress) {
1324
+
1325
+ $google_iframe = 'test <div id="googlemaps"><iframe width="'.$width.'" height="'.$height.'" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://www.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q='.$googleaddress.'?>&amp;output=embed"></iframe><br /><small><a href="http://www.google.com/maps?f=q&amp;source=embed&amp;hl=en&amp;geocode=&amp;q='.$googleaddress.'" style="color:#0000FF;text-align:left">View Larger Map</a></small></div>';
1326
+ return $google_iframe;
1327
+ }
1328
+ else {
1329
+ return '';
1330
+ };
1331
+
1332
+ }
1333
+ /**
1334
+ * Displays an embeded google map for the given event
1335
+ *
1336
+ * @param string $postId
1337
+ * @param int $width
1338
+ * @param int $height
1339
+ * @return void
1340
+ */
1341
+ function event_google_map_embed( $postId = null, $width = null, $height = null ) {
1342
+ if (eventsGetOptionValue('embedGoogleMaps') == 'on'){ echo get_event_google_map_embed( $postId, $width, $height );};
1343
+ }
1344
  /**
1345
  * Prints out the javascript required to control the datepicker (onChange of the id='datepicker')
1346
  *
1608
  * @uses $wp_query
1609
  * @return array results
1610
  */
1611
+ function get_events( $numResults = null ) {
1612
+ if( !$numResults ) $numResults = get_option( 'posts_per_page', 10 );
1613
  global $wpdb, $wp_query, $spEvents;
1614
  $spEvents->setOptions();
1615
  $categoryId = get_cat_id( The_Events_Calendar::CATEGORYNAME );
1626
  $whereClause .= " OR (d2.meta_value >= '".$spEvents->date."' AND d2.meta_value < '".$spEvents->nextMonth( $spEvents->date )."' ) ";
1627
  // Or does the event start sometime in the past and end sometime in the distant future?
1628
  $whereClause .= " OR (d1.meta_value <= '".$spEvents->date."' AND d2.meta_value > '".$spEvents->nextMonth( $spEvents->date )."' ) ) ";
1629
+ $numResults = 999999999;
1630
  }
1631
  if ( events_displaying_upcoming() ) {
1632
  $extraSelectClause = ", d2.meta_value as EventEndDate ";
1877
  }
1878
  return get_post_meta( $postId, '_EventAllDay', true );
1879
  }
1880
+ } // end if class_exists('The-Events-Calendar')
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1881
 
1882
  if( !class_exists( 'Events_List_Widget' ) ) {
1883
  /**
2056
  register_widget( 'Events_Calendar_Widget' );
2057
  }
2058
  }
2059
+ ?>
the-events-calendar.po ADDED
@@ -0,0 +1,1511 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: the-events-calendar\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2010-01-27 01:29-0800\n"
6
+ "PO-Revision-Date: \n"
7
+ "Last-Translator: Shane Pearlman <inbox@shaneandpeter.com>\n"
8
+ "Language-Team: \n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Poedit-KeywordsList: __;_e\n"
13
+ "X-Poedit-Basepath: .\n"
14
+ "X-Poedit-SearchPath-0: .\n"
15
+
16
+ #: the-events-calendar.php:53
17
+ msgid "United States"
18
+ msgstr ""
19
+
20
+ #: the-events-calendar.php:54
21
+ msgid "Afghanistan"
22
+ msgstr ""
23
+
24
+ #: the-events-calendar.php:55
25
+ msgid "Albania"
26
+ msgstr ""
27
+
28
+ #: the-events-calendar.php:56
29
+ msgid "Algeria"
30
+ msgstr ""
31
+
32
+ #: the-events-calendar.php:57
33
+ msgid "American Samoa"
34
+ msgstr ""
35
+
36
+ #: the-events-calendar.php:58
37
+ msgid "Andorra"
38
+ msgstr ""
39
+
40
+ #: the-events-calendar.php:59
41
+ msgid "Angola"
42
+ msgstr ""
43
+
44
+ #: the-events-calendar.php:60
45
+ msgid "Anguilla"
46
+ msgstr ""
47
+
48
+ #: the-events-calendar.php:61
49
+ msgid "Antarctica"
50
+ msgstr ""
51
+
52
+ #: the-events-calendar.php:62
53
+ msgid "Antigua And Barbuda"
54
+ msgstr ""
55
+
56
+ #: the-events-calendar.php:63
57
+ msgid "Argentina"
58
+ msgstr ""
59
+
60
+ #: the-events-calendar.php:64
61
+ msgid "Armenia"
62
+ msgstr ""
63
+
64
+ #: the-events-calendar.php:65
65
+ msgid "Aruba"
66
+ msgstr ""
67
+
68
+ #: the-events-calendar.php:66
69
+ msgid "Australia"
70
+ msgstr ""
71
+
72
+ #: the-events-calendar.php:67
73
+ msgid "Austria"
74
+ msgstr ""
75
+
76
+ #: the-events-calendar.php:68
77
+ msgid "Azerbaijan"
78
+ msgstr ""
79
+
80
+ #: the-events-calendar.php:69
81
+ msgid "Bahamas"
82
+ msgstr ""
83
+
84
+ #: the-events-calendar.php:70
85
+ msgid "Bahrain"
86
+ msgstr ""
87
+
88
+ #: the-events-calendar.php:71
89
+ msgid "Bangladesh"
90
+ msgstr ""
91
+
92
+ #: the-events-calendar.php:72
93
+ msgid "Barbados"
94
+ msgstr ""
95
+
96
+ #: the-events-calendar.php:73
97
+ msgid "Belarus"
98
+ msgstr ""
99
+
100
+ #: the-events-calendar.php:74
101
+ msgid "Belgium"
102
+ msgstr ""
103
+
104
+ #: the-events-calendar.php:75
105
+ msgid "Belize"
106
+ msgstr ""
107
+
108
+ #: the-events-calendar.php:76
109
+ msgid "Benin"
110
+ msgstr ""
111
+
112
+ #: the-events-calendar.php:77
113
+ msgid "Bermuda"
114
+ msgstr ""
115
+
116
+ #: the-events-calendar.php:78
117
+ msgid "Bhutan"
118
+ msgstr ""
119
+
120
+ #: the-events-calendar.php:79
121
+ msgid "Bolivia"
122
+ msgstr ""
123
+
124
+ #: the-events-calendar.php:80
125
+ msgid "Bosnia And Herzegowina"
126
+ msgstr ""
127
+
128
+ #: the-events-calendar.php:81
129
+ msgid "Botswana"
130
+ msgstr ""
131
+
132
+ #: the-events-calendar.php:82
133
+ msgid "Bouvet Island"
134
+ msgstr ""
135
+
136
+ #: the-events-calendar.php:83
137
+ msgid "Brazil"
138
+ msgstr ""
139
+
140
+ #: the-events-calendar.php:84
141
+ msgid "British Indian Ocean Territory"
142
+ msgstr ""
143
+
144
+ #: the-events-calendar.php:85
145
+ msgid "Brunei Darussalam"
146
+ msgstr ""
147
+
148
+ #: the-events-calendar.php:86
149
+ msgid "Bulgaria"
150
+ msgstr ""
151
+
152
+ #: the-events-calendar.php:87
153
+ msgid "Burkina Faso"
154
+ msgstr ""
155
+
156
+ #: the-events-calendar.php:88
157
+ msgid "Burundi"
158
+ msgstr ""
159
+
160
+ #: the-events-calendar.php:89
161
+ msgid "Cambodia"
162
+ msgstr ""
163
+
164
+ #: the-events-calendar.php:90
165
+ msgid "Cameroon"
166
+ msgstr ""
167
+
168
+ #: the-events-calendar.php:91
169
+ msgid "Canada"
170
+ msgstr ""
171
+
172
+ #: the-events-calendar.php:92
173
+ msgid "Cape Verde"
174
+ msgstr ""
175
+
176
+ #: the-events-calendar.php:93
177
+ msgid "Cayman Islands"
178
+ msgstr ""
179
+
180
+ #: the-events-calendar.php:94
181
+ msgid "Central African Republic"
182
+ msgstr ""
183
+
184
+ #: the-events-calendar.php:95
185
+ msgid "Chad"
186
+ msgstr ""
187
+
188
+ #: the-events-calendar.php:96
189
+ msgid "Chile"
190
+ msgstr ""
191
+
192
+ #: the-events-calendar.php:97
193
+ msgid "China"
194
+ msgstr ""
195
+
196
+ #: the-events-calendar.php:98
197
+ msgid "Christmas Island"
198
+ msgstr ""
199
+
200
+ #: the-events-calendar.php:99
201
+ msgid "Cocos (Keeling) Islands"
202
+ msgstr ""
203
+
204
+ #: the-events-calendar.php:100
205
+ msgid "Colombia"
206
+ msgstr ""
207
+
208
+ #: the-events-calendar.php:101
209
+ msgid "Comoros"
210
+ msgstr ""
211
+
212
+ #: the-events-calendar.php:102
213
+ msgid "Congo"
214
+ msgstr ""
215
+
216
+ #: the-events-calendar.php:103
217
+ msgid "Congo, The Democratic Republic Of The"
218
+ msgstr ""
219
+
220
+ #: the-events-calendar.php:104
221
+ msgid "Cook Islands"
222
+ msgstr ""
223
+
224
+ #: the-events-calendar.php:105
225
+ msgid "Costa Rica"
226
+ msgstr ""
227
+
228
+ #: the-events-calendar.php:106
229
+ msgid "Cote D'Ivoire"
230
+ msgstr ""
231
+
232
+ #: the-events-calendar.php:107
233
+ msgid "Croatia (Local Name: Hrvatska)"
234
+ msgstr ""
235
+
236
+ #: the-events-calendar.php:108
237
+ msgid "Cuba"
238
+ msgstr ""
239
+
240
+ #: the-events-calendar.php:109
241
+ msgid "Cyprus"
242
+ msgstr ""
243
+
244
+ #: the-events-calendar.php:110
245
+ msgid "Czech Republic"
246
+ msgstr ""
247
+
248
+ #: the-events-calendar.php:111
249
+ msgid "Denmark"
250
+ msgstr ""
251
+
252
+ #: the-events-calendar.php:112
253
+ msgid "Djibouti"
254
+ msgstr ""
255
+
256
+ #: the-events-calendar.php:113
257
+ msgid "Dominica"
258
+ msgstr ""
259
+
260
+ #: the-events-calendar.php:114
261
+ msgid "Dominican Republic"
262
+ msgstr ""
263
+
264
+ #: the-events-calendar.php:115
265
+ msgid "East Timor"
266
+ msgstr ""
267
+
268
+ #: the-events-calendar.php:116
269
+ msgid "Ecuador"
270
+ msgstr ""
271
+
272
+ #: the-events-calendar.php:117
273
+ msgid "Egypt"
274
+ msgstr ""
275
+
276
+ #: the-events-calendar.php:118
277
+ msgid "El Salvador"
278
+ msgstr ""
279
+
280
+ #: the-events-calendar.php:119
281
+ msgid "Equatorial Guinea"
282
+ msgstr ""
283
+
284
+ #: the-events-calendar.php:120
285
+ msgid "Eritrea"
286
+ msgstr ""
287
+
288
+ #: the-events-calendar.php:121
289
+ msgid "Estonia"
290
+ msgstr ""
291
+
292
+ #: the-events-calendar.php:122
293
+ msgid "Ethiopia"
294
+ msgstr ""
295
+
296
+ #: the-events-calendar.php:123
297
+ msgid "Falkland Islands (Malvinas)"
298
+ msgstr ""
299
+
300
+ #: the-events-calendar.php:124
301
+ msgid "Faroe Islands"
302
+ msgstr ""
303
+
304
+ #: the-events-calendar.php:125
305
+ msgid "Fiji"
306
+ msgstr ""
307
+
308
+ #: the-events-calendar.php:126
309
+ msgid "Finland"
310
+ msgstr ""
311
+
312
+ #: the-events-calendar.php:127
313
+ msgid "France"
314
+ msgstr ""
315
+
316
+ #: the-events-calendar.php:128
317
+ msgid "France, Metropolitan"
318
+ msgstr ""
319
+
320
+ #: the-events-calendar.php:129
321
+ msgid "French Guiana"
322
+ msgstr ""
323
+
324
+ #: the-events-calendar.php:130
325
+ msgid "French Polynesia"
326
+ msgstr ""
327
+
328
+ #: the-events-calendar.php:131
329
+ msgid "French Southern Territories"
330
+ msgstr ""
331
+
332
+ #: the-events-calendar.php:132
333
+ msgid "Gabon"
334
+ msgstr ""
335
+
336
+ #: the-events-calendar.php:133
337
+ msgid "Gambia"
338
+ msgstr ""
339
+
340
+ #: the-events-calendar.php:134
341
+ #: views/events-meta-box.php:215
342
+ msgid "Georgia"
343
+ msgstr ""
344
+
345
+ #: the-events-calendar.php:135
346
+ msgid "Germany"
347
+ msgstr ""
348
+
349
+ #: the-events-calendar.php:136
350
+ msgid "Ghana"
351
+ msgstr ""
352
+
353
+ #: the-events-calendar.php:137
354
+ msgid "Gibraltar"
355
+ msgstr ""
356
+
357
+ #: the-events-calendar.php:138
358
+ msgid "Greece"
359
+ msgstr ""
360
+
361
+ #: the-events-calendar.php:139
362
+ msgid "Greenland"
363
+ msgstr ""
364
+
365
+ #: the-events-calendar.php:140
366
+ msgid "Grenada"
367
+ msgstr ""
368
+
369
+ #: the-events-calendar.php:141
370
+ msgid "Guadeloupe"
371
+ msgstr ""
372
+
373
+ #: the-events-calendar.php:142
374
+ msgid "Guam"
375
+ msgstr ""
376
+
377
+ #: the-events-calendar.php:143
378
+ msgid "Guatemala"
379
+ msgstr ""
380
+
381
+ #: the-events-calendar.php:144
382
+ msgid "Guinea"
383
+ msgstr ""
384
+
385
+ #: the-events-calendar.php:145
386
+ msgid "Guinea-Bissau"
387
+ msgstr ""
388
+
389
+ #: the-events-calendar.php:146
390
+ msgid "Guyana"
391
+ msgstr ""
392
+
393
+ #: the-events-calendar.php:147
394
+ msgid "Haiti"
395
+ msgstr ""
396
+
397
+ #: the-events-calendar.php:148
398
+ msgid "Heard And Mc Donald Islands"
399
+ msgstr ""
400
+
401
+ #: the-events-calendar.php:149
402
+ msgid "Holy See (Vatican City State)"
403
+ msgstr ""
404
+
405
+ #: the-events-calendar.php:150
406
+ msgid "Honduras"
407
+ msgstr ""
408
+
409
+ #: the-events-calendar.php:151
410
+ msgid "Hong Kong"
411
+ msgstr ""
412
+
413
+ #: the-events-calendar.php:152
414
+ msgid "Hungary"
415
+ msgstr ""
416
+
417
+ #: the-events-calendar.php:153
418
+ msgid "Iceland"
419
+ msgstr ""
420
+
421
+ #: the-events-calendar.php:154
422
+ msgid "India"
423
+ msgstr ""
424
+
425
+ #: the-events-calendar.php:155
426
+ msgid "Indonesia"
427
+ msgstr ""
428
+
429
+ #: the-events-calendar.php:156
430
+ msgid "Iran (Islamic Republic Of)"
431
+ msgstr ""
432
+
433
+ #: the-events-calendar.php:157
434
+ msgid "Iraq"
435
+ msgstr ""
436
+
437
+ #: the-events-calendar.php:158
438
+ msgid "Ireland"
439
+ msgstr ""
440
+
441
+ #: the-events-calendar.php:159
442
+ msgid "Israel"
443
+ msgstr ""
444
+
445
+ #: the-events-calendar.php:160
446
+ msgid "Italy"
447
+ msgstr ""
448
+
449
+ #: the-events-calendar.php:161
450
+ msgid "Jamaica"
451
+ msgstr ""
452
+
453
+ #: the-events-calendar.php:162
454
+ msgid "Japan"
455
+ msgstr ""
456
+
457
+ #: the-events-calendar.php:163
458
+ msgid "Jordan"
459
+ msgstr ""
460
+
461
+ #: the-events-calendar.php:164
462
+ msgid "Kazakhstan"
463
+ msgstr ""
464
+
465
+ #: the-events-calendar.php:165
466
+ msgid "Kenya"
467
+ msgstr ""
468
+
469
+ #: the-events-calendar.php:166
470
+ msgid "Kiribati"
471
+ msgstr ""
472
+
473
+ #: the-events-calendar.php:167
474
+ msgid "Korea, Democratic People's Republic Of"
475
+ msgstr ""
476
+
477
+ #: the-events-calendar.php:168
478
+ msgid "Korea, Republic Of"
479
+ msgstr ""
480
+
481
+ #: the-events-calendar.php:169
482
+ msgid "Kuwait"
483
+ msgstr ""
484
+
485
+ #: the-events-calendar.php:170
486
+ msgid "Kyrgyzstan"
487
+ msgstr ""
488
+
489
+ #: the-events-calendar.php:171
490
+ msgid "Lao People's Democratic Republic"
491
+ msgstr ""
492
+
493
+ #: the-events-calendar.php:172
494
+ msgid "Latvia"
495
+ msgstr ""
496
+
497
+ #: the-events-calendar.php:173
498
+ msgid "Lebanon"
499
+ msgstr ""
500
+
501
+ #: the-events-calendar.php:174
502
+ msgid "Lesotho"
503
+ msgstr ""
504
+
505
+ #: the-events-calendar.php:175
506
+ msgid "Liberia"
507
+ msgstr ""
508
+
509
+ #: the-events-calendar.php:176
510
+ msgid "Libyan Arab Jamahiriya"
511
+ msgstr ""
512
+
513
+ #: the-events-calendar.php:177
514
+ msgid "Liechtenstein"
515
+ msgstr ""
516
+
517
+ #: the-events-calendar.php:178
518
+ msgid "Lithuania"
519
+ msgstr ""
520
+
521
+ #: the-events-calendar.php:179
522
+ msgid "Luxembourg"
523
+ msgstr ""
524
+
525
+ #: the-events-calendar.php:180
526
+ msgid "Macau"
527
+ msgstr ""
528
+
529
+ #: the-events-calendar.php:181
530
+ msgid "Macedonia, Former Yugoslav Republic Of"
531
+ msgstr ""
532
+
533
+ #: the-events-calendar.php:182
534
+ msgid "Madagascar"
535
+ msgstr ""
536
+
537
+ #: the-events-calendar.php:183
538
+ msgid "Malawi"
539
+ msgstr ""
540
+
541
+ #: the-events-calendar.php:184
542
+ msgid "Malaysia"
543
+ msgstr ""
544
+
545
+ #: the-events-calendar.php:185
546
+ msgid "Maldives"
547
+ msgstr ""
548
+
549
+ #: the-events-calendar.php:186
550
+ msgid "Mali"
551
+ msgstr ""
552
+
553
+ #: the-events-calendar.php:187
554
+ msgid "Malta"
555
+ msgstr ""
556
+
557
+ #: the-events-calendar.php:188
558
+ msgid "Marshall Islands"
559
+ msgstr ""
560
+
561
+ #: the-events-calendar.php:189
562
+ msgid "Martinique"
563
+ msgstr ""
564
+
565
+ #: the-events-calendar.php:190
566
+ msgid "Mauritania"
567
+ msgstr ""
568
+
569
+ #: the-events-calendar.php:191
570
+ msgid "Mauritius"
571
+ msgstr ""
572
+
573
+ #: the-events-calendar.php:192
574
+ msgid "Mayotte"
575
+ msgstr ""
576
+
577
+ #: the-events-calendar.php:193
578
+ msgid "Mexico"
579
+ msgstr ""
580
+
581
+ #: the-events-calendar.php:194
582
+ msgid "Micronesia, Federated States Of"
583
+ msgstr ""
584
+
585
+ #: the-events-calendar.php:195
586
+ msgid "Moldova, Republic Of"
587
+ msgstr ""
588
+
589
+ #: the-events-calendar.php:196
590
+ msgid "Monaco"
591
+ msgstr ""
592
+
593
+ #: the-events-calendar.php:197
594
+ msgid "Mongolia"
595
+ msgstr ""
596
+
597
+ #: the-events-calendar.php:198
598
+ msgid "Montserrat"
599
+ msgstr ""
600
+
601
+ #: the-events-calendar.php:199
602
+ msgid "Morocco"
603
+ msgstr ""
604
+
605
+ #: the-events-calendar.php:200
606
+ msgid "Mozambique"
607
+ msgstr ""
608
+
609
+ #: the-events-calendar.php:201
610
+ msgid "Myanmar"
611
+ msgstr ""
612
+
613
+ #: the-events-calendar.php:202
614
+ msgid "Namibia"
615
+ msgstr ""
616
+
617
+ #: the-events-calendar.php:203
618
+ msgid "Nauru"
619
+ msgstr ""
620
+
621
+ #: the-events-calendar.php:204
622
+ msgid "Nepal"
623
+ msgstr ""
624
+
625
+ #: the-events-calendar.php:205
626
+ msgid "Netherlands"
627
+ msgstr ""
628
+
629
+ #: the-events-calendar.php:206
630
+ msgid "Netherlands Antilles"
631
+ msgstr ""
632
+
633
+ #: the-events-calendar.php:207
634
+ msgid "New Caledonia"
635
+ msgstr ""
636
+
637
+ #: the-events-calendar.php:208
638
+ msgid "New Zealand"
639
+ msgstr ""
640
+
641
+ #: the-events-calendar.php:209
642
+ msgid "Nicaragua"
643
+ msgstr ""
644
+
645
+ #: the-events-calendar.php:210
646
+ msgid "Niger"
647
+ msgstr ""
648
+
649
+ #: the-events-calendar.php:211
650
+ msgid "Nigeria"
651
+ msgstr ""
652
+
653
+ #: the-events-calendar.php:212
654
+ msgid "Niue"
655
+ msgstr ""
656
+
657
+ #: the-events-calendar.php:213
658
+ msgid "Norfolk Island"
659
+ msgstr ""
660
+
661
+ #: the-events-calendar.php:214
662
+ msgid "Northern Mariana Islands"
663
+ msgstr ""
664
+
665
+ #: the-events-calendar.php:215
666
+ msgid "Norway"
667
+ msgstr ""
668
+
669
+ #: the-events-calendar.php:216
670
+ msgid "Oman"
671
+ msgstr ""
672
+
673
+ #: the-events-calendar.php:217
674
+ msgid "Pakistan"
675
+ msgstr ""
676
+
677
+ #: the-events-calendar.php:218
678
+ msgid "Palau"
679
+ msgstr ""
680
+
681
+ #: the-events-calendar.php:219
682
+ msgid "Panama"
683
+ msgstr ""
684
+
685
+ #: the-events-calendar.php:220
686
+ msgid "Papua New Guinea"
687
+ msgstr ""
688
+
689
+ #: the-events-calendar.php:221
690
+ msgid "Paraguay"
691
+ msgstr ""
692
+
693
+ #: the-events-calendar.php:222
694
+ msgid "Peru"
695
+ msgstr ""
696
+
697
+ #: the-events-calendar.php:223
698
+ msgid "Philippines"
699
+ msgstr ""
700
+
701
+ #: the-events-calendar.php:224
702
+ msgid "Pitcairn"
703
+ msgstr ""
704
+
705
+ #: the-events-calendar.php:225
706
+ msgid "Poland"
707
+ msgstr ""
708
+
709
+ #: the-events-calendar.php:226
710
+ msgid "Portugal"
711
+ msgstr ""
712
+
713
+ #: the-events-calendar.php:227
714
+ msgid "Puerto Rico"
715
+ msgstr ""
716
+
717
+ #: the-events-calendar.php:228
718
+ msgid "Qatar"
719
+ msgstr ""
720
+
721
+ #: the-events-calendar.php:229
722
+ msgid "Reunion"
723
+ msgstr ""
724
+
725
+ #: the-events-calendar.php:230
726
+ msgid "Romania"
727
+ msgstr ""
728
+
729
+ #: the-events-calendar.php:231
730
+ msgid "Russian Federation"
731
+ msgstr ""
732
+
733
+ #: the-events-calendar.php:232
734
+ msgid "Rwanda"
735
+ msgstr ""
736
+
737
+ #: the-events-calendar.php:233
738
+ msgid "Saint Kitts And Nevis"
739
+ msgstr ""
740
+
741
+ #: the-events-calendar.php:234
742
+ msgid "Saint Lucia"
743
+ msgstr ""
744
+
745
+ #: the-events-calendar.php:235
746
+ msgid "Saint Vincent And The Grenadines"
747
+ msgstr ""
748
+
749
+ #: the-events-calendar.php:236
750
+ msgid "Samoa"
751
+ msgstr ""
752
+
753
+ #: the-events-calendar.php:237
754
+ msgid "San Marino"
755
+ msgstr ""
756
+
757
+ #: the-events-calendar.php:238
758
+ msgid "Sao Tome And Principe"
759
+ msgstr ""
760
+
761
+ #: the-events-calendar.php:239
762
+ msgid "Saudi Arabia"
763
+ msgstr ""
764
+
765
+ #: the-events-calendar.php:240
766
+ msgid "Senegal"
767
+ msgstr ""
768
+
769
+ #: the-events-calendar.php:241
770
+ msgid "Seychelles"
771
+ msgstr ""
772
+
773
+ #: the-events-calendar.php:242
774
+ msgid "Sierra Leone"
775
+ msgstr ""
776
+
777
+ #: the-events-calendar.php:243
778
+ msgid "Singapore"
779
+ msgstr ""
780
+
781
+ #: the-events-calendar.php:244
782
+ msgid "Slovakia (Slovak Republic)"
783
+ msgstr ""
784
+
785
+ #: the-events-calendar.php:245
786
+ msgid "Slovenia"
787
+ msgstr ""
788
+
789
+ #: the-events-calendar.php:246
790
+ msgid "Solomon Islands"
791
+ msgstr ""
792
+
793
+ #: the-events-calendar.php:247
794
+ msgid "Somalia"
795
+ msgstr ""
796
+
797
+ #: the-events-calendar.php:248
798
+ msgid "South Africa"
799
+ msgstr ""
800
+
801
+ #: the-events-calendar.php:249
802
+ msgid "South Georgia, South Sandwich Islands"
803
+ msgstr ""
804
+
805
+ #: the-events-calendar.php:250
806
+ msgid "Spain"
807
+ msgstr ""
808
+
809
+ #: the-events-calendar.php:251
810
+ msgid "Sri Lanka"
811
+ msgstr ""
812
+
813
+ #: the-events-calendar.php:252
814
+ msgid "St. Helena"
815
+ msgstr ""
816
+
817
+ #: the-events-calendar.php:253
818
+ msgid "St. Pierre And Miquelon"
819
+ msgstr ""
820
+
821
+ #: the-events-calendar.php:254
822
+ msgid "Sudan"
823
+ msgstr ""
824
+
825
+ #: the-events-calendar.php:255
826
+ msgid "Suriname"
827
+ msgstr ""
828
+
829
+ #: the-events-calendar.php:256
830
+ msgid "Svalbard And Jan Mayen Islands"
831
+ msgstr ""
832
+
833
+ #: the-events-calendar.php:257
834
+ msgid "Swaziland"
835
+ msgstr ""
836
+
837
+ #: the-events-calendar.php:258
838
+ msgid "Sweden"
839
+ msgstr ""
840
+
841
+ #: the-events-calendar.php:259
842
+ msgid "Switzerland"
843
+ msgstr ""
844
+
845
+ #: the-events-calendar.php:260
846
+ msgid "Syrian Arab Republic"
847
+ msgstr ""
848
+
849
+ #: the-events-calendar.php:261
850
+ msgid "Taiwan"
851
+ msgstr ""
852
+
853
+ #: the-events-calendar.php:262
854
+ msgid "Tajikistan"
855
+ msgstr ""
856
+
857
+ #: the-events-calendar.php:263
858
+ msgid "Tanzania, United Republic Of"
859
+ msgstr ""
860
+
861
+ #: the-events-calendar.php:264
862
+ msgid "Thailand"
863
+ msgstr ""
864
+
865
+ #: the-events-calendar.php:265
866
+ msgid "Togo"
867
+ msgstr ""
868
+
869
+ #: the-events-calendar.php:266
870
+ msgid "Tokelau"
871
+ msgstr ""
872
+
873
+ #: the-events-calendar.php:267
874
+ msgid "Tonga"
875
+ msgstr ""
876
+
877
+ #: the-events-calendar.php:268
878
+ msgid "Trinidad And Tobago"
879
+ msgstr ""
880
+
881
+ #: the-events-calendar.php:269
882
+ msgid "Tunisia"
883
+ msgstr ""
884
+
885
+ #: the-events-calendar.php:270
886
+ msgid "Turkey"
887
+ msgstr ""
888
+
889
+ #: the-events-calendar.php:271
890
+ msgid "Turkmenistan"
891
+ msgstr ""
892
+
893
+ #: the-events-calendar.php:272
894
+ msgid "Turks And Caicos Islands"
895
+ msgstr ""
896
+
897
+ #: the-events-calendar.php:273
898
+ msgid "Tuvalu"
899
+ msgstr ""
900
+
901
+ #: the-events-calendar.php:274
902
+ msgid "Uganda"
903
+ msgstr ""
904
+
905
+ #: the-events-calendar.php:275
906
+ msgid "Ukraine"
907
+ msgstr ""
908
+
909
+ #: the-events-calendar.php:276
910
+ msgid "United Arab Emirates"
911
+ msgstr ""
912
+
913
+ #: the-events-calendar.php:277
914
+ msgid "United Kingdom"
915
+ msgstr ""
916
+
917
+ #: the-events-calendar.php:278
918
+ msgid "United States Minor Outlying Islands"
919
+ msgstr ""
920
+
921
+ #: the-events-calendar.php:279
922
+ msgid "Uruguay"
923
+ msgstr ""
924
+
925
+ #: the-events-calendar.php:280
926
+ msgid "Uzbekistan"
927
+ msgstr ""
928
+
929
+ #: the-events-calendar.php:281
930
+ msgid "Vanuatu"
931
+ msgstr ""
932
+
933
+ #: the-events-calendar.php:282
934
+ msgid "Venezuela"
935
+ msgstr ""
936
+
937
+ #: the-events-calendar.php:283
938
+ msgid "Viet Nam"
939
+ msgstr ""
940
+
941
+ #: the-events-calendar.php:284
942
+ msgid "Virgin Islands (British)"
943
+ msgstr ""
944
+
945
+ #: the-events-calendar.php:285
946
+ msgid "Virgin Islands (U.S.)"
947
+ msgstr ""
948
+
949
+ #: the-events-calendar.php:286
950
+ msgid "Wallis And Futuna Islands"
951
+ msgstr ""
952
+
953
+ #: the-events-calendar.php:287
954
+ msgid "Western Sahara"
955
+ msgstr ""
956
+
957
+ #: the-events-calendar.php:288
958
+ msgid "Yemen"
959
+ msgstr ""
960
+
961
+ #: the-events-calendar.php:289
962
+ msgid "Yugoslavia"
963
+ msgstr ""
964
+
965
+ #: the-events-calendar.php:290
966
+ msgid "Zambia"
967
+ msgstr ""
968
+
969
+ #: the-events-calendar.php:291
970
+ msgid "Zimbabwe"
971
+ msgstr ""
972
+
973
+ #: the-events-calendar.php:937
974
+ msgid "Events"
975
+ msgstr ""
976
+
977
+ #: the-events-calendar.php:1432
978
+ msgid "Free"
979
+ msgstr ""
980
+
981
+ #: the-events-calendar.php:1897
982
+ msgid "A widget that displays the next upcoming x events."
983
+ msgstr ""
984
+
985
+ #: the-events-calendar.php:2016
986
+ msgid "A calendar of your events"
987
+ msgstr ""
988
+
989
+ #: the-events-calendar.php:2017
990
+ msgid "Events Calendar"
991
+ msgstr ""
992
+
993
+ #: the-events-calendar.php:2043
994
+ #: views/events-list-load-widget-admin.php:2
995
+ msgid "Title:"
996
+ msgstr ""
997
+
998
+ #: views/events-list-load-widget-admin.php:7
999
+ msgid "Show:"
1000
+ msgstr ""
1001
+
1002
+ #: views/events-list-load-widget-admin.php:19
1003
+ msgid "Start Date & Time"
1004
+ msgstr ""
1005
+
1006
+ #: views/events-list-load-widget-admin.php:20
1007
+ msgid "End Date & Time"
1008
+ msgstr ""
1009
+
1010
+ #: views/events-list-load-widget-admin.php:21
1011
+ msgid "Venue"
1012
+ msgstr ""
1013
+
1014
+ #: views/events-list-load-widget-admin.php:22
1015
+ msgid "Address"
1016
+ msgstr ""
1017
+
1018
+ #: views/events-list-load-widget-admin.php:23
1019
+ msgid "City"
1020
+ msgstr ""
1021
+
1022
+ #: views/events-list-load-widget-admin.php:24
1023
+ msgid "State (US)"
1024
+ msgstr ""
1025
+
1026
+ #: views/events-list-load-widget-admin.php:25
1027
+ msgid "Province (Int)"
1028
+ msgstr ""
1029
+
1030
+ #: views/events-list-load-widget-admin.php:26
1031
+ msgid "Postal Code"
1032
+ msgstr ""
1033
+
1034
+ #: views/events-list-load-widget-admin.php:27
1035
+ msgid "Country"
1036
+ msgstr ""
1037
+
1038
+ #: views/events-list-load-widget-admin.php:28
1039
+ msgid "Phone"
1040
+ msgstr ""
1041
+
1042
+ #: views/events-list-load-widget-admin.php:29
1043
+ msgid "Price"
1044
+ msgstr ""
1045
+
1046
+ #: views/events-meta-box.php:84
1047
+ msgid "Event Details:"
1048
+ msgstr ""
1049
+
1050
+ #: views/events-meta-box.php:86
1051
+ msgid "Is this post an event?"
1052
+ msgstr ""
1053
+
1054
+ #: views/events-meta-box.php:97
1055
+ msgid "All day event?"
1056
+ msgstr ""
1057
+
1058
+ #: views/events-meta-box.php:101
1059
+ msgid "Time Format (site wide option):"
1060
+ msgstr ""
1061
+
1062
+ #: views/events-meta-box.php:104
1063
+ msgid "12 Hour"
1064
+ msgstr ""
1065
+
1066
+ #: views/events-meta-box.php:106
1067
+ msgid "24 Hour"
1068
+ msgstr ""
1069
+
1070
+ #: views/events-meta-box.php:110
1071
+ msgid "Start Date / Time:"
1072
+ msgstr ""
1073
+
1074
+ #: views/events-meta-box.php:122
1075
+ #: views/events-meta-box.php:148
1076
+ msgid "@"
1077
+ msgstr ""
1078
+
1079
+ #: views/events-meta-box.php:136
1080
+ msgid "End Date / Time:"
1081
+ msgstr ""
1082
+
1083
+ #: views/events-meta-box.php:165
1084
+ #: views/list.php:43
1085
+ #: views/single.php:24
1086
+ msgid "Venue:"
1087
+ msgstr ""
1088
+
1089
+ #: views/events-meta-box.php:171
1090
+ msgid "Country:"
1091
+ msgstr ""
1092
+
1093
+ #: views/events-meta-box.php:188
1094
+ #: views/list.php:61
1095
+ #: views/single.php:28
1096
+ msgid "Address:"
1097
+ msgstr ""
1098
+
1099
+ #: views/events-meta-box.php:192
1100
+ msgid "City:"
1101
+ msgstr ""
1102
+
1103
+ #: views/events-meta-box.php:196
1104
+ msgid "Province:"
1105
+ msgstr ""
1106
+
1107
+ #: views/events-meta-box.php:200
1108
+ msgid "State:"
1109
+ msgstr ""
1110
+
1111
+ #: views/events-meta-box.php:203
1112
+ msgid "Select a State:"
1113
+ msgstr ""
1114
+
1115
+ #: views/events-meta-box.php:205
1116
+ msgid "Alabama"
1117
+ msgstr ""
1118
+
1119
+ #: views/events-meta-box.php:206
1120
+ msgid "Alaska"
1121
+ msgstr ""
1122
+
1123
+ #: views/events-meta-box.php:207
1124
+ msgid "Arizona"
1125
+ msgstr ""
1126
+
1127
+ #: views/events-meta-box.php:208
1128
+ msgid "Arkansas"
1129
+ msgstr ""
1130
+
1131
+ #: views/events-meta-box.php:209
1132
+ msgid "California"
1133
+ msgstr ""
1134
+
1135
+ #: views/events-meta-box.php:210
1136
+ msgid "Colorado"
1137
+ msgstr ""
1138
+
1139
+ #: views/events-meta-box.php:211
1140
+ msgid "Connecticut"
1141
+ msgstr ""
1142
+
1143
+ #: views/events-meta-box.php:212
1144
+ msgid "Delaware"
1145
+ msgstr ""
1146
+
1147
+ #: views/events-meta-box.php:213
1148
+ msgid "District of Columbia"
1149
+ msgstr ""
1150
+
1151
+ #: views/events-meta-box.php:214
1152
+ msgid "Florida"
1153
+ msgstr ""
1154
+
1155
+ #: views/events-meta-box.php:216
1156
+ msgid "Hawaii"
1157
+ msgstr ""
1158
+
1159
+ #: views/events-meta-box.php:217
1160
+ msgid "Idaho"
1161
+ msgstr ""
1162
+
1163
+ #: views/events-meta-box.php:218
1164
+ msgid "Illinois"
1165
+ msgstr ""
1166
+
1167
+ #: views/events-meta-box.php:219
1168
+ msgid "Indiana"
1169
+ msgstr ""
1170
+
1171
+ #: views/events-meta-box.php:220
1172
+ msgid "Iowa"
1173
+ msgstr ""
1174
+
1175
+ #: views/events-meta-box.php:221
1176
+ msgid "Kansas"
1177
+ msgstr ""
1178
+
1179
+ #: views/events-meta-box.php:222
1180
+ msgid "Kentucky"
1181
+ msgstr ""
1182
+
1183
+ #: views/events-meta-box.php:223
1184
+ msgid "Louisiana"
1185
+ msgstr ""
1186
+
1187
+ #: views/events-meta-box.php:224
1188
+ msgid "Maine"
1189
+ msgstr ""
1190
+
1191
+ #: views/events-meta-box.php:225
1192
+ msgid "Maryland"
1193
+ msgstr ""
1194
+
1195
+ #: views/events-meta-box.php:226
1196
+ msgid "Massachusetts"
1197
+ msgstr ""
1198
+
1199
+ #: views/events-meta-box.php:227
1200
+ msgid "Michigan"
1201
+ msgstr ""
1202
+
1203
+ #: views/events-meta-box.php:228
1204
+ msgid "Minnesota"
1205
+ msgstr ""
1206
+
1207
+ #: views/events-meta-box.php:229
1208
+ msgid "Mississippi"
1209
+ msgstr ""
1210
+
1211
+ #: views/events-meta-box.php:230
1212
+ msgid "Missouri"
1213
+ msgstr ""
1214
+
1215
+ #: views/events-meta-box.php:231
1216
+ msgid "Montana"
1217
+ msgstr ""
1218
+
1219
+ #: views/events-meta-box.php:232
1220
+ msgid "Nebraska"
1221
+ msgstr ""
1222
+
1223
+ #: views/events-meta-box.php:233
1224
+ msgid "Nevada"
1225
+ msgstr ""
1226
+
1227
+ #: views/events-meta-box.php:234
1228
+ msgid "New Hampshire"
1229
+ msgstr ""
1230
+
1231
+ #: views/events-meta-box.php:235
1232
+ msgid "New Jersey"
1233
+ msgstr ""
1234
+
1235
+ #: views/events-meta-box.php:236
1236
+ msgid "New Mexico"
1237
+ msgstr ""
1238
+
1239
+ #: views/events-meta-box.php:237
1240
+ msgid "New York"
1241
+ msgstr ""
1242
+
1243
+ #: views/events-meta-box.php:238
1244
+ msgid "North Carolina"
1245
+ msgstr ""
1246
+
1247
+ #: views/events-meta-box.php:239
1248
+ msgid "North Dakota"
1249
+ msgstr ""
1250
+
1251
+ #: views/events-meta-box.php:240
1252
+ msgid "Ohio"
1253
+ msgstr ""
1254
+
1255
+ #: views/events-meta-box.php:241
1256
+ msgid "Oklahoma"
1257
+ msgstr ""
1258
+
1259
+ #: views/events-meta-box.php:242
1260
+ msgid "Oregon"
1261
+ msgstr ""
1262
+
1263
+ #: views/events-meta-box.php:243
1264
+ msgid "Pennsylvania"
1265
+ msgstr ""
1266
+
1267
+ #: views/events-meta-box.php:244
1268
+ msgid "Rhode Island"
1269
+ msgstr ""
1270
+
1271
+ #: views/events-meta-box.php:245
1272
+ msgid "South Carolina"
1273
+ msgstr ""
1274
+
1275
+ #: views/events-meta-box.php:246
1276
+ msgid "South Dakota"
1277
+ msgstr ""
1278
+
1279
+ #: views/events-meta-box.php:247
1280
+ msgid "Tennessee"
1281
+ msgstr ""
1282
+
1283
+ #: views/events-meta-box.php:248
1284
+ msgid "Texas"
1285
+ msgstr ""
1286
+
1287
+ #: views/events-meta-box.php:249
1288
+ msgid "Utah"
1289
+ msgstr ""
1290
+
1291
+ #: views/events-meta-box.php:250
1292
+ msgid "Vermont"
1293
+ msgstr ""
1294
+
1295
+ #: views/events-meta-box.php:251
1296
+ msgid "Virginia"
1297
+ msgstr ""
1298
+
1299
+ #: views/events-meta-box.php:252
1300
+ msgid "Washington"
1301
+ msgstr ""
1302
+
1303
+ #: views/events-meta-box.php:253
1304
+ msgid "West Virginia"
1305
+ msgstr ""
1306
+
1307
+ #: views/events-meta-box.php:254
1308
+ msgid "Wisconsin"
1309
+ msgstr ""
1310
+
1311
+ #: views/events-meta-box.php:255
1312
+ msgid "Wyoming"
1313
+ msgstr ""
1314
+
1315
+ #: views/events-meta-box.php:269
1316
+ msgid "Postal Code:"
1317
+ msgstr ""
1318
+
1319
+ #: views/events-meta-box.php:273
1320
+ #: views/list.php:52
1321
+ msgid "Phone:"
1322
+ msgstr ""
1323
+
1324
+ #: views/events-meta-box.php:280
1325
+ #: views/list.php:70
1326
+ #: views/single.php:18
1327
+ msgid "Cost:"
1328
+ msgstr ""
1329
+
1330
+ #: views/events-meta-box.php:285
1331
+ msgid "Leave blank to hide the field. Enter a 0 for events that are free."
1332
+ msgstr ""
1333
+
1334
+ #: views/events-meta-box.php:294
1335
+ msgid "Interested in selling tickets and tracking registrations? Now you can do it for free using our <a href=\"http://wordpress.org/extend/plugins/eventbrite-for-the-events-calendar/\">Eventbrite Integration Plugin</a>. Eventbrite is a feature rich easy-to-use event management tool. \"Wow, you're selling Eventbrite pretty hard. You must get a kickback.\" Well, now that you mention it... we do. We get a little something for everyone that registers an event using our referral link. It's how we're able to keep supporting and building plugins for the open source community. "
1336
+ msgstr ""
1337
+
1338
+ #: views/events-meta-box.php:294
1339
+ msgid "Check it out here."
1340
+ msgstr ""
1341
+
1342
+ #: views/events-meta-box.php:305
1343
+ msgid ""
1344
+ "<h4>If You Like This Plugin - Help Support It</h4>\r\n"
1345
+ "\t\t\t\t<p>We spend a lot of time and effort building robust plugins and we love to share them with the community. If you use this plugin consider making a donation to help support its' continued development. You may remove this message on the <a href=\"/wp-admin/options-general.php?page=the-events-calendar.php\">settings page</a>.</p>"
1346
+ msgstr ""
1347
+
1348
+ #: views/events-meta-box.php:308
1349
+ msgid "Thanks"
1350
+ msgstr ""
1351
+
1352
+ #: views/events-options.php:47
1353
+ msgid "The Events Calendar Settings"
1354
+ msgstr ""
1355
+
1356
+ #: views/events-options.php:49
1357
+ msgid "Need a hand?"
1358
+ msgstr ""
1359
+
1360
+ #: views/events-options.php:50
1361
+ msgid "If you're stuck on these options, please <a href=\"http://wordpress.org/extend/plugins/the-events-calendar/\">check out the documentation</a>. If you're still wondering what's going on, be sure to stop by the support <a href=\"http://wordpress.org/tags/the-events-calendar?forum_id=10\">forum</a> and ask for help. The open source community is full of kind folks who are happy to help."
1362
+ msgstr ""
1363
+
1364
+ #: views/events-options.php:53
1365
+ #: views/user-profile.php:19
1366
+ msgid "Donate"
1367
+ msgstr ""
1368
+
1369
+ #: views/events-options.php:62
1370
+ #: views/user-profile.php:28
1371
+ msgid "If you find this plugin useful, please consider donating to the producer of it, Shane &#38; Peter, Inc. Thank you!"
1372
+ msgstr ""
1373
+
1374
+ #: views/events-options.php:66
1375
+ msgid "I have already donated, so please hide this button!"
1376
+ msgstr ""
1377
+
1378
+ #: views/events-options.php:93
1379
+ #: views/events-options.php:97
1380
+ msgid "Default View for the Events"
1381
+ msgstr ""
1382
+
1383
+ #: views/events-options.php:109
1384
+ #: views/gridview.php:13
1385
+ #: views/list.php:10
1386
+ msgid "Calendar"
1387
+ msgstr ""
1388
+
1389
+ #: views/events-options.php:113
1390
+ #: views/gridview.php:12
1391
+ #: views/list.php:9
1392
+ msgid "Event List"
1393
+ msgstr ""
1394
+
1395
+ #: views/events-options.php:119
1396
+ #: views/events-options.php:123
1397
+ msgid "Show Comments"
1398
+ msgstr ""
1399
+
1400
+ #: views/events-options.php:135
1401
+ msgid "Yes"
1402
+ msgstr ""
1403
+
1404
+ #: views/events-options.php:139
1405
+ msgid "No"
1406
+ msgstr ""
1407
+
1408
+ #: views/events-options.php:145
1409
+ msgid "Default Country for Events"
1410
+ msgstr ""
1411
+
1412
+ #: views/events-options.php:170
1413
+ #: views/events-options.php:174
1414
+ msgid "Embed Google Maps"
1415
+ msgstr ""
1416
+
1417
+ #: views/events-options.php:188
1418
+ msgid "Off"
1419
+ msgstr ""
1420
+
1421
+ #: views/events-options.php:192
1422
+ msgid "On"
1423
+ msgstr ""
1424
+
1425
+ #: views/events-options.php:195
1426
+ msgid "Height"
1427
+ msgstr ""
1428
+
1429
+ #: views/events-options.php:196
1430
+ msgid "Width"
1431
+ msgstr ""
1432
+
1433
+ #: views/gridview.php:7
1434
+ #: views/list.php:7
1435
+ msgid "Calendar of Events"
1436
+ msgstr ""
1437
+
1438
+ #: views/list.php:31
1439
+ #: views/single.php:11
1440
+ msgid "Start:"
1441
+ msgstr ""
1442
+
1443
+ #: views/list.php:35
1444
+ #: views/single.php:14
1445
+ msgid "End:"
1446
+ msgstr ""
1447
+
1448
+ #: views/single.php:8
1449
+ msgid "This event has passed."
1450
+ msgstr ""
1451
+
1452
+ #: views/table.php:12
1453
+ msgid "Sunday"
1454
+ msgstr ""
1455
+
1456
+ #: views/table.php:12
1457
+ msgid "Sun"
1458
+ msgstr ""
1459
+
1460
+ #: views/table.php:13
1461
+ msgid "Monday"
1462
+ msgstr ""
1463
+
1464
+ #: views/table.php:13
1465
+ msgid "Mon"
1466
+ msgstr ""
1467
+
1468
+ #: views/table.php:14
1469
+ msgid "Tuesday"
1470
+ msgstr ""
1471
+
1472
+ #: views/table.php:14
1473
+ msgid "Tue"
1474
+ msgstr ""
1475
+
1476
+ #: views/table.php:15
1477
+ msgid "Wednesday"
1478
+ msgstr ""
1479
+
1480
+ #: views/table.php:15
1481
+ msgid "Wed"
1482
+ msgstr ""
1483
+
1484
+ #: views/table.php:16
1485
+ msgid "Thursday"
1486
+ msgstr ""
1487
+
1488
+ #: views/table.php:16
1489
+ msgid "Thu"
1490
+ msgstr ""
1491
+
1492
+ #: views/table.php:17
1493
+ msgid "Friday"
1494
+ msgstr ""
1495
+
1496
+ #: views/table.php:17
1497
+ msgid "Fri"
1498
+ msgstr ""
1499
+
1500
+ #: views/table.php:18
1501
+ msgid "Saturday"
1502
+ msgstr ""
1503
+
1504
+ #: views/table.php:18
1505
+ msgid "Sat"
1506
+ msgstr ""
1507
+
1508
+ #: views/user-profile.php:15
1509
+ msgid "The Events Calendar"
1510
+ msgstr ""
1511
+
views/events-meta-box.php CHANGED
@@ -59,7 +59,7 @@
59
  display:none;
60
  }
61
  .eventForm h4 {
62
- font-size:1.1em;
63
  margin:2em 0 1em;
64
  }
65
  .notice {
@@ -71,25 +71,28 @@
71
  <?php if( eventsGetOptionValue('donateHidden', false) ) : ?>
72
  #mainDonateRow {display: none;}
73
  <?php endif; ?>
74
- #mainDonateRow label {line-height: 30px;}
75
  #submitLabel {display: block;}
76
  #submitLabel input {
77
  display: block;
78
  padding: 0;
79
  }
 
 
 
80
  </style>
81
-
82
  <h2><?php _e('Event Details:',$this->pluginDomain); ?></h2>
83
  <?php do_action('sp_events_errors', $postId ); ?>
84
- <div>
85
  <?php _e('Is this post an event?',$this->pluginDomain); ?>&nbsp;
86
  <input tabindex="2001" type='radio' name='isEvent' value='yes' <?php echo $isEventChecked; ?> />&nbsp;<b>Yes</b>
87
  <input tabindex="2002" type='radio' name='isEvent' value='no' <?php echo $isNotEventChecked; ?> />&nbsp;<b>No</b>
88
  </div>
89
- <br />
90
  <div id='eventDetails' class="eventForm">
91
  <?php do_action('sp_events_detail_top', $postId ); ?>
92
  <table cellspacing="0" cellpadding="0" id="EventInfo">
 
 
 
93
  <tr>
94
  <td><?php _e('All day event?'); ?></td>
95
  <td><input tabindex="2007" type='checkbox' id='allDayCheckbox' name='EventAllDay' value='yes' <?php echo $isEventAllDay; ?> /></td>
@@ -104,7 +107,7 @@
104
  </td>
105
  </tr>
106
  <tr>
107
- <td style="width:100px;"><?php _e('Start Date / Time:',$this->pluginDomain); ?></td>
108
  <td>
109
  <select tabindex="2010" name='EventStartMonth'>
110
  <?php echo $startMonthOptions; ?>
@@ -155,6 +158,9 @@
155
  </span>
156
  </td>
157
  </tr>
 
 
 
158
  <tr>
159
  <td><?php _e('Venue:',$this->pluginDomain); ?></td>
160
  <td>
@@ -263,34 +269,142 @@
263
  <td><?php _e('Postal Code:',$this->pluginDomain); ?></td>
264
  <td><input tabindex="2028" type='text' name='EventZip' size='6' value='<?php echo $_EventZip; ?>' /></td>
265
  </tr>
 
 
 
 
 
 
 
266
  <tr>
267
  <td><?php _e('Cost:',$this->pluginDomain); ?></td>
268
  <td><input tabindex="2029" type='text' name='EventCost' size='6' value='<?php echo $_EventCost; ?>' /></td>
269
  </tr>
270
  <tr>
271
- <td><?php _e('Phone:',$this->pluginDomain); ?></td>
272
- <td><input tabindex="2030" type='text' name='EventPhone' size='14' value='<?php echo $_EventPhone; ?>' /></td>
273
  </tr>
274
- <tr>
275
- <td><?php _e('Sub-category:',$this->pluginDomain); ?></td>
276
- <td><?php _e('<em>To assign this event to a custom sub-category, use the Wordpress categories chooser in the sidebar.</em>',$this->pluginDomain); ?></td>
 
 
 
 
 
 
277
  </tr>
278
- <tr id="mainDonateRow">
279
- <td><?php _e('Donate:',$this->pluginDomain); ?></td>
280
- <td>
281
- <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
282
- <input type="hidden" name="cmd" value="_s-xclick">
283
- <input type="hidden" name="hosted_button_id" value="10750983">
284
- <input type="hidden" name="item_name" value="Events Post Editor">
285
- <input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
286
- <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
287
- <label id="submitLabel" for="submit">
288
- <?php _e('If you find this plugin useful, please consider donating to the producer of it, Shane &#38; Peter, Inc. Thank you!',$this->pluginDomain); ?>
289
- </label>
290
- </form>
291
- </td>
292
- </tr>
293
 
294
  </table>
295
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
296
  <?php do_action( 'sp_events_details_bottom', $postId ); ?>
59
  display:none;
60
  }
61
  .eventForm h4 {
62
+ font-size:1.2em;
63
  margin:2em 0 1em;
64
  }
65
  .notice {
71
  <?php if( eventsGetOptionValue('donateHidden', false) ) : ?>
72
  #mainDonateRow {display: none;}
73
  <?php endif; ?>
 
74
  #submitLabel {display: block;}
75
  #submitLabel input {
76
  display: block;
77
  padding: 0;
78
  }
79
+ <?php if( class_exists( 'Eventbrite_for_The_Events_Calendar' ) ) : ?>
80
+ .eventBritePluginPlug {display:none;}
81
+ <?php endif; ?>
82
  </style>
83
+ <div id="eventIntro">
84
  <h2><?php _e('Event Details:',$this->pluginDomain); ?></h2>
85
  <?php do_action('sp_events_errors', $postId ); ?>
 
86
  <?php _e('Is this post an event?',$this->pluginDomain); ?>&nbsp;
87
  <input tabindex="2001" type='radio' name='isEvent' value='yes' <?php echo $isEventChecked; ?> />&nbsp;<b>Yes</b>
88
  <input tabindex="2002" type='radio' name='isEvent' value='no' <?php echo $isNotEventChecked; ?> />&nbsp;<b>No</b>
89
  </div>
 
90
  <div id='eventDetails' class="eventForm">
91
  <?php do_action('sp_events_detail_top', $postId ); ?>
92
  <table cellspacing="0" cellpadding="0" id="EventInfo">
93
+ <tr>
94
+ <td colspan="2" class="snp_sectionheader"><h4>Event Time &amp; Date</h4></td>
95
+ </tr>
96
  <tr>
97
  <td><?php _e('All day event?'); ?></td>
98
  <td><input tabindex="2007" type='checkbox' id='allDayCheckbox' name='EventAllDay' value='yes' <?php echo $isEventAllDay; ?> /></td>
107
  </td>
108
  </tr>
109
  <tr>
110
+ <td style="width:125px;"><?php _e('Start Date / Time:',$this->pluginDomain); ?></td>
111
  <td>
112
  <select tabindex="2010" name='EventStartMonth'>
113
  <?php echo $startMonthOptions; ?>
158
  </span>
159
  </td>
160
  </tr>
161
+ <tr>
162
+ <td colspan="2" class="snp_sectionheader"><h4>Event Location Details</h4></td>
163
+ </tr>
164
  <tr>
165
  <td><?php _e('Venue:',$this->pluginDomain); ?></td>
166
  <td>
269
  <td><?php _e('Postal Code:',$this->pluginDomain); ?></td>
270
  <td><input tabindex="2028" type='text' name='EventZip' size='6' value='<?php echo $_EventZip; ?>' /></td>
271
  </tr>
272
+ <tr>
273
+ <td><?php _e('Phone:',$this->pluginDomain); ?></td>
274
+ <td><input tabindex="2030" type='text' name='EventPhone' size='14' value='<?php echo $_EventPhone; ?>' /></td>
275
+ </tr>
276
+ <tr>
277
+ <td colspan="2" class="snp_sectionheader"><h4>Event Cost</h4></td>
278
+ </tr>
279
  <tr>
280
  <td><?php _e('Cost:',$this->pluginDomain); ?></td>
281
  <td><input tabindex="2029" type='text' name='EventCost' size='6' value='<?php echo $_EventCost; ?>' /></td>
282
  </tr>
283
  <tr>
284
+ <td></td>
285
+ <td><small><?php _e('Leave blank to hide the field. Enter a 0 for events that are free.', $this->pluginDomain); ?></small></td>
286
  </tr>
287
+ <tr class="eventBritePluginPlug">
288
+ <td colspan="2" class="snp_sectionheader">
289
+ <h4>Sell Tickets &amp; Track Registration</h4>
290
+ </td>
291
+ </tr>
292
+ <tr class="eventBritePluginPlug">
293
+ <td colspan="2">
294
+ <p><?php _e('Interested in selling tickets and tracking registrations? Now you can do it for free using our <a href="http://wordpress.org/extend/plugins/eventbrite-for-the-events-calendar/">Eventbrite Integration Plugin</a>. Eventbrite is a feature rich easy-to-use event management tool. "Wow, you\'re selling Eventbrite pretty hard. You must get a kickback." Well, now that you mention it... we do. We get a little something for everyone that registers an event using our referral link. It\'s how we\'re able to keep supporting and building plugins for the open source community. ', $this->pluginDomain); ?> <a href="http://www.eventbrite.com/r/simpleevents"><?php _e('Check it out here.', $this->pluginDomain); ?></a></p>
295
+ </td>
296
  </tr>
297
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
298
 
299
  </table>
300
+ </div>
301
+
302
+ <?php do_action( 'sp_events_above_donate', $postId ); ?>
303
+
304
+ <div id="mainDonateRow" class="eventForm">
305
+ <?php _e('<h4>If You Like This Plugin - Help Support It</h4>
306
+ <p>We spend a lot of time and effort building robust plugins and we love to share them with the community. If you use this plugin consider making a donation to help support its\' continued development. You may remove this message on the <a href="/wp-admin/options-general.php?page=the-events-calendar.php">settings page</a>.</p>', $this->pluginDomain); ?>
307
+ <div id="snp_thanks">
308
+ <?php _e('Thanks', $this->pluginDomain); ?><br/>
309
+ <h5 class="snp_brand">Shane & Peter</h5>
310
+ <a href="http://www.shaneandpeter.com" target="_blank">www.shaneandpeter.com</a>
311
+ </div>
312
+ <div id="snp_donate">
313
+ <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
314
+ <input type="hidden" name="cmd" value="_s-xclick">
315
+ <input type="hidden" name="hosted_button_id" value="10750983">
316
+ <input type="hidden" name="item_name" value="Events Post Editor">
317
+ <input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
318
+ <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
319
+ <label id="submitLabel" for="submit">
320
+ </label>
321
+ </form>
322
+ </div>
323
+ <div style="clear:both;"></div>
324
+ </div><!-- end maindonaterow -->
325
+
326
+ <style>
327
+ #eventDetails h4,
328
+ #EventBriteDetailDiv h4{
329
+ text-transform: uppercase;
330
+ border-bottom: 1px solid #e5e5e5;
331
+ padding-bottom: 6px;
332
+ }
333
+
334
+ .eventForm td{
335
+ padding-bottom: 10px !important;
336
+ padding-top:0 !important;
337
+ }
338
+
339
+ .eventForm .snp_sectionheader{
340
+ padding-bottom:5px !important;
341
+ }
342
+
343
+ #snp_thanks{
344
+ float:left;
345
+ width:200px;
346
+ margin:5px 0 0 0;
347
+ }
348
+
349
+ .snp_brand {
350
+ font-weight: normal;
351
+ margin:8px 0;
352
+ font-family: Georgia !important;
353
+ font-size:17px !important;
354
+ }
355
+
356
+ .eventForm p{
357
+ margin:0 0 10px 0!important;
358
+ }
359
+
360
+ #eventDetails small,
361
+ #EventBriteDetailDiv small{
362
+ color:#a3a3a3;
363
+ font-size: 10px;
364
+ }
365
+
366
+
367
+ #eventBriteTicketing,
368
+ #mainDonateRow{
369
+ background: url('/wp-content/plugins/the-events-calendar/resources/images/bg_fade.png') repeat-x top left;
370
+ padding:10px 15px;
371
+ border-top:1px solid #e2e2e2;
372
+ margin-top:20px;
373
+ margin-left:-21px;
374
+ margin-right:-21px;
375
+ }
376
+
377
+ #eventBriteTicketing h2{
378
+ background: url('/wp-content/plugins/the-events-calendar/resources/images/logo_eventbrite.png') no-repeat top right;
379
+ height:57px;
380
+ padding-top:5px;
381
+ margin-top:10px;
382
+ margin-bottom:-20px;
383
+ }
384
+
385
+ #eventIntro h2{
386
+ margin-bottom: 0px !important;
387
+ }
388
+
389
+ #Events .inside{
390
+ padding:0 15px !important;
391
+ }
392
+
393
+ .eventForm .description_input{
394
+ border: 1px solid #dfdfdf;
395
+ width:95%;
396
+ height:45px;
397
+ }
398
+
399
+ #EventInfo,
400
+ table.eventForm{
401
+ width:100%;
402
+ }
403
+
404
+ td.snp_message{
405
+ padding-bottom:10px !Important;
406
+ }
407
+
408
+ </style>
409
+ </div><!--//eventDetails-->
410
  <?php do_action( 'sp_events_details_bottom', $postId ); ?>
views/events-options.php CHANGED
@@ -38,9 +38,16 @@ jQuery(document).ready(function() {
38
  margin: 0;
39
  padding: 0;
40
  }
 
 
 
 
41
  </style>
 
42
  <h2><?php _e('The Events Calendar Settings',$this->pluginDomain); ?></h2>
43
 
 
 
44
  <table class="form-table">
45
  <tr id="mainDonateRow">
46
  <th scope="row"><?php _e('Donate',$this->pluginDomain); ?></th>
@@ -89,7 +96,7 @@ if ( function_exists('wp_nonce_field') ) {
89
  <legend class="screen-reader-text">
90
  <span><?php _e('Default View for the Events',$this->pluginDomain); ?></span>
91
  </legend>
92
- <label title='Grid View'>
93
  <?php
94
  $viewOptionValue = eventsGetOptionValue('viewOption','month');
95
  if( $viewOptionValue == 'upcoming' ) {
@@ -99,11 +106,11 @@ if ( function_exists('wp_nonce_field') ) {
99
  }
100
  ?>
101
  <input type="radio" name="viewOption" value="month" <?php echo $gridViewStatus; ?> />
102
- <?php _e('Grid View',$this->pluginDomain); ?>
103
  </label><br />
104
  <label title='List View'>
105
  <input type="radio" name="viewOption" value="upcoming" <?php echo $listViewStatus; ?> />
106
- <?php _e('List View',$this->pluginDomain); ?>
107
  </label><br />
108
  </fieldset>
109
  </td>
@@ -126,6 +133,48 @@ if ( function_exists('wp_nonce_field') ) {
126
  </select>
127
  </td>
128
  </tr>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
129
  <?php do_action( 'sp_events_options_bottom' ); ?>
130
  <tr>
131
  <td>
@@ -135,4 +184,21 @@ if ( function_exists('wp_nonce_field') ) {
135
 
136
  </table>
137
 
138
- </form>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
  margin: 0;
39
  padding: 0;
40
  }
41
+
42
+ div.snp_settings{
43
+ width:90%;
44
+ }
45
  </style>
46
+ <div class="snp_settings">
47
  <h2><?php _e('The Events Calendar Settings',$this->pluginDomain); ?></h2>
48
 
49
+ <h3><?php _e('Need a hand?',$this->pluginDomain); ?></h3>
50
+ <p><?php _e('If you\'re stuck on these options, please <a href="http://wordpress.org/extend/plugins/the-events-calendar/">check out the documentation</a>. If you\'re still wondering what\'s going on, be sure to stop by the support <a href="http://wordpress.org/tags/the-events-calendar?forum_id=10">forum</a> and ask for help. The open source community is full of kind folks who are happy to help.',$this->pluginDomain); ?></p>
51
  <table class="form-table">
52
  <tr id="mainDonateRow">
53
  <th scope="row"><?php _e('Donate',$this->pluginDomain); ?></th>
96
  <legend class="screen-reader-text">
97
  <span><?php _e('Default View for the Events',$this->pluginDomain); ?></span>
98
  </legend>
99
+ <label title='Calendar'>
100
  <?php
101
  $viewOptionValue = eventsGetOptionValue('viewOption','month');
102
  if( $viewOptionValue == 'upcoming' ) {
106
  }
107
  ?>
108
  <input type="radio" name="viewOption" value="month" <?php echo $gridViewStatus; ?> />
109
+ <?php _e('Calendar',$this->pluginDomain); ?>
110
  </label><br />
111
  <label title='List View'>
112
  <input type="radio" name="viewOption" value="upcoming" <?php echo $listViewStatus; ?> />
113
+ <?php _e('Event List',$this->pluginDomain); ?>
114
  </label><br />
115
  </fieldset>
116
  </td>
133
  </select>
134
  </td>
135
  </tr>
136
+
137
+
138
+ <?php
139
+ $embedGoogleMapsValue = eventsGetOptionValue('embedGoogleMaps','off');
140
+ ?>
141
+
142
+
143
+ <tr>
144
+ <th scope="row"><?php _e('Embed Google Maps',$this->pluginDomain); ?></th>
145
+ <td>
146
+ <fieldset>
147
+ <legend class="screen-reader-text">
148
+ <span><?php _e('Embed Google Maps',$this->pluginDomain); ?></span>
149
+ </legend>
150
+ <label title='Yes'>
151
+ <?php
152
+ $embedGoogleMapsValue = eventsGetOptionValue('embedGoogleMaps','off');
153
+ $embedGoogleMapsHeightValue = eventsGetOptionValue('embedGoogleMapsHeight','350');
154
+ $embedGoogleMapsWidthValue = eventsGetOptionValue('embedGoogleMapsWidth','100%');
155
+ if( $embedGoogleMapsValue == 'on' ) {
156
+ $embedGoogleMapsOnStatus = 'checked="checked"';
157
+ } else {
158
+ $embedGoogleMapsOffStatus = 'checked="checked"';
159
+ }
160
+ ?>
161
+ <input type="radio" name="embedGoogleMaps" value="off" <?php echo $embedGoogleMapsOffStatus; ?> onClick="hidestuff('googleEmbedSize');" />
162
+ <?php _e('Off',$this->pluginDomain); ?>
163
+ </label>
164
+ <label title='List View'>
165
+ <input type="radio" name="embedGoogleMaps" value="on" <?php echo $embedGoogleMapsOnStatus; ?> onClick="showstuff('googleEmbedSize');" />
166
+ <?php _e('On',$this->pluginDomain); ?>
167
+ </label>
168
+ <span id="googleEmbedSize" name="googleEmbedSize" style="margin-left:20px;" >
169
+ <?php _e('Height',$this->pluginDomain); ?> <input type="text" name="embedGoogleMapsHeight" value="<?php echo $embedGoogleMapsHeightValue ?>" size=4>
170
+ &nbsp;<?php _e('Width',$this->pluginDomain); ?> <input type="text" name="embedGoogleMapsWidth" value="<?php echo $embedGoogleMapsWidthValue ?>" size=4> (number or %)
171
+ </span>
172
+ <br />
173
+ </fieldset>
174
+ </td>
175
+ </tr>
176
+
177
+
178
  <?php do_action( 'sp_events_options_bottom' ); ?>
179
  <tr>
180
  <td>
184
 
185
  </table>
186
 
187
+ </form>
188
+
189
+ <script>
190
+ function showstuff(boxid){
191
+ document.getElementById(boxid).style.visibility="visible";
192
+ }
193
+
194
+ function hidestuff(boxid){
195
+ document.getElementById(boxid).style.visibility="hidden";
196
+ }
197
+
198
+ <?php if( $embedGoogleMapsValue == 'off' ) { ?>
199
+ hidestuff('googleEmbedSize');
200
+ <?php }; ?>
201
+
202
+ </script>
203
+
204
+ </div>
views/gridview-day.php CHANGED
@@ -1,9 +1,15 @@
1
  <?php global $post; $post = $event; ?>
2
- <div id='event_<?php echo $eventId; ?>' class="event">
 
 
 
 
 
 
3
  <a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
4
 
5
  <div id='tooltip_<?php echo $eventId; ?>' class="tooltip" style="display:none;">
6
- <h5 class="event-title"><?php _e($event->post_title); ?></h5>
7
  <div class="event-body">
8
  <?php if ( !the_event_all_day($event->ID) ) : ?>
9
  <div class="event-date">
1
  <?php global $post; $post = $event; ?>
2
+ <div id='event_<?php echo $eventId; ?>' class="event
3
+ <?php
4
+ foreach((get_the_category()) as $category) {
5
+ echo 'cat_' . $category->cat_name . ' ';
6
+ }
7
+ ?>
8
+ ">
9
  <a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
10
 
11
  <div id='tooltip_<?php echo $eventId; ?>' class="tooltip" style="display:none;">
12
+ <h5 class="event-title"><?php _e($event->post_title);?></h5>
13
  <div class="event-body">
14
  <?php if ( !the_event_all_day($event->ID) ) : ?>
15
  <div class="event-date">
views/gridview.php CHANGED
@@ -9,8 +9,8 @@ include (TEMPLATEPATH.'/header.php'); ?>
9
  <?php get_jump_to_date_calendar(); ?>
10
 
11
  <span class='calendarButtons'>
12
- <a class='listview' href='<?php echo events_get_listview_link(); ?>'>List View</a>
13
- <a class='gridview' href='<?php echo events_get_gridview_link(); ?>'>Grid View</a>
14
  </span>
15
 
16
  </div><!--#eventsCalendarHeader-->
9
  <?php get_jump_to_date_calendar(); ?>
10
 
11
  <span class='calendarButtons'>
12
+ <a class='listview' href='<?php echo events_get_listview_link(); ?>'><?php _e('Event List', $spEvents->pluginDomain)?></a>
13
+ <a class='gridview' href='<?php echo events_get_gridview_link(); ?>'><?php _e('Calendar', $spEvents->pluginDomain)?></a>
14
  </span>
15
 
16
  </div><!--#eventsCalendarHeader-->
views/list.php CHANGED
@@ -5,11 +5,10 @@ include (TEMPLATEPATH.'/header.php'); ?>
5
  <div id="content" class="upcoming">
6
  <div id='eventsCalendarHeader' class="clearfix">
7
  <h2 class="cal-title"><?php _e('Calendar of Events', $spEvents->pluginDomain) ?></h2>
8
-
9
- <span class='calendarButtons'>
10
- <a class='listview' href='<?php echo events_get_listview_link(); ?>'>List View</a>
11
- <a class='gridview' href='<?php echo events_get_gridview_link(); ?>'>Grid View</a>
12
- </span>
13
 
14
  </div><!--#eventsCalendarHeader-->
15
 
5
  <div id="content" class="upcoming">
6
  <div id='eventsCalendarHeader' class="clearfix">
7
  <h2 class="cal-title"><?php _e('Calendar of Events', $spEvents->pluginDomain) ?></h2>
8
+ <span class='calendarButtons'>
9
+ <a class='listview' href='<?php echo events_get_listview_link(); ?>'><?php _e('Event List', $spEvents->pluginDomain)?></a>
10
+ <a class='gridview' href='<?php echo events_get_gridview_link(); ?>'><?php _e('Calendar', $spEvents->pluginDomain)?></a>
11
+ </span>
 
12
 
13
  </div><!--#eventsCalendarHeader-->
14
 
views/single.php CHANGED
@@ -5,6 +5,7 @@ include (TEMPLATEPATH.'/header.php'); ?>
5
  <div id="post-<?php the_ID() ?>" <?php post_class() ?>>
6
  <span class="back"><a href="<?php echo events_get_gridview_link(); ?>">&laquo; Back to Events</a></span>
7
  <h2 class="entry-title"><?php the_title() ?></h2>
 
8
  <div id="event-meta">
9
  <dl class="column">
10
  <dt><?php _e('Start:', $spEvents->pluginDomain) ?></dt>
@@ -35,11 +36,13 @@ include (TEMPLATEPATH.'/header.php'); ?>
35
  $address = str_replace(' ,', ',', $address);
36
  echo $address;
37
 
 
38
  ?>
39
  </dd>
40
  <?php endif; ?>
41
  </dl>
42
  </div>
 
43
  <div class="entry-content">
44
  <?php the_content() ?>
45
  <?php if (function_exists('the_event_ticket_form')) { the_event_ticket_form(); } ?>
5
  <div id="post-<?php the_ID() ?>" <?php post_class() ?>>
6
  <span class="back"><a href="<?php echo events_get_gridview_link(); ?>">&laquo; Back to Events</a></span>
7
  <h2 class="entry-title"><?php the_title() ?></h2>
8
+ <?php if (the_event_end_date() > time() ) { ?><small><?php _e('This event has passed.', $spEvents->pluginDomain) ?></small> <?php } ?>
9
  <div id="event-meta">
10
  <dl class="column">
11
  <dt><?php _e('Start:', $spEvents->pluginDomain) ?></dt>
36
  $address = str_replace(' ,', ',', $address);
37
  echo $address;
38
 
39
+ $googleaddress = str_replace(' ', '+', $address);
40
  ?>
41
  </dd>
42
  <?php endif; ?>
43
  </dl>
44
  </div>
45
+ <?php if(the_event_address()) { event_google_map_embed(); } ?>
46
  <div class="entry-content">
47
  <?php the_content() ?>
48
  <?php if (function_exists('the_event_ticket_form')) { the_event_ticket_form(); } ?>