Events Manager - Version 5.8.1.2

Version Description

  • security release fixing a potential stored XSS vulnerability (disclosure pending, props to Luigi Gubello for responsible disclosure)
  • fixed scrolling issues on Google Maps
  • fixed duplicate value attribute in custom fields/attributes front-end editor
  • fixed shortcodes getting parsed after formats resulting in preparsed formats within shortcode
  • fixed lack of booking validation filter on single booking button
  • fixed minor PHP warning
  • fixed duplication errors for events without bookings enabled
Download this release

Release Info

Developer netweblogic
Plugin Icon 128x128 Events Manager
Version 5.8.1.2
Comparing to
See all releases

Code changes from version 5.8.1.1 to 5.8.1.2

Files changed (271) hide show
  1. admin/bookings/em-cancelled.php +0 -0
  2. admin/bookings/em-confirmed.php +0 -0
  3. admin/bookings/em-events.php +0 -0
  4. admin/bookings/em-pending.php +0 -0
  5. admin/bookings/em-person.php +0 -0
  6. admin/bookings/em-rejected.php +0 -0
  7. admin/em-admin.php +0 -0
  8. admin/em-bookings.php +0 -0
  9. admin/em-docs.php +0 -0
  10. admin/em-help.php +0 -0
  11. admin/em-locations-search.php +0 -0
  12. admin/em-options.php +0 -0
  13. admin/settings/tabs/bookings.php +0 -0
  14. admin/settings/tabs/emails.php +0 -0
  15. admin/settings/tabs/formats.php +0 -0
  16. admin/settings/tabs/general.php +0 -0
  17. admin/settings/tabs/pages.php +0 -0
  18. admin/settings/wpfc-admin.php +0 -0
  19. buddypress/bp-em-activity.php +0 -0
  20. buddypress/bp-em-core.php +0 -0
  21. buddypress/bp-em-groups.php +0 -0
  22. buddypress/bp-em-notifications.php +0 -0
  23. buddypress/bp-em-templatetags.php +0 -0
  24. buddypress/screens/attending.php +0 -0
  25. buddypress/screens/group-events.php +0 -0
  26. buddypress/screens/my-bookings.php +0 -0
  27. buddypress/screens/my-events.php +0 -0
  28. buddypress/screens/my-group-events.php +0 -0
  29. buddypress/screens/my-locations.php +0 -0
  30. buddypress/screens/profile.php +0 -0
  31. classes/em-booking.php +0 -0
  32. classes/em-bookings-table.php +8 -7
  33. classes/em-bookings.php +2 -1
  34. classes/em-calendar.php +0 -0
  35. classes/em-categories-admin.php +0 -0
  36. classes/em-categories-frontend.php +0 -0
  37. classes/em-categories.php +0 -0
  38. classes/em-category.php +0 -0
  39. classes/em-event.php +3 -2
  40. classes/em-location.php +0 -0
  41. classes/em-locations.php +0 -0
  42. classes/em-mailer.php +0 -0
  43. classes/em-notices.php +0 -0
  44. classes/em-object.php +0 -0
  45. classes/em-people.php +0 -0
  46. classes/em-permalinks.php +0 -0
  47. classes/em-person.php +0 -0
  48. classes/em-tags-admin.php +0 -0
  49. classes/em-tags-frontend.php +0 -0
  50. classes/em-taxonomy-admin.php +0 -0
  51. classes/em-taxonomy-frontend.php +0 -0
  52. classes/em-taxonomy-term.php +0 -0
  53. classes/em-taxonomy-terms.php +0 -0
  54. classes/em-ticket-booking.php +0 -0
  55. classes/em-ticket.php +0 -0
  56. classes/em-tickets-bookings.php +0 -0
  57. classes/em-tickets.php +0 -0
  58. em-actions.php +15 -7
  59. em-debug.php +0 -0
  60. em-events.php +0 -0
  61. em-functions.php +0 -0
  62. em-ical.php +0 -0
  63. em-install.php +0 -0
  64. em-rss.php +0 -41
  65. em-shortcode.php +0 -0
  66. em-template-tags.php +0 -0
  67. events-manager.php +1 -1
  68. includes/css/events_manager.css +0 -0
  69. includes/css/events_manager_admin.css +0 -0
  70. includes/css/images/loading.gif +0 -0
  71. includes/css/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
  72. includes/css/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
  73. includes/css/images/ui-bg_flat_10_000000_40x100.png +0 -0
  74. includes/css/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
  75. includes/css/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
  76. includes/css/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  77. includes/css/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
  78. includes/css/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
  79. includes/css/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
  80. includes/css/images/ui-icons_222222_256x240.png +0 -0
  81. includes/css/images/ui-icons_228ef1_256x240.png +0 -0
  82. includes/css/images/ui-icons_ef8c08_256x240.png +0 -0
  83. includes/css/images/ui-icons_ffd27a_256x240.png +0 -0
  84. includes/css/images/ui-icons_ffffff_256x240.png +0 -0
  85. includes/css/jquery-ui.css +0 -0
  86. includes/css/jquery-ui.min.css +0 -0
  87. includes/images/baloon.png +0 -0
  88. includes/images/calendar-16.png +0 -0
  89. includes/images/calendar-32.png +0 -0
  90. includes/images/close.png +0 -0
  91. includes/images/event-caps-source.png +0 -0
  92. includes/images/event-caps.jpg +0 -0
  93. includes/images/event-perms-source.png +0 -0
  94. includes/images/loading.gif +0 -0
  95. includes/js/events-manager.js +8 -16
  96. includes/js/events-manager.min.js +0 -3
  97. includes/js/i18n/jquery-ui-i18n.js +0 -1199
  98. includes/js/i18n/jquery.ui.datepicker-af.js +0 -23
  99. includes/js/i18n/jquery.ui.datepicker-ar.js +0 -24
  100. includes/js/i18n/jquery.ui.datepicker-az.js +0 -23
  101. includes/js/i18n/jquery.ui.datepicker-bg.js +0 -24
  102. includes/js/i18n/jquery.ui.datepicker-bs.js +0 -23
  103. includes/js/i18n/jquery.ui.datepicker-ca.js +0 -23
  104. includes/js/i18n/jquery.ui.datepicker-cs.js +0 -23
  105. includes/js/i18n/jquery.ui.datepicker-da.js +0 -23
  106. includes/js/i18n/jquery.ui.datepicker-de.js +0 -23
  107. includes/js/i18n/jquery.ui.datepicker-el.js +0 -23
  108. includes/js/i18n/jquery.ui.datepicker-en-GB.js +0 -23
  109. includes/js/i18n/jquery.ui.datepicker-eo.js +0 -23
  110. includes/js/i18n/jquery.ui.datepicker-es.js +0 -23
  111. includes/js/i18n/jquery.ui.datepicker-et.js +0 -23
  112. includes/js/i18n/jquery.ui.datepicker-eu.js +0 -23
  113. includes/js/i18n/jquery.ui.datepicker-fa.js +0 -23
  114. includes/js/i18n/jquery.ui.datepicker-fi.js +0 -23
  115. includes/js/i18n/jquery.ui.datepicker-fo.js +0 -23
  116. includes/js/i18n/jquery.ui.datepicker-fr-CH.js +0 -23
  117. includes/js/i18n/jquery.ui.datepicker-fr.js +0 -23
  118. includes/js/i18n/jquery.ui.datepicker-he.js +0 -23
  119. includes/js/i18n/jquery.ui.datepicker-hr.js +0 -23
  120. includes/js/i18n/jquery.ui.datepicker-hu.js +0 -23
  121. includes/js/i18n/jquery.ui.datepicker-hy.js +0 -23
  122. includes/js/i18n/jquery.ui.datepicker-id.js +0 -23
  123. includes/js/i18n/jquery.ui.datepicker-is.js +0 -23
  124. includes/js/i18n/jquery.ui.datepicker-it.js +0 -23
  125. includes/js/i18n/jquery.ui.datepicker-ja.js +0 -23
  126. includes/js/i18n/jquery.ui.datepicker-ko.js +0 -23
  127. includes/js/i18n/jquery.ui.datepicker-kz.js +0 -23
  128. includes/js/i18n/jquery.ui.datepicker-lt.js +0 -23
  129. includes/js/i18n/jquery.ui.datepicker-lv.js +0 -23
  130. includes/js/i18n/jquery.ui.datepicker-ms.js +0 -23
  131. includes/js/i18n/jquery.ui.datepicker-nl.js +0 -24
  132. includes/js/i18n/jquery.ui.datepicker-no.js +0 -23
  133. includes/js/i18n/jquery.ui.datepicker-pl.js +0 -23
  134. includes/js/i18n/jquery.ui.datepicker-pt-BR.js +0 -23
  135. includes/js/i18n/jquery.ui.datepicker-ro.js +0 -26
  136. includes/js/i18n/jquery.ui.datepicker-ru.js +0 -23
  137. includes/js/i18n/jquery.ui.datepicker-sk.js +0 -23
  138. includes/js/i18n/jquery.ui.datepicker-sl.js +0 -24
  139. includes/js/i18n/jquery.ui.datepicker-sq.js +0 -23
  140. includes/js/i18n/jquery.ui.datepicker-sr-SR.js +0 -23
  141. includes/js/i18n/jquery.ui.datepicker-sr.js +0 -23
  142. includes/js/i18n/jquery.ui.datepicker-sv.js +0 -23
  143. includes/js/i18n/jquery.ui.datepicker-ta.js +0 -23
  144. includes/js/i18n/jquery.ui.datepicker-th.js +0 -23
  145. includes/js/i18n/jquery.ui.datepicker-tr.js +0 -23
  146. includes/js/i18n/jquery.ui.datepicker-uk.js +0 -23
  147. includes/js/i18n/jquery.ui.datepicker-vi.js +0 -23
  148. includes/js/i18n/jquery.ui.datepicker-zh-CN.js +0 -23
  149. includes/js/i18n/jquery.ui.datepicker-zh-HK.js +0 -23
  150. includes/js/i18n/jquery.ui.datepicker-zh-TW.js +0 -23
  151. includes/js/taxonomies-admin.js +0 -0
  152. includes/langs/events-manager-ar.mo +0 -0
  153. includes/langs/events-manager-ar.po +0 -0
  154. includes/langs/events-manager-ca.mo +0 -0
  155. includes/langs/events-manager-ca.po +0 -0
  156. includes/langs/events-manager-cs_CZ.mo +0 -0
  157. includes/langs/events-manager-cs_CZ.po +0 -0
  158. includes/langs/events-manager-da_DK.mo +0 -0
  159. includes/langs/events-manager-da_DK.po +0 -0
  160. includes/langs/events-manager-de_DE.mo +0 -0
  161. includes/langs/events-manager-de_DE.po +0 -0
  162. includes/langs/events-manager-el.mo +0 -0
  163. includes/langs/events-manager-el.po +0 -0
  164. includes/langs/events-manager-en_AU.mo +0 -0
  165. includes/langs/events-manager-en_AU.po +0 -0
  166. includes/langs/events-manager-en_CA.mo +0 -0
  167. includes/langs/events-manager-en_CA.po +0 -0
  168. includes/langs/events-manager-en_GB.mo +0 -0
  169. includes/langs/events-manager-en_GB.po +0 -0
  170. includes/langs/events-manager-es_ES.mo +0 -0
  171. includes/langs/events-manager-es_ES.po +0 -0
  172. includes/langs/events-manager-et.mo +0 -0
  173. includes/langs/events-manager-et.po +0 -0
  174. includes/langs/events-manager-fa_IR.mo +0 -0
  175. includes/langs/events-manager-fa_IR.po +0 -0
  176. includes/langs/events-manager-fi.mo +0 -0
  177. includes/langs/events-manager-fi.po +0 -0
  178. includes/langs/events-manager-fr_FR.mo +0 -0
  179. includes/langs/events-manager-fr_FR.po +0 -0
  180. includes/langs/events-manager-he_IL.mo +0 -0
  181. includes/langs/events-manager-he_IL.po +0 -0
  182. includes/langs/events-manager-hu_HU.mo +0 -0
  183. includes/langs/events-manager-hu_HU.po +0 -0
  184. includes/langs/events-manager-it_IT.mo +0 -0
  185. includes/langs/events-manager-it_IT.po +0 -0
  186. includes/langs/events-manager-ja.mo +0 -0
  187. includes/langs/events-manager-ja.po +0 -0
  188. includes/langs/events-manager-nb_NO.mo +0 -0
  189. includes/langs/events-manager-nb_NO.po +0 -0
  190. includes/langs/events-manager-nl_NL.mo +0 -0
  191. includes/langs/events-manager-nl_NL.po +0 -0
  192. includes/langs/events-manager-no_NO.mo +0 -0
  193. includes/langs/events-manager-no_NO.po +0 -0
  194. includes/langs/events-manager-pl_PL.mo +0 -0
  195. includes/langs/events-manager-pl_PL.po +0 -0
  196. includes/langs/events-manager-pt_BR.mo +0 -0
  197. includes/langs/events-manager-pt_BR.po +0 -0
  198. includes/langs/events-manager-pt_PT.mo +0 -0
  199. includes/langs/events-manager-pt_PT.po +0 -0
  200. includes/langs/events-manager-ru_RU.mo +0 -0
  201. includes/langs/events-manager-ru_RU.po +0 -0
  202. includes/langs/events-manager-sk_SK.mo +0 -0
  203. includes/langs/events-manager-sk_SK.po +0 -0
  204. includes/langs/events-manager-sl_SI.mo +0 -0
  205. includes/langs/events-manager-sl_SI.po +0 -0
  206. includes/langs/events-manager-sv_SE.mo +0 -0
  207. includes/langs/events-manager-sv_SE.po +0 -0
  208. includes/langs/events-manager-tr_TR.mo +0 -0
  209. includes/langs/events-manager-tr_TR.po +0 -0
  210. includes/langs/events-manager-zh_CN.mo +0 -0
  211. includes/langs/events-manager-zh_CN.po +0 -0
  212. includes/langs/events-manager-zh_TW.mo +0 -0
  213. includes/langs/events-manager-zh_TW.po +0 -0
  214. includes/langs/events-manager.pot +0 -0
  215. includes/sample-placeholders/booking-email.html +0 -0
  216. includes/sample-placeholders/event-list-default.html +0 -0
  217. includes/sample-placeholders/event-single-default.html +0 -0
  218. includes/sample-placeholders/event-single.html +0 -0
  219. includes/sample-placeholders/location-single-default.html +0 -0
  220. multilingual/em-ml-admin.php +0 -0
  221. multilingual/em-ml-bookings.php +0 -0
  222. multilingual/em-ml-io.php +0 -0
  223. multilingual/em-ml-options.php +0 -0
  224. multilingual/em-ml-placeholders.php +0 -0
  225. multilingual/em-ml-search.php +0 -0
  226. multilingual/em-ml.php +0 -0
  227. plugins/wp-seo.php +0 -12
  228. readme.txt +10 -1
  229. screenshot-1.png +0 -0
  230. screenshot-2.png +0 -0
  231. screenshot-3.png +0 -0
  232. screenshot-4.png +0 -0
  233. screenshot-5.png +0 -0
  234. screenshot-6.png +0 -0
  235. templates/buddypress/group-events.php +0 -0
  236. templates/buddypress/my-bookings.php +0 -0
  237. templates/buddypress/my-events.php +0 -0
  238. templates/buddypress/my-group-events.php +0 -0
  239. templates/buddypress/my-locations.php +0 -0
  240. templates/formats/readme.txt +0 -0
  241. templates/forms/event-editor.php +0 -0
  242. templates/forms/event/attributes-public.php +1 -2
  243. templates/forms/location-editor.php +0 -0
  244. templates/forms/readme.txt +0 -0
  245. templates/forms/ticket-form.php +0 -0
  246. templates/forms/tickets-form.php +0 -0
  247. templates/placeholders/attendees.php +0 -0
  248. templates/placeholders/bookingbutton.php +0 -0
  249. templates/placeholders/bookingform.php +0 -0
  250. templates/placeholders/categories.php +0 -0
  251. templates/placeholders/locationmap.php +0 -0
  252. templates/placeholders/readme.txt +0 -0
  253. templates/templates/calendar-day.php +0 -0
  254. templates/templates/calendar-full.php +0 -0
  255. templates/templates/calendar-small.php +0 -0
  256. templates/templates/categories-list.php +0 -0
  257. templates/templates/category-single.php +0 -0
  258. templates/templates/event-single.php +0 -0
  259. templates/templates/events-calendar.php +0 -0
  260. templates/templates/events-list.php +0 -0
  261. templates/templates/events-search.php +0 -0
  262. templates/templates/ical.php +0 -0
  263. templates/templates/location-single.php +0 -0
  264. templates/templates/locations-list.php +0 -0
  265. templates/templates/map-global.php +0 -0
  266. templates/templates/my-bookings.php +0 -0
  267. templates/templates/readme.txt +0 -0
  268. templates/templates/rss.php +0 -0
  269. widgets/em-calendar.php +0 -0
  270. widgets/em-events.php +0 -0
  271. widgets/em-locations.php +0 -0
admin/bookings/em-cancelled.php CHANGED
File without changes
admin/bookings/em-confirmed.php CHANGED
File without changes
admin/bookings/em-events.php CHANGED
File without changes
admin/bookings/em-pending.php CHANGED
File without changes
admin/bookings/em-person.php CHANGED
File without changes
admin/bookings/em-rejected.php CHANGED
File without changes
admin/em-admin.php CHANGED
File without changes
admin/em-bookings.php CHANGED
File without changes
admin/em-docs.php CHANGED
File without changes
admin/em-help.php CHANGED
File without changes
admin/em-locations-search.php CHANGED
File without changes
admin/em-options.php CHANGED
File without changes
admin/settings/tabs/bookings.php CHANGED
File without changes
admin/settings/tabs/emails.php CHANGED
File without changes
admin/settings/tabs/formats.php CHANGED
File without changes
admin/settings/tabs/general.php CHANGED
File without changes
admin/settings/tabs/pages.php CHANGED
File without changes
admin/settings/wpfc-admin.php CHANGED
File without changes
buddypress/bp-em-activity.php CHANGED
File without changes
buddypress/bp-em-core.php CHANGED
File without changes
buddypress/bp-em-groups.php CHANGED
File without changes
buddypress/bp-em-notifications.php CHANGED
File without changes
buddypress/bp-em-templatetags.php CHANGED
File without changes
buddypress/screens/attending.php CHANGED
File without changes
buddypress/screens/group-events.php CHANGED
File without changes
buddypress/screens/my-bookings.php CHANGED
File without changes
buddypress/screens/my-events.php CHANGED
File without changes
buddypress/screens/my-group-events.php CHANGED
File without changes
buddypress/screens/my-locations.php CHANGED
File without changes
buddypress/screens/profile.php CHANGED
File without changes
classes/em-booking.php CHANGED
File without changes
classes/em-bookings-table.php CHANGED
@@ -448,10 +448,16 @@ class EM_Bookings_Table{
448
/* @var $EM_Ticket_Booking EM_Ticket_Booking */
449
if( $this->show_tickets ){
450
foreach($EM_Booking->get_tickets_bookings()->tickets_bookings as $EM_Ticket_Booking){
451
- ?><td><?php echo implode('</td><td>', $this->get_row($EM_Ticket_Booking)); ?></td><?php
452
}
453
}else{
454
- ?><td><?php echo implode('</td><td>', $this->get_row($EM_Booking)); ?></td><?php
455
}
456
?>
457
</tr>
@@ -580,11 +586,6 @@ class EM_Bookings_Table{
580
$val = apply_filters('em_bookings_table_rows_col_'.$col, $val, $EM_Booking, $this, $csv, $object);
581
$cols[] = apply_filters('em_bookings_table_rows_col', $val, $col, $EM_Booking, $this, $csv, $object); //deprecated, use the above filter instead for better performance
582
}
583
- //clean up the cols to prevent nasty html or xss
584
- global $allowedposttags;
585
- foreach($cols as $key => $col){
586
- $cols[$key] = wp_kses($col, $allowedposttags);
587
- }
588
return $cols;
589
}
590
448
/* @var $EM_Ticket_Booking EM_Ticket_Booking */
449
if( $this->show_tickets ){
450
foreach($EM_Booking->get_tickets_bookings()->tickets_bookings as $EM_Ticket_Booking){
451
+ $row = $this->get_row($EM_Ticket_Booking);
452
+ foreach( $row as $row_cell ){
453
+ ?><td><?php echo esc_html($row_cell); ?></td><?php
454
+ }
455
}
456
}else{
457
+ $row = $this->get_row($EM_Booking);
458
+ foreach( $row as $row_cell ){
459
+ ?><td><?php echo esc_html($row_cell); ?></td><?php
460
+ }
461
}
462
?>
463
</tr>
586
$val = apply_filters('em_bookings_table_rows_col_'.$col, $val, $EM_Booking, $this, $csv, $object);
587
$cols[] = apply_filters('em_bookings_table_rows_col', $val, $col, $EM_Booking, $this, $csv, $object); //deprecated, use the above filter instead for better performance
588
}
589
return $cols;
590
}
591
classes/em-bookings.php CHANGED
@@ -312,7 +312,8 @@ class EM_Bookings extends EM_Object implements Iterator{
312
$result_tickets = $wpdb->query("DELETE FROM ". EM_TICKETS_BOOKINGS_TABLE ." WHERE booking_id IN (SELECT booking_id FROM ".EM_BOOKINGS_TABLE." WHERE event_id = '$event_id')");
313
$result = $wpdb->query("DELETE FROM ".EM_BOOKINGS_TABLE." WHERE event_id = '$event_id'");
314
}else{
315
- $result = $result_tickets == true;
316
}
317
do_action('em_bookings_deleted', $result, $booking_ids);
318
return apply_filters('em_bookings_delete', $result !== false && $result_tickets !== false, $booking_ids, $this);
312
$result_tickets = $wpdb->query("DELETE FROM ". EM_TICKETS_BOOKINGS_TABLE ." WHERE booking_id IN (SELECT booking_id FROM ".EM_BOOKINGS_TABLE." WHERE event_id = '$event_id')");
313
$result = $wpdb->query("DELETE FROM ".EM_BOOKINGS_TABLE." WHERE event_id = '$event_id'");
314
}else{
315
+ //we have not bookings loaded to delete, nor an event to delete bookings from, so bookings are considered 'deleted' since there's nothing ot delete
316
+ $result = $result_tickets = true;
317
}
318
do_action('em_bookings_deleted', $result, $booking_ids);
319
return apply_filters('em_bookings_delete', $result !== false && $result_tickets !== false, $booking_ids, $this);
classes/em-calendar.php CHANGED
File without changes
classes/em-categories-admin.php CHANGED
File without changes
classes/em-categories-frontend.php CHANGED
File without changes
classes/em-categories.php CHANGED
File without changes
classes/em-category.php CHANGED
File without changes
classes/em-event.php CHANGED
@@ -67,7 +67,7 @@ class EM_Event extends EM_Object{
67
var $event_start_date;
68
var $event_end_date;
69
var $post_content;
70
- var $event_rsvp;
71
var $event_rsvp_date;
72
var $event_rsvp_time = "00:00:00";
73
var $event_rsvp_spaces;
@@ -111,7 +111,7 @@ class EM_Event extends EM_Object{
111
'event_start_date' => array( 'name'=>'start_date', 'type'=>'%s', 'null'=>true ),
112
'event_end_date' => array( 'name'=>'end_date', 'type'=>'%s', 'null'=>true ),
113
'post_content' => array( 'name'=>'notes', 'type'=>'%s', 'null'=>true ),
114
- 'event_rsvp' => array( 'name'=>'rsvp', 'type'=>'%d', 'null'=>true ), //has a default, so can be null/excluded
115
'event_rsvp_date' => array( 'name'=>'rsvp_date', 'type'=>'%s', 'null'=>true ),
116
'event_rsvp_time' => array( 'name'=>'rsvp_time', 'type'=>'%s', 'null'=>true ),
117
'event_rsvp_spaces' => array( 'name'=>'rsvp_spaces', 'type'=>'%d', 'null'=>true ),
@@ -1497,6 +1497,7 @@ class EM_Event extends EM_Object{
1497
*/
1498
function output($format, $target="html") {
1499
global $wpdb;
1500
$event_string = $format;
1501
//Time place holder that doesn't show if empty.
1502
//TODO add filter here too
67
var $event_start_date;
68
var $event_end_date;
69
var $post_content;
70
+ var $event_rsvp = 0;
71
var $event_rsvp_date;
72
var $event_rsvp_time = "00:00:00";
73
var $event_rsvp_spaces;
111
'event_start_date' => array( 'name'=>'start_date', 'type'=>'%s', 'null'=>true ),
112
'event_end_date' => array( 'name'=>'end_date', 'type'=>'%s', 'null'=>true ),
113
'post_content' => array( 'name'=>'notes', 'type'=>'%s', 'null'=>true ),
114
+ 'event_rsvp' => array( 'name'=>'rsvp', 'type'=>'%d' ),
115
'event_rsvp_date' => array( 'name'=>'rsvp_date', 'type'=>'%s', 'null'=>true ),
116
'event_rsvp_time' => array( 'name'=>'rsvp_time', 'type'=>'%s', 'null'=>true ),
117
'event_rsvp_spaces' => array( 'name'=>'rsvp_spaces', 'type'=>'%d', 'null'=>true ),
1497
*/
1498
function output($format, $target="html") {
1499
global $wpdb;
1500
+ $format = do_shortcode($format); //parse shortcode first, so that formats within shortcodes are parsed properly
1501
$event_string = $format;
1502
//Time place holder that doesn't show if empty.
1503
//TODO add filter here too
classes/em-location.php CHANGED
File without changes
classes/em-locations.php CHANGED
File without changes
classes/em-mailer.php CHANGED
File without changes
classes/em-notices.php CHANGED
File without changes
classes/em-object.php CHANGED
File without changes
classes/em-people.php CHANGED
File without changes
classes/em-permalinks.php CHANGED
File without changes
classes/em-person.php CHANGED
File without changes
classes/em-tags-admin.php CHANGED
File without changes
classes/em-tags-frontend.php CHANGED
File without changes
classes/em-taxonomy-admin.php CHANGED
File without changes
classes/em-taxonomy-frontend.php CHANGED
File without changes
classes/em-taxonomy-term.php CHANGED
File without changes
classes/em-taxonomy-terms.php CHANGED
File without changes
classes/em-ticket-booking.php CHANGED
File without changes
classes/em-ticket.php CHANGED
File without changes
classes/em-tickets-bookings.php CHANGED
File without changes
classes/em-tickets.php CHANGED
File without changes
em-actions.php CHANGED
@@ -313,15 +313,23 @@ function em_init_actions() {
313
$EM_Booking->tickets_bookings = new EM_Tickets_Bookings();
314
$EM_Booking->tickets_bookings->booking = $EM_Ticket_Booking->booking = $EM_Booking;
315
$EM_Booking->tickets_bookings->add( $EM_Ticket_Booking );
316
- //Now save booking
317
- if( $EM_Event->get_bookings()->add($EM_Booking) ){
318
- $result = true;
319
- $EM_Notices->add_confirm( $EM_Event->get_bookings()->feedback_message );
320
- $feedback = $EM_Event->get_bookings()->feedback_message;
321
}else{
322
$result = false;
323
- $EM_Notices->add_error( $EM_Event->get_bookings()->get_errors() );
324
- $feedback = $EM_Event->get_bookings()->feedback_message;
325
}
326
}else{
327
$result = false;
313
$EM_Booking->tickets_bookings = new EM_Tickets_Bookings();
314
$EM_Booking->tickets_bookings->booking = $EM_Ticket_Booking->booking = $EM_Booking;
315
$EM_Booking->tickets_bookings->add( $EM_Ticket_Booking );
316
+ $post_validation = $EM_Booking->validate();
317
+ do_action('em_booking_add', $EM_Event, $EM_Booking, $post_validation);
318
+ if( $post_validation ){
319
+ //Now save booking
320
+ if( $EM_Event->get_bookings()->add($EM_Booking) ){
321
+ $result = true;
322
+ $EM_Notices->add_confirm( $EM_Event->get_bookings()->feedback_message );
323
+ $feedback = $EM_Event->get_bookings()->feedback_message;
324
+ }else{
325
+ $result = false;
326
+ $EM_Notices->add_error( $EM_Event->get_bookings()->get_errors() );
327
+ $feedback = $EM_Event->get_bookings()->feedback_message;
328
+ }
329
}else{
330
$result = false;
331
+ $EM_Notices->add_error( $EM_Booking->get_errors() );
332
+ $feedback = $EM_Event->get_bookings()->feedback_message;
333
}
334
}else{
335
$result = false;
em-debug.php CHANGED
File without changes
em-events.php CHANGED
File without changes
em-functions.php CHANGED
File without changes
em-ical.php CHANGED
File without changes
em-install.php CHANGED
File without changes
em-rss.php DELETED
@@ -1,41 +0,0 @@
1
- <?php
2
- function em_rss() {
3
- global $post, $wp_query;
4
- if ( !empty($_REQUEST['dbem_rss']) || (is_object($post) && $post->ID == get_option('dbem_events_page') && $wp_query->get('rss')) ) {
5
- header ( "Content-type: text/xml" );
6
- ob_start();
7
- echo "<?xml version='1.0'?>\n";
8
- ?>
9
- <rss version="2.0">
10
- <channel>
11
- <title><?php echo get_option ( 'dbem_rss_main_title' ); ?></title>
12
- <link><?php echo get_permalink ( get_option('dbem_events_page') ); ?></link>
13
- <description><?php echo get_option ( 'dbem_rss_main_description' ); ?></description>
14
- <docs>http://blogs.law.harvard.edu/tech/rss</docs>
15
- <generator>Weblog Editor 2.0</generator>
16
-
17
- <?php
18
- $description_format = str_replace ( ">", "&gt;", str_replace ( "<", "&lt;", get_option ( 'dbem_rss_description_format' ) ) );
19
- $events = EM_Events::get( array('limit'=>5, 'owner'=>false) );
20
- foreach ( $events as $event ) {
21
- $description = $event->output( get_option ( 'dbem_rss_description_format' ), "rss");
22
- $description = ent2ncr(convert_chars(strip_tags($description))); //Some RSS filtering
23
- ?>
24
- <item>
25
- <title><?php echo $event->output( get_option('dbem_rss_title_format'), "rss" ); ?></title>
26
- <link><?php echo $event->output('#_EVENTURL'); ?></link>
27
- <description><?php echo $description; ?></description>
28
- </item>
29
- <?php
30
- }
31
- ?>
32
-
33
- </channel>
34
- </rss>
35
- <?php
36
- echo apply_filters('em_rss', ob_get_clean());
37
- die ();
38
- }
39
- }
40
- add_action ( 'template_redirect', 'em_rss' );
41
- ?>
em-shortcode.php CHANGED
File without changes
em-template-tags.php CHANGED
File without changes
events-manager.php CHANGED
@@ -1,7 +1,7 @@
1
<?php
2
/*
3
Plugin Name: Events Manager
4
- Version: 5.8.1.1
5
Plugin URI: http://wp-events-plugin.com
6
Description: Event registration and booking management for WordPress. Recurring events, locations, google maps, rss, ical, booking registration and more!
7
Author: Marcus Sykes
1
<?php
2
/*
3
Plugin Name: Events Manager
4
+ Version: 5.8.1.2
5
Plugin URI: http://wp-events-plugin.com
6
Description: Event registration and booking management for WordPress. Recurring events, locations, google maps, rss, ical, booking registration and more!
7
Author: Marcus Sykes
includes/css/events_manager.css CHANGED
File without changes
includes/css/events_manager_admin.css CHANGED
File without changes
includes/css/images/loading.gif CHANGED
File without changes
includes/css/images/ui-bg_diagonals-thick_18_b81900_40x40.png CHANGED
File without changes
includes/css/images/ui-bg_diagonals-thick_20_666666_40x40.png CHANGED
File without changes
includes/css/images/ui-bg_flat_10_000000_40x100.png CHANGED
File without changes
includes/css/images/ui-bg_glass_100_f6f6f6_1x400.png CHANGED
File without changes
includes/css/images/ui-bg_glass_100_fdf5ce_1x400.png CHANGED
File without changes
includes/css/images/ui-bg_glass_65_ffffff_1x400.png CHANGED
File without changes
includes/css/images/ui-bg_gloss-wave_35_f6a828_500x100.png CHANGED
File without changes
includes/css/images/ui-bg_highlight-soft_100_eeeeee_1x100.png CHANGED
File without changes
includes/css/images/ui-bg_highlight-soft_75_ffe45c_1x100.png CHANGED
File without changes
includes/css/images/ui-icons_222222_256x240.png CHANGED
File without changes
includes/css/images/ui-icons_228ef1_256x240.png CHANGED
File without changes
includes/css/images/ui-icons_ef8c08_256x240.png CHANGED
File without changes
includes/css/images/ui-icons_ffd27a_256x240.png CHANGED
File without changes
includes/css/images/ui-icons_ffffff_256x240.png CHANGED
File without changes
includes/css/jquery-ui.css CHANGED
File without changes
includes/css/jquery-ui.min.css CHANGED
File without changes
includes/images/baloon.png CHANGED
File without changes
includes/images/calendar-16.png CHANGED
File without changes
includes/images/calendar-32.png CHANGED
File without changes
includes/images/close.png CHANGED
File without changes
includes/images/event-caps-source.png CHANGED
File without changes
includes/images/event-caps.jpg CHANGED
File without changes
includes/images/event-perms-source.png CHANGED
File without changes
includes/images/loading.gif CHANGED
File without changes
includes/js/events-manager.js CHANGED
@@ -925,22 +925,17 @@ function em_maps_load_location(el){
925
var map_id = el.attr('id').replace('em-location-map-','');
926
em_LatLng = new google.maps.LatLng( jQuery('#em-location-map-coords-'+map_id+' .lat').text(), jQuery('#em-location-map-coords-'+map_id+' .lng').text());
927
//extend map and markers via event triggers
928
- var is_touch = 'ontouchstart' in window || navigator.maxTouchPoints;
929
var map_options = {
930
zoom: 14,
931
center: em_LatLng,
932
mapTypeId: google.maps.MapTypeId.ROADMAP,
933
mapTypeControl: false,
934
- scrollwheel: is_touch
935
};
936
if( typeof EM.google_map_id_styles == 'object' && typeof EM.google_map_id_styles[map_id] !== 'undefined' ){ console.log(EM.google_map_id_styles[map_id]); map_options.styles = EM.google_map_id_styles[map_id]; }
937
else if( typeof EM.google_maps_styles !== 'undefined' ){ map_options.styles = EM.google_maps_styles; }
938
jQuery(document).triggerHandler('em_maps_location_map_options', map_options);
939
maps[map_id] = new google.maps.Map( document.getElementById('em-location-map-'+map_id), map_options);
940
- if( !is_touch ){
941
- maps[map_id].addListener('click', function(){ maps[map_id].setOptions({ scrollwheel:true }); });
942
- maps[map_id].addListener('mouseout', function(){ maps[map_id].setOptions({ scrollwheel:false }); });
943
- }
944
var marker_options = {
945
position: em_LatLng,
946
map: maps[map_id]
@@ -983,7 +978,9 @@ function em_maps() {
983
if( !(location_latitude == 0 && location_longitude == 0) ){
984
var position = new google.maps.LatLng(location_latitude, location_longitude); //the location coords
985
marker.setPosition(position);
986
- var mapTitle = (jQuery('input#location-name').length > 0) ? jQuery('input#location-name').val():jQuery('input#title').val();
987
marker.setTitle( jQuery('input#location-name input#title, #location-select-id').first().val() );
988
jQuery('#em-map').show();
989
jQuery('#em-map-404').hide();
@@ -993,9 +990,9 @@ function em_maps() {
993
infoWindow.setContent(
994
'<div id="location-balloon-content"><strong>' +
995
mapTitle +
996
- '</strong><br/>' +
997
- jQuery('#location-address').val() +
998
- '<br/>' + jQuery('#location-town').val()+
999
'</div>'
1000
);
1001
infoWindow.open(map, marker);
@@ -1063,20 +1060,15 @@ function em_maps() {
1063
//Load map
1064
if(jQuery('#em-map').length > 0){
1065
var em_LatLng = new google.maps.LatLng(0, 0);
1066
- var is_touch = 'ontouchstart' in window || navigator.maxTouchPoints;
1067
var map_options = {
1068
zoom: 14,
1069
center: em_LatLng,
1070
mapTypeId: google.maps.MapTypeId.ROADMAP,
1071
mapTypeControl: false,
1072
- scrollwheel: is_touch
1073
};
1074
if( typeof EM.google_maps_styles !== 'undefined' ){ map_options.styles = EM.google_maps_styles; }
1075
map = new google.maps.Map( document.getElementById('em-map'), map_options);
1076
- if( !is_touch ){
1077
- map.addListener('click', function(){ map.setOptions({ scrollwheel:true }); });
1078
- map.addListener('mouseout', function(){ map.setOptions({ scrollwheel:false }); });
1079
- }
1080
var marker = new google.maps.Marker({
1081
position: em_LatLng,
1082
map: map,
925
var map_id = el.attr('id').replace('em-location-map-','');
926
em_LatLng = new google.maps.LatLng( jQuery('#em-location-map-coords-'+map_id+' .lat').text(), jQuery('#em-location-map-coords-'+map_id+' .lng').text());
927
//extend map and markers via event triggers
928
var map_options = {
929
zoom: 14,
930
center: em_LatLng,
931
mapTypeId: google.maps.MapTypeId.ROADMAP,
932
mapTypeControl: false,
933
+ gestureHandling: 'cooperative'
934
};
935
if( typeof EM.google_map_id_styles == 'object' && typeof EM.google_map_id_styles[map_id] !== 'undefined' ){ console.log(EM.google_map_id_styles[map_id]); map_options.styles = EM.google_map_id_styles[map_id]; }
936
else if( typeof EM.google_maps_styles !== 'undefined' ){ map_options.styles = EM.google_maps_styles; }
937
jQuery(document).triggerHandler('em_maps_location_map_options', map_options);
938
maps[map_id] = new google.maps.Map( document.getElementById('em-location-map-'+map_id), map_options);
939
var marker_options = {
940
position: em_LatLng,
941
map: maps[map_id]
978
if( !(location_latitude == 0 && location_longitude == 0) ){
979
var position = new google.maps.LatLng(location_latitude, location_longitude); //the location coords
980
marker.setPosition(position);
981
+ var mapTitle = (jQuery('input#location-name').length > 0) ? jQuery(jQuery.parseHTML(jQuery('input#location-name').val())).text():jQuery('input#title').val();
982
+ var mapAddress = jQuery('#location-address').val();
983
+ var mapTown = jQuery('#location-town').val();
984
marker.setTitle( jQuery('input#location-name input#title, #location-select-id').first().val() );
985
jQuery('#em-map').show();
986
jQuery('#em-map-404').hide();
990
infoWindow.setContent(
991
'<div id="location-balloon-content"><strong>' +
992
mapTitle +
993
+ '</strong><br>' +
994
+ jQuery(jQuery.parseHTML(mapAddress)).text() +
995
+ '<br>' + jQuery(jQuery.parseHTML(mapTown)).text() +
996
'</div>'
997
);
998
infoWindow.open(map, marker);
1060
//Load map
1061
if(jQuery('#em-map').length > 0){
1062
var em_LatLng = new google.maps.LatLng(0, 0);
1063
var map_options = {
1064
zoom: 14,
1065
center: em_LatLng,
1066
mapTypeId: google.maps.MapTypeId.ROADMAP,
1067
mapTypeControl: false,
1068
+ gestureHandling: 'cooperative'
1069
};
1070
if( typeof EM.google_maps_styles !== 'undefined' ){ map_options.styles = EM.google_maps_styles; }
1071
map = new google.maps.Map( document.getElementById('em-map'), map_options);
1072
var marker = new google.maps.Marker({
1073
position: em_LatLng,
1074
map: map,
includes/js/events-manager.min.js DELETED
@@ -1,3 +0,0 @@
1
- function em_load_jquery_css(){if(EM.ui_css&&0==jQuery("script#jquery-ui-css").length){var e=document.createElement("link");e.id="jquery-ui-css",e.rel="stylesheet",e.href=EM.ui_css,document.body.appendChild(e)}}function em_setup_datepicker(e){e=jQuery(e);var t={altFormat:"yy-mm-dd",changeMonth:!0,changeYear:!0,firstDay:EM.firstDay,yearRange:"-100:+10"};EM.dateFormat&&(t.dateFormat=EM.dateFormat),EM.yearRange&&(t.yearRange=EM.yearRange),jQuery(document).triggerHandler("em_datepicker",t),dateDivs=e.find(".em-date-single, .em-date-range"),dateDivs.length>0&&(dateDivs.find("input.em-date-input-loc").each(function(e,a){var a=jQuery(a),n=a.nextAll("input.em-date-input").first(),o=n.val();if(a.datepicker(t),a.datepicker("option","altField",n),o){var i=jQuery.datepicker.formatDate(EM.dateFormat,jQuery.datepicker.parseDate("yy-mm-dd",o));a.val(i),n.val(o)}a.change(function(){""==jQuery(this).val()&&jQuery(this).nextAll(".em-date-input").first().val("")})}),dateDivs.filter(".em-date-range").find("input.em-date-input-loc").each(function(e,t){if(t=jQuery(t),t.hasClass("em-date-start"))t.datepicker("option","onSelect",function(e){var t=jQuery(this),a=t.parents(".em-date-range").find(".em-date-end").first();t.val()>a.val()&&""!=a.val()&&(a.datepicker("setDate",e),a.trigger("change")),a.datepicker("option","minDate",e)});else if(t.hasClass("em-date-end")){var a=t.parents(".em-date-range").find(".em-date-start").first();""!=a.val()&&t.datepicker("option","minDate",a.val())}}))}function em_setup_timepicker(e){e=jQuery(e),e.find(".em-time-input").timePicker({show24Hours:1==EM.show24hours,step:15}),e.find(".em-time-range input.em-time-start").each(function(e,t){jQuery(t).data("oldTime",jQuery.timePicker(t).getTime())}).change(function(){var e=jQuery(this),t=e.nextAll(".em-time-end");if(t.val()){var a=e.data("oldTime"),n=jQuery.timePicker(t).getTime()-a,o=jQuery.timePicker(e).getTime();jQuery.timePicker(t).getTime()>=a&&jQuery.timePicker(t).setTime(new Date(new Date(o.getTime()+n))),e.data("oldTime",o)}}),e.find(".em-time-range input.em-time-end").change(function(){var e=jQuery(this),t=e.prevAll(".em-time-start");t.val()&&(jQuery.timePicker(t).getTime()>jQuery.timePicker(this).getTime()&&(0==jQuery(".em-date-end").val().length||jQuery(".em-date-start").val()==jQuery(".em-date-end").val())?e.addClass("error"):e.removeClass("error"))}),e.find(".em-time-range input.em-time-all-day").change(function(){var e=jQuery(this);e.is(":checked")?e.siblings(".em-time-input").css("background-color","#ccc"):e.siblings(".em-time-input").css("background-color","#fff")}).trigger("change")}function em_maps_load(){if(!em_maps_loaded)if(0!=jQuery("script#google-maps").length||"object"==typeof google&&"object"==typeof google.maps)"object"!=typeof google||"object"!=typeof google.maps||em_maps_loaded?jQuery("script#google-maps").length>0&&jQuery(window).load(function(){em_maps_loaded||em_maps()}):em_maps();else{var e=document.createElement("script");e.type="text/javascript",e.id="google-maps";var t=EM.is_ssl?"https:":"http:";e.src=t+"//maps.google.com/maps/api/js?v=3.12&sensor=false&libraries=places&callback=em_maps",document.body.appendChild(e)}}function em_maps_load_locations(e){var e=jQuery(e),t=e.attr("id").replace("em-locations-map-",""),a=jQuery.parseJSON(e.nextAll(".em-locations-map-coords").first().text());if(null==a)var a=jQuery.parseJSON(jQuery("#em-locations-map-coords-"+t).text());jQuery.getJSON(document.URL,a,function(a){if(a.length>0){var n={mapTypeId:google.maps.MapTypeId.ROADMAP};jQuery(document).triggerHandler("em_maps_locations_map_options",n);var o={};jQuery(document).triggerHandler("em_maps_location_marker_options",o),maps[t]=new google.maps.Map(e[0],n),maps_markers[t]=[];for(var i=[0,0],r=[0,0],c=0;c<a.length;c++)if(0!=a[c].location_latitude||0!=a[c].location_longitude){var s=parseFloat(a[c].location_latitude),l=parseFloat(a[c].location_longitude),m=new google.maps.LatLng(s,l);jQuery.extend(o,{position:m,map:maps[t]});var d=new google.maps.Marker(o);maps_markers[t].push(d),d.setTitle(a[c].location_name);var u='<div class="em-map-balloon"><div id="em-map-balloon-'+t+'" class="em-map-balloon-content">'+a[c].location_balloon+"</div></div>";em_map_infobox(d,u,maps[t]),i[0]=s<i[0]||0==c?s:i[0],i[1]=l<i[1]||0==c?l:i[1],r[0]=s>r[0]||0==c?s:r[0],r[1]=l>r[1]||0==c?l:r[1]}var p=new google.maps.LatLng(i[0],i[1]),g=new google.maps.LatLng(r[0],r[1]),f=new google.maps.LatLngBounds(p,g);maps[t].fitBounds(f),jQuery(document).triggerHandler("em_maps_locations_hook",[maps[t],a,t])}else e.children().first().html("No locations found"),jQuery(document).triggerHandler("em_maps_locations_hook_not_found",[e])})}function em_maps_load_location(e){e=jQuery(e);var t=e.attr("id").replace("em-location-map-","");em_LatLng=new google.maps.LatLng(jQuery("#em-location-map-coords-"+t+" .lat").text(),jQuery("#em-location-map-coords-"+t+" .lng").text());var a={zoom:14,center:em_LatLng,mapTypeId:google.maps.MapTypeId.ROADMAP,mapTypeControl:!1};jQuery(document).triggerHandler("em_maps_location_map_options",a),maps[t]=new google.maps.Map(document.getElementById("em-location-map-"+t),a);var n={position:em_LatLng,map:maps[t]};jQuery(document).triggerHandler("em_maps_location_marker_options",n),maps_markers[t]=new google.maps.Marker(n),infowindow=new google.maps.InfoWindow({content:jQuery("#em-location-map-info-"+t+" .em-map-balloon").get(0)}),infowindow.open(maps[t],maps_markers[t]),maps[t].panBy(40,-70),jQuery(document).triggerHandler("em_maps_location_hook",[maps[t],infowindow,maps_markers[t],t]),jQuery(window).on("resize",function(){google.maps.event.trigger(maps[t],"resize"),maps[t].setCenter(maps_markers[t].getPosition()),maps[t].panBy(40,-70)})}function em_maps(){if(jQuery(".em-location-map").each(function(e,t){em_maps_load_location(t)}),jQuery(".em-locations-map").each(function(e,t){em_maps_load_locations(t)}),jQuery("select#location-select-id, input#location-address").length>0){var e,t,a=function(){var a=jQuery("#location-latitude").val(),n=jQuery("#location-longitude").val();if(0!=a||0!=n){var o=new google.maps.LatLng(a,n);t.setPosition(o);var i=jQuery("input#location-name").length>0?jQuery("input#location-name").val():jQuery("input#title").val();t.setTitle(jQuery("input#location-name input#title, #location-select-id").first().val()),jQuery("#em-map").show(),jQuery("#em-map-404").hide(),google.maps.event.trigger(e,"resize"),e.setCenter(o),e.panBy(40,-55),infoWindow.setContent('<div id="location-balloon-content"><strong>'+i+"</strong><br/>"+jQuery("#location-address").val()+"<br/>"+jQuery("#location-town").val()+"</div>"),infoWindow.open(e,t),jQuery(document).triggerHandler("em_maps_location_hook",[e,infowindow,t,0])}else jQuery("#em-map").hide(),jQuery("#em-map-404").show()},n=function(a){jQuery("#em-map").length>0&&jQuery.getJSON(document.URL,{em_ajax_action:"get_location",id:a},function(a){0!=a.location_latitude&&0!=a.location_longitude?(loc_latlng=new google.maps.LatLng(a.location_latitude,a.location_longitude),t.setPosition(loc_latlng),t.setTitle(a.location_name),t.setDraggable(!1),jQuery("#em-map").show(),jQuery("#em-map-404").hide(),e.setCenter(loc_latlng),e.panBy(40,-55),infoWindow.setContent('<div id="location-balloon-content">'+a.location_balloon+"</div>"),infoWindow.open(e,t),google.maps.event.trigger(e,"resize"),jQuery(document).triggerHandler("em_maps_location_hook",[e,infowindow,t,0])):(jQuery("#em-map").hide(),jQuery("#em-map-404").show())})};if(jQuery("#location-select-id, input#location-id").change(function(){n(jQuery(this).val())}),jQuery("#location-name, #location-town, #location-address, #location-state, #location-postcode, #location-country").change(function(){var e=[jQuery("#location-address").val(),jQuery("#location-town").val(),jQuery("#location-state").val(),jQuery("#location-postcode").val()],t="";return jQuery.each(e,function(e,a){""!=a&&(t=""==t?t+a:t+", "+a)}),""==t?(jQuery("#em-map").hide(),jQuery("#em-map-404").show(),!1):(0!=jQuery("#location-country option:selected").val()&&(t=""==t?t+jQuery("#location-country option:selected").text():t+", "+jQuery("#location-country option:selected").text()),void(""!=t&&jQuery("#em-map").length>0&&i.geocode({address:t},function(e,t){t==google.maps.GeocoderStatus.OK&&(jQuery("#location-latitude").val(e[0].geometry.location.lat()),jQuery("#location-longitude").val(e[0].geometry.location.lng())),a()})))}),jQuery("#em-map").length>0){var o=new google.maps.LatLng(0,0);e=new google.maps.Map(document.getElementById("em-map"),{zoom:14,center:o,mapTypeId:google.maps.MapTypeId.ROADMAP,mapTypeControl:!1});var t=new google.maps.Marker({position:o,map:e,draggable:!0});infoWindow=new google.maps.InfoWindow({content:""});var i=new google.maps.Geocoder;google.maps.event.addListener(infoWindow,"domready",function(){document.getElementById("location-balloon-content").parentNode.style.overflow="",document.getElementById("location-balloon-content").parentNode.parentNode.style.overflow=""}),google.maps.event.addListener(t,"dragend",function(){var a=t.getPosition();jQuery("#location-latitude").val(a.lat()),jQuery("#location-longitude").val(a.lng()),e.setCenter(a),e.panBy(40,-55)}),jQuery("#location-select-id").length>0?jQuery("#location-select-id").trigger("change"):a(),jQuery(document).triggerHandler("em_map_loaded",[e,infowindow,t])}jQuery(window).on("resize",function(){google.maps.event.trigger(e,"resize"),e.setCenter(t.getPosition()),e.panBy(40,-55)})}em_maps_loaded=!0,jQuery(document).triggerHandler("em_maps_loaded")}function em_map_infobox(e,t,a){var n=new google.maps.InfoWindow({content:t});google.maps.event.addListener(e,"click",function(){infowindow&&infowindow.close(),infowindow=n,n.open(a,e)})}jQuery(document).ready(function(e){function t(){e(".interval-desc").hide();var t="-plural";(1==e("input#recurrence-interval").val()||""==e("input#recurrence-interval").val())&&(t="-singular");var a="span#interval-"+e("select#recurrence-frequency").val()+t;e(a).show()}function a(){e("p.alternate-selector").hide(),e("p#"+e("select#recurrence-frequency").val()+"-selector").show()}function n(){e("input#event-recurrence").is(":checked")?(e("#event_recurrence_pattern").fadeIn(),e("#event-date-explanation").hide(),e("#recurrence-dates-explanation").show(),e("h3#recurrence-dates-title").show(),e("h3#event-date-title").hide()):(e("#event_recurrence_pattern").hide(),e("#recurrence-dates-explanation").hide(),e("#event-date-explanation").show(),e("h3#recurrence-dates-title").hide(),e("h3#event-date-title").show())}var o=!1;if(e("#start-time").each(function(t,a){e(a).addClass("em-time-input em-time-start").next("#end-time").addClass("em-time-input em-time-end").parent().addClass("em-time-range")}),e(".em-time-input").length>0&&em_setup_timepicker("body"),e(".em-calendar-wrapper a").unbind("click"),e(".em-calendar-wrapper a").undelegate("click"),e(".em-calendar-wrapper").delegate("a.em-calnav, a.em-calnav","click",function(t){t.preventDefault(),e(this).closest(".em-calendar-wrapper").prepend('<div class="loading" id="em-loading"></div>');var a=em_ajaxify(e(this).attr("href"));e(this).closest(".em-calendar-wrapper").load(a,function(){e(this).trigger("em_calendar_load")})}),e(document).delegate(".em-toggle","click change",function(t){t.preventDefault();var a=e(this),n=a.attr("rel").split(":");a.hasClass("show-search")?(n.length>1?a.closest(n[1]).find(n[0]).slideUp():e(n[0]).slideUp(),a.find(".show, .show-advanced").show(),a.find(".hide, .hide-advanced").hide(),a.removeClass("show-search")):(n.length>1?a.closest(n[1]).find(n[0]).slideDown():e(n[0]).slideDown(),a.find(".show, .show-advanced").hide(),a.find(".hide, .hide-advanced").show(),a.addClass("show-search"))}),EM.search_term_placeholder&&("placeholder"in document.createElement("input")?e("input.em-events-search-text, input.em-search-text").attr("placeholder",EM.search_term_placeholder):e("input.em-events-search-text, input.em-search-text").blur(function(){""==this.value&&(this.value=EM.search_term_placeholder)}).focus(function(){this.value==EM.search_term_placeholder&&(this.value="")}).trigger("blur")),e(".em-search-form select[name=country]").change(function(){var t=e(this);if(e(".em-search select[name=state]").html('<option value="">'+EM.txt_loading+"</option>"),e(".em-search select[name=region]").html('<option value="">'+EM.txt_loading+"</option>"),e(".em-search select[name=town]").html('<option value="">'+EM.txt_loading+"</option>"),""!=t.val()){t.closest(".em-search-location").find(".em-search-location-meta").slideDown();var a={action:"search_states",country:t.val(),return_html:!0};e(".em-search select[name=state]").load(EM.ajaxurl,a),a.action="search_regions",e(".em-search select[name=region]").load(EM.ajaxurl,a),a.action="search_towns",e(".em-search select[name=town]").load(EM.ajaxurl,a)}else t.closest(".em-search-location").find(".em-search-location-meta").slideUp()}),e(".em-search-form select[name=region]").change(function(){e(".em-search select[name=state]").html('<option value="">'+EM.txt_loading+"</option>"),e(".em-search select[name=town]").html('<option value="">'+EM.txt_loading+"</option>");var t={action:"search_states",region:e(this).val(),country:e(".em-search-form select[name=country]").val(),return_html:!0};e(".em-search select[name=state]").load(EM.ajaxurl,t),t.action="search_towns",e(".em-search select[name=town]").load(EM.ajaxurl,t)}),e(".em-search-form select[name=state]").change(function(){e(".em-search select[name=town]").html('<option value="">'+EM.txt_loading+"</option>");var t={action:"search_towns",state:e(this).val(),region:e(".em-search-form select[name=region]").val(),country:e(".em-search-form select[name=country]").val(),return_html:!0};e(".em-search select[name=town]").load(EM.ajaxurl,t)}),e(document).delegate(".em-search-form, .em-events-search-form","submit",function(t){var a=e(this);this.em_search&&this.em_search.value==EM.txt_search&&(this.em_search.value="");var n=a.closest(".em-search-wrapper").find(".em-search-ajax");if(0==n.length&&(n=e(".em-search-ajax")),n.length>0){n.append('<div class="loading" id="em-loading"></div>');var o=a.find(".em-search-submit");o.data("buttonText",o.val()).val(EM.txt_searching);var i=o.children("img");i.length>0&&i.attr("src",i.attr("src").replace("search-mag.png","search-loading.gif"));var r=a.serialize();return e.ajax(EM.ajaxurl,{type:"POST",dataType:"html",data:r,success:function(c){o.val(o.data("buttonText")),i.length>0&&i.attr("src",i.attr("src").replace("search-loading.gif","search-mag.png")),n.replaceWith(c),""==a.find("input[name=em_search]").val()&&a.find("input[name=em_search]").val(EM.txt_search),n=a.closest(".em-search-wrapper").find(".em-search-ajax"),0==n.length&&(n=e(".em-search-ajax")),jQuery(document).triggerHandler("em_search_ajax",[r,n,t])}}),t.preventDefault(),!1}}),e(".em-search-ajax").length>0&&e(document).delegate(".em-search-ajax a.page-numbers","click",function(t){var a=e(this),n=a.closest(".em-pagination").attr("data-em-ajax"),o=a.closest(".em-search-ajax"),i=o.parent(),r=a.attr("href").split("?"),c=r[1];return""!=n&&(c=""!=c?c+"&"+n:n),o.append('<div class="loading" id="em-loading"></div>'),e.ajax(EM.ajaxurl,{type:"POST",dataType:"html",data:c,success:function(e){o.replaceWith(e),o=i.find(".em-search-ajax"),jQuery(document).triggerHandler("em_search_ajax",[c,o,t])}}),t.preventDefault(),!1}),e(".events-table").on("click",".em-event-delete",function(){return confirm("Are you sure you want to delete?")?void(window.location.href=this.href):!1}),e("#event-form #event-image-delete, #location-form #location-image-delete").on("click",function(){var t=e(this);t.is(":checked")?t.closest(".event-form-image, .location-form-image").find("#event-image-img, #location-image-img").hide():t.closest(".event-form-image, .location-form-image").find("#event-image-img, #location-image-img").show()}),e("#em-tickets-form").length>0){e("#event-rsvp").click(function(t){this.checked?e("#event-rsvp-options").fadeIn():(confirmation=confirm(EM.disable_bookings_warning),0==confirmation?t.preventDefault():e("#event-rsvp-options").hide())}),e("input#event-rsvp").is(":checked")?e("div#rsvp-data").fadeIn():e("div#rsvp-data").hide();var i=function(){e("#em-tickets-form table tbody tr.em-tickets-row").show(),e("#em-tickets-form table tbody tr.em-tickets-row-form").hide()};e("#em-recurrence-checkbox").length>0?e("#em-recurrence-checkbox").change(function(){e("#em-recurrence-checkbox").is(":checked")?(e("#em-tickets-form .ticket-dates-from-recurring, #em-tickets-form .ticket-dates-to-recurring, #event-rsvp-options .em-booking-date-recurring").show(),e("#em-tickets-form .ticket-dates-from-normal, #em-tickets-form .ticket-dates-to-normal, #event-rsvp-options .em-booking-date-normal, #em-tickets-form .hidden").hide()):(e("#em-tickets-form .ticket-dates-from-normal, #em-tickets-form .ticket-dates-to-normal, #event-rsvp-options .em-booking-date-normal").show(),e("#em-tickets-form .ticket-dates-from-recurring, #em-tickets-form .ticket-dates-to-recurring, #event-rsvp-options .em-booking-date-recurring, #em-tickets-form .hidden").hide())}).trigger("change"):e("#em-form-recurrence").length>0?(e("#em-tickets-form .ticket-dates-from-recurring, #em-tickets-form .ticket-dates-to-recurring, #event-rsvp-options .em-booking-date-recurring").show(),e("#em-tickets-form .ticket-dates-from-normal, #em-tickets-form .ticket-dates-to-normal, #event-rsvp-options .em-booking-date-normal, #em-tickets-form .hidden").hide()):e("#em-tickets-form .ticket-dates-from-recurring, #em-tickets-form .ticket-dates-to-recurring, #event-rsvp-options .em-booking-date-recurring, #em-tickets-form .hidden").hide(),e("#em-tickets-add").click(function(t){t.preventDefault(),i();var a=e("#em-tickets-form table tbody"),n=a.length+1,o=a.first().clone(!0).attr("id","em-ticket-"+n).appendTo(e("#em-tickets-form table"));o.find("*[name]").each(function(t,a){a=e(a),a.attr("name",a.attr("name").replace("em_tickets[0]","em_tickets["+n+"]"))}),o.show().find(".ticket-actions-edit").trigger("click"),o.find(".em-date-input-loc").datepicker("destroy").removeAttr("id"),o.find(".em-time-input").unbind().each(function(){this.timePicker=!1}),em_setup_datepicker(o),em_setup_timepicker(o),e("html, body").animate({scrollTop:o.offset().top-30})}),e(document).delegate(".ticket-actions-edit","click",function(t){t.preventDefault(),i();var a=e(this).closest("tbody");return a.find("tr.em-tickets-row").hide(),a.find("tr.em-tickets-row-form").fadeIn(),!1}),e(document).delegate(".ticket-actions-edited","click",function(t){t.preventDefault();var a=e(this).closest("tbody"),n=a.attr("id").replace("em-ticket-","");return a.find(".em-tickets-row").fadeIn(),a.find(".em-tickets-row-form").hide(),a.find("*[name]").each(function(t,o){if(o=e(o),"ticket_start_pub"==o.attr("name"))a.find("span.ticket_start").text(o.attr("value"));else if("ticket_end_pub"==o.attr("name"))a.find("span.ticket_end").text(o.attr("value"));else if(o.attr("name")=="em_tickets["+n+"][ticket_type]")"members"==o.find(":selected").val()&&a.find("span.ticket_name").prepend("* ");else if(o.attr("name")=="em_tickets["+n+"][ticket_start_recurring_days]"){var i="before"==a.find("select.ticket-dates-from-recurring-when").val()?"-"+o.attr("value"):o.attr("value");""!=o.attr("value")?(a.find("span.ticket_start_recurring_days").text(i),a.find("span.ticket_start_recurring_days_text, span.ticket_start_time").removeClass("hidden").show()):(a.find("span.ticket_start_recurring_days").text(" - "),a.find("span.ticket_start_recurring_days_text, span.ticket_start_time").removeClass("hidden").hide())}else if(o.attr("name")=="em_tickets["+n+"][ticket_end_recurring_days]"){var i="before"==a.find("select.ticket-dates-to-recurring-when").val()?"-"+o.attr("value"):o.attr("value");""!=o.attr("value")?(a.find("span.ticket_end_recurring_days").text(i),a.find("span.ticket_end_recurring_days_text, span.ticket_end_time").removeClass("hidden").show()):(a.find("span.ticket_end_recurring_days").text(" - "),a.find("span.ticket_end_recurring_days_text, span.ticket_end_time").removeClass("hidden").hide())}else a.find("."+o.attr("name").replace("em_tickets["+n+"][","").replace("]","").replace("[]","")).text(o.attr("value"))}),e(document).triggerHandler("em_maps_tickets_edit",[a,n,!0]),e("html, body").animate({scrollTop:a.parent().offset().top-30}),!1}),e(document).delegate(".em-ticket-form select.ticket_type","change",function(){var t=e(this);"members"==t.find("option:selected").val()?t.closest(".em-ticket-form").find(".ticket-roles").fadeIn():t.closest(".em-ticket-form").find(".ticket-roles").hide()}),e(document).delegate(".em-ticket-form .ticket-options-advanced","click",function(t){t.preventDefault();var a=e(this);a.hasClass("show")?(a.closest(".em-ticket-form").find(".em-ticket-form-advanced").fadeIn(),a.find(".show").hide(),a.find(".hide").show()):(a.closest(".em-ticket-form").find(".em-ticket-form-advanced").hide(),a.find(".show").show(),a.find(".hide").hide()),a.toggleClass("show").toggleClass("hide")}),e(".em-ticket-form").each(function(){var t=!1,a=e(this);a.find('.em-ticket-form-advanced input[type="text"]').each(function(){""!=this.value&&(t=!0)}),a.find('.em-ticket-form-advanced input[type="checkbox"]:checked').length>0&&(t=!0),a.find(".em-ticket-form-advanced option:selected").each(function(){""!=this.value&&(t=!0)}),t&&a.find(".ticket-options-advanced").trigger("click")}),e(document).delegate(".ticket-actions-delete","click",function(t){t.preventDefault();var a=e(this),n=a.closest("tbody");return n.find("input.ticket_id").val()>0?(a.text("Deleting..."),e.getJSON(e(this).attr("href"),{em_ajax_action:"delete_ticket",id:n.find("input.ticket_id").val()},function(e){e.result?n.remove():(a.text("Delete"),alert(e.error))})):n.remove(),!1})}if(e("#em-bookings-table").length>0){e(document).delegate("#em-bookings-table .tablenav-pages a","click",function(){var t=e(this),a=t.parents("#em-bookings-table form.bookings-filter"),n=t.attr("href").match(/#[0-9]+/);if(null!=n&&n.length>0){var o=n[0].replace("#","");a.find("input[name=pno]").val(o)}else a.find("input[name=pno]").val(1);return a.trigger("submit"),!1});var r={modal:!0,autoOpen:!1,minWidth:500,height:"auto",buttons:[{text:EM.bookings_settings_save,click:function(t){t.preventDefault();var a=e("#em-bookings-table form.bookings-filter [name=cols]").val(""),n=e("form#em-bookings-table-settings-form input.em-bookings-col-item");e.each(n,function(e,t){1==t.value&&a.val(""!=a.val()?a.val()+","+t.name:t.name)}),e("#em-bookings-table-settings").trigger("submitted"),e("#em-bookings-table form.bookings-filter").trigger("submit"),e(this).dialog("close")}}]},c={modal:!0,autoOpen:!1,minWidth:500,height:"auto",buttons:[{text:EM.bookings_export_save,click:function(){e(this).children("form").submit(),e(this).dialog("close")}}]};if(e("#em-bookings-table-settings").length>0){e("#em-bookings-table-settings").dialog(r),e(document).delegate("#em-bookings-table-settings-trigger","click",function(t){t.preventDefault(),e("#em-bookings-table-settings").dialog("open")}),e("#em-bookings-table-export").dialog(c),e(document).delegate("#em-bookings-table-export-trigger","click",function(t){t.preventDefault(),e("#em-bookings-table-export").dialog("open")});var s=function(){e("#em-bookings-table-export-form input[name=show_tickets]").is(":checked")?(e("#em-bookings-table-export-form .em-bookings-col-item-ticket").show(),e("#em-bookings-table-export-form #em-bookings-export-cols-active .em-bookings-col-item-ticket input").val(1)):e("#em-bookings-table-export-form .em-bookings-col-item-ticket").hide().find("input").val(0)};e("#em-bookings-table form select").each(function(t,a){e(a).change(function(){var t=e(this),a=e("#em-bookings-table-export-form input[name="+t.attr("name")+"]"),n=t.find("option:selected");a.val(n.val())})}),s(),e("#em-bookings-table-export-form input[name=show_tickets]").click(s),e(".em-bookings-cols-sortable").sortable({connectWith:".em-bookings-cols-sortable",update:function(e,t){t.item.parents("ul#em-bookings-cols-active, ul#em-bookings-export-cols-active").length>0?t.item.addClass("ui-state-highlight").removeClass("ui-state-default").children("input").val(1):t.item.addClass("ui-state-default").removeClass("ui-state-highlight").children("input").val(0)}}).disableSelection(),o=!0}e(document).delegate("#em-bookings-table form.bookings-filter","submit",function(){var t=e(this);return t.parents("#em-bookings-table").find(".table-wrap").first().append('<div id="em-loading" />'),e.post(EM.ajaxurl,t.serializeArray(),function(a){var n=t.parents("#em-bookings-table").first();n.replaceWith(a),e("#em-bookings-table-export input[name=scope]").val(n.find("select[name=scope]").val()),e("#em-bookings-table-export input[name=status]").val(n.find("select[name=status]").val()),jQuery(document).triggerHandler("em_bookings_filtered",[a,n,t])}),!1}),e(document).delegate(".em-bookings-approve,.em-bookings-reject,.em-bookings-unapprove,.em-bookings-delete","click",function(){var t=e(this);if(t.hasClass("em-bookings-delete")&&!confirm(EM.booking_delete))return!1;var a=em_ajaxify(t.attr("href")),n=t.parents("td").first();return n.html(EM.txt_loading),n.load(a),!1})}e(".em_bookings_events_table").length>0&&(e(document).delegate(".em_bookings_events_table form","submit",function(){var t=e(this),a=em_ajaxify(t.attr("action"));return t.parents(".em_bookings_events_table").find(".table-wrap").first().append('<div id="em-loading" />'),e.get(a,t.serializeArray(),function(e){t.parents(".em_bookings_events_table").first().replaceWith(e)}),!1}),e(document).delegate(".em_bookings_events_table .tablenav-pages a","click",function(){var t=e(this),a=em_ajaxify(t.attr("href"));return t.parents(".em_bookings_events_table").find(".table-wrap").first().append('<div id="em-loading" />'),e.get(a,function(e){t.parents(".em_bookings_events_table").first().replaceWith(e)}),!1})),e("a.em-booking-button").click(function(t){t.preventDefault();var a=e(this);if(a.text()!=EM.bb_booked&&e(this).text()!=EM.bb_booking){a.text(EM.bb_booking);var n=a.attr("id").split("_");e.ajax({url:EM.ajaxurl,dataType:"jsonp",data:{event_id:n[1],_wpnonce:n[2],action:"booking_add_one"},success:function(e){a.text(e.result?EM.bb_booked:EM.bb_error),""!=e.message&&alert(e.message)},error:function(){a.text(EM.bb_error)}})}return!1}),e("a.em-cancel-button").click(function(t){t.preventDefault();var a=e(this);if(a.text()!=EM.bb_cancelled&&a.text()!=EM.bb_canceling){a.text(EM.bb_canceling);var n=a.attr("id").split("_");e.ajax({url:EM.ajaxurl,dataType:"jsonp",data:{booking_id:n[1],_wpnonce:n[2],action:"booking_cancel"},success:function(e){a.text(e.result?EM.bb_cancelled:EM.bb_cancel_error)},error:function(){a.text(EM.bb_cancel_error)}})}return!1}),e(".em-date-single, .em-date-range, #em-date-start").length>0&&("en"!=EM.locale&&EM.locale_data&&e.datepicker.setDefaults(EM.locale_data),o=!0,em_setup_datepicker("body")),o&&em_load_jquery_css(),e("#recurrence-dates-explanation").hide(),e("#date-to-submit").hide(),e("#end-date-to-submit").hide(),e("#localised-date").show(),e("#localised-end-date").show(),e("#em-wrapper input.select-all").change(function(){e(this).is(":checked")?(e("input.row-selector").prop("checked",!0),e("input.select-all").prop("checked",!0)):(e("input.row-selector").prop("checked",!1),e("input.select-all").prop("checked",!1))}),t(),a(),n(),e("input#event-recurrence").change(n),e("input#recurrence-interval").keyup(t),e("select#recurrence-frequency").change(t),e("select#recurrence-frequency").change(a),(e(".em-location-map").length>0||e(".em-locations-map").length>0||e("#em-map").length>0||e(".em-search-geo").length>0)&&em_maps_load(),jQuery("div.em-location-data input#location-name").length>0&&(jQuery("div.em-location-data input#location-name").autocomplete({source:EM.locationajaxurl,minLength:2,focus:function(e,t){return jQuery("input#location-id").val(t.item.value),!1},select:function(e,t){return jQuery("input#location-id").val(t.item.id).trigger("change"),jQuery("input#location-name").val(t.item.value),jQuery("input#location-address").val(t.item.address),jQuery("input#location-town").val(t.item.town),jQuery("input#location-state").val(t.item.state),jQuery("input#location-region").val(t.item.region),jQuery("input#location-postcode").val(t.item.postcode),""==t.item.country?jQuery("select#location-country option:selected").removeAttr("selected"):jQuery('select#location-country option[value="'+t.item.country+'"]').attr("selected","selected"),jQuery("div.em-location-data input, div.em-location-data select").css("background-color","#ccc").attr("readonly","readonly"),jQuery("#em-location-reset").show(),jQuery("#em-location-search-tip").hide(),jQuery(document).triggerHandler("em_locations_autocomplete_selected",[e,t]),!1}}).data("ui-autocomplete")._renderItem=function(e,t){return html_val="<a>"+t.label+'<br><span style="font-size:11px"><em>'+t.address+", "+t.town+"</em></span></a>",jQuery("<li></li>").data("item.autocomplete",t).append(html_val).appendTo(e)},jQuery("#em-location-reset a").click(function(){return jQuery("div.em-location-data input").css("background-color","#fff").val("").removeAttr("readonly"),jQuery("div.em-location-data select").css("background-color","#fff"),jQuery("div.em-location-data option:selected").removeAttr("selected"),jQuery("input#location-id").val(""),jQuery("#em-location-reset").hide(),jQuery("#em-location-search-tip").show(),jQuery("#em-map").hide(),jQuery("#em-map-404").show(),"undefined"!=typeof marker&&(marker.setPosition(new google.maps.LatLng(0,0)),infoWindow.close(),marker.setDraggable(!0)),!1}),"0"!=jQuery("input#location-id").val()&&""!=jQuery("input#location-id").val()&&(jQuery("div.em-location-data input, div.em-location-data select").css("background-color","#ccc").attr("readonly","readonly"),jQuery("#em-location-reset").show(),jQuery("#em-location-search-tip").hide()))});var em_ajaxify=function(e){return-1!=e.search("em_ajax=0")?e=e.replace("em_ajax=0","em_ajax=1"):e+=-1!=e.search(/\?/)?"&em_ajax=1":"?em_ajax=1",e},em_maps_loaded=!1,maps={},maps_markers={},infowindow;jQuery(document).bind("em_search_ajax",function(e,t,a){em_maps_loaded&&(a.find(".em-location-map").each(function(e,t){em_maps_load_location(t)}),a.find(".em-locations-map").each(function(e,t){em_maps_load_locations(t)}))});
2
- /* jQuery timePicker - http://labs.perifer.se/timedatepicker/ @ http://github.com/perifer/timePicker commit 100644 */
3
- (function(e){function t(t,n,r,i){t.value=e(n).text();e(t).change();if(!navigator.userAgent.match(/msie/i)){t.focus()}r.hide()}function n(e,t){var n=e.getHours();var i=t.show24Hours?n:(n+11)%12+1;var s=e.getMinutes();return r(i)+t.separator+r(s)+(t.show24Hours?"":n<12?" AM":" PM")}function r(e){return(e<10?"0":"")+e}function i(e,t){return typeof e=="object"?o(e):s(e,t)}function s(e,t){if(e){var n=e.split(t.separator);var r=parseFloat(n[0]);var i=parseFloat(n[1]);if(!t.show24Hours){if(r===12&&e.indexOf("AM")!==-1){r=0}else if(r!==12&&e.indexOf("PM")!==-1){r+=12}}var s=new Date(0,0,0,r,i,0);return o(s)}return null}function o(e){e.setFullYear(2001);e.setMonth(0);e.setDate(0);return e}e.fn.timePicker=function(t){var n=e.extend({},e.fn.timePicker.defaults,t);return this.each(function(){e.timePicker(this,n)})};e.timePicker=function(t,n){var r=e(t)[0];return r.timePicker||(r.timePicker=new jQuery._timePicker(r,n))};e.timePicker.version="0.3";e._timePicker=function(r,u){var a=false;var f=false;var l=i(u.startTime,u);var c=i(u.endTime,u);var h="selected";var p="li."+h;e(r).attr("autocomplete","OFF");var d=[];var v=new Date(l);while(v<=c){d[d.length]=n(v,u);v=new Date(v.setMinutes(v.getMinutes()+u.step))}var m=e('<div class="time-picker'+(u.show24Hours?"":" time-picker-12hours")+'"></div>');var g=e("<ul></ul>");for(var y=0;y<d.length;y++){g.append("<li>"+d[y]+"</li>")}m.append(g);m.appendTo("body").hide();m.mouseover(function(){a=true}).mouseout(function(){a=false});e("li",g).mouseover(function(){if(!f){e(p,m).removeClass(h);e(this).addClass(h)}}).mousedown(function(){a=true}).click(function(){t(r,this,m,u);a=false});var b=function(){if(m.is(":visible")){return false}e("li",m).removeClass(h);var t=e(r).offset();m.css({top:t.top+r.offsetHeight,left:t.left});m.show();var i=r.value?s(r.value,u):l;var a=l.getHours()*60+l.getMinutes();var f=i.getHours()*60+i.getMinutes()-a;var p=Math.round(f/u.step);var d=o(new Date(0,0,0,0,p*u.step+a,0));d=l<d&&d<=c?d:l;var v=e("li:contains("+n(d,u)+")",m);if(v.length){v.addClass(h);m[0].scrollTop=v[0].offsetTop}return true};e(r).focus(b).click(b);e(r).blur(function(){if(!a){m.hide()}});e(r)["keydown"](function(n){var i;f=true;var s=m[0].scrollTop;switch(n.keyCode){case 38:if(b()){return false}i=e(p,g);var o=i.prev().addClass(h)[0];if(o){i.removeClass(h);if(o.offsetTop<s){m[0].scrollTop=s-o.offsetHeight}}else{i.removeClass(h);o=e("li:last",g).addClass(h)[0];m[0].scrollTop=o.offsetTop-o.offsetHeight}return false;break;case 40:if(b()){return false}i=e(p,g);var a=i.next().addClass(h)[0];if(a){i.removeClass(h);if(a.offsetTop+a.offsetHeight>s+m[0].offsetHeight){m[0].scrollTop=s+a.offsetHeight}}else{i.removeClass(h);a=e("li:first",g).addClass(h)[0];m[0].scrollTop=0}return false;break;case 13:if(m.is(":visible")){var l=e(p,g)[0];t(r,l,m,u)}return false;break;case 27:m.hide();return false;break}return true});e(r).keyup(function(e){f=false});this.getTime=function(){return s(r.value,u)};this.setTime=function(t){r.value=n(i(t,u),u);e(r).change()}};e.fn.timePicker.defaults={step:30,startTime:new Date(0,0,0,0,0,0),endTime:new Date(0,0,0,23,30,0),separator:":",show24Hours:true}})(jQuery)
includes/js/i18n/jquery-ui-i18n.js DELETED
@@ -1,1199 +0,0 @@
1
- /* Afrikaans initialisation for the jQuery UI date picker plugin. */
2
- /* Written by Renier Pretorius. */
3
- jQuery(function($){
4
- $.datepicker.regional['af'] = {
5
- closeText: 'Selekteer',
6
- prevText: 'Vorige',
7
- nextText: 'Volgende',
8
- currentText: 'Vandag',
9
- monthNames: ['Januarie','Februarie','Maart','April','Mei','Junie',
10
- 'Julie','Augustus','September','Oktober','November','Desember'],
11
- monthNamesShort: ['Jan', 'Feb', 'Mrt', 'Apr', 'Mei', 'Jun',
12
- 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Des'],
13
- dayNames: ['Sondag', 'Maandag', 'Dinsdag', 'Woensdag', 'Donderdag', 'Vrydag', 'Saterdag'],
14
- dayNamesShort: ['Son', 'Maa', 'Din', 'Woe', 'Don', 'Vry', 'Sat'],
15
- dayNamesMin: ['So','Ma','Di','Wo','Do','Vr','Sa'],
16
- weekHeader: 'Wk',
17
- dateFormat: 'dd/mm/yy',
18
- firstDay: 1,
19
- isRTL: false,
20
- showMonthAfterYear: false,
21
- yearSuffix: ''};
22
- $.datepicker.setDefaults($.datepicker.regional['af']);
23
- });
24
- /* Arabic Translation for jQuery UI date picker plugin. */
25
- /* Khaled Al Horani -- koko.dw@gmail.com */
26
- /* خالد الحوراني -- koko.dw@gmail.com */
27
- /* NOTE: monthNames are the original months names and they are the Arabic names, not the new months name فبراير - يناير and there isn't any Arabic roots for these months */
28
- jQuery(function($){
29
- $.datepicker.regional['ar'] = {
30
- closeText: 'إغلاق',
31
- prevText: '&#x3c;السابق',
32
- nextText: 'التالي&#x3e;',
33
- currentText: 'اليوم',
34
- monthNames: ['كانون الثاني', 'شباط', 'آذار', 'نيسان', 'آذار', 'حزيران',
35
- 'تموز', 'آب', 'أيلول', 'تشرين الأول', 'تشرين الثاني', 'كانون الأول'],
36
- monthNamesShort: ['1','2','3','4','5','6','7','8','9','10','11','12'],
37
- dayNames: ['السبت', 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة'],
38
- dayNamesShort: ['سبت', 'أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة'],
39
- dayNamesMin: ['سبت', 'أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة'],
40
- weekHeader: 'أسبوع',
41
- dateFormat: 'dd/mm/yy',
42
- firstDay: 0,
43
- isRTL: true,
44
- showMonthAfterYear: false,
45
- yearSuffix: ''};
46
- $.datepicker.setDefaults($.datepicker.regional['ar']);
47
- });/* Azerbaijani (UTF-8) initialisation for the jQuery UI date picker plugin. */
48
- /* Written by Jamil Najafov (necefov33@gmail.com). */
49
- jQuery(function($) {
50
- $.datepicker.regional['az'] = {
51
- closeText: 'Bağla',
52
- prevText: '&#x3c;Geri',
53
- nextText: 'İrəli&#x3e;',
54
- currentText: 'Bugün',
55
- monthNames: ['Yanvar','Fevral','Mart','Aprel','May','İyun',
56
- 'İyul','Avqust','Sentyabr','Oktyabr','Noyabr','Dekabr'],
57
- monthNamesShort: ['Yan','Fev','Mar','Apr','May','İyun',
58
- 'İyul','Avq','Sen','Okt','Noy','Dek'],
59
- dayNames: ['Bazar','Bazar ertəsi','Çərşənbə axşamı','Çərşənbə','Cümə axşamı','Cümə','Şənbə'],
60
- dayNamesShort: ['B','Be','Ça','Ç','Ca','C','Ş'],
61
- dayNamesMin: ['B','B','Ç','С','Ç','C','Ş'],
62
- weekHeader: 'Hf',
63
- dateFormat: 'dd.mm.yy',
64
- firstDay: 1,
65
- isRTL: false,
66
- showMonthAfterYear: false,
67
- yearSuffix: ''};
68
- $.datepicker.setDefaults($.datepicker.regional['az']);
69
- });/* Bulgarian initialisation for the jQuery UI date picker plugin. */
70
- /* Written by Stoyan Kyosev (http://svest.org). */
71
- jQuery(function($){
72
- $.datepicker.regional['bg'] = {
73
- closeText: 'затвори',
74
- prevText: '&#x3c;назад',
75
- nextText: 'напред&#x3e;',
76
- nextBigText: '&#x3e;&#x3e;',
77
- currentText: 'днес',
78
- monthNames: ['Януари','Февруари','Март','Април','Май','Юни',
79
- 'Юли','Август','Септември','Октомври','Ноември','Декември'],
80
- monthNamesShort: ['Яну','Фев','Мар','Апр','Май','Юни',
81
- 'Юли','Авг','Сеп','Окт','Нов','Дек'],
82
- dayNames: ['Неделя','Понеделник','Вторник','Сряда','Четвъртък','Петък','Събота'],
83
- dayNamesShort: ['Нед','Пон','Вто','Сря','Чет','Пет','Съб'],
84
- dayNamesMin: ['Не','По','Вт','Ср','Че','Пе','Съ'],
85
- weekHeader: 'Wk',
86
- dateFormat: 'dd.mm.yy',
87
- firstDay: 1,
88
- isRTL: false,
89
- showMonthAfterYear: false,
90
- yearSuffix: ''};
91
- $.datepicker.setDefaults($.datepicker.regional['bg']);
92
- });
93
- /* Bosnian i18n for the jQuery UI date picker plugin. */
94
- /* Written by Kenan Konjo. */
95
- jQuery(function($){
96
- $.datepicker.regional['bs'] = {
97
- closeText: 'Zatvori',
98
- prevText: '&#x3c;',
99
- nextText: '&#x3e;',
100
- currentText: 'Danas',
101
- monthNames: ['Januar','Februar','Mart','April','Maj','Juni',
102
- 'Juli','August','Septembar','Oktobar','Novembar','Decembar'],
103
- monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun',
104
- 'Jul','Aug','Sep','Okt','Nov','Dec'],
105
- dayNames: ['Nedelja','Ponedeljak','Utorak','Srijeda','Četvrtak','Petak','Subota'],
106
- dayNamesShort: ['Ned','Pon','Uto','Sri','Čet','Pet','Sub'],
107
- dayNamesMin: ['Ne','Po','Ut','Sr','Če','Pe','Su'],
108
- weekHeader: 'Wk',
109
- dateFormat: 'dd.mm.yy',
110
- firstDay: 1,
111
- isRTL: false,
112
- showMonthAfterYear: false,
113
- yearSuffix: ''};
114
- $.datepicker.setDefaults($.datepicker.regional['bs']);
115
- });/* Inicialització en català per a l'extenció 'calendar' per jQuery. */
116
- /* Writers: (joan.leon@gmail.com). */
117
- jQuery(function($){
118
- $.datepicker.regional['ca'] = {
119
- closeText: 'Tancar',
120
- prevText: '&#x3c;Ant',
121
- nextText: 'Seg&#x3e;',
122
- currentText: 'Avui',
123
- monthNames: ['Gener','Febrer','Mar&ccedil;','Abril','Maig','Juny',
124
- 'Juliol','Agost','Setembre','Octubre','Novembre','Desembre'],
125
- monthNamesShort: ['Gen','Feb','Mar','Abr','Mai','Jun',
126
- 'Jul','Ago','Set','Oct','Nov','Des'],
127
- dayNames: ['Diumenge','Dilluns','Dimarts','Dimecres','Dijous','Divendres','Dissabte'],
128
- dayNamesShort: ['Dug','Dln','Dmt','Dmc','Djs','Dvn','Dsb'],
129
- dayNamesMin: ['Dg','Dl','Dt','Dc','Dj','Dv','Ds'],
130
- weekHeader: 'Sm',
131
- dateFormat: 'dd/mm/yy',
132
- firstDay: 1,
133
- isRTL: false,
134
- showMonthAfterYear: false,
135
- yearSuffix: ''};
136
- $.datepicker.setDefaults($.datepicker.regional['ca']);
137
- });/* Czech initialisation for the jQuery UI date picker plugin. */
138
- /* Written by Tomas Muller (tomas@tomas-muller.net). */
139
- jQuery(function($){
140
- $.datepicker.regional['cs'] = {
141
- closeText: 'Zavřít',
142
- prevText: '&#x3c;Dříve',
143
- nextText: 'Později&#x3e;',
144
- currentText: 'Nyní',
145
- monthNames: ['leden','únor','březen','duben','květen','červen',
146
- 'červenec','srpen','září','říjen','listopad','prosinec'],
147
- monthNamesShort: ['led','úno','bře','dub','kvě','čer',
148
- 'čvc','srp','zář','říj','lis','pro'],
149
- dayNames: ['neděle', 'pondělí', 'úterý', 'středa', 'čtvrtek', 'pátek', 'sobota'],
150
- dayNamesShort: ['ne', 'po', 'út', 'st', 'čt', 'pá', 'so'],
151
- dayNamesMin: ['ne','po','út','st','čt','pá','so'],
152
- weekHeader: 'Týd',
153
- dateFormat: 'dd.mm.yy',
154
- firstDay: 1,
155
- isRTL: false,
156
- showMonthAfterYear: false,
157
- yearSuffix: ''};
158
- $.datepicker.setDefaults($.datepicker.regional['cs']);
159
- });
160
- /* Danish initialisation for the jQuery UI date picker plugin. */
161
- /* Written by Jan Christensen ( deletestuff@gmail.com). */
162
- jQuery(function($){
163
- $.datepicker.regional['da'] = {
164
- closeText: 'Luk',
165
- prevText: '&#x3c;Forrige',
166
- nextText: 'Næste&#x3e;',
167
- currentText: 'Idag',
168
- monthNames: ['Januar','Februar','Marts','April','Maj','Juni',
169
- 'Juli','August','September','Oktober','November','December'],
170
- monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun',
171
- 'Jul','Aug','Sep','Okt','Nov','Dec'],
172
- dayNames: ['Søndag','Mandag','Tirsdag','Onsdag','Torsdag','Fredag','Lørdag'],
173
- dayNamesShort: ['Søn','Man','Tir','Ons','Tor','Fre','Lør'],
174
- dayNamesMin: ['Sø','Ma','Ti','On','To','Fr','Lø'],
175
- weekHeader: 'Uge',
176
- dateFormat: 'dd-mm-yy',
177
- firstDay: 1,
178
- isRTL: false,
179
- showMonthAfterYear: false,
180
- yearSuffix: ''};
181
- $.datepicker.setDefaults($.datepicker.regional['da']);
182
- });
183
- /* German initialisation for the jQuery UI date picker plugin. */
184
- /* Written by Milian Wolff (mail@milianw.de). */
185
- jQuery(function($){
186
- $.datepicker.regional['de'] = {
187
- closeText: 'schließen',
188
- prevText: '&#x3c;zurück',
189
- nextText: 'Vor&#x3e;',
190
- currentText: 'heute',
191
- monthNames: ['Januar','Februar','März','April','Mai','Juni',
192
- 'Juli','August','September','Oktober','November','Dezember'],
193
- monthNamesShort: ['Jan','Feb','Mär','Apr','Mai','Jun',
194
- 'Jul','Aug','Sep','Okt','Nov','Dez'],
195
- dayNames: ['Sonntag','Montag','Dienstag','Mittwoch','Donnerstag','Freitag','Samstag'],
196
- dayNamesShort: ['So','Mo','Di','Mi','Do','Fr','Sa'],
197
- dayNamesMin: ['So','Mo','Di','Mi','Do','Fr','Sa'],
198
- weekHeader: 'Wo',
199
- dateFormat: 'dd.mm.yy',
200
- firstDay: 1,
201
- isRTL: false,
202
- showMonthAfterYear: false,
203
- yearSuffix: ''};
204
- $.datepicker.setDefaults($.datepicker.regional['de']);
205
- });
206
- /* Greek (el) initialisation for the jQuery UI date picker plugin. */
207
- /* Written by Alex Cicovic (http://www.alexcicovic.com) */
208
- jQuery(function($){
209
- $.datepicker.regional['el'] = {
210
- closeText: 'Κλείσιμο',
211
- prevText: 'Προηγούμενος',
212
- nextText: 'Επόμενος',
213
- currentText: 'Τρέχων Μήνας',
214
- monthNames: ['Ιανουάριος','Φεβρουάριος','Μάρτιος','Απρίλιος','Μάιος','Ιούνιος',
215
- 'Ιούλιος','Αύγουστος','Σεπτέμβριος','Οκτώβριος','Νοέμβριος','Δεκέμβριος'],
216
- monthNamesShort: ['Ιαν','Φεβ','Μαρ','Απρ','Μαι','Ιουν',
217
- 'Ιουλ','Αυγ','Σεπ','Οκτ','Νοε','Δεκ'],
218
- dayNames: ['Κυριακή','Δευτέρα','Τρίτη','Τετάρτη','Πέμπτη','Παρασκευή','Σάββατο'],
219
- dayNamesShort: ['Κυρ','Δευ','Τρι','Τετ','Πεμ','Παρ','Σαβ'],
220
- dayNamesMin: ['Κυ','Δε','Τρ','Τε','Πε','Πα','Σα'],
221
- weekHeader: 'Εβδ',
222
- dateFormat: 'dd/mm/yy',
223
- firstDay: 1,
224
- isRTL: false,
225
- showMonthAfterYear: false,
226
- yearSuffix: ''};
227
- $.datepicker.setDefaults($.datepicker.regional['el']);
228
- });/* English/UK initialisation for the jQuery UI date picker plugin. */
229
- /* Written by Stuart. */
230
- jQuery(function($){
231
- $.datepicker.regional['en-GB'] = {
232
- closeText: 'Done',
233
- prevText: 'Prev',
234
- nextText: 'Next',
235
- currentText: 'Today',
236
- monthNames: ['January','February','March','April','May','June',
237
- 'July','August','September','October','November','December'],
238
- monthNamesShort: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun',
239
- 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
240
- dayNames: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
241
- dayNamesShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
242
- dayNamesMin: ['Su','Mo','Tu','We','Th','Fr','Sa'],
243
- weekHeader: 'Wk',
244
- dateFormat: 'dd/mm/yy',
245
- firstDay: 1,
246
- isRTL: false,
247
- showMonthAfterYear: false,
248
- yearSuffix: ''};
249
- $.datepicker.setDefaults($.datepicker.regional['en-GB']);
250
- });
251
- /* Esperanto initialisation for the jQuery UI date picker plugin. */
252
- /* Written by Olivier M. (olivierweb@ifrance.com). */
253
- jQuery(function($){
254
- $.datepicker.regional['eo'] = {
255
- closeText: 'Fermi',
256
- prevText: '&lt;Anta',
257
- nextText: 'Sekv&gt;',
258
- currentText: 'Nuna',
259
- monthNames: ['Januaro','Februaro','Marto','Aprilo','Majo','Junio',
260
- 'Julio','Aŭgusto','Septembro','Oktobro','Novembro','Decembro'],
261
- monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun',
262
- 'Jul','Aŭg','Sep','Okt','Nov','Dec'],
263
- dayNames: ['Dimanĉo','Lundo','Mardo','Merkredo','Ĵaŭdo','Vendredo','Sabato'],
264
- dayNamesShort: ['Dim','Lun','Mar','Mer','Ĵaŭ','Ven','Sab'],
265
- dayNamesMin: ['Di','Lu','Ma','Me','Ĵa','Ve','Sa'],
266
- weekHeader: 'Sb',
267
- dateFormat: 'dd/mm/yy',
268
- firstDay: 0,
269
- isRTL: false,
270
- showMonthAfterYear: false,
271
- yearSuffix: ''};
272
- $.datepicker.setDefaults($.datepicker.regional['eo']);
273
- });
274
- /* Inicialización en español para la extensión 'UI date picker' para jQuery. */
275
- /* Traducido por Vester (xvester@gmail.com). */
276
- jQuery(function($){
277
- $.datepicker.regional['es'] = {
278
- closeText: 'Cerrar',
279
- prevText: '&#x3c;Ant',
280
- nextText: 'Sig&#x3e;',
281
- currentText: 'Hoy',
282
- monthNames: ['Enero','Febrero','Marzo','Abril','Mayo','Junio',
283
- 'Julio','Agosto','Septiembre','Octubre','Noviembre','Diciembre'],
284
- monthNamesShort: ['Ene','Feb','Mar','Abr','May','Jun',
285
- 'Jul','Ago','Sep','Oct','Nov','Dic'],
286
- dayNames: ['Domingo','Lunes','Martes','Mi&eacute;rcoles','Jueves','Viernes','S&aacute;bado'],
287
- dayNamesShort: ['Dom','Lun','Mar','Mi&eacute;','Juv','Vie','S&aacute;b'],
288
- dayNamesMin: ['Do','Lu','Ma','Mi','Ju','Vi','S&aacute;'],
289
- weekHeader: 'Sm',
290
- dateFormat: 'dd/mm/yy',
291
- firstDay: 1,
292
- isRTL: false,
293
- showMonthAfterYear: false,
294
- yearSuffix: ''};
295
- $.datepicker.setDefaults($.datepicker.regional['es']);
296
- });/* Estonian initialisation for the jQuery UI date picker plugin. */
297
- /* Written by Mart Sõmermaa (mrts.pydev at gmail com). */
298
- jQuery(function($){
299
- $.datepicker.regional['et'] = {
300
- closeText: 'Sulge',
301
- prevText: 'Eelnev',
302
- nextText: 'Järgnev',
303
- currentText: 'Täna',
304
- monthNames: ['Jaanuar','Veebruar','Märts','Aprill','Mai','Juuni',
305
- 'Juuli','August','September','Oktoober','November','Detsember'],
306
- monthNamesShort: ['Jaan', 'Veebr', 'Märts', 'Apr', 'Mai', 'Juuni',
307
- 'Juuli', 'Aug', 'Sept', 'Okt', 'Nov', 'Dets'],
308
- dayNames: ['Pühapäev', 'Esmaspäev', 'Teisipäev', 'Kolmapäev', 'Neljapäev', 'Reede', 'Laupäev'],
309
- dayNamesShort: ['Pühap', 'Esmasp', 'Teisip', 'Kolmap', 'Neljap', 'Reede', 'Laup'],
310
- dayNamesMin: ['P','E','T','K','N','R','L'],
311
- weekHeader: 'Sm',
312
- dateFormat: 'dd.mm.yy',
313
- firstDay: 1,
314
- isRTL: false,
315
- showMonthAfterYear: false,
316
- yearSuffix: ''};
317
- $.datepicker.setDefaults($.datepicker.regional['et']);
318
- }); /* Euskarako oinarria 'UI date picker' jquery-ko extentsioarentzat */
319
- /* Karrikas-ek itzulia (karrikas@karrikas.com) */
320
- jQuery(function($){
321
- $.datepicker.regional['eu'] = {
322
- closeText: 'Egina',
323
- prevText: '&#x3c;Aur',
324
- nextText: 'Hur&#x3e;',
325
- currentText: 'Gaur',
326
- monthNames: ['Urtarrila','Otsaila','Martxoa','Apirila','Maiatza','Ekaina',
327
- 'Uztaila','Abuztua','Iraila','Urria','Azaroa','Abendua'],
328
- monthNamesShort: ['Urt','Ots','Mar','Api','Mai','Eka',
329
- 'Uzt','Abu','Ira','Urr','Aza','Abe'],
330
- dayNames: ['Igandea','Astelehena','Asteartea','Asteazkena','Osteguna','Ostirala','Larunbata'],
331
- dayNamesShort: ['Iga','Ast','Ast','Ast','Ost','Ost','Lar'],
332
- dayNamesMin: ['Ig','As','As','As','Os','Os','La'],
333
- weekHeader: 'Wk',
334
- dateFormat: 'yy/mm/dd',
335
- firstDay: 1,
336
- isRTL: false,
337
- showMonthAfterYear: false,
338
- yearSuffix: ''};
339
- $.datepicker.setDefaults($.datepicker.regional['eu']);
340
- });/* Persian (Farsi) Translation for the jQuery UI date picker plugin. */
341
- /* Javad Mowlanezhad -- jmowla@gmail.com */
342
- /* Jalali calendar should supported soon! (Its implemented but I have to test it) */
343
- jQuery(function($) {
344
- $.datepicker.regional['fa'] = {
345
- closeText: 'بستن',
346
- prevText: '&#x3c;قبلي',
347
- nextText: 'بعدي&#x3e;',
348
- currentText: 'امروز',
349
- monthNames: ['فروردين','ارديبهشت','خرداد','تير','مرداد','شهريور',
350
- 'مهر','آبان','آذر','دي','بهمن','اسفند'],
351
- monthNamesShort: ['1','2','3','4','5','6','7','8','9','10','11','12'],
352
- dayNames: ['يکشنبه','دوشنبه','سه‌شنبه','چهارشنبه','پنجشنبه','جمعه','شنبه'],
353
- dayNamesShort: ['ي','د','س','چ','پ','ج', 'ش'],
354
- dayNamesMin: ['ي','د','س','چ','پ','ج', 'ش'],
355
- weekHeader: 'هف',
356
- dateFormat: 'yy/mm/dd',
357
- firstDay: 6,
358
- isRTL: true,
359
- showMonthAfterYear: false,
360
- yearSuffix: ''};
361
- $.datepicker.setDefaults($.datepicker.regional['fa']);
362
- });/* Finnish initialisation for the jQuery UI date picker plugin. */
363
- /* Written by Harri Kilpi� (harrikilpio@gmail.com). */
364
- jQuery(function($){
365
- $.datepicker.regional['fi'] = {
366
- closeText: 'Sulje',
367
- prevText: '&laquo;Edellinen',
368
- nextText: 'Seuraava&raquo;',
369
- currentText: 'T&auml;n&auml;&auml;n',
370
- monthNames: ['Tammikuu','Helmikuu','Maaliskuu','Huhtikuu','Toukokuu','Kes&auml;kuu',
371
- 'Hein&auml;kuu','Elokuu','Syyskuu','Lokakuu','Marraskuu','Joulukuu'],
372
- monthNamesShort: ['Tammi','Helmi','Maalis','Huhti','Touko','Kes&auml;',
373
- 'Hein&auml;','Elo','Syys','Loka','Marras','Joulu'],
374
- dayNamesShort: ['Su','Ma','Ti','Ke','To','Pe','Su'],
375
- dayNames: ['Sunnuntai','Maanantai','Tiistai','Keskiviikko','Torstai','Perjantai','Lauantai'],
376
- dayNamesMin: ['Su','Ma','Ti','Ke','To','Pe','La'],
377
- weekHeader: 'Vk',
378
- dateFormat: 'dd.mm.yy',
379
- firstDay: 1,
380
- isRTL: false,
381
- showMonthAfterYear: false,
382
- yearSuffix: ''};
383
- $.datepicker.setDefaults($.datepicker.regional['fi']);
384
- });
385
- /* Faroese initialisation for the jQuery UI date picker plugin */
386
- /* Written by Sverri Mohr Olsen, sverrimo@gmail.com */
387
- jQuery(function($){
388
- $.datepicker.regional['fo'] = {
389
- closeText: 'Lat aftur',
390
- prevText: '&#x3c;Fyrra',
391
- nextText: 'Næsta&#x3e;',
392
- currentText: 'Í dag',
393
- monthNames: ['Januar','Februar','Mars','Apríl','Mei','Juni',
394
- 'Juli','August','September','Oktober','November','Desember'],
395
- monthNamesShort: ['Jan','Feb','Mar','Apr','Mei','Jun',
396
- 'Jul','Aug','Sep','Okt','Nov','Des'],
397
- dayNames: ['Sunnudagur','Mánadagur','Týsdagur','Mikudagur','Hósdagur','Fríggjadagur','Leyardagur'],
398
- dayNamesShort: ['Sun','Mán','Týs','Mik','Hós','Frí','Ley'],
399
- dayNamesMin: ['Su','Má','Tý','Mi','Hó','Fr','Le'],
400
- weekHeader: 'Vk',
401
- dateFormat: 'dd-mm-yy',
402
- firstDay: 0,
403
- isRTL: false,
404
- showMonthAfterYear: false,
405
- yearSuffix: ''};
406
- $.datepicker.setDefaults($.datepicker.regional['fo']);
407
- });
408
- /* Swiss-French initialisation for the jQuery UI date picker plugin. */
409
- /* Written Martin Voelkle (martin.voelkle@e-tc.ch). */
410
- jQuery(function($){
411
- $.datepicker.regional['fr-CH'] = {
412
- closeText: 'Fermer',
413
- prevText: '&#x3c;Préc',
414
- nextText: 'Suiv&#x3e;',
415
- currentText: 'Courant',
416
- monthNames: ['Janvier','Février','Mars','Avril','Mai','Juin',
417
- 'Juillet','Août','Septembre','Octobre','Novembre','Décembre'],
418
- monthNamesShort: ['Jan','Fév','Mar','Avr','Mai','Jun',
419
- 'Jul','Aoû','Sep','Oct','Nov','Déc'],
420
- dayNames: ['Dimanche','Lundi','Mardi','Mercredi','Jeudi','Vendredi','Samedi'],
421
- dayNamesShort: ['Dim','Lun','Mar','Mer','Jeu','Ven','Sam'],
422
- dayNamesMin: ['Di','Lu','Ma','Me','Je','Ve','Sa'],
423
- weekHeader: 'Sm',
424
- dateFormat: 'dd.mm.yy',
425
- firstDay: 1,
426
- isRTL: false,
427
- showMonthAfterYear: false,
428
- yearSuffix: ''};
429
- $.datepicker.setDefaults($.datepicker.regional['fr-CH']);
430
- });/* French initialisation for the jQuery UI date picker plugin. */
431
- /* Written by Keith Wood (kbwood{at}iinet.com.au) and Stéphane Nahmani (sholby@sholby.net). */
432
- jQuery(function($){
433
- $.datepicker.regional['fr'] = {
434
- closeText: 'Fermer',
435
- prevText: '&#x3c;Préc',
436
- nextText: 'Suiv&#x3e;',
437
- currentText: 'Courant',
438
- monthNames: ['Janvier','Février','Mars','Avril','Mai','Juin',
439
- 'Juillet','Août','Septembre','Octobre','Novembre','Décembre'],
440
- monthNamesShort: ['Jan','Fév','Mar','Avr','Mai','Jun',
441
- 'Jul','Aoû','Sep','Oct','Nov','Déc'],
442
- dayNames: ['Dimanche','Lundi','Mardi','Mercredi','Jeudi','Vendredi','Samedi'],
443
- dayNamesShort: ['Dim','Lun','Mar','Mer','Jeu','Ven','Sam'],
444
- dayNamesMin: ['Di','Lu','Ma','Me','Je','Ve','Sa'],
445
- weekHeader: 'Sm',
446
- dateFormat: 'dd/mm/yy',
447
- firstDay: 1,
448
- isRTL: false,
449
- showMonthAfterYear: false,
450
- yearSuffix: ''};
451
- $.datepicker.setDefaults($.datepicker.regional['fr']);
452
- });/* Hebrew initialisation for the UI Datepicker extension. */
453
- /* Written by Amir Hardon (ahardon at gmail dot com). */
454
- jQuery(function($){
455
- $.datepicker.regional['he'] = {
456
- closeText: 'סגור',
457
- prevText: '&#x3c;הקודם',
458
- nextText: 'הבא&#x3e;',
459
- currentText: 'היום',
460
- monthNames: ['ינואר','פברואר','מרץ','אפריל','מאי','יוני',
461
- 'יולי','אוגוסט','ספטמבר','אוקטובר','נובמבר','דצמבר'],
462
- monthNamesShort: ['1','2','3','4','5','6',
463
- '7','8','9','10','11','12'],
464
- dayNames: ['ראשון','שני','שלישי','רביעי','חמישי','שישי','שבת'],
465
- dayNamesShort: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'],
466
- dayNamesMin: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'],
467
- weekHeader: 'Wk',
468
- dateFormat: 'dd/mm/yy',
469
- firstDay: 0,
470
- isRTL: true,
471
- showMonthAfterYear: false,
472
- yearSuffix: ''};
473
- $.datepicker.setDefaults($.datepicker.regional['he']);
474
- });
475
- /* Croatian i18n for the jQuery UI date picker plugin. */
476
- /* Written by Vjekoslav Nesek. */
477
- jQuery(function($){
478
- $.datepicker.regional['hr'] = {
479
- closeText: 'Zatvori',
480
- prevText: '&#x3c;',
481
- nextText: '&#x3e;',
482
- currentText: 'Danas',
483
- monthNames: ['Siječanj','Veljača','Ožujak','Travanj','Svibanj','Lipanj',
484
- 'Srpanj','Kolovoz','Rujan','Listopad','Studeni','Prosinac'],
485
- monthNamesShort: ['Sij','Velj','Ožu','Tra','Svi','Lip',
486
- 'Srp','Kol','Ruj','Lis','Stu','Pro'],
487
- dayNames: ['Nedjelja','Ponedjeljak','Utorak','Srijeda','Četvrtak','Petak','Subota'],
488
- dayNamesShort: ['Ned','Pon','Uto','Sri','Čet','Pet','Sub'],
489
- dayNamesMin: ['Ne','Po','Ut','Sr','Če','Pe','Su'],
490
- weekHeader: 'Tje',
491
- dateFormat: 'dd.mm.yy.',
492
- firstDay: 1,
493
- isRTL: false,
494
- showMonthAfterYear: false,
495
- yearSuffix: ''};
496
- $.datepicker.setDefaults($.datepicker.regional['hr']);
497
- });/* Hungarian initialisation for the jQuery UI date picker plugin. */
498
- /* Written by Istvan Karaszi (jquery@spam.raszi.hu). */
499
- jQuery(function($){
500
- $.datepicker.regional['hu'] = {
501
- closeText: 'bezárás',
502
- prevText: '&laquo;&nbsp;vissza',
503
- nextText: 'előre&nbsp;&raquo;',
504
- currentText: 'ma',
505
- monthNames: ['Január', 'Február', 'Március', 'Április', 'Május', 'Június',
506
- 'Július', 'Augusztus', 'Szeptember', 'Október', 'November', 'December'],
507
- monthNamesShort: ['Jan', 'Feb', 'Már', 'Ápr', 'Máj', 'Jún',
508
- 'Júl', 'Aug', 'Szep', 'Okt', 'Nov', 'Dec'],
509
- dayNames: ['Vasárnap', 'Hétfö', 'Kedd', 'Szerda', 'Csütörtök', 'Péntek', 'Szombat'],
510
- dayNamesShort: ['Vas', 'Hét', 'Ked', 'Sze', 'Csü', 'Pén', 'Szo'],
511
- dayNamesMin: ['V', 'H', 'K', 'Sze', 'Cs', 'P', 'Szo'],
512
- weekHeader: 'Hé',
513
- dateFormat: 'yy-mm-dd',
514
- firstDay: 1,
515
- isRTL: false,
516
- showMonthAfterYear: false,
517
- yearSuffix: ''};
518
- $.datepicker.setDefaults($.datepicker.regional['hu']);
519
- });
520
- /* Armenian(UTF-8) initialisation for the jQuery UI date picker plugin. */
521
- /* Written by Levon Zakaryan (levon.zakaryan@gmail.com)*/
522
- jQuery(function($){
523
- $.datepicker.regional['hy'] = {
524
- closeText: 'Փակել',
525
- prevText: '&#x3c;Նախ.',
526
- nextText: 'Հաջ.&#x3e;',
527
- currentText: 'Այսօր',
528
- monthNames: ['Հունվար','Փետրվար','Մարտ','Ապրիլ','Մայիս','Հունիս',
529
- 'Հուլիս','Օգոստոս','Սեպտեմբեր','Հոկտեմբեր','Նոյեմբեր','Դեկտեմբեր'],
530
- monthNamesShort: ['Հունվ','Փետր','Մարտ','Ապր','Մայիս','Հունիս',
531
- 'Հուլ','Օգս','Սեպ','Հոկ','Նոյ','Դեկ'],
532
- dayNames: ['կիրակի','եկուշաբթի','երեքշաբթի','չորեքշաբթի','հինգշաբթի','ուրբաթ','շաբաթ'],
533
- dayNamesShort: ['կիր','երկ','երք','չրք','հնգ','ուրբ','շբթ'],
534
- dayNamesMin: ['կիր','երկ','երք','չրք','հնգ','ուրբ','շբթ'],
535
- weekHeader: 'ՇԲՏ',
536
- dateFormat: 'dd.mm.yy',
537
- firstDay: 1,
538
- isRTL: false,
539
- showMonthAfterYear: false,
540
- yearSuffix: ''};
541
- $.datepicker.setDefaults($.datepicker.regional['hy']);
542
- });/* Indonesian initialisation for the jQuery UI date picker plugin. */
543
- /* Written by Deden Fathurahman (dedenf@gmail.com). */
544
- jQuery(function($){
545
- $.datepicker.regional['id'] = {
546
- closeText: 'Tutup',
547
- prevText: '&#x3c;mundur',
548
- nextText: 'maju&#x3e;',
549
- currentText: 'hari ini',
550
- monthNames: ['Januari','Februari','Maret','April','Mei','Juni',
551
- 'Juli','Agustus','September','Oktober','Nopember','Desember'],
552
- monthNamesShort: ['Jan','Feb','Mar','Apr','Mei','Jun',
553
- 'Jul','Agus','Sep','Okt','Nop','Des'],
554
- dayNames: ['Minggu','Senin','Selasa','Rabu','Kamis','Jumat','Sabtu'],
555
- dayNamesShort: ['Min','Sen','Sel','Rab','kam','Jum','Sab'],
556
- dayNamesMin: ['Mg','Sn','Sl','Rb','Km','jm','Sb'],
557
- weekHeader: 'Mg',
558
- dateFormat: 'dd/mm/yy',
559
- firstDay: 0,
560
- isRTL: false,
561
- showMonthAfterYear: false,
562
- yearSuffix: ''};
563
- $.datepicker.setDefaults($.datepicker.regional['id']);
564
- });/* Icelandic initialisation for the jQuery UI date picker plugin. */
565
- /* Written by Haukur H. Thorsson (haukur@eskill.is). */
566
- jQuery(function($){
567
- $.datepicker.regional['is'] = {
568
- closeText: 'Loka',
569
- prevText: '&#x3c; Fyrri',
570
- nextText: 'N&aelig;sti &#x3e;',
571
- currentText: '&Iacute; dag',
572
- monthNames: ['Jan&uacute;ar','Febr&uacute;ar','Mars','Apr&iacute;l','Ma&iacute','J&uacute;n&iacute;',
573
- 'J&uacute;l&iacute;','&Aacute;g&uacute;st','September','Okt&oacute;ber','N&oacute;vember','Desember'],
574
- monthNamesShort: ['Jan','Feb','Mar','Apr','Ma&iacute;','J&uacute;n',
575
- 'J&uacute;l','&Aacute;g&uacute;','Sep','Okt','N&oacute;v','Des'],
576
- dayNames: ['Sunnudagur','M&aacute;nudagur','&THORN;ri&eth;judagur','Mi&eth;vikudagur','Fimmtudagur','F&ouml;studagur','Laugardagur'],
577
- dayNamesShort: ['Sun','M&aacute;n','&THORN;ri','Mi&eth;','Fim','F&ouml;s','Lau'],
578
- dayNamesMin: ['Su','M&aacute;','&THORN;r','Mi','Fi','F&ouml;','La'],
579
- weekHeader: 'Vika',
580
- dateFormat: 'dd/mm/yy',
581
- firstDay: 0,
582
- isRTL: false,
583
- showMonthAfterYear: false,
584
- yearSuffix: ''};
585
- $.datepicker.setDefaults($.datepicker.regional['is']);
586
- });/* Italian initialisation for the jQuery UI date picker plugin. */
587
- /* Written by Antonello Pasella (antonello.pasella@gmail.com). */
588
- jQuery(function($){
589
- $.datepicker.regional['it'] = {
590
- closeText: 'Chiudi',
591
- prevText: '&#x3c;Prec',
592
- nextText: 'Succ&#x3e;',
593
- currentText: 'Oggi',
594
- monthNames: ['Gennaio','Febbraio','Marzo','Aprile','Maggio','Giugno',
595
- 'Luglio','Agosto','Settembre','Ottobre','Novembre','Dicembre'],
596
- monthNamesShort: ['Gen','Feb','Mar','Apr','Mag','Giu',
597
- 'Lug','Ago','Set','Ott','Nov','Dic'],
598
- dayNames: ['Domenica','Luned&#236','Marted&#236','Mercoled&#236','Gioved&#236','Venerd&#236','Sabato'],
599
- dayNamesShort: ['Dom','Lun','Mar','Mer','Gio','Ven','Sab'],
600
- dayNamesMin: ['Do','Lu','Ma','Me','Gi','Ve','Sa'],
601
- weekHeader: 'Sm',
602
- dateFormat: 'dd/mm/yy',
603
- firstDay: 1,
604
- isRTL: false,
605
- showMonthAfterYear: false,
606
- yearSuffix: ''};
607
- $.datepicker.setDefaults($.datepicker.regional['it']);
608
- });
609
- /* Japanese initialisation for the jQuery UI date picker plugin. */
610
- /* Written by Kentaro SATO (kentaro@ranvis.com). */
611
- jQuery(function($){
612
- $.datepicker.regional['ja'] = {
613
- closeText: '閉じる',
614
- prevText: '&#x3c;前',
615
- nextText: '次&#x3e;',
616
- currentText: '今日',
617
- monthNames: ['1月','2月','3月','4月','5月','6月',
618
- '7月','8月','9月','10月','11月','12月'],
619
- monthNamesShort: ['1月','2月','3月','4月','5月','6月',
620
- '7月','8月','9月','10月','11月','12月'],
621
- dayNames: ['日曜日','月曜日','火曜日','水曜日','木曜日','金曜日','土曜日'],
622
- dayNamesShort: ['日','月','火','水','木','金','土'],
623
- dayNamesMin: ['日','月','火','水','木','金','土'],
624
- weekHeader: '週',
625
- dateFormat: 'yy/mm/dd',
626
- firstDay: 0,
627
- isRTL: false,
628
- showMonthAfterYear: true,
629
- yearSuffix: '年'};
630
- $.datepicker.setDefaults($.datepicker.regional['ja']);
631
- });/* Korean initialisation for the jQuery calendar extension. */
632
- /* Written by DaeKwon Kang (ncrash.dk@gmail.com). */
633
- jQuery(function($){
634
- $.datepicker.regional['ko'] = {
635
- closeText: '닫기',
636
- prevText: '이전달',
637
- nextText: '다음달',
638
- currentText: '오늘',
639
- monthNames: ['1월(JAN)','2월(FEB)','3월(MAR)','4월(APR)','5월(MAY)','6월(JUN)',
640
- '7월(JUL)','8월(AUG)','9월(SEP)','10월(OCT)','11월(NOV)','12월(DEC)'],
641
- monthNamesShort: ['1월(JAN)','2월(FEB)','3월(MAR)','4월(APR)','5월(MAY)','6월(JUN)',
642
- '7월(JUL)','8월(AUG)','9월(SEP)','10월(OCT)','11월(NOV)','12월(DEC)'],
643
- dayNames: ['일','월','화','수','목','금','토'],
644
- dayNamesShort: ['일','월','화','수','목','금','토'],
645
- dayNamesMin: ['일','월','화','수','목','금','토'],
646
- weekHeader: 'Wk',
647
- dateFormat: 'yy-mm-dd',
648
- firstDay: 0,
649
- isRTL: false,
650
- showMonthAfterYear: false,
651
- yearSuffix: '년'};
652
- $.datepicker.setDefaults($.datepicker.regional['ko']);
653
- });/* Kazakh (UTF-8) initialisation for the jQuery UI date picker plugin. */
654
- /* Written by Dmitriy Karasyov (dmitriy.karasyov@gmail.com). */
655
- jQuery(function($){
656
- $.datepicker.regional['kz'] = {
657
- closeText: 'Жабу',
658
- prevText: '&#x3c;Алдыңғы',
659
- nextText: 'Келесі&#x3e;',
660
- currentText: 'Бүгін',
661
- monthNames: ['Қаңтар','Ақпан','Наурыз','Сәуір','Мамыр','Маусым',
662
- 'Шілде','Тамыз','Қыркүйек','Қазан','Қараша','Желтоқсан'],
663
- monthNamesShort: ['Қаң','Ақп','Нау','Сәу','Мам','Мау',
664
- 'Шіл','Там','Қыр','Қаз','Қар','Жел'],
665
- dayNames: ['Жексенбі','Дүйсенбі','Сейсенбі','Сәрсенбі','Бейсенбі','Жұма','Сенбі'],
666
- dayNamesShort: ['жкс','дсн','ссн','срс','бсн','жма','снб'],
667
- dayNamesMin: ['Жк','Дс','Сс','Ср','Бс','Жм','Сн'],
668
- weekHeader: 'Не',
669
- dateFormat: 'dd.mm.yy',
670
- firstDay: 1,
671
- isRTL: false,
672
- showMonthAfterYear: false,
673
- yearSuffix: ''};
674
- $.datepicker.setDefaults($.datepicker.regional['kz']);
675
- });
676
- /* Lithuanian (UTF-8) initialisation for the jQuery UI date picker plugin. */
677
- /* @author Arturas Paleicikas <arturas@avalon.lt> */
678
- jQuery(function($){
679
- $.datepicker.regional['lt'] = {
680
- closeText: 'Uždaryti',
681
- prevText: '&#x3c;Atgal',
682
- nextText: 'Pirmyn&#x3e;',
683
- currentText: 'Šiandien',
684
- monthNames: ['Sausis','Vasaris','Kovas','Balandis','Gegužė','Birželis',
685
- 'Liepa','Rugpjūtis','Rugsėjis','Spalis','Lapkritis','Gruodis'],
686
- monthNamesShort: ['Sau','Vas','Kov','Bal','Geg','Bir',
687
- 'Lie','Rugp','Rugs','Spa','Lap','Gru'],
688
- dayNames: ['sekmadienis','pirmadienis','antradienis','trečiadienis','ketvirtadienis','penktadienis','šeštadienis'],
689
- dayNamesShort: ['sek','pir','ant','tre','ket','pen','šeš'],
690
- dayNamesMin: ['Se','Pr','An','Tr','Ke','Pe','Še'],
691
- weekHeader: 'Wk',
692
- dateFormat: 'yy-mm-dd',
693
- firstDay: 1,
694
- isRTL: false,
695
- showMonthAfterYear: false,
696
- yearSuffix: ''};
697
- $.datepicker.setDefaults($.datepicker.regional['lt']);
698
- });/* Latvian (UTF-8) initialisation for the jQuery UI date picker plugin. */
699
- /* @author Arturas Paleicikas <arturas.paleicikas@metasite.net> */
700
- jQuery(function($){
701
- $.datepicker.regional['lv'] = {
702
- closeText: 'Aizvērt',
703
- prevText: 'Iepr',
704
- nextText: 'Nāka',
705
- currentText: 'Šodien',
706
- monthNames: ['Janvāris','Februāris','Marts','Aprīlis','Maijs','Jūnijs',
707
- 'Jūlijs','Augusts','Septembris','Oktobris','Novembris','Decembris'],
708
- monthNamesShort: ['Jan','Feb','Mar','Apr','Mai','Jūn',
709
- 'Jūl','Aug','Sep','Okt','Nov','Dec'],
710
- dayNames: ['svētdiena','pirmdiena','otrdiena','trešdiena','ceturtdiena','piektdiena','sestdiena'],
711
- dayNamesShort: ['svt','prm','otr','tre','ctr','pkt','sst'],
712
- dayNamesMin: ['Sv','Pr','Ot','Tr','Ct','Pk','Ss'],
713
- weekHeader: 'Nav',
714
- dateFormat: 'dd-mm-yy',
715
- firstDay: 1,
716
- isRTL: false,
717
- showMonthAfterYear: false,
718
- yearSuffix: ''};
719
- $.datepicker.setDefaults($.datepicker.regional['lv']);
720
- });/* Malaysian initialisation for the jQuery UI date picker plugin. */
721
- /* Written by Mohd Nawawi Mohamad Jamili (nawawi@ronggeng.net). */
722
- jQuery(function($){
723
- $.datepicker.regional['ms'] = {
724
- closeText: 'Tutup',
725
- prevText: '&#x3c;Sebelum',
726
- nextText: 'Selepas&#x3e;',
727
- currentText: 'hari ini',
728
- monthNames: ['Januari','Februari','Mac','April','Mei','Jun',
729
- 'Julai','Ogos','September','Oktober','November','Disember'],
730
- monthNamesShort: ['Jan','Feb','Mac','Apr','Mei','Jun',
731
- 'Jul','Ogo','Sep','Okt','Nov','Dis'],
732
- dayNames: ['Ahad','Isnin','Selasa','Rabu','Khamis','Jumaat','Sabtu'],
733
- dayNamesShort: ['Aha','Isn','Sel','Rab','kha','Jum','Sab'],
734
- dayNamesMin: ['Ah','Is','Se','Ra','Kh','Ju','Sa'],
735
- weekHeader: 'Mg',
736
- dateFormat: 'dd/mm/yy',
737
- firstDay: 0,
738
- isRTL: false,
739
- showMonthAfterYear: false,
740
- yearSuffix: ''};
741
- $.datepicker.setDefaults($.datepicker.regional['ms']);
742
- });/* Dutch (UTF-8) initialisation for the jQuery UI date picker plugin. */
743
- /* Written by Mathias Bynens <http://mathiasbynens.be/> */
744
- jQuery(function($){
745
- $.datepicker.regional.nl = {
746
- closeText: 'Sluiten',
747
- prevText: '←',
748
- nextText: '→',
749
- currentText: 'Vandaag',
750
- monthNames: ['januari', 'februari', 'maart', 'april', 'mei', 'juni',
751
- 'juli', 'augustus', 'september', 'oktober', 'november', 'december'],
752
- monthNamesShort: ['jan', 'feb', 'maa', 'apr', 'mei', 'jun',
753
- 'jul', 'aug', 'sep', 'okt', 'nov', 'dec'],
754
- dayNames: ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'],
755
- dayNamesShort: ['zon', 'maa', 'din', 'woe', 'don', 'vri', 'zat'],
756
- dayNamesMin: ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'],
757
- weekHeader: 'Wk',
758
- dateFormat: 'dd/mm/yy',
759
- firstDay: 1,
760
- isRTL: false,
761
- showMonthAfterYear: false,
762
- yearSuffix: ''};
763
- $.datepicker.setDefaults($.datepicker.regional.nl);
764
- });/* Norwegian initialisation for the jQuery UI date picker plugin. */
765
- /* Written by Naimdjon Takhirov (naimdjon@gmail.com). */
766
- jQuery(function($){
767
- $.datepicker.regional['no'] = {
768
- closeText: 'Lukk',
769
- prevText: '&laquo;Forrige',
770
- nextText: 'Neste&raquo;',
771
- currentText: 'I dag',
772
- monthNames: ['Januar','Februar','Mars','April','Mai','Juni',
773
- 'Juli','August','September','Oktober','November','Desember'],
774
- monthNamesShort: ['Jan','Feb','Mar','Apr','Mai','Jun',
775
- 'Jul','Aug','Sep','Okt','Nov','Des'],
776
- dayNamesShort: ['Søn','Man','Tir','Ons','Tor','Fre','Lør'],
777
- dayNames: ['Søndag','Mandag','Tirsdag','Onsdag','Torsdag','Fredag','Lørdag'],
778
- dayNamesMin: ['Sø','Ma','Ti','On','To','Fr','Lø'],
779
- weekHeader: 'Uke',
780
- dateFormat: 'yy-mm-dd',
781
- firstDay: 0,
782
- isRTL: false,
783
- showMonthAfterYear: false,
784
- yearSuffix: ''};
785
- $.datepicker.setDefaults($.datepicker.regional['no']);
786
- });
787
- /* Polish initialisation for the jQuery UI date picker plugin. */
788
- /* Written by Jacek Wysocki (jacek.wysocki@gmail.com). */
789
- jQuery(function($){
790
- $.datepicker.regional['pl'] = {
791
- closeText: 'Zamknij',
792
- prevText: '&#x3c;Poprzedni',
793
- nextText: 'Następny&#x3e;',
794
- currentText: 'Dziś',
795
- monthNames: ['Styczeń','Luty','Marzec','Kwiecień','Maj','Czerwiec',
796
- 'Lipiec','Sierpień','Wrzesień','Październik','Listopad','Grudzień'],
797
- monthNamesShort: ['Sty','Lu','Mar','Kw','Maj','Cze',
798
- 'Lip','Sie','Wrz','Pa','Lis','Gru'],
799
- dayNames: ['Niedziela','Poniedziałek','Wtorek','Środa','Czwartek','Piątek','Sobota'],
800
- dayNamesShort: ['Nie','Pn','Wt','Śr','Czw','Pt','So'],
801
- dayNamesMin: ['N','Pn','Wt','Śr','Cz','Pt','So'],
802
- weekHeader: 'Tydz',
803
- dateFormat: 'dd.mm.yy',
804
- firstDay: 1,
805
- isRTL: false,
806
- showMonthAfterYear: false,
807
- yearSuffix: ''};
808
- $.datepicker.setDefaults($.datepicker.regional['pl']);
809
- });
810
- /* Brazilian initialisation for the jQuery UI date picker plugin. */
811
- /* Written by Leonildo Costa Silva (leocsilva@gmail.com). */
812
- jQuery(function($){
813
- $.datepicker.regional['pt-BR'] = {
814
- closeText: 'Fechar',
815
- prevText: '&#x3c;Anterior',
816
- nextText: 'Pr&oacute;ximo&#x3e;',
817
- currentText: 'Hoje',
818
- monthNames: ['Janeiro','Fevereiro','Mar&ccedil;o','Abril','Maio','Junho',
819
- 'Julho','Agosto','Setembro','Outubro','Novembro','Dezembro'],
820
- monthNamesShort: ['Jan','Fev','Mar','Abr','Mai','Jun',
821
- 'Jul','Ago','Set','Out','Nov','Dez'],
822
- dayNames: ['Domingo','Segunda-feira','Ter&ccedil;a-feira','Quarta-feira','Quinta-feira','Sexta-feira','S&aacute;bado'],
823
- dayNamesShort: ['Dom','Seg','Ter','Qua','Qui','Sex','S&aacute;b'],
824
- dayNamesMin: ['Dom','Seg','Ter','Qua','Qui','Sex','S&aacute;b'],
825
- weekHeader: 'Sm',
826
- dateFormat: 'dd/mm/yy',
827
- firstDay: 0,
828
- isRTL: false,
829
- showMonthAfterYear: false,
830
- yearSuffix: ''};
831
- $.datepicker.setDefaults($.datepicker.regional['pt-BR']);
832
- });/* Romanian initialisation for the jQuery UI date picker plugin.
833
- *
834
- * Written by Edmond L. (ll_edmond@walla.com)
835
- * and Ionut G. Stan (ionut.g.stan@gmail.com)
836
- */
837
- jQuery(function($){
838
- $.datepicker.regional['ro'] = {
839
- closeText: 'Închide',
840
- prevText: '&laquo; Luna precedentă',
841
- nextText: 'Luna următoare &raquo;',
842
- currentText: 'Azi',
843
- monthNames: ['Ianuarie','Februarie','Martie','Aprilie','Mai','Iunie',
844
- 'Iulie','August','Septembrie','Octombrie','Noiembrie','Decembrie'],
845
- monthNamesShort: ['Ian', 'Feb', 'Mar', 'Apr', 'Mai', 'Iun',
846
- 'Iul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
847
- dayNames: ['Duminică', 'Luni', 'Marţi', 'Miercuri', 'Joi', 'Vineri', 'Sâmbătă'],
848
- dayNamesShort: ['Dum', 'Lun', 'Mar', 'Mie', 'Joi', 'Vin', 'Sâm'],
849
- dayNamesMin: ['Du','Lu','Ma','Mi','Jo','Vi','Sâ'],
850
- weekHeader: 'Săpt',
851
- dateFormat: 'dd.mm.yy',
852
- firstDay: 1,
853
- isRTL: false,
854
- showMonthAfterYear: false,
855
- yearSuffix: ''};
856
- $.datepicker.setDefaults($.datepicker.regional['ro']);
857
- });
858
- /* Russian (UTF-8) initialisation for the jQuery UI date picker plugin. */
859
- /* Written by Andrew Stromnov (stromnov@gmail.com). */
860
- jQuery(function($){
861
- $.datepicker.regional['ru'] = {
862
- closeText: 'Закрыть',
863
- prevText: '&#x3c;Пред',
864
- nextText: 'След&#x3e;',
865
- currentText: 'Сегодня',
866
- monthNames: ['Январь','Февраль','Март','Апрель','Май','Июнь',
867
- 'Июль','Август','Сентябрь','Октябрь','Ноябрь','Декабрь'],
868
- monthNamesShort: ['Янв','Фев','Мар','Апр','Май','Июн',
869
- 'Июл','Авг','Сен','Окт','Ноя','Дек'],
870
- dayNames: ['воскресенье','понедельник','вторник','среда','четверг','пятница','суббота'],
871
- dayNamesShort: ['вск','пнд','втр','срд','чтв','птн','сбт'],
872
- dayNamesMin: ['Вс','Пн','Вт','Ср','Чт','Пт','Сб'],
873
- weekHeader: 'Не',
874
- dateFormat: 'dd.mm.yy',
875
- firstDay: 1,
876
- isRTL: false,
877
- showMonthAfterYear: false,
878
- yearSuffix: ''};
879
- $.datepicker.setDefaults($.datepicker.regional['ru']);
880
- });/* Slovak initialisation for the jQuery UI date picker plugin. */
881
- /* Written by Vojtech Rinik (vojto@hmm.sk). */
882
- jQuery(function($){
883
- $.datepicker.regional['sk'] = {
884
- closeText: 'Zavrieť',
885
- prevText: '&#x3c;Predchádzajúci',
886
- nextText: 'Nasledujúci&#x3e;',
887
- currentText: 'Dnes',
888
- monthNames: ['Január','Február','Marec','Apríl','Máj','Jún',
889
- 'Júl','August','September','Október','November','December'],
890
- monthNamesShort: ['Jan','Feb','Mar','Apr','Máj','Jún',
891
- 'Júl','Aug','Sep','Okt','Nov','Dec'],
892
- dayNames: ['Nedel\'a','Pondelok','Utorok','Streda','Štvrtok','Piatok','Sobota'],
893
- dayNamesShort: ['Ned','Pon','Uto','Str','Štv','Pia','Sob'],
894
- dayNamesMin: ['Ne','Po','Ut','St','Št','Pia','So'],
895
- weekHeader: 'Ty',
896
- dateFormat: 'dd.mm.yy',
897
- firstDay: 1,
898
- isRTL: false,
899
- showMonthAfterYear: false,
900
- yearSuffix: ''};
901
- $.datepicker.setDefaults($.datepicker.regional['sk']);
902
- });
903
- /* Slovenian initialisation for the jQuery UI date picker plugin. */
904
- /* Written by Jaka Jancar (jaka@kubje.org). */
905
- /* c = &#x10D;, s = &#x161; z = &#x17E; C = &#x10C; S = &#x160; Z = &#x17D; */
906
- jQuery(function($){
907
- $.datepicker.regional['sl'] = {
908
- closeText: 'Zapri',
909
- prevText: '&lt;Prej&#x161;nji',
910
- nextText: 'Naslednji&gt;',
911
- currentText: 'Trenutni',
912
- monthNames: ['Januar','Februar','Marec','April','Maj','Junij',
913
- 'Julij','Avgust','September','Oktober','November','December'],
914
- monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun',
915
- 'Jul','Avg','Sep','Okt','Nov','Dec'],
916
- dayNames: ['Nedelja','Ponedeljek','Torek','Sreda','&#x10C;etrtek','Petek','Sobota'],
917
- dayNamesShort: ['Ned','Pon','Tor','Sre','&#x10C;et','Pet','Sob'],
918
- dayNamesMin: ['Ne','Po','To','Sr','&#x10C;e','Pe','So'],
919
- weekHeader: 'Teden',
920
- dateFormat: 'dd.mm.yy',
921
- firstDay: 1,
922
- isRTL: false,
923
- showMonthAfterYear: false,
924
- yearSuffix: ''};
925
- $.datepicker.setDefaults($.datepicker.regional['sl']);
926
- });
927
- /* Albanian initialisation for the jQuery UI date picker plugin. */
928
- /* Written by Flakron Bytyqi (flakron@gmail.com). */
929
- jQuery(function($){
930
- $.datepicker.regional['sq'] = {
931
- closeText: 'mbylle',
932
- prevText: '&#x3c;mbrapa',
933
- nextText: 'Përpara&#x3e;',
934
- currentText: 'sot',
935
- monthNames: ['Janar','Shkurt','Mars','Prill','Maj','Qershor',
936
- 'Korrik','Gusht','Shtator','Tetor','Nëntor','Dhjetor'],
937
- monthNamesShort: ['Jan','Shk','Mar','Pri','Maj','Qer',
938
- 'Kor','Gus','Sht','Tet','Nën','Dhj'],
939
- dayNames: ['E Diel','E Hënë','E Martë','E Mërkurë','E Enjte','E Premte','E Shtune'],
940
- dayNamesShort: ['Di','Hë','Ma','Më','En','Pr','Sh'],
941
- dayNamesMin: ['Di','Hë','Ma','Më','En','Pr','Sh'],
942
- weekHeader: 'Ja',
943
- dateFormat: 'dd.mm.yy',
944
- firstDay: 1,
945
- isRTL: false,
946
- showMonthAfterYear: false,
947
- yearSuffix: ''};
948
- $.datepicker.setDefaults($.datepicker.regional['sq']);
949
- });
950
- /* Serbian i18n for the jQuery UI date picker plugin. */
951
- /* Written by Dejan Dimić. */
952
- jQuery(function($){
953
- $.datepicker.regional['sr-SR'] = {
954
- closeText: 'Zatvori',
955
- prevText: '&#x3c;',
956
- nextText: '&#x3e;',
957
- currentText: 'Danas',
958
- monthNames: ['Januar','Februar','Mart','April','Maj','Jun',
959
- 'Jul','Avgust','Septembar','Oktobar','Novembar','Decembar'],
960
- monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun',
961
- 'Jul','Avg','Sep','Okt','Nov','Dec'],
962
- dayNames: ['Nedelja','Ponedeljak','Utorak','Sreda','Četvrtak','Petak','Subota'],
963
- dayNamesShort: ['Ned','Pon','Uto','Sre','Čet','Pet','Sub'],
964
- dayNamesMin: ['Ne','Po','Ut','Sr','Če','Pe','Su'],
965
- weekHeader: 'Sed',
966
- dateFormat: 'dd/mm/yy',
967
- firstDay: 1,
968
- isRTL: false,
969
- showMonthAfterYear: false,
970
- yearSuffix: ''};
971
- $.datepicker.setDefaults($.datepicker.regional['sr-SR']);
972
- });
973
- /* Serbian i18n for the jQuery UI date picker plugin. */
974
- /* Written by Dejan Dimić. */
975
- jQuery(function($){
976
- $.datepicker.regional['sr'] = {
977
- closeText: 'Затвори',
978
- prevText: '&#x3c;',
979
- nextText: '&#x3e;',
980
- currentText: 'Данас',
981
- monthNames: ['Јануар','Фебруар','Март','Април','Мај','Јун',
982
- 'Јул','Август','Септембар','Октобар','Новембар','Децембар'],
983
- monthNamesShort: ['Јан','Феб','Мар','Апр','Мај','Јун',
984
- 'Јул','Авг','Сеп','Окт','Нов','Дец'],
985
- dayNames: ['Недеља','Понедељак','Уторак','Среда','Четвртак','Петак','Субота'],
986
- dayNamesShort: ['Нед','Пон','Уто','Сре','Чет','Пет','Суб'],
987
- dayNamesMin: ['Не','По','Ут','Ср','Че','Пе','Су'],
988
- weekHeader: 'Сед',
989
- dateFormat: 'dd/mm/yy',
990
- firstDay: 1,
991
- isRTL: false,
992
- showMonthAfterYear: false,
993
- yearSuffix: ''};
994
- $.datepicker.setDefaults($.datepicker.regional['sr']);
995
- });
996
- /* Swedish initialisation for the jQuery UI date picker plugin. */
997
- /* Written by Anders Ekdahl ( anders@nomadiz.se). */
998
- jQuery(function($){
999
- $.datepicker.regional['sv'] = {
1000
- closeText: 'Stäng',
1001
- prevText: '&laquo;Förra',
1002
- nextText: 'Nästa&raquo;',
1003
- currentText: 'Idag',
1004
- monthNames: ['Januari','Februari','Mars','April','Maj','Juni',
1005
- 'Juli','Augusti','September','Oktober','November','December'],
1006
- monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun',
1007
- 'Jul','Aug','Sep','Okt','Nov','Dec'],
1008
- dayNamesShort: ['Sön','Mån','Tis','Ons','Tor','Fre','Lör'],
1009
- dayNames: ['Söndag','Måndag','Tisdag','Onsdag','Torsdag','Fredag','Lördag'],
1010
- dayNamesMin: ['Sö','Må','Ti','On','To','Fr','Lö'],
1011
- weekHeader: 'Ve',
1012
- dateFormat: 'yy-mm-dd',
1013
- firstDay: 1,
1014
- isRTL: false,
1015
- showMonthAfterYear: false,
1016
- yearSuffix: ''};
1017
- $.datepicker.setDefaults($.datepicker.regional['sv']);
1018
- });
1019
- /* Tamil (UTF-8) initialisation for the jQuery UI date picker plugin. */
1020
- /* Written by S A Sureshkumar (saskumar@live.com). */
1021
- jQuery(function($){
1022
- $.datepicker.regional['ta'] = {
1023
- closeText: 'மூடு',
1024
- prevText: 'முன்னையது',
1025
- nextText: 'அடுத்தது',
1026
- currentText: 'இன்று',
1027
- monthNames: ['தை','மாசி','பங்குனி','சித்திரை','வைகாசி','ஆனி',
1028
- 'ஆடி','ஆவணி','புரட்டாசி','ஐப்பசி','கார்த்திகை','மார்கழி'],
1029
- monthNamesShort: ['தை','மாசி','பங்','சித்','வைகா','ஆனி',
1030
- 'ஆடி','ஆவ','புர','ஐப்','கார்','மார்'],
1031
- dayNames: ['ஞாயிற்றுக்கிழமை','திங்கட்கிழமை','செவ்வாய்க்கிழமை','புதன்கிழமை','வியாழக்கிழமை','வெள்ளிக்கிழமை','சனிக்கிழமை'],
1032
- dayNamesShort: ['ஞாயிறு','திங்கள்','செவ்வாய்','புதன்','வியாழன்','வெள்ளி','சனி'],
1033
- dayNamesMin: ['ஞா','தி','செ','பு','வி','வெ','ச'],
1034
- weekHeader: 'Не',
1035
- dateFormat: 'dd/mm/yy',
1036
- firstDay: 1,
1037
- isRTL: false,
1038
- showMonthAfterYear: false,
1039
- yearSuffix: ''};
1040
- $.datepicker.setDefaults($.datepicker.regional['ta']);
1041
- });
1042
- /* Thai initialisation for the jQuery UI date picker plugin. */
1043
- /* Written by pipo (pipo@sixhead.com). */
1044
- jQuery(function($){
1045
- $.datepicker.regional['th'] = {
1046
- closeText: 'ปิด',
1047
- prevText: '&laquo;&nbsp;ย้อน',
1048
- nextText: 'ถัดไป&nbsp;&raquo;',
1049
- currentText: 'วันนี้',
1050
- monthNames: ['มกราคม','กุมภาพันธ์','มีนาคม','เมษายน','พฤษภาคม','มิถุนายน',
1051
- 'กรกฏาคม','สิงหาคม','กันยายน','ตุลาคม','พฤศจิกายน','ธันวาคม'],
1052
- monthNamesShort: ['ม.ค.','ก.พ.','มี.ค.','เม.ย.','พ.ค.','มิ.ย.',
1053
- 'ก.ค.','ส.ค.','ก.ย.','ต.ค.','พ.ย.','ธ.ค.'],
1054
- dayNames: ['อาทิตย์','จันทร์','อังคาร','พุธ','พฤหัสบดี','ศุกร์','เสาร์'],
1055
- dayNamesShort: ['อา.','จ.','อ.','พ.','พฤ.','ศ.','ส.'],
1056
- dayNamesMin: ['อา.','จ.','อ.','พ.','พฤ.','ศ.','ส.'],
1057
- weekHeader: 'Wk',
1058
- dateFormat: 'dd/mm/yy',
1059
- firstDay: 0,
1060
- isRTL: false,
1061
- showMonthAfterYear: false,
1062
- yearSuffix: ''};
1063
- $.datepicker.setDefaults($.datepicker.regional['th']);
1064
- });/* Turkish initialisation for the jQuery UI date picker plugin. */
1065
- /* Written by Izzet Emre Erkan (kara@karalamalar.net). */
1066
- jQuery(function($){
1067
- $.datepicker.regional['tr'] = {
1068
- closeText: 'kapat',
1069
- prevText: '&#x3c;geri',
1070
- nextText: 'ileri&#x3e',
1071
- currentText: 'bugün',
1072
- monthNames: ['Ocak','Şubat','Mart','Nisan','Mayıs','Haziran',
1073
- 'Temmuz','Ağustos','Eylül','Ekim','Kasım','Aralık'],
1074
- monthNamesShort: ['Oca','Şub','Mar','Nis','May','Haz',
1075
- 'Tem','Ağu','Eyl','Eki','Kas','Ara'],
1076
- dayNames: ['Pazar','Pazartesi','Salı','Çarşamba','Perşembe','Cuma','Cumartesi'],
1077
- dayNamesShort: ['Pz','Pt','Sa','Ça','Pe','Cu','Ct'],
1078
- dayNamesMin: ['Pz','Pt','Sa','Ça','Pe','Cu','Ct'],
1079
- weekHeader: 'Hf',
1080
- dateFormat: 'dd.mm.yy',
1081
- firstDay: 1,
1082
- isRTL: false,
1083
- showMonthAfterYear: false,
1084
- yearSuffix: ''};
1085
- $.datepicker.setDefaults($.datepicker.regional['tr']);
1086
- });/* Ukrainian (UTF-8) initialisation for the jQuery UI date picker plugin. */
1087
- /* Written by Maxim Drogobitskiy (maxdao@gmail.com). */
1088
- jQuery(function($){
1089
- $.datepicker.regional['uk'] = {
1090
- closeText: 'Закрити',
1091
- prevText: '&#x3c;',
1092
- nextText: '&#x3e;',
1093
- currentText: 'Сьогодні',
1094
- monthNames: ['Січень','Лютий','Березень','Квітень','Травень','Червень',
1095
- 'Липень','Серпень','Вересень','Жовтень','Листопад','Грудень'],
1096
- monthNamesShort: ['Січ','Лют','Бер','Кві','Тра','Чер',
1097
- 'Лип','Сер','Вер','Жов','Лис','Гру'],
1098
- dayNames: ['неділя','понеділок','вівторок','середа','четвер','п’ятниця','субота'],
1099
- dayNamesShort: ['нед','пнд','вів','срд','чтв','птн','сбт'],
1100
- dayNamesMin: ['Нд','Пн','Вт','Ср','Чт','Пт','Сб'],
1101
- weekHeader: 'Не',
1102
- dateFormat: 'dd/mm/yy',
1103
- firstDay: 1,
1104
- isRTL: false,
1105
- showMonthAfterYear: false,
1106
- yearSuffix: ''};
1107
- $.datepicker.setDefaults($.datepicker.regional['uk']);
1108
- });/* Vietnamese initialisation for the jQuery UI date picker plugin. */
1109
- /* Translated by Le Thanh Huy (lthanhhuy@cit.ctu.edu.vn). */
1110
- jQuery(function($){
1111
- $.datepicker.regional['vi'] = {
1112
- closeText: 'Đóng',
1113
- prevText: '&#x3c;Trước',
1114
- nextText: 'Tiếp&#x3e;',
1115
- currentText: 'Hôm nay',
1116
- monthNames: ['Tháng Một', 'Tháng Hai', 'Tháng Ba', 'Tháng Tư', 'Tháng Năm', 'Tháng Sáu',
1117
- 'Tháng Bảy', 'Tháng Tám', 'Tháng Chín', 'Tháng Mười', 'Tháng Mười Một', 'Tháng Mười Hai'],
1118
- monthNamesShort: ['Tháng 1', 'Tháng 2', 'Tháng 3', 'Tháng 4', 'Tháng 5', 'Tháng 6',
1119
- 'Tháng 7', 'Tháng 8', 'Tháng 9', 'Tháng 10', 'Tháng 11', 'Tháng 12'],
1120
- dayNames: ['Chủ Nhật', 'Thứ Hai', 'Thứ Ba', 'Thứ Tư', 'Thứ Năm', 'Thứ Sáu', 'Thứ Bảy'],
1121
- dayNamesShort: ['CN', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7'],
1122
- dayNamesMin: ['CN', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7'],
1123
- weekHeader: 'Tu',
1124
- dateFormat: 'dd/mm/yy',
1125
- firstDay: 0,
1126
- isRTL: false,
1127
- showMonthAfterYear: false,
1128
- yearSuffix: ''};
1129
- $.datepicker.setDefaults($.datepicker.regional['vi']);
1130
- });
1131
- /* Chinese initialisation for the jQuery UI date picker plugin. */
1132
- /* Written by Cloudream (cloudream@gmail.com). */
1133
- jQuery(function($){
1134
- $.datepicker.regional['zh-CN'] = {
1135
- closeText: '关闭',
1136
- prevText: '&#x3c;上月',
1137
- nextText: '下月&#x3e;',
1138
- currentText: '今天',
1139
- monthNames: ['一月','二月','三月','四月','五月','六月',
1140
- '七月','八月','九月','十月','十一月','十二月'],
1141
- monthNamesShort: ['一','二','三','四','五','六',
1142
- '七','八','九','十','十一','十二'],
1143
- dayNames: ['星期日','星期一','星期二','星期三','星期四','星期五','星期六'],
1144
- dayNamesShort: ['周日','周一','周二','周三','周四','周五','周六'],
1145
- dayNamesMin: ['日','一','二','三','四','五','六'],
1146
- weekHeader: '周',
1147
- dateFormat: 'yy-mm-dd',
1148
- firstDay: 1,
1149
- isRTL: false,
1150
- showMonthAfterYear: true,
1151
- yearSuffix: '年'};
1152
- $.datepicker.setDefaults($.datepicker.regional['zh-CN']);
1153
- });
1154
- /* Chinese initialisation for the jQuery UI date picker plugin. */
1155
- /* Written by SCCY (samuelcychan@gmail.com). */
1156
- jQuery(function($){
1157
- $.datepicker.regional['zh-HK'] = {
1158
- closeText: '關閉',
1159
- prevText: '&#x3c;上月',
1160
- nextText: '下月&#x3e;',
1161
- currentText: '今天',
1162
- monthNames: ['一月','二月','三月','四月','五月','六月',
1163
- '七月','八月','九月','十月','十一月','十二月'],
1164
- monthNamesShort: ['一','二','三','四','五','六',
1165
- '七','八','九','十','十一','十二'],
1166
- dayNames: ['星期日','星期一','星期二','星期三','星期四','星期五','星期六'],
1167
- dayNamesShort: ['周日','周一','周二','周三','周四','周五','周六'],
1168
- dayNamesMin: ['日','一','二','三','四','五','六'],
1169
- weekHeader: '周',
1170
- dateFormat: 'dd-mm-yy',
1171
- firstDay: 0,
1172
- isRTL: false,
1173
- showMonthAfterYear: true,
1174
- yearSuffix: '年'};
1175
- $.datepicker.setDefaults($.datepicker.regional['zh-HK']);
1176
- });
1177
- /* Chinese initialisation for the jQuery UI date picker plugin. */
1178
- /* Written by Ressol (ressol@gmail.com). */
1179
- jQuery(function($){
1180
- $.datepicker.regional['zh-TW'] = {
1181
- closeText: '關閉',
1182
- prevText: '&#x3c;上月',
1183
- nextText: '下月&#x3e;',
1184
- currentText: '今天',
1185
- monthNames: ['一月','二月','三月','四月','五月','六月',
1186
- '七月','八月','九月','十月','十一月','十二月'],
1187
- monthNamesShort: ['一','二','三','四','五','六',
1188
- '七','八','九','十','十一','十二'],
1189
- dayNames: ['星期日','星期一','星期二','星期三','星期四','星期五','星期六'],
1190
- dayNamesShort: ['周日','周一','周二','周三','周四','周五','周六'],
1191
- dayNamesMin: ['日','一','二','三','四','五','六'],
1192
- weekHeader: '周',
1193
- dateFormat: 'yy/mm/dd',
1194
- firstDay: 1,
1195
- isRTL: false,
1196
- showMonthAfterYear: true,
1197
- yearSuffix: '年'};
1198
- $.datepicker.setDefaults($.datepicker.regional['zh-TW']);
1199
- });