Events Manager - Version 1.0.1

Version Description

Download this release

Release Info

Developer nutsmuggler
Plugin Icon 128x128 Events Manager
Version 1.0.1
Comparing to
See all releases

Code changes from version 1.0 to 1.0.1

Files changed (5) hide show
  1. dbem-it_IT.mo +0 -0
  2. dbem-it_IT.po +102 -93
  3. dbem_widgets.php +1 -1
  4. events-manager.php +149 -112
  5. readme.txt +58 -13
dbem-it_IT.mo CHANGED
Binary file
dbem-it_IT.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: events-manager\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2008-07-21 18:53+0100\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Davide Benini <cno@cnomania.it>\n"
8
  "Language-Team: \n"
@@ -16,46 +16,47 @@ msgstr ""
16
  "X-Poedit-KeywordsList: _e;__\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
- #: dbem_calendar.php:123
20
  msgid "M_Monday_initial"
21
  msgstr "L"
22
 
23
- #: dbem_calendar.php:123
24
  msgid "T_Tuesday_initial"
25
  msgstr "M"
26
 
27
- #: dbem_calendar.php:123
28
  msgid "W_Wednesday_initial"
29
  msgstr "M"
30
 
31
- #: dbem_calendar.php:123
32
  msgid "T_Thursday_initial"
33
  msgstr "G"
34
 
35
- #: dbem_calendar.php:123
36
  msgid "F_Friday_initial"
37
  msgstr "V"
38
 
39
- #: dbem_calendar.php:123
40
  msgid "S_Saturday_initial"
41
  msgstr "S"
42
 
43
- #: dbem_calendar.php:123
44
  msgid "S_Sunday_initial"
45
  msgstr "D"
46
 
47
  #: dbem_widgets.php:10
48
  #: dbem_widgets.php:35
49
- #: events-manager.php:42
50
- #: events-manager.php:155
51
- #: events-manager.php:161
52
- #: events-manager.php:187
53
- #: events-manager.php:198
54
  msgid "Events"
55
  msgstr "Eventi"
56
 
57
  #: dbem_widgets.php:19
58
- #: events-manager.php:675
 
59
  msgid "No events"
60
  msgstr "Nessun evento"
61
 
@@ -73,17 +74,17 @@ msgid "Scope of the events"
73
  msgstr "Ambito degli eventi"
74
 
75
  #: dbem_widgets.php:88
76
- #: events-manager.php:845
77
  msgid "Future events"
78
  msgstr "Eventi futuri"
79
 
80
  #: dbem_widgets.php:89
81
- #: events-manager.php:844
82
  msgid "All events"
83
  msgstr "Tutti gli eventi"
84
 
85
  #: dbem_widgets.php:90
86
- #: events-manager.php:843
87
  msgid "Past events"
88
  msgstr "Eventi passati"
89
 
@@ -117,280 +118,288 @@ msgstr "Lista eventi"
117
  msgid "Events Calendar"
118
  msgstr "Calendario eventi"
119
 
120
- #: events-manager.php:267
121
  msgid "New event successfully inserted!"
122
  msgstr "Nuovo evento inserito!"
123
 
124
- #: events-manager.php:281
125
  msgid "Event"
126
  msgstr "Evento"
127
 
128
- #: events-manager.php:281
129
  msgid "updated"
130
  msgstr "aggiornato"
131
 
132
- #: events-manager.php:311
133
  msgid "Insert New Event"
134
  msgstr "Inserisci un nuovo evento"
135
 
136
- #: events-manager.php:313
137
  msgid "Edit Event"
138
  msgstr "Modifica l'evento"
139
 
140
- #: events-manager.php:350
141
  msgid "Past Events"
142
  msgstr "Eventi passati"
143
 
144
- #: events-manager.php:353
145
  msgid "All Events"
146
  msgstr "Tutti gli eventi"
147
 
148
- #: events-manager.php:356
149
  msgid "Future Events"
150
  msgstr "Eventi futuri"
151
 
152
- #: events-manager.php:374
153
  msgid "Event Manager Options"
154
  msgstr "Opzioni di Events Manager"
155
 
156
- #: events-manager.php:379
157
  msgid "Default event list format"
158
  msgstr "Formato predefinito della lista eventi"
159
 
160
- #: events-manager.php:381
161
  msgid "The format of any events in a list."
162
  msgstr "Il formato di ciascun evento della lista."
163
 
164
- #: events-manager.php:382
165
  msgid "Insert one or more of the following placeholders: <code>#_NAME</code>, <code>#_VENUE</code>, <code>#_ADDRESS</code>, <code>#_TOWN</code>, <code>#_NOTES</code>. Use <code>#_LINKEDNAME</code> for the event name with a link to the given event page. Use #_URL to print the event URL and make your own customised links."
166
  msgstr "Inserire uno o più dei seguenti segnaposto: <code>#_NAME</code>, <code>#_VENUE</code>, <code>#_ADDRESS</code>, <code>#_TOWN</code>, <code>#_NOTES</code>. Utilizzare <code>#_LINKEDNAME</code> per il nome dell'evento con un link alla pagina corrispondente. Utilizzare #_URL per visualizzare l'URL dell'evento e creare link personalizzati."
167
 
168
- #: events-manager.php:383
169
  msgid "To insert date and time values, use <a href=\"http://www.php.net/manual/en/function.date.php\">PHP time format characters</a> with a # symbol before them, i.e. #m. #M, #j, etc. "
170
  msgstr "Per inserire valori di data e ora, utilizzare i <a href=\"http://www.php.net/manual/it/function.date.php\">caratteri di stringa formato PHP</a> anteponendo ad essi un #, ad esempio #m. #M, #j, etc. "
171
 
172
- #: events-manager.php:384
173
  msgid "Use HTML tags as <code>li</code>, <code>br</code>, etc."
174
  msgstr "Utilizzare liberamente tag HTML come <code>li</code>, <code>br</code>, ecc."
175
 
176
- #: events-manager.php:387
177
  msgid "Single event page title format"
178
  msgstr "Formato del titolo della pagina eventi"
179
 
180
- #: events-manager.php:390
181
  msgid "The format of a single event page title."
182
  msgstr "Il formato del titolo della pagina di un singolo evento."
183
 
184
- #: events-manager.php:391
185
- #: events-manager.php:399
186
- #: events-manager.php:470
187
- #: events-manager.php:501
188
  msgid "Follow the previous formatting instructions."
189
  msgstr "Seguire le istruzioni di formattazione precedenti."
190
 
191
- #: events-manager.php:395
192
  msgid "Default single event format"
193
  msgstr "Fomato predefinito di un singolo evento"
194
 
195
- #: events-manager.php:398
196
  msgid "The format of a single eventy page."
197
  msgstr "Il formati della pagina di un singolo evento."
198
 
199
- #: events-manager.php:400
200
  msgid "Use <code>#_MAP</code> to insert a map."
201
  msgstr "Utilizzare <code>#_MAP</code> per inserire una mappa."
202
 
203
- #: events-manager.php:408
204
  msgid "Show events page in lists?"
205
  msgstr "Mostrare la pagina degli eventi nelle liste?"
206
 
207
- #: events-manager.php:410
208
- #: events-manager.php:484
209
  msgid "Yes"
210
  msgstr "Sì"
211
 
212
- #: events-manager.php:411
213
- #: events-manager.php:485
214
  msgid "No"
215
  msgstr "No"
216
 
217
- #: events-manager.php:412
218
  msgid "Check this option if you want the events page to appear together with other pages in pages lists."
219
  msgstr "Selezionare questa opzione se si vuole che la pagina degli eventi compaia nelle liste delle pagine."
220
 
221
- #: events-manager.php:428
222
  msgid "Events page title"
223
  msgstr "Titolo della pagina degli eventi"
224
 
225
- #: events-manager.php:431
226
  msgid "The title on the multiple events page."
227
  msgstr "Il titolo della pagina che contiene più eventi."
228
 
229
- #: events-manager.php:443
 
 
 
 
 
 
 
 
230
  msgid "RSS main title"
231
  msgstr "Titolo principale dell'RSS"
232
 
233
- #: events-manager.php:446
234
  msgid "The main title of your RSS events feed."
235
  msgstr "Il titolo principale del feed RSS degli eventi."
236
 
237
- #: events-manager.php:450
238
  msgid "RSS main description"
239
  msgstr "Descrizione principale dell'RSS"
240
 
241
- #: events-manager.php:453
242
  msgid "The main description of your RSS events feed."
243
  msgstr "La descrizione principale del feed RSS degli eventi."
244
 
245
- #: events-manager.php:458
246
  msgid "RSS title format"
247
  msgstr "Formato del titolo dell'RSS"
248
 
249
- #: events-manager.php:461
250
  msgid "The format of the title of each item in the events RSS feed."
251
  msgstr "Il formato del titolo di ciascun elemento nel feed RSS."
252
 
253
- #: events-manager.php:466
254
  msgid "RSS description format"
255
  msgstr "Formato della descrizione nell'RSS"
256
 
257
- #: events-manager.php:469
258
  msgid "The format of the description of each item in the events RSS feed."
259
  msgstr "Il formato della descrizione di ciascun elemento nel feed RSS."
260
 
261
- #: events-manager.php:482
262
  msgid "Enable Google Maps integration?"
263
  msgstr "Abilitare l'integrazione con Google Maps?"
264
 
265
- #: events-manager.php:486
266
  msgid "Check this option to enable Goggle Map integration."
267
  msgstr "Selezionare questa opzione per abilitare l'integrazione con Google Maps."
268
 
269
- #: events-manager.php:491
270
  msgid "Google Maps API Key"
271
  msgstr "Chiave API di Google Maps"
272
 
273
- #: events-manager.php:494
274
  msgid "To display Google Maps you need a Google Maps API key. Don't worry, it's free, you can get one"
275
  msgstr "Per visualizzare una mappa di Google Maps è necessaria una chiave API di Google Maps. Non preoccupatevi, è gratuita, è sufficiente andare su"
276
 
277
- #: events-manager.php:494
278
  msgid "here"
279
  msgstr "questa pagina"
280
 
281
- #: events-manager.php:498
282
  msgid "Map text format"
283
  msgstr "Formato del testo della mappa"
284
 
285
- #: events-manager.php:500
286
  msgid "The format the text appearing in the map cloud."
287
  msgstr "Il fomato del testo del fumetto che appare sulla mappa."
288
 
289
- #: events-manager.php:505
290
  msgid "Save Changes"
291
  msgstr "Salva le modifiche"
292
 
293
- #: events-manager.php:839
294
  msgid "New Event ..."
295
  msgstr "Nuovo evento..."
296
 
297
- #: events-manager.php:855
298
  msgid "ID"
299
  msgstr "ID"
300
 
301
- #: events-manager.php:856
302
- #: events-manager.php:963
303
  msgid "Name"
304
  msgstr "Nome"
305
 
306
- #: events-manager.php:857
307
- #: events-manager.php:994
308
  msgid "Venue"
309
  msgstr "Locale"
310
 
311
- #: events-manager.php:858
312
- #: events-manager.php:987
313
  msgid "Town"
314
  msgstr "Città"
315
 
316
- #: events-manager.php:859
317
- #: events-manager.php:1001
318
  msgid "Address"
319
  msgstr "Indirizzo"
320
 
321
- #: events-manager.php:860
322
  msgid "Date"
323
  msgstr "Data"
324
 
325
- #: events-manager.php:861
326
  msgid "Time"
327
  msgstr "Ora"
328
 
329
- #: events-manager.php:863
330
  msgid "Latitude"
331
  msgstr "Latitudine"
332
 
333
- #: events-manager.php:864
334
  msgid "Longitude"
335
  msgstr "Longitudine"
336
 
337
- #: events-manager.php:866
338
  msgid "Actions"
339
  msgstr "Azioni"
340
 
341
- #: events-manager.php:927
342
  msgid "Edit"
343
  msgstr "Modifica"
344
 
345
- #: events-manager.php:928
346
  msgid "Are you sure?"
347
  msgstr "Sei sicuro?"
348
 
349
- #: events-manager.php:928
350
  msgid "Delete"
351
  msgstr "Elimina"
352
 
353
- #: events-manager.php:966
354
  msgid "The event name. Example: Birthday party"
355
  msgstr "Il nome dell'evento. Esempio: festa di compleanno."
356
 
357
- #: events-manager.php:970
358
  msgid "Day and Time"
359
  msgstr "Giorno e ora."
360
 
361
- #: events-manager.php:976
362
  msgid "The event day and time. Example: 21/11/2009 - 21:30"
363
  msgstr "Giorno e ora dell'evento. Esempio: 21/11/2009 - 21:30"
364
 
365
- #: events-manager.php:982
366
  msgid "Map not found"
367
  msgstr "Mappa non trovata"
368
 
369
- #: events-manager.php:990
370
  msgid "The event town. Example: Verona. If you' using the Google Map integration and want to avoid geotagging ambiguities include the country as well. Example: Verona, Italy"
371
  msgstr "La città dell'evento. Esempio: Verona. Se si utilizza Google Map e si vogliono evitare ambiguità, inserire anche lo stato. Esempio: Verona, Italy"
372
 
373
- #: events-manager.php:997
374
  msgid "The venue where the event takes place. Example: Arena"
375
  msgstr "Il locale dove avviene l'evento. Esempio: Arena"
376
 
377
- #: events-manager.php:1004
378
  msgid "The address of the venue. Example: Via Mazzini 22"
379
  msgstr "L'indirizzo del locale. Esempio: Via Mazzini 22"
380
 
381
- #: events-manager.php:1008
382
  msgid "Notes"
383
  msgstr "Note"
384
 
385
- #: events-manager.php:1011
386
  msgid "Notes about the event"
387
  msgstr "Note sull'evento"
388
 
389
- #: events-manager.php:1016
390
  msgid "Submit Event"
391
  msgstr "Invia evento"
392
 
393
- #: events-manager.php:1274
394
  msgid "You cannot enable Google Maps integration without setting an appropriate API key."
395
  msgstr "Non è possibile abilitare l'integrazione con Google Maps senza impostare una chiave API."
396
 
2
  msgstr ""
3
  "Project-Id-Version: events-manager\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2008-08-13 16:01+0100\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Davide Benini <cno@cnomania.it>\n"
8
  "Language-Team: \n"
16
  "X-Poedit-KeywordsList: _e;__\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
+ #: dbem_calendar.php:121
20
  msgid "M_Monday_initial"
21
  msgstr "L"
22
 
23
+ #: dbem_calendar.php:121
24
  msgid "T_Tuesday_initial"
25
  msgstr "M"
26
 
27
+ #: dbem_calendar.php:121
28
  msgid "W_Wednesday_initial"
29
  msgstr "M"
30
 
31
+ #: dbem_calendar.php:121
32
  msgid "T_Thursday_initial"
33
  msgstr "G"
34
 
35
+ #: dbem_calendar.php:121
36
  msgid "F_Friday_initial"
37
  msgstr "V"
38
 
39
+ #: dbem_calendar.php:121
40
  msgid "S_Saturday_initial"
41
  msgstr "S"
42
 
43
+ #: dbem_calendar.php:121
44
  msgid "S_Sunday_initial"
45
  msgstr "D"
46
 
47
  #: dbem_widgets.php:10
48
  #: dbem_widgets.php:35
49
+ #: events-manager.php:40
50
+ #: events-manager.php:179
51
+ #: events-manager.php:185
52
+ #: events-manager.php:211
53
+ #: events-manager.php:222
54
  msgid "Events"
55
  msgstr "Eventi"
56
 
57
  #: dbem_widgets.php:19
58
+ #: events-manager.php:46
59
+ #: events-manager.php:171
60
  msgid "No events"
61
  msgstr "Nessun evento"
62
 
74
  msgstr "Ambito degli eventi"
75
 
76
  #: dbem_widgets.php:88
77
+ #: events-manager.php:909
78
  msgid "Future events"
79
  msgstr "Eventi futuri"
80
 
81
  #: dbem_widgets.php:89
82
+ #: events-manager.php:908
83
  msgid "All events"
84
  msgstr "Tutti gli eventi"
85
 
86
  #: dbem_widgets.php:90
87
+ #: events-manager.php:907
88
  msgid "Past events"
89
  msgstr "Eventi passati"
90
 
118
  msgid "Events Calendar"
119
  msgstr "Calendario eventi"
120
 
121
+ #: events-manager.php:291
122
  msgid "New event successfully inserted!"
123
  msgstr "Nuovo evento inserito!"
124
 
125
+ #: events-manager.php:305
126
  msgid "Event"
127
  msgstr "Evento"
128
 
129
+ #: events-manager.php:305
130
  msgid "updated"
131
  msgstr "aggiornato"
132
 
133
+ #: events-manager.php:335
134
  msgid "Insert New Event"
135
  msgstr "Inserisci un nuovo evento"
136
 
137
+ #: events-manager.php:337
138
  msgid "Edit Event"
139
  msgstr "Modifica l'evento"
140
 
141
+ #: events-manager.php:374
142
  msgid "Past Events"
143
  msgstr "Eventi passati"
144
 
145
+ #: events-manager.php:377
146
  msgid "All Events"
147
  msgstr "Tutti gli eventi"
148
 
149
+ #: events-manager.php:380
150
  msgid "Future Events"
151
  msgstr "Eventi futuri"
152
 
153
+ #: events-manager.php:398
154
  msgid "Event Manager Options"
155
  msgstr "Opzioni di Events Manager"
156
 
157
+ #: events-manager.php:403
158
  msgid "Default event list format"
159
  msgstr "Formato predefinito della lista eventi"
160
 
161
+ #: events-manager.php:405
162
  msgid "The format of any events in a list."
163
  msgstr "Il formato di ciascun evento della lista."
164
 
165
+ #: events-manager.php:406
166
  msgid "Insert one or more of the following placeholders: <code>#_NAME</code>, <code>#_VENUE</code>, <code>#_ADDRESS</code>, <code>#_TOWN</code>, <code>#_NOTES</code>. Use <code>#_LINKEDNAME</code> for the event name with a link to the given event page. Use #_URL to print the event URL and make your own customised links."
167
  msgstr "Inserire uno o più dei seguenti segnaposto: <code>#_NAME</code>, <code>#_VENUE</code>, <code>#_ADDRESS</code>, <code>#_TOWN</code>, <code>#_NOTES</code>. Utilizzare <code>#_LINKEDNAME</code> per il nome dell'evento con un link alla pagina corrispondente. Utilizzare #_URL per visualizzare l'URL dell'evento e creare link personalizzati."
168
 
169
+ #: events-manager.php:407
170
  msgid "To insert date and time values, use <a href=\"http://www.php.net/manual/en/function.date.php\">PHP time format characters</a> with a # symbol before them, i.e. #m. #M, #j, etc. "
171
  msgstr "Per inserire valori di data e ora, utilizzare i <a href=\"http://www.php.net/manual/it/function.date.php\">caratteri di stringa formato PHP</a> anteponendo ad essi un #, ad esempio #m. #M, #j, etc. "
172
 
173
+ #: events-manager.php:408
174
  msgid "Use HTML tags as <code>li</code>, <code>br</code>, etc."
175
  msgstr "Utilizzare liberamente tag HTML come <code>li</code>, <code>br</code>, ecc."
176
 
177
+ #: events-manager.php:411
178
  msgid "Single event page title format"
179
  msgstr "Formato del titolo della pagina eventi"
180
 
181
+ #: events-manager.php:414
182
  msgid "The format of a single event page title."
183
  msgstr "Il formato del titolo della pagina di un singolo evento."
184
 
185
+ #: events-manager.php:415
186
+ #: events-manager.php:423
187
+ #: events-manager.php:492
188
+ #: events-manager.php:523
189
  msgid "Follow the previous formatting instructions."
190
  msgstr "Seguire le istruzioni di formattazione precedenti."
191
 
192
+ #: events-manager.php:419
193
  msgid "Default single event format"
194
  msgstr "Fomato predefinito di un singolo evento"
195
 
196
+ #: events-manager.php:422
197
  msgid "The format of a single eventy page."
198
  msgstr "Il formati della pagina di un singolo evento."
199
 
200
+ #: events-manager.php:424
201
  msgid "Use <code>#_MAP</code> to insert a map."
202
  msgstr "Utilizzare <code>#_MAP</code> per inserire una mappa."
203
 
204
+ #: events-manager.php:432
205
  msgid "Show events page in lists?"
206
  msgstr "Mostrare la pagina degli eventi nelle liste?"
207
 
208
+ #: events-manager.php:434
209
+ #: events-manager.php:506
210
  msgid "Yes"
211
  msgstr "Sì"
212
 
213
+ #: events-manager.php:435
214
+ #: events-manager.php:507
215
  msgid "No"
216
  msgstr "No"
217
 
218
+ #: events-manager.php:436
219
  msgid "Check this option if you want the events page to appear together with other pages in pages lists."
220
  msgstr "Selezionare questa opzione se si vuole che la pagina degli eventi compaia nelle liste delle pagine."
221
 
222
+ #: events-manager.php:444
223
  msgid "Events page title"
224
  msgstr "Titolo della pagina degli eventi"
225
 
226
+ #: events-manager.php:447
227
  msgid "The title on the multiple events page."
228
  msgstr "Il titolo della pagina che contiene più eventi."
229
 
230
+ #: events-manager.php:451
231
+ msgid "No events message"
232
+ msgstr "Messaggio Nessun evento"
233
+
234
+ #: events-manager.php:454
235
+ msgid "The message displayed when no events are available."
236
+ msgstr "Il messaggio visualizzato quando non ci sono eventi disponibili."
237
+
238
+ #: events-manager.php:465
239
  msgid "RSS main title"
240
  msgstr "Titolo principale dell'RSS"
241
 
242
+ #: events-manager.php:468
243
  msgid "The main title of your RSS events feed."
244
  msgstr "Il titolo principale del feed RSS degli eventi."
245
 
246
+ #: events-manager.php:472
247
  msgid "RSS main description"
248
  msgstr "Descrizione principale dell'RSS"
249
 
250
+ #: events-manager.php:475
251
  msgid "The main description of your RSS events feed."
252
  msgstr "La descrizione principale del feed RSS degli eventi."
253
 
254
+ #: events-manager.php:480
255
  msgid "RSS title format"
256
  msgstr "Formato del titolo dell'RSS"
257
 
258
+ #: events-manager.php:483
259
  msgid "The format of the title of each item in the events RSS feed."
260
  msgstr "Il formato del titolo di ciascun elemento nel feed RSS."
261
 
262
+ #: events-manager.php:488
263
  msgid "RSS description format"
264
  msgstr "Formato della descrizione nell'RSS"
265
 
266
+ #: events-manager.php:491
267
  msgid "The format of the description of each item in the events RSS feed."
268
  msgstr "Il formato della descrizione di ciascun elemento nel feed RSS."
269
 
270
+ #: events-manager.php:504
271
  msgid "Enable Google Maps integration?"
272
  msgstr "Abilitare l'integrazione con Google Maps?"
273
 
274
+ #: events-manager.php:508
275
  msgid "Check this option to enable Goggle Map integration."
276
  msgstr "Selezionare questa opzione per abilitare l'integrazione con Google Maps."
277
 
278
+ #: events-manager.php:513
279
  msgid "Google Maps API Key"
280
  msgstr "Chiave API di Google Maps"
281
 
282
+ #: events-manager.php:516
283
  msgid "To display Google Maps you need a Google Maps API key. Don't worry, it's free, you can get one"
284
  msgstr "Per visualizzare una mappa di Google Maps è necessaria una chiave API di Google Maps. Non preoccupatevi, è gratuita, è sufficiente andare su"
285
 
286
+ #: events-manager.php:516
287
  msgid "here"
288
  msgstr "questa pagina"
289
 
290
+ #: events-manager.php:520
291
  msgid "Map text format"
292
  msgstr "Formato del testo della mappa"
293
 
294
+ #: events-manager.php:522
295
  msgid "The format the text appearing in the map cloud."
296
  msgstr "Il fomato del testo del fumetto che appare sulla mappa."
297
 
298
+ #: events-manager.php:527
299
  msgid "Save Changes"
300
  msgstr "Salva le modifiche"
301
 
302
+ #: events-manager.php:903
303
  msgid "New Event ..."
304
  msgstr "Nuovo evento..."
305
 
306
+ #: events-manager.php:919
307
  msgid "ID"
308
  msgstr "ID"
309
 
310
+ #: events-manager.php:920
311
+ #: events-manager.php:1027
312
  msgid "Name"
313
  msgstr "Nome"
314
 
315
+ #: events-manager.php:921
316
+ #: events-manager.php:1058
317
  msgid "Venue"
318
  msgstr "Locale"
319
 
320
+ #: events-manager.php:922
321
+ #: events-manager.php:1051
322
  msgid "Town"
323
  msgstr "Città"
324
 
325
+ #: events-manager.php:923
326
+ #: events-manager.php:1065
327
  msgid "Address"
328
  msgstr "Indirizzo"
329
 
330
+ #: events-manager.php:924
331
  msgid "Date"
332
  msgstr "Data"
333
 
334
+ #: events-manager.php:925
335
  msgid "Time"
336
  msgstr "Ora"
337
 
338
+ #: events-manager.php:927
339
  msgid "Latitude"
340
  msgstr "Latitudine"
341
 
342
+ #: events-manager.php:928
343
  msgid "Longitude"
344
  msgstr "Longitudine"
345
 
346
+ #: events-manager.php:930
347
  msgid "Actions"
348
  msgstr "Azioni"
349
 
350
+ #: events-manager.php:991
351
  msgid "Edit"
352
  msgstr "Modifica"
353
 
354
+ #: events-manager.php:992
355
  msgid "Are you sure?"
356
  msgstr "Sei sicuro?"
357
 
358
+ #: events-manager.php:992
359
  msgid "Delete"
360
  msgstr "Elimina"
361
 
362
+ #: events-manager.php:1030
363
  msgid "The event name. Example: Birthday party"
364
  msgstr "Il nome dell'evento. Esempio: festa di compleanno."
365
 
366
+ #: events-manager.php:1034
367
  msgid "Day and Time"
368
  msgstr "Giorno e ora."
369
 
370
+ #: events-manager.php:1040
371
  msgid "The event day and time. Example: 21/11/2009 - 21:30"
372
  msgstr "Giorno e ora dell'evento. Esempio: 21/11/2009 - 21:30"
373
 
374
+ #: events-manager.php:1046
375
  msgid "Map not found"
376
  msgstr "Mappa non trovata"
377
 
378
+ #: events-manager.php:1054
379
  msgid "The event town. Example: Verona. If you' using the Google Map integration and want to avoid geotagging ambiguities include the country as well. Example: Verona, Italy"
380
  msgstr "La città dell'evento. Esempio: Verona. Se si utilizza Google Map e si vogliono evitare ambiguità, inserire anche lo stato. Esempio: Verona, Italy"
381
 
382
+ #: events-manager.php:1061
383
  msgid "The venue where the event takes place. Example: Arena"
384
  msgstr "Il locale dove avviene l'evento. Esempio: Arena"
385
 
386
+ #: events-manager.php:1068
387
  msgid "The address of the venue. Example: Via Mazzini 22"
388
  msgstr "L'indirizzo del locale. Esempio: Via Mazzini 22"
389
 
390
+ #: events-manager.php:1072
391
  msgid "Notes"
392
  msgstr "Note"
393
 
394
+ #: events-manager.php:1075
395
  msgid "Notes about the event"
396
  msgstr "Note sull'evento"
397
 
398
+ #: events-manager.php:1080
399
  msgid "Submit Event"
400
  msgstr "Invia evento"
401
 
402
+ #: events-manager.php:1345
403
  msgid "You cannot enable Google Maps integration without setting an appropriate API key."
404
  msgstr "Non è possibile abilitare l'integrazione con Google Maps senza impostare una chiave API."
405
 
dbem_widgets.php CHANGED
@@ -32,7 +32,7 @@ function dbem_list_control()
32
  if (!is_array( $options ))
33
  {
34
  $options = array(
35
- 'title' => _('Events', 'dbem'),
36
  'limit' => '5',
37
  'scope' => 'future',
38
  'order' => 'ASC',
32
  if (!is_array( $options ))
33
  {
34
  $options = array(
35
+ 'title' => __('Events', 'dbem'),
36
  'limit' => '5',
37
  'scope' => 'future',
38
  'order' => 'ASC',
events-manager.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  Plugin Name: Events Manager
4
- Version: 1.0
5
  Plugin URI: http://davidebenini.it/wordpress-plugins/events-manager/
6
  Description: Manage events specifying precise spatial data (Venue, Town, Province, etc).
7
  Author: Davide Benini
@@ -42,7 +42,8 @@ define('DEFAULT_EVENT_PAGE_TITLE_FORMAT', ' #_NAME');
42
  define('DEFAULT_RSS_DESCRIPTION_FORMAT',"#j #M #y - #H:#i <br/>#_VENUE <br/>#_ADDRESS <br/>#_TOWN");
43
  define('DEFAULT_RSS_TITLE_FORMAT',"#_NAME");
44
  define('DEFAULT_MAP_TEXT_FORMAT', '<strong>#_VENUE</strong><p>#_ADDRESS</p><p>#_TOWN</p>');
45
- define('DEFAULT_WIDGET_EVENT_LIST_ITEM_FORMAT','#_LINKEDNAME<ul><li>#j #M #y</li><li>#_TOWN</li></ul></li>');
 
46
  // DEBUG constant for developing
47
  // if you are hacking this plugin, set to TRUE, alog will show in admin pages
48
  define('DEBUG', false);
@@ -165,6 +166,10 @@ function dbem_install() {
165
  if (empty($events_page_title))
166
  update_option('dbem_events_page_title', DEFAULT_EVENTS_PAGE_TITLE);
167
 
 
 
 
 
168
  $map_text_format = get_option('dbem_map_text_format');
169
  if (empty($map_text_format))
170
  update_option('dbem_map_text_format', DEFAULT_MAP_TEXT_FORMAT);
@@ -432,15 +437,7 @@ function dbem_options_subpanel() {
432
  </td>
433
  </tr>
434
 
435
-
436
-
437
-
438
-
439
-
440
-
441
-
442
-
443
-
444
 
445
 
446
  <tr valign="top">
@@ -450,7 +447,13 @@ function dbem_options_subpanel() {
450
  <?php _e('The title on the multiple events page.','dbem')?>
451
  </td>
452
  </tr>
453
-
 
 
 
 
 
 
454
 
455
 
456
 
@@ -524,7 +527,7 @@ function dbem_options_subpanel() {
524
  <input type="submit" id="dbem_options_submit" name="Submit" value="<?php _e('Save Changes') ?>" />
525
  </p>
526
  <input type="hidden" name="action" value="update" />
527
- <input type="hidden" name="page_options" value="dbem_event_list_item_format,dbem_event_page_title_format,dbem_single_event_format,dbem_list_events_page,dbem_events_page_title, dbem_gmap_is_active, dbem_rss_main_title, dbem_rss_main_description, dbem_rss_title_format, dbem_rss_description_format, dbem_gmap_key, dbem_map_text_format" />
528
 
529
 
530
  </form>
@@ -562,8 +565,10 @@ function dbem_filter_events_page($data) {
562
 
563
  // $table_name = $wpdb->prefix .TBNAME;
564
  // $start = strpos($data, DBEM_PAGE);
565
- $events_page_id = get_option('dbem_events_page');
566
- if (is_page($events_page_id) ) {
 
 
567
  return dbem_events_page_content();
568
  } else {
569
  return $data;
@@ -690,7 +695,7 @@ function dbem_get_events_list($limit="3", $scope="future", $order="ASC", $format
690
  $output .= dbem_replace_placeholders($format, $event);
691
  }
692
  } else {
693
- $output = __('No events', 'dbem');
694
  }
695
  if ($display)
696
  echo $output;
@@ -707,6 +712,33 @@ function dbem_get_events_page($justurl=false) {
707
  echo "<a href='$page_link' title='$page_title'>$page_title</a>";
708
  }
709
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
710
  }
711
 
712
  function dbem_replace_placeholders($format, $event, $target="html") {
@@ -717,7 +749,7 @@ function dbem_replace_placeholders($format, $event, $target="html") {
717
  if (preg_match('/#_MAP/', $result)) {
718
  $gmap_is_active = get_option('dbem_gmap_is_active');
719
  if ($gmap_is_active) {
720
- $map_div = "<div id='event-map' style='width: 450px; height: 300px; background: green;'></div>" ;
721
  } else {
722
  $map_div = "";
723
  }
@@ -1169,7 +1201,16 @@ function dbem_map_script() {
1169
  }
1170
  });
1171
  //]]>
1172
- </script>
 
 
 
 
 
 
 
 
 
1173
  <?php
1174
  }
1175
  }
@@ -1179,113 +1220,109 @@ function dbem_map_script() {
1179
  add_action ('wp_head', 'dbem_map_script');
1180
 
1181
  function dbem_admin_map_script() {
1182
- ?>
1183
-
1184
-
1185
-
1186
-
1187
- <?php
1188
  if (isset($_REQUEST['event_id']) && $_REQUEST['event_id'] != '') {
1189
- // single event page
1190
- $event_ID=$_REQUEST['event_id'];
1191
- $event = dbem_get_event($event_ID);
1192
- if ($event->event_town != '') {
1193
- $gmap_key = get_option('dbem_gmap_key');
1194
- if($event->event_address != "") {
1195
- $search_key = "$event->event_address, $event->event_town";
1196
- } else {
1197
- $search_key = "$event->event_venue, $event->event_town";
1198
- }
1199
-
1200
- ?>
1201
- <style type="text/css">
1202
- div#event_town, div#event_address, div#event_venue {
1203
- width: 480px;
1204
- }
1205
- </style>
1206
- <script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=<?php echo $gmap_key;?>" type="text/javascript"></script>
1207
- <script type="text/javascript">
1208
- //<![CDATA[
1209
- $j=jQuery.noConflict();
1210
-
1211
- function loadMap(venue, town, address) {
1212
- if (GBrowserIsCompatible()) {
1213
- var map = new GMap2(document.getElementById("event-map"));
1214
- // map.addControl(new GScaleControl());
1215
- //map.setCenter(new GLatLng(37.4419, -122.1419), 13);
1216
- var geocoder = new GClientGeocoder();
1217
- if (address !="") {
1218
- searchKey = address + ", " + town;
1219
  } else {
1220
- searchKey = venue + ", " * town;
1221
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1222
 
1223
- var search = "<?php echo $search_key ?>" ;
1224
- geocoder.getLatLng(
1225
- searchKey,
1226
- function(point) {
1227
- if (!point) {
1228
- $j("#event-map").hide();
1229
- $j('#map-not-found').show();
1230
- } else {
1231
- mapCenter= new GLatLng(point.lat()+0.01, point.lng()+0.005);
1232
- map.setCenter(mapCenter, 13);
1233
- var marker = new GMarker(point);
1234
- map.addOverlay(marker);
1235
- marker.openInfoWindowHtml('<strong>' + venue +'</strong><p>' + address + '</p><p>' + town + '</p>');
1236
- $j("#event-map").show();
1237
- $j('#map-not-found').hide();
1238
- }
1239
- }
1240
- );
1241
- // map.addControl(new GSmallMapControl());
1242
- // map.addControl(new GMapTypeControl());
1243
 
1244
- }
1245
- }
1246
 
1247
- $j(document).ready(function() {
1248
- eventVenue = $j("#venue-input").val();
1249
 
1250
- eventTown = $j("#town-input").val();
1251
- eventAddress = $j("#address-input").val();
1252
 
1253
- loadMap(eventVenue, eventTown, eventAddress);
1254
 
1255
- $j("#venue-input").blur(function(){
1256
- newEventVenue = $j("#venue-input").val();
1257
- if (newEventVenue !=eventVenue) {
1258
- loadMap(newEventVenue, eventTown, eventAddress);
1259
- eventVenue = newEventVenue;
1260
 
1261
- }
1262
- });
1263
- $j("#town-input").blur(function(){
1264
- newEventTown = $j("#town-input").val();
1265
- if (newEventTown !=eventTown) {
1266
- loadMap(eventVenue, newEventTown, eventAddress);
1267
- eventTown = newEventTown;
1268
- }
1269
- });
1270
- $j("#address-input").blur(function(){
1271
- newEventAddress = $j("#address-input").val();
1272
- if (newEventAddress != eventAddress) {
1273
- loadMap(eventVenue, eventTown, newEventAddress);
1274
- eventAddress = newEventAddress;
1275
- }
1276
- });
1277
 
1278
 
1279
 
1280
- });
1281
- $j(document).unload(function() {
1282
- GUnload();
1283
- });
1284
- //]]>
1285
- </script>
1286
- <?php
1287
- }
1288
- }
 
1289
  }
1290
  $gmap_is_active = get_option('dbem_gmap_is_active');
1291
  if ($gmap_is_active)
1
  <?php
2
  /*
3
  Plugin Name: Events Manager
4
+ Version: 1.0.1
5
  Plugin URI: http://davidebenini.it/wordpress-plugins/events-manager/
6
  Description: Manage events specifying precise spatial data (Venue, Town, Province, etc).
7
  Author: Davide Benini
42
  define('DEFAULT_RSS_DESCRIPTION_FORMAT',"#j #M #y - #H:#i <br/>#_VENUE <br/>#_ADDRESS <br/>#_TOWN");
43
  define('DEFAULT_RSS_TITLE_FORMAT',"#_NAME");
44
  define('DEFAULT_MAP_TEXT_FORMAT', '<strong>#_VENUE</strong><p>#_ADDRESS</p><p>#_TOWN</p>');
45
+ define('DEFAULT_WIDGET_EVENT_LIST_ITEM_FORMAT','<li>#_LINKEDNAME<ul><li>#j #M #y</li><li>#_TOWN</li></ul></li>');
46
+ define('DEFAULT_NO_EVENTS_MESSAGE', __('No events', 'dbem'));
47
  // DEBUG constant for developing
48
  // if you are hacking this plugin, set to TRUE, alog will show in admin pages
49
  define('DEBUG', false);
166
  if (empty($events_page_title))
167
  update_option('dbem_events_page_title', DEFAULT_EVENTS_PAGE_TITLE);
168
 
169
+ $no_events_message = get_option('dbem_no_events_message');
170
+ if (empty($no_events_message))
171
+ update_option('dbem_no_events_message', __('No events','dbem'));
172
+
173
  $map_text_format = get_option('dbem_map_text_format');
174
  if (empty($map_text_format))
175
  update_option('dbem_map_text_format', DEFAULT_MAP_TEXT_FORMAT);
437
  </td>
438
  </tr>
439
 
440
+
 
 
 
 
 
 
 
 
441
 
442
 
443
  <tr valign="top">
447
  <?php _e('The title on the multiple events page.','dbem')?>
448
  </td>
449
  </tr>
450
+ <tr valign="top">
451
+ <th scope="row"><?php _e('No events message','dbem');?></th>
452
+ <td>
453
+ <input name="dbem_no_events_message" type="text" id="dbem_no_events_message" style="width: 95%" value="<?php echo get_option('dbem_no_events_message'); ?>" size="45" /><br />
454
+ <?php _e('The message displayed when no events are available.','dbem')?><br/>
455
+ </td>
456
+ </tr>
457
 
458
 
459
 
527
  <input type="submit" id="dbem_options_submit" name="Submit" value="<?php _e('Save Changes') ?>" />
528
  </p>
529
  <input type="hidden" name="action" value="update" />
530
+ <input type="hidden" name="page_options" value="dbem_event_list_item_format,dbem_event_page_title_format,dbem_single_event_format,dbem_list_events_page,dbem_events_page_title, dbem_no_events_message, dbem_gmap_is_active, dbem_rss_main_title, dbem_rss_main_description, dbem_rss_title_format, dbem_rss_description_format, dbem_gmap_key, dbem_map_text_format" />
531
 
532
 
533
  </form>
565
 
566
  // $table_name = $wpdb->prefix .TBNAME;
567
  // $start = strpos($data, DBEM_PAGE);
568
+
569
+ $is_events_post = (get_the_ID() == get_option('dbem_events_page'));
570
+ $events_page_id = get_option('dbem_events_page');
571
+ if (is_page($events_page_id) && $is_events_post) {
572
  return dbem_events_page_content();
573
  } else {
574
  return $data;
695
  $output .= dbem_replace_placeholders($format, $event);
696
  }
697
  } else {
698
+ $output = "<li class='dbem-no-events'>".get_option('dbem_no_events_message')."</li>";
699
  }
700
  if ($display)
701
  echo $output;
712
  echo "<a href='$page_link' title='$page_title'>$page_title</a>";
713
  }
714
 
715
+ }
716
+
717
+ // TEMPLATE TAGS
718
+
719
+ function dbem_are_events_available($scope="future") {
720
+ if ($scope == "")
721
+ $scope = "future";
722
+ $events = dbem_get_events(1, $scope);
723
+
724
+ if (empty($events))
725
+ return FALSE;
726
+ else
727
+ return TRUE ;
728
+ }
729
+
730
+ // Returns true if the page in question is the events page
731
+ function dbem_is_events_page() {
732
+ $events_page_id = get_option('dbem_events_page');
733
+ return is_page($events_page_id);
734
+ }
735
+
736
+ function dbem_is_single_event_page() {
737
+ return (dbem_is_events_page() && (isset($_REQUEST['event_id']) && $_REQUEST['event_id'] != '')) ;
738
+ }
739
+
740
+ function dbem_is_multiple_events_page() {
741
+ return (dbem_is_events_page() && !(isset($_REQUEST['event_id']) && $_REQUEST['event_id'] != '')) ;
742
  }
743
 
744
  function dbem_replace_placeholders($format, $event, $target="html") {
749
  if (preg_match('/#_MAP/', $result)) {
750
  $gmap_is_active = get_option('dbem_gmap_is_active');
751
  if ($gmap_is_active) {
752
+ $map_div = "<div id='event-map' style=' background: green;'></div>" ;
753
  } else {
754
  $map_div = "";
755
  }
1201
  }
1202
  });
1203
  //]]>
1204
+ </script>
1205
+ <style type="text/css">
1206
+ #event-map {
1207
+ width: 450px;
1208
+ height: 300px;
1209
+ }
1210
+ #event-map img {
1211
+ background: transparent;
1212
+ }
1213
+ </style>
1214
  <?php
1215
  }
1216
  }
1220
  add_action ('wp_head', 'dbem_map_script');
1221
 
1222
  function dbem_admin_map_script() {
 
 
 
 
 
 
1223
  if (isset($_REQUEST['event_id']) && $_REQUEST['event_id'] != '') {
1224
+ if (!(isset($_REQUEST['action']) && $_REQUEST['action'] == 'delete_event')) {
1225
+ // single event page
1226
+ $event_ID=$_REQUEST['event_id'];
1227
+ $event = dbem_get_event($event_ID);
1228
+ if ($event->event_town != '') {
1229
+ $gmap_key = get_option('dbem_gmap_key');
1230
+ if($event->event_address != "") {
1231
+ $search_key = "$event->event_address, $event->event_town";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1232
  } else {
1233
+ $search_key = "$event->event_venue, $event->event_town";
1234
  }
1235
+
1236
+ ?>
1237
+ <style type="text/css">
1238
+ div#event_town, div#event_address, div#event_venue {
1239
+ width: 480px;
1240
+ }
1241
+ </style>
1242
+ <script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=<?php echo $gmap_key;?>" type="text/javascript"></script>
1243
+ <script type="text/javascript">
1244
+ //<![CDATA[
1245
+ $j=jQuery.noConflict();
1246
+
1247
+ function loadMap(venue, town, address) {
1248
+ if (GBrowserIsCompatible()) {
1249
+ var map = new GMap2(document.getElementById("event-map"));
1250
+ // map.addControl(new GScaleControl());
1251
+ //map.setCenter(new GLatLng(37.4419, -122.1419), 13);
1252
+ var geocoder = new GClientGeocoder();
1253
+ if (address !="") {
1254
+ searchKey = address + ", " + town;
1255
+ } else {
1256
+ searchKey = venue + ", " * town;
1257
+ }
1258
 
1259
+ var search = "<?php echo $search_key ?>" ;
1260
+ geocoder.getLatLng(
1261
+ searchKey,
1262
+ function(point) {
1263
+ if (!point) {
1264
+ $j("#event-map").hide();
1265
+ $j('#map-not-found').show();
1266
+ } else {
1267
+ mapCenter= new GLatLng(point.lat()+0.01, point.lng()+0.005);
1268
+ map.setCenter(mapCenter, 13);
1269
+ var marker = new GMarker(point);
1270
+ map.addOverlay(marker);
1271
+ marker.openInfoWindowHtml('<strong>' + venue +'</strong><p>' + address + '</p><p>' + town + '</p>');
1272
+ $j("#event-map").show();
1273
+ $j('#map-not-found').hide();
1274
+ }
1275
+ }
1276
+ );
1277
+ // map.addControl(new GSmallMapControl());
1278
+ // map.addControl(new GMapTypeControl());
1279
 
1280
+ }
1281
+ }
1282
 
1283
+ $j(document).ready(function() {
1284
+ eventVenue = $j("#venue-input").val();
1285
 
1286
+ eventTown = $j("#town-input").val();
1287
+ eventAddress = $j("#address-input").val();
1288
 
1289
+ loadMap(eventVenue, eventTown, eventAddress);
1290
 
1291
+ $j("#venue-input").blur(function(){
1292
+ newEventVenue = $j("#venue-input").val();
1293
+ if (newEventVenue !=eventVenue) {
1294
+ loadMap(newEventVenue, eventTown, eventAddress);
1295
+ eventVenue = newEventVenue;
1296
 
1297
+ }
1298
+ });
1299
+ $j("#town-input").blur(function(){
1300
+ newEventTown = $j("#town-input").val();
1301
+ if (newEventTown !=eventTown) {
1302
+ loadMap(eventVenue, newEventTown, eventAddress);
1303
+ eventTown = newEventTown;
1304
+ }
1305
+ });
1306
+ $j("#address-input").blur(function(){
1307
+ newEventAddress = $j("#address-input").val();
1308
+ if (newEventAddress != eventAddress) {
1309
+ loadMap(eventVenue, eventTown, newEventAddress);
1310
+ eventAddress = newEventAddress;
1311
+ }
1312
+ });
1313
 
1314
 
1315
 
1316
+ });
1317
+ $j(document).unload(function() {
1318
+ GUnload();
1319
+ });
1320
+ //]]>
1321
+ </script>
1322
+ <?php
1323
+ }
1324
+ }
1325
+ }
1326
  }
1327
  $gmap_is_active = get_option('dbem_gmap_is_active');
1328
  if ($gmap_is_active)
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: nutsmuggler
3
  Tags: events
4
  Requires at least: 2.5.1
5
  Tested up to: 2.6
6
- Stable tag: 1.0
7
  Donate link: http://davidebenini.it/wordpress-plugins/
8
 
9
  Manage events and display them in your blog. Includes lists, calendar, Google map integration and sidebar widgets.
@@ -38,12 +38,12 @@ Events list and calendars can be added to your blogs through widgets or template
38
 
39
  = Widgets =
40
 
41
- Add the Events List or Events Calendar widgets to any of your sidebar. To do so, your theme might be [widget-ready](http://automattic.com/code/widgets/). You can change the title of both widgets. Moreover, you can adjust the formats of the events of Events List according to your need; see *Formatting Events*.
42
 
43
 
44
  = Template tags =
45
 
46
- If you're into theming, you should probably use the template tags provided by Events Manager, `dbem_get_events_list`, `dbem_get_calendar` and `dbem_get_events_page`.
47
 
48
  `<?php dbem_get_events_list(limit, scope, order, format,display); ?>`
49
 
@@ -66,9 +66,24 @@ Prints the current month calendar, highlighting any event and linking to it. Acc
66
 
67
  Prints a link to the events page. If you set the optional `justurl` property to `true`, the function only prints the URL of the events page.
68
 
69
- `<? dbem_rss_link(justurl) ?>`
70
  Prints a the link to the events RSS. If you set the optional `justurl` property to `true`, the function only prints the RSS URL.
71
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
72
 
73
  == Formatting the events ==
74
 
@@ -104,18 +119,38 @@ To resize the map, simply tweak the `#event-map` in your css.
104
 
105
  == Frequently Asked Questions ==
106
 
107
- = How does Events Manager work? =
108
 
109
- When installed, events Manager creates a special "Events" page. This page is used for the dynamic content of the events. All the events link actually link to this page, which gets rendered differently for each event.
 
 
 
 
 
110
 
111
- = Can further I customise the event page? =
112
 
113
- Sure, you can do that by editing the page and changing its [template](http://codex.wordpress.org/Pages#Page_Templates).
114
 
115
- = Can further I customise the event lists, etc? =
 
 
 
 
 
 
 
 
 
 
 
116
 
117
  Yes, you can use css to match the id and classes of the events markup.
118
 
 
 
 
 
119
  = Are events posts? =
120
 
121
  Events aren't posts. They are stored in a different table and have no relationship whatsoever with posts.
@@ -146,7 +181,7 @@ I have other ideas in the pipeline, but I'll stick to this ones and implement th
146
 
147
  == Change Log ==
148
 
149
- 1.0b1
150
  Fixed a small bug which prevented the loading of default options in the plugin.
151
 
152
  1.0b2
@@ -155,13 +190,23 @@ Added a `#_URL` placeholder.
155
  1.0b3
156
  Fixed a small ampersand bug which prevented validation.
157
 
158
- 1.0b4
159
  Permalinks now properly working.
160
  Text now uses wordpress filters.
161
  Map #_NOTES bug fixed; maps better centred.
162
 
163
- 1.0b5
164
  Fixed a bug that caused trouble in the new post page javascript
165
 
166
- 1.0
167
  No changes, only made this plugin officially out of beta after weeks without any bug popping out.
 
 
 
 
 
 
 
 
 
 
3
  Tags: events
4
  Requires at least: 2.5.1
5
  Tested up to: 2.6
6
+ Stable tag: 1.0.1
7
  Donate link: http://davidebenini.it/wordpress-plugins/
8
 
9
  Manage events and display them in your blog. Includes lists, calendar, Google map integration and sidebar widgets.
38
 
39
  = Widgets =
40
 
41
+ Add the Events List or Events Calendar widgets to any of your sidebar. To do so, your theme must be [widget-ready](http://automattic.com/code/widgets/). You can change the title of both widgets. Moreover, you can adjust the formats of the events of Events List according to your need; see *Formatting Events*.
42
 
43
 
44
  = Template tags =
45
 
46
+ If you're into theming, you should probably use the template tags provided by Events Manager. Here's a comprehensive list.
47
 
48
  `<?php dbem_get_events_list(limit, scope, order, format,display); ?>`
49
 
66
 
67
  Prints a link to the events page. If you set the optional `justurl` property to `true`, the function only prints the URL of the events page.
68
 
69
+ `<?php dbem_rss_link(justurl) ?>`
70
  Prints a the link to the events RSS. If you set the optional `justurl` property to `true`, the function only prints the RSS URL.
71
 
72
+ = Conditional template tags =
73
+
74
+ These tags return true or false, and are useful to structure your themes.
75
+
76
+ `<?php dbem_are_events_available(scope) ?>`
77
+ Returns true if events are available in `scope`. The default value of `scope` is future.
78
+
79
+ `<?php dbem_is_events_page() ?>`
80
+ Returns true if the page loaded corresponds to the events page.
81
+
82
+ `<?php dbem_is_single_event_page() ?>`
83
+ Returns true if the page loaded corresponds to a single event page.
84
+
85
+ `<?php dbem_is_multiple_events_page() ?>`
86
+ Returns true if the page loaded corresponds the multiple events page.
87
 
88
  == Formatting the events ==
89
 
119
 
120
  == Frequently Asked Questions ==
121
 
122
+ = I enabled the Google Maps integration, but instead of the map there is a green background. What should I do? =
123
 
124
+ I call that "the green screen of death", but it's quite easy to fix your issue. If you see that green background, your theme has a little problem that should be fixed. Open the `header.php` page of your theme; if your theme hasn't any `header.php` page, just open the `index.php page` and/or any page containing the `<head>` section of the html code. Make sure that the page contains a line like this:
125
+
126
+ <?php wp_head(); ?>
127
+
128
+ If your page(s) doesn't contain such line, add it just before the line containing `</head>`. Now everything should work allright.
129
+ For curiosity's sake, `<?php wp_head(); ?>` is an action hook, that is a function call allowing plugins to insert their stuff in Wordpress pages; if you're a theme maker, you should make sure to include `<?php wp_head(); ?> ` and all the necessary hooks in your theme.
130
 
131
+ = How do I resize the map? =
132
 
133
+ Insert some code similar to this in your css:
134
 
135
+ #event-map {
136
+ width: 300px !important;
137
+ height: 200px !important;
138
+ }
139
+
140
+ Do not leave out the `!important` directive; it is, needless to say, important.
141
+
142
+ = Can I customise the event page? =
143
+
144
+ Sure, you can do that by editing the page and changing its [template](http://codex.wordpress.org/Pages#Page_Templates). For heavy customisation, you can use the some of the plugin's own conditional tags, described in the *Template Tags* section.
145
+
146
+ = Can I customise the event lists, etc? =
147
 
148
  Yes, you can use css to match the id and classes of the events markup.
149
 
150
+ = How does Events Manager work? =
151
+
152
+ When installed, events Manager creates a special "Events" page. This page is used for the dynamic content of the events. All the events link actually link to this page, which gets rendered differently for each event.
153
+
154
  = Are events posts? =
155
 
156
  Events aren't posts. They are stored in a different table and have no relationship whatsoever with posts.
181
 
182
  == Change Log ==
183
 
184
+ 1.0b1
185
  Fixed a small bug which prevented the loading of default options in the plugin.
186
 
187
  1.0b2
190
  1.0b3
191
  Fixed a small ampersand bug which prevented validation.
192
 
193
+ 1.0b4
194
  Permalinks now properly working.
195
  Text now uses wordpress filters.
196
  Map #_NOTES bug fixed; maps better centred.
197
 
198
+ 1.0b5
199
  Fixed a bug that caused trouble in the new post page javascript
200
 
201
+ 1.0
202
  No changes, only made this plugin officially out of beta after weeks without any bug popping out.
203
+
204
+ 1.0.1
205
+ Added the `dbem_is_events_page` `dbem_is_single_event_page`, `dbem_is_multiple_events_page()`, `dbem_are_events_available` conditional template tags.
206
+ Added a "no events message option".
207
+ Added two important FAQ items, to document how to prevent the "green screen on death" and how to resize the map.
208
+ Fixed a bug that filtered `the_content` even in unrelated lists.
209
+ Fixed CSS bug: enclosed list in Events page in "ul" elements, as it should be.
210
+ Fixed a bug loaded the Google Maps Api when deleting events.
211
+ Fixed a bug that prevented validation in the default widget list item format.
212
+