Version Description
- Fix js error (variable not defined) introduced in 2.5.
- Fix "delete occurrence" from admin calendar not working.
- Recompiled .po files (should fix some text not being translated).
Download this release
Release Info
Developer | stephenharris |
Plugin | Event Organiser |
Version | 2.5.1 |
Comparing to | |
See all releases |
Code changes from version 2.4 to 2.5.1
- CONTRIBUTING.md +0 -32
- Gruntfile.js +0 -118
- classes/class-eo-calendar-widget.php +5 -4
- classes/class-eo-event-list-widget.php +2 -1
- composer.json +0 -23
- composer.lock +0 -439
- css/eventorganiser-admin-style.css +1 -1
- event-organiser.php +2 -2
- includes/class-eo-ical-parser.php +146 -28
- includes/debug.php +0 -57
- includes/event-organiser-register.php +31 -0
- includes/event.php +6 -1
- js/admin-calendar.js +31 -24
- js/admin-calendar.min.js +2 -2
- js/edit-event-controller.js +13 -13
- js/edit-event-controller.min.js +2 -2
- js/event.js +9 -8
- js/event.min.js +2 -2
- js/frontend.js +60 -53
- js/frontend.min.js +2 -2
- js/fullcalendar.min.js +1 -1
- js/qtip2.js +2 -2
- js/time-picker.min.js +1 -1
- js/venues.min.js +1 -1
- languages/eventorganiser-ar.mo +0 -0
- languages/eventorganiser-ar.po +49 -117
- languages/eventorganiser-ca.mo +0 -0
- languages/eventorganiser-ca.po +1792 -0
- languages/eventorganiser-cs_CZ.mo +0 -0
- languages/eventorganiser-da_DK.mo +0 -0
- languages/eventorganiser-de_DE.mo +0 -0
- languages/eventorganiser-el.mo +0 -0
- languages/eventorganiser-en_CA.mo +0 -0
- languages/eventorganiser-es_ES.mo +0 -0
- languages/eventorganiser-es_ES.po +99 -83
- languages/eventorganiser-es_PE.mo +0 -0
- languages/eventorganiser-et.mo +0 -0
- languages/eventorganiser-fa_IR.mo +0 -0
- languages/eventorganiser-fi.mo +0 -0
- languages/eventorganiser-fr_FR.mo +0 -0
- languages/eventorganiser-he_IL.mo +0 -0
- languages/eventorganiser-hr.mo +0 -0
- languages/eventorganiser-hu_HU.mo +0 -0
- languages/eventorganiser-id_ID.mo +0 -0
- languages/eventorganiser-it_IT.mo +0 -0
- languages/eventorganiser-nb_NO.mo +0 -0
- languages/eventorganiser-nl_NL.mo +0 -0
- languages/eventorganiser-nl_NL.po +63 -54
- languages/eventorganiser-nn_NO.mo +0 -0
- languages/eventorganiser-pl_PL.mo +0 -0
- languages/eventorganiser-pt_BR.mo +0 -0
- languages/eventorganiser-pt_BR.po +50 -42
- languages/eventorganiser-pt_PT.mo +0 -0
- languages/eventorganiser-ru_RU.mo +0 -0
- languages/eventorganiser-sk_SK.mo +0 -0
- languages/eventorganiser-sl_SI.mo +0 -0
- languages/eventorganiser-sv_SE.mo +0 -0
- languages/eventorganiser-th.mo +0 -0
- languages/eventorganiser-tr_TR.mo +0 -0
- languages/eventorganiser-uk.mo +0 -0
- languages/eventorganiser-zh_CN.mo +0 -0
- package.json +0 -24
- readme.md +26 -4
- readme.txt +26 -4
CONTRIBUTING.md
DELETED
@@ -1,32 +0,0 @@
|
|
1 |
-
#Contribute To Event Organiser
|
2 |
-
|
3 |
-
Community made patches, localisations, bug reports and contributions are always welcome and are *crucial* to ensure Event Organiser remains the most easy to use and versatile event management plug-ins for WordPress.
|
4 |
-
|
5 |
-
But to help keep things organised, please review these guidelines.
|
6 |
-
|
7 |
-
**Please Note:** GitHub is for bug reports and contributions only - if you have a support question or a request for a customisation don't post here, but go to the [Support Forum](https://wp-event-organiser.com/forums/) instead.
|
8 |
-
|
9 |
-
### Am I in the right place?
|
10 |
-
* *[Have you looked at the FAQ?](http://wp-event-organiser.com/faq/)?*. Check there first please!
|
11 |
-
* If you've got a **support question**, please go to the [support forum](https://wp-event-organiser.com/forums/)
|
12 |
-
* If you've got a **pre-sale question** for the Pro add-on, please [ask it here](http://wp-event-organiser.com/forums/forum/pre-sales-questions-pro/)
|
13 |
-
* If you're **reporting a bug** for the **Pro** add-on, you can [do that here](https://bitbucket.org/stephenharris/event-organiser-pro/issues)
|
14 |
-
* If you're **reporting a bug** for the the free version, then you're in the right place.
|
15 |
-
|
16 |
-
### Reporting bugs
|
17 |
-
* [Submit a ticket](https://github.com/stephenharris/Event-Organiser/issues?state=open) for your issue, unless one already exists.
|
18 |
-
* Clearly describe the issue, including steps to reproduce the bug.
|
19 |
-
* Please specify the versions of Event Organiser & WordPress.
|
20 |
-
|
21 |
-
### Contributing code (aka you're brilliant)
|
22 |
-
* Fork the repository on GitHub.
|
23 |
-
* Make the changes to your forked repository.
|
24 |
-
* Please comment your code, (and generally adhere to the [WordPress Coding Standards](http://codex.wordpress.org/WordPress_Coding_Standards)).
|
25 |
-
* If you're unsure of something, just [ask](http://wp-event-organiser.com/contact)!
|
26 |
-
* Commit little and often, in logical chunks.
|
27 |
-
* When committing, reference your issue (if applicable) and describe any changes.
|
28 |
-
* Push the changes to your fork and submit a pull request to the 'master' branch of the Event Organiser repository.
|
29 |
-
|
30 |
-
### Additional Resources
|
31 |
-
* [General GitHub Documentation](http://help.github.com/)
|
32 |
-
* [GitHub Pull Request documentation](http://help.github.com/send-pull-requests/)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Gruntfile.js
DELETED
@@ -1,118 +0,0 @@
|
|
1 |
-
module.exports = function(grunt) {
|
2 |
-
|
3 |
-
// Project configuration.
|
4 |
-
grunt.initConfig({
|
5 |
-
pkg: grunt.file.readJSON('package.json'),
|
6 |
-
uglify: {
|
7 |
-
options: {
|
8 |
-
compress: {
|
9 |
-
global_defs: {
|
10 |
-
"EO_SCRIPT_DEBUG": false
|
11 |
-
},
|
12 |
-
dead_code: true
|
13 |
-
},
|
14 |
-
banner: '/*! <%= pkg.name %> <%= pkg.version %> <%= grunt.template.today("yyyy-mm-dd HH:MM") %> */\n'
|
15 |
-
},
|
16 |
-
build: {
|
17 |
-
files: {
|
18 |
-
'js/frontend.min.js': ['js/frontend.js'],
|
19 |
-
'js/fullcalendar.min.js': ['js/fullcalendar.js'],
|
20 |
-
'js/event.min.js': ['js/event.js'],
|
21 |
-
'js/venues.min.js': ['js/venues.js'],
|
22 |
-
'js/admin-calendar.min.js': ['js/admin-calendar.js'],
|
23 |
-
'js/time-picker.min.js': ['js/time-picker.js'],
|
24 |
-
'js/edit-event-controller.min.js': ['js/edit-event-controller.js'],
|
25 |
-
}
|
26 |
-
}
|
27 |
-
},
|
28 |
-
jshint: {
|
29 |
-
options: {
|
30 |
-
globals: {
|
31 |
-
"EO_SCRIPT_DEBUG": false,
|
32 |
-
},
|
33 |
-
'-W014': true,
|
34 |
-
'-W015': true,
|
35 |
-
'-W099': true,
|
36 |
-
'-W033': true,
|
37 |
-
'-W083': true,//functions within loop
|
38 |
-
'-W020': true, //Read only - error when assigning EO_SCRIPT_DEBUG a value.
|
39 |
-
},
|
40 |
-
all: [ 'js/*.js', '!js/*.min.js', '!*/time-picker.js', '!*/fullcalendar.js', '!*/venues.js', '!*/qtip2.js' ]
|
41 |
-
},
|
42 |
-
shell: { // Task
|
43 |
-
makeDocs: { // Target
|
44 |
-
options: { // Options
|
45 |
-
stdout: true
|
46 |
-
},
|
47 |
-
command: 'apigen --config /var/www/git/event-organiser/apigen/apigen.conf'
|
48 |
-
},
|
49 |
-
},
|
50 |
-
compress: {
|
51 |
-
main: {
|
52 |
-
options: {
|
53 |
-
archive: 'dist/<%= pkg.name %>.zip'
|
54 |
-
},
|
55 |
-
files: [{
|
56 |
-
src: [
|
57 |
-
'**',
|
58 |
-
'!*~',
|
59 |
-
'!**/dist/**', '!**/.git/**', '!**/node_modules/**','!**/apigen/**', '!**/documentation/**',
|
60 |
-
'!package.json',
|
61 |
-
'!Gruntfile.js']
|
62 |
-
}]
|
63 |
-
},
|
64 |
-
version: {
|
65 |
-
options: {
|
66 |
-
archive: 'dist/<%= pkg.name %>-<%= pkg.version %>.zip'
|
67 |
-
},
|
68 |
-
files: [{
|
69 |
-
src: [
|
70 |
-
'**',
|
71 |
-
'!*~',
|
72 |
-
'!**/dist/**', '!**/.git/**', '!**/node_modules/**','!**/apigen/**', '!**/documentation/**',
|
73 |
-
'!package.json',
|
74 |
-
'!Gruntfile.js']
|
75 |
-
}]
|
76 |
-
}
|
77 |
-
},
|
78 |
-
wp_readme_to_markdown: {
|
79 |
-
convert:{
|
80 |
-
files: {
|
81 |
-
'readme.md': 'readme.txt'
|
82 |
-
},
|
83 |
-
},
|
84 |
-
},
|
85 |
-
phpunit: {
|
86 |
-
classes: {
|
87 |
-
dir: 'tests'
|
88 |
-
},
|
89 |
-
options: {
|
90 |
-
bin: 'vendor/bin/phpunit',
|
91 |
-
bootstrap: 'tests/phpunit.php',
|
92 |
-
colors: true
|
93 |
-
}
|
94 |
-
}
|
95 |
-
});
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
grunt.loadNpmTasks('grunt-shell');
|
101 |
-
|
102 |
-
grunt.loadNpmTasks('grunt-contrib-uglify');
|
103 |
-
|
104 |
-
grunt.loadNpmTasks('grunt-contrib-compress');
|
105 |
-
|
106 |
-
grunt.loadNpmTasks('grunt-contrib-jshint');
|
107 |
-
|
108 |
-
grunt.loadNpmTasks('grunt-wp-readme-to-markdown');
|
109 |
-
|
110 |
-
grunt.loadNpmTasks('grunt-phpunit');
|
111 |
-
|
112 |
-
// Default task(s).
|
113 |
-
grunt.registerTask('default', ['uglify']);
|
114 |
-
|
115 |
-
grunt.registerTask('docs', ['shell:makeDocs']);
|
116 |
-
|
117 |
-
grunt.registerTask('readme', ['wp_readme_to_markdown']);
|
118 |
-
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
classes/class-eo-calendar-widget.php
CHANGED
@@ -228,11 +228,12 @@ class EO_Calendar_Widget extends WP_Widget
|
|
228 |
|
229 |
$start = eo_get_the_start( DATETIMEOBJ, $event->ID, null, $event->occurrence_id );
|
230 |
$end = eo_get_the_end( DATETIMEOBJ, $event->ID, null, $event->occurrence_id );
|
231 |
-
|
232 |
-
|
233 |
-
|
|
|
234 |
$calendar_events[ $date ][] = $event;
|
235 |
-
$
|
236 |
}
|
237 |
|
238 |
}else{
|
228 |
|
229 |
$start = eo_get_the_start( DATETIMEOBJ, $event->ID, null, $event->occurrence_id );
|
230 |
$end = eo_get_the_end( DATETIMEOBJ, $event->ID, null, $event->occurrence_id );
|
231 |
+
$pointer = clone $start;
|
232 |
+
|
233 |
+
while( $pointer <= $end ){
|
234 |
+
$date = eo_format_datetime( $pointer, 'Y-m-d' );
|
235 |
$calendar_events[ $date ][] = $event;
|
236 |
+
$pointer->modify( '+1 day' );
|
237 |
}
|
238 |
|
239 |
}else{
|
classes/class-eo-event-list-widget.php
CHANGED
@@ -56,6 +56,7 @@ class EO_Event_List_Widget extends WP_Widget{
|
|
56 |
<select id="<?php echo $this->get_field_id('orderby'); ?>" name="<?php echo $this->get_field_name('orderby'); ?>" type="text">
|
57 |
<option value="eventstart" <?php selected($instance['orderby'], 'eventstart'); ?>><?php _e('Start date', 'eventorganiser'); ?></option>
|
58 |
<option value="title" <?php selected($instance['orderby'], 'title');?>><?php _e('Title', 'eventorganiser'); ?> </option>
|
|
|
59 |
</select>
|
60 |
<select id="<?php echo $this->get_field_id('order'); ?>" name="<?php echo $this->get_field_name('order'); ?>" type="text">
|
61 |
<option value="asc" <?php selected($instance['order'], 'asc'); ?>><?php _e('ASC', 'eventorganiser'); ?> </option>
|
@@ -102,7 +103,7 @@ class EO_Event_List_Widget extends WP_Widget{
|
|
102 |
$validated['event-category'] = implode(',',$event_cats);
|
103 |
$validated['venue'] = sanitize_text_field( $new_instance['venue'] );
|
104 |
$validated['order'] = ($new_instance['order'] == 'asc' ? 'asc' : 'desc');
|
105 |
-
$validated['orderby'] = ( $new_instance['orderby']
|
106 |
$validated['showpastevents'] = ( !empty($new_instance['showpastevents']) ? 1: 0);
|
107 |
$validated['group_events_by'] = ( isset($new_instance['group_events_by']) && $new_instance['group_events_by']=='series' ? 'series': '');
|
108 |
$validated['template'] = $new_instance['template'];
|
56 |
<select id="<?php echo $this->get_field_id('orderby'); ?>" name="<?php echo $this->get_field_name('orderby'); ?>" type="text">
|
57 |
<option value="eventstart" <?php selected($instance['orderby'], 'eventstart'); ?>><?php _e('Start date', 'eventorganiser'); ?></option>
|
58 |
<option value="title" <?php selected($instance['orderby'], 'title');?>><?php _e('Title', 'eventorganiser'); ?> </option>
|
59 |
+
<option value="date" <?php selected($instance['orderby'], 'date');?>><?php _e('Publish date', 'eventorganiser'); ?> </option>
|
60 |
</select>
|
61 |
<select id="<?php echo $this->get_field_id('order'); ?>" name="<?php echo $this->get_field_name('order'); ?>" type="text">
|
62 |
<option value="asc" <?php selected($instance['order'], 'asc'); ?>><?php _e('ASC', 'eventorganiser'); ?> </option>
|
103 |
$validated['event-category'] = implode(',',$event_cats);
|
104 |
$validated['venue'] = sanitize_text_field( $new_instance['venue'] );
|
105 |
$validated['order'] = ($new_instance['order'] == 'asc' ? 'asc' : 'desc');
|
106 |
+
$validated['orderby'] = in_array( $new_instance['orderby'], array( 'title', 'eventstart', 'date' ) ) ? $new_instance['orderby'] : 'eventstart';
|
107 |
$validated['showpastevents'] = ( !empty($new_instance['showpastevents']) ? 1: 0);
|
108 |
$validated['group_events_by'] = ( isset($new_instance['group_events_by']) && $new_instance['group_events_by']=='series' ? 'series': '');
|
109 |
$validated['template'] = $new_instance['template'];
|
composer.json
DELETED
@@ -1,23 +0,0 @@
|
|
1 |
-
{
|
2 |
-
"name": "stephenharris/event-organiser",
|
3 |
-
"description": "Event management plug-in for WordPress",
|
4 |
-
"keywords": ["events", "wordpress"],
|
5 |
-
"homepage": "http://wp-event-organiser.com",
|
6 |
-
"type": "wordpress-plugin",
|
7 |
-
"license": "GPL-3.0+",
|
8 |
-
"authors": [
|
9 |
-
{
|
10 |
-
"name": "Stephen Harris",
|
11 |
-
"email": "contact@stephenharris.info",
|
12 |
-
"homepage": "http://www.stephenharris.info"
|
13 |
-
}
|
14 |
-
],
|
15 |
-
"support": {
|
16 |
-
"forum": "http://wp-event-organiser.com/forums",
|
17 |
-
"issues": "https://github.com/stephenharris/Event-Organiser/issues"
|
18 |
-
},
|
19 |
-
"require-dev": {
|
20 |
-
"phpunit/phpunit": "3.7.*"
|
21 |
-
}
|
22 |
-
}
|
23 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
composer.lock
DELETED
@@ -1,439 +0,0 @@
|
|
1 |
-
{
|
2 |
-
"_readme": [
|
3 |
-
"This file locks the dependencies of your project to a known state",
|
4 |
-
"Read more about it at http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file"
|
5 |
-
],
|
6 |
-
"hash": "ad18c69a12257fcc6c30c20c88fcbd40",
|
7 |
-
"packages": [
|
8 |
-
|
9 |
-
],
|
10 |
-
"packages-dev": [
|
11 |
-
{
|
12 |
-
"name": "phpunit/php-code-coverage",
|
13 |
-
"version": "1.2.13",
|
14 |
-
"source": {
|
15 |
-
"type": "git",
|
16 |
-
"url": "https://github.com/sebastianbergmann/php-code-coverage.git",
|
17 |
-
"reference": "466e7cd2554b4e264c9e3f31216d25ac0e5f3d94"
|
18 |
-
},
|
19 |
-
"dist": {
|
20 |
-
"type": "zip",
|
21 |
-
"url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/466e7cd2554b4e264c9e3f31216d25ac0e5f3d94",
|
22 |
-
"reference": "466e7cd2554b4e264c9e3f31216d25ac0e5f3d94",
|
23 |
-
"shasum": ""
|
24 |
-
},
|
25 |
-
"require": {
|
26 |
-
"php": ">=5.3.3",
|
27 |
-
"phpunit/php-file-iterator": ">=1.3.0@stable",
|
28 |
-
"phpunit/php-text-template": ">=1.1.1@stable",
|
29 |
-
"phpunit/php-token-stream": ">=1.1.3@stable"
|
30 |
-
},
|
31 |
-
"require-dev": {
|
32 |
-
"phpunit/phpunit": "3.7.*@dev"
|
33 |
-
},
|
34 |
-
"suggest": {
|
35 |
-
"ext-dom": "*",
|
36 |
-
"ext-xdebug": ">=2.0.5"
|
37 |
-
},
|
38 |
-
"type": "library",
|
39 |
-
"extra": {
|
40 |
-
"branch-alias": {
|
41 |
-
"dev-master": "1.2.x-dev"
|
42 |
-
}
|
43 |
-
},
|
44 |
-
"autoload": {
|
45 |
-
"classmap": [
|
46 |
-
"PHP/"
|
47 |
-
]
|
48 |
-
},
|
49 |
-
"notification-url": "https://packagist.org/downloads/",
|
50 |
-
"include-path": [
|
51 |
-
""
|
52 |
-
],
|
53 |
-
"license": [
|
54 |
-
"BSD-3-Clause"
|
55 |
-
],
|
56 |
-
"authors": [
|
57 |
-
{
|
58 |
-
"name": "Sebastian Bergmann",
|
59 |
-
"email": "sb@sebastian-bergmann.de",
|
60 |
-
"role": "lead"
|
61 |
-
}
|
62 |
-
],
|
63 |
-
"description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.",
|
64 |
-
"homepage": "https://github.com/sebastianbergmann/php-code-coverage",
|
65 |
-
"keywords": [
|
66 |
-
"coverage",
|
67 |
-
"testing",
|
68 |
-
"xunit"
|
69 |
-
],
|
70 |
-
"time": "2013-09-10 08:14:32"
|
71 |
-
},
|
72 |
-
{
|
73 |
-
"name": "phpunit/php-file-iterator",
|
74 |
-
"version": "1.3.4",
|
75 |
-
"source": {
|
76 |
-
"type": "git",
|
77 |
-
"url": "https://github.com/sebastianbergmann/php-file-iterator.git",
|
78 |
-
"reference": "acd690379117b042d1c8af1fafd61bde001bf6bb"
|
79 |
-
},
|
80 |
-
"dist": {
|
81 |
-
"type": "zip",
|
82 |
-
"url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/acd690379117b042d1c8af1fafd61bde001bf6bb",
|
83 |
-
"reference": "acd690379117b042d1c8af1fafd61bde001bf6bb",
|
84 |
-
"shasum": ""
|
85 |
-
},
|
86 |
-
"require": {
|
87 |
-
"php": ">=5.3.3"
|
88 |
-
},
|
89 |
-
"type": "library",
|
90 |
-
"autoload": {
|
91 |
-
"classmap": [
|
92 |
-
"File/"
|
93 |
-
]
|
94 |
-
},
|
95 |
-
"notification-url": "https://packagist.org/downloads/",
|
96 |
-
"include-path": [
|
97 |
-
""
|
98 |
-
],
|
99 |
-
"license": [
|
100 |
-
"BSD-3-Clause"
|
101 |
-
],
|
102 |
-
"authors": [
|
103 |
-
{
|
104 |
-
"name": "Sebastian Bergmann",
|
105 |
-
"email": "sb@sebastian-bergmann.de",
|
106 |
-
"role": "lead"
|
107 |
-
}
|
108 |
-
],
|
109 |
-
"description": "FilterIterator implementation that filters files based on a list of suffixes.",
|
110 |
-
"homepage": "https://github.com/sebastianbergmann/php-file-iterator/",
|
111 |
-
"keywords": [
|
112 |
-
"filesystem",
|
113 |
-
"iterator"
|
114 |
-
],
|
115 |
-
"time": "2013-10-10 15:34:57"
|
116 |
-
},
|
117 |
-
{
|
118 |
-
"name": "phpunit/php-text-template",
|
119 |
-
"version": "1.1.4",
|
120 |
-
"source": {
|
121 |
-
"type": "git",
|
122 |
-
"url": "https://github.com/sebastianbergmann/php-text-template.git",
|
123 |
-
"reference": "5180896f51c5b3648ac946b05f9ec02be78a0b23"
|
124 |
-
},
|
125 |
-
"dist": {
|
126 |
-
"type": "zip",
|
127 |
-
"url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/5180896f51c5b3648ac946b05f9ec02be78a0b23",
|
128 |
-
"reference": "5180896f51c5b3648ac946b05f9ec02be78a0b23",
|
129 |
-
"shasum": ""
|
130 |
-
},
|
131 |
-
"require": {
|
132 |
-
"php": ">=5.3.3"
|
133 |
-
},
|
134 |
-
"type": "library",
|
135 |
-
"autoload": {
|
136 |
-
"classmap": [
|
137 |
-
"Text/"
|
138 |
-
]
|
139 |
-
},
|
140 |
-
"notification-url": "https://packagist.org/downloads/",
|
141 |
-
"include-path": [
|
142 |
-
""
|
143 |
-
],
|
144 |
-
"license": [
|
145 |
-
"BSD-3-Clause"
|
146 |
-
],
|
147 |
-
"authors": [
|
148 |
-
{
|
149 |
-
"name": "Sebastian Bergmann",
|
150 |
-
"email": "sb@sebastian-bergmann.de",
|
151 |
-
"role": "lead"
|
152 |
-
}
|
153 |
-
],
|
154 |
-
"description": "Simple template engine.",
|
155 |
-
"homepage": "https://github.com/sebastianbergmann/php-text-template/",
|
156 |
-
"keywords": [
|
157 |
-
"template"
|
158 |
-
],
|
159 |
-
"time": "2012-10-31 18:15:28"
|
160 |
-
},
|
161 |
-
{
|
162 |
-
"name": "phpunit/php-timer",
|
163 |
-
"version": "1.0.5",
|
164 |
-
"source": {
|
165 |
-
"type": "git",
|
166 |
-
"url": "https://github.com/sebastianbergmann/php-timer.git",
|
167 |
-
"reference": "19689d4354b295ee3d8c54b4f42c3efb69cbc17c"
|
168 |
-
},
|
169 |
-
"dist": {
|
170 |
-
"type": "zip",
|
171 |
-
"url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/19689d4354b295ee3d8c54b4f42c3efb69cbc17c",
|
172 |
-
"reference": "19689d4354b295ee3d8c54b4f42c3efb69cbc17c",
|
173 |
-
"shasum": ""
|
174 |
-
},
|
175 |
-
"require": {
|
176 |
-
"php": ">=5.3.3"
|
177 |
-
},
|
178 |
-
"type": "library",
|
179 |
-
"autoload": {
|
180 |
-
"classmap": [
|
181 |
-
"PHP/"
|
182 |
-
]
|
183 |
-
},
|
184 |
-
"notification-url": "https://packagist.org/downloads/",
|
185 |
-
"include-path": [
|
186 |
-
""
|
187 |
-
],
|
188 |
-
"license": [
|
189 |
-
"BSD-3-Clause"
|
190 |
-
],
|
191 |
-
"authors": [
|
192 |
-
{
|
193 |
-
"name": "Sebastian Bergmann",
|
194 |
-
"email": "sb@sebastian-bergmann.de",
|
195 |
-
"role": "lead"
|
196 |
-
}
|
197 |
-
],
|
198 |
-
"description": "Utility class for timing",
|
199 |
-
"homepage": "https://github.com/sebastianbergmann/php-timer/",
|
200 |
-
"keywords": [
|
201 |
-
"timer"
|
202 |
-
],
|
203 |
-
"time": "2013-08-02 07:42:54"
|
204 |
-
},
|
205 |
-
{
|
206 |
-
"name": "phpunit/php-token-stream",
|
207 |
-
"version": "1.2.1",
|
208 |
-
"source": {
|
209 |
-
"type": "git",
|
210 |
-
"url": "https://github.com/sebastianbergmann/php-token-stream.git",
|
211 |
-
"reference": "5220af2a7929aa35cf663d97c89ad3d50cf5fa3e"
|
212 |
-
},
|
213 |
-
"dist": {
|
214 |
-
"type": "zip",
|
215 |
-
"url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/5220af2a7929aa35cf663d97c89ad3d50cf5fa3e",
|
216 |
-
"reference": "5220af2a7929aa35cf663d97c89ad3d50cf5fa3e",
|
217 |
-
"shasum": ""
|
218 |
-
},
|
219 |
-
"require": {
|
220 |
-
"ext-tokenizer": "*",
|
221 |
-
"php": ">=5.3.3"
|
222 |
-
},
|
223 |
-
"type": "library",
|
224 |
-
"extra": {
|
225 |
-
"branch-alias": {
|
226 |
-
"dev-master": "1.2-dev"
|
227 |
-
}
|
228 |
-
},
|
229 |
-
"autoload": {
|
230 |
-
"classmap": [
|
231 |
-
"PHP/"
|
232 |
-
]
|
233 |
-
},
|
234 |
-
"notification-url": "https://packagist.org/downloads/",
|
235 |
-
"include-path": [
|
236 |
-
""
|
237 |
-
],
|
238 |
-
"license": [
|
239 |
-
"BSD-3-Clause"
|
240 |
-
],
|
241 |
-
"authors": [
|
242 |
-
{
|
243 |
-
"name": "Sebastian Bergmann",
|
244 |
-
"email": "sb@sebastian-bergmann.de",
|
245 |
-
"role": "lead"
|
246 |
-
}
|
247 |
-
],
|
248 |
-
"description": "Wrapper around PHP's tokenizer extension.",
|
249 |
-
"homepage": "https://github.com/sebastianbergmann/php-token-stream/",
|
250 |
-
"keywords": [
|
251 |
-
"tokenizer"
|
252 |
-
],
|
253 |
-
"time": "2013-09-13 04:58:23"
|
254 |
-
},
|
255 |
-
{
|
256 |
-
"name": "phpunit/phpunit",
|
257 |
-
"version": "3.7.28",
|
258 |
-
"source": {
|
259 |
-
"type": "git",
|
260 |
-
"url": "https://github.com/sebastianbergmann/phpunit.git",
|
261 |
-
"reference": "3b97c8492bcafbabe6b6fbd2ab35f2f04d932a8d"
|
262 |
-
},
|
263 |
-
"dist": {
|
264 |
-
"type": "zip",
|
265 |
-
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/3b97c8492bcafbabe6b6fbd2ab35f2f04d932a8d",
|
266 |
-
"reference": "3b97c8492bcafbabe6b6fbd2ab35f2f04d932a8d",
|
267 |
-
"shasum": ""
|
268 |
-
},
|
269 |
-
"require": {
|
270 |
-
"ext-dom": "*",
|
271 |
-
"ext-pcre": "*",
|
272 |
-
"ext-reflection": "*",
|
273 |
-
"ext-spl": "*",
|
274 |
-
"php": ">=5.3.3",
|
275 |
-
"phpunit/php-code-coverage": "~1.2.1",
|
276 |
-
"phpunit/php-file-iterator": ">=1.3.1",
|
277 |
-
"phpunit/php-text-template": ">=1.1.1",
|
278 |
-
"phpunit/php-timer": ">=1.0.4",
|
279 |
-
"phpunit/phpunit-mock-objects": "~1.2.0",
|
280 |
-
"symfony/yaml": "~2.0"
|
281 |
-
},
|
282 |
-
"require-dev": {
|
283 |
-
"pear-pear/pear": "1.9.4"
|
284 |
-
},
|
285 |
-
"suggest": {
|
286 |
-
"ext-json": "*",
|
287 |
-
"ext-simplexml": "*",
|
288 |
-
"ext-tokenizer": "*",
|
289 |
-
"phpunit/php-invoker": ">=1.1.0,<1.2.0"
|
290 |
-
},
|
291 |
-
"bin": [
|
292 |
-
"composer/bin/phpunit"
|
293 |
-
],
|
294 |
-
"type": "library",
|
295 |
-
"extra": {
|
296 |
-
"branch-alias": {
|
297 |
-
"dev-master": "3.7.x-dev"
|
298 |
-
}
|
299 |
-
},
|
300 |
-
"autoload": {
|
301 |
-
"classmap": [
|
302 |
-
"PHPUnit/"
|
303 |
-
]
|
304 |
-
},
|
305 |
-
"notification-url": "https://packagist.org/downloads/",
|
306 |
-
"include-path": [
|
307 |
-
"",
|
308 |
-
"../../symfony/yaml/"
|
309 |
-
],
|
310 |
-
"license": [
|
311 |
-
"BSD-3-Clause"
|
312 |
-
],
|
313 |
-
"authors": [
|
314 |
-
{
|
315 |
-
"name": "Sebastian Bergmann",
|
316 |
-
"email": "sebastian@phpunit.de",
|
317 |
-
"role": "lead"
|
318 |
-
}
|
319 |
-
],
|
320 |
-
"description": "The PHP Unit Testing framework.",
|
321 |
-
"homepage": "http://www.phpunit.de/",
|
322 |
-
"keywords": [
|
323 |
-
"phpunit",
|
324 |
-
"testing",
|
325 |
-
"xunit"
|
326 |
-
],
|
327 |
-
"time": "2013-10-17 07:27:40"
|
328 |
-
},
|
329 |
-
{
|
330 |
-
"name": "phpunit/phpunit-mock-objects",
|
331 |
-
"version": "1.2.3",
|
332 |
-
"source": {
|
333 |
-
"type": "git",
|
334 |
-
"url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",
|
335 |
-
"reference": "5794e3c5c5ba0fb037b11d8151add2a07fa82875"
|
336 |
-
},
|
337 |
-
"dist": {
|
338 |
-
"type": "zip",
|
339 |
-
"url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/5794e3c5c5ba0fb037b11d8151add2a07fa82875",
|
340 |
-
"reference": "5794e3c5c5ba0fb037b11d8151add2a07fa82875",
|
341 |
-
"shasum": ""
|
342 |
-
},
|
343 |
-
"require": {
|
344 |
-
"php": ">=5.3.3",
|
345 |
-
"phpunit/php-text-template": ">=1.1.1@stable"
|
346 |
-
},
|
347 |
-
"suggest": {
|
348 |
-
"ext-soap": "*"
|
349 |
-
},
|
350 |
-
"type": "library",
|
351 |
-
"autoload": {
|
352 |
-
"classmap": [
|
353 |
-
"PHPUnit/"
|
354 |
-
]
|
355 |
-
},
|
356 |
-
"notification-url": "https://packagist.org/downloads/",
|
357 |
-
"include-path": [
|
358 |
-
""
|
359 |
-
],
|
360 |
-
"license": [
|
361 |
-
"BSD-3-Clause"
|
362 |
-
],
|
363 |
-
"authors": [
|
364 |
-
{
|
365 |
-
"name": "Sebastian Bergmann",
|
366 |
-
"email": "sb@sebastian-bergmann.de",
|
367 |
-
"role": "lead"
|
368 |
-
}
|
369 |
-
],
|
370 |
-
"description": "Mock Object library for PHPUnit",
|
371 |
-
"homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/",
|
372 |
-
"keywords": [
|
373 |
-
"mock",
|
374 |
-
"xunit"
|
375 |
-
],
|
376 |
-
"time": "2013-01-13 10:24:48"
|
377 |
-
},
|
378 |
-
{
|
379 |
-
"name": "symfony/yaml",
|
380 |
-
"version": "v2.3.6",
|
381 |
-
"target-dir": "Symfony/Component/Yaml",
|
382 |
-
"source": {
|
383 |
-
"type": "git",
|
384 |
-
"url": "https://github.com/symfony/Yaml.git",
|
385 |
-
"reference": "6bb881b948368482e1abf1a75c08bcf88a1c5fc3"
|
386 |
-
},
|
387 |
-
"dist": {
|
388 |
-
"type": "zip",
|
389 |
-
"url": "https://api.github.com/repos/symfony/Yaml/zipball/6bb881b948368482e1abf1a75c08bcf88a1c5fc3",
|
390 |
-
"reference": "6bb881b948368482e1abf1a75c08bcf88a1c5fc3",
|
391 |
-
"shasum": ""
|
392 |
-
},
|
393 |
-
"require": {
|
394 |
-
"php": ">=5.3.3"
|
395 |
-
},
|
396 |
-
"type": "library",
|
397 |
-
"extra": {
|
398 |
-
"branch-alias": {
|
399 |
-
"dev-master": "2.3-dev"
|
400 |
-
}
|
401 |
-
},
|
402 |
-
"autoload": {
|
403 |
-
"psr-0": {
|
404 |
-
"Symfony\\Component\\Yaml\\": ""
|
405 |
-
}
|
406 |
-
},
|
407 |
-
"notification-url": "https://packagist.org/downloads/",
|
408 |
-
"license": [
|
409 |
-
"MIT"
|
410 |
-
],
|
411 |
-
"authors": [
|
412 |
-
{
|
413 |
-
"name": "Fabien Potencier",
|
414 |
-
"email": "fabien@symfony.com"
|
415 |
-
},
|
416 |
-
{
|
417 |
-
"name": "Symfony Community",
|
418 |
-
"homepage": "http://symfony.com/contributors"
|
419 |
-
}
|
420 |
-
],
|
421 |
-
"description": "Symfony Yaml Component",
|
422 |
-
"homepage": "http://symfony.com",
|
423 |
-
"time": "2013-09-22 18:04:39"
|
424 |
-
}
|
425 |
-
],
|
426 |
-
"aliases": [
|
427 |
-
|
428 |
-
],
|
429 |
-
"minimum-stability": "stable",
|
430 |
-
"stability-flags": [
|
431 |
-
|
432 |
-
],
|
433 |
-
"platform": [
|
434 |
-
|
435 |
-
],
|
436 |
-
"platform-dev": [
|
437 |
-
|
438 |
-
]
|
439 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
css/eventorganiser-admin-style.css
CHANGED
@@ -26,7 +26,7 @@
|
|
26 |
/* Calendar View*/
|
27 |
.fc-button-next,.fc-button-prev {margin-top:2px;}
|
28 |
.fc-text-arrow{line-height:0em;}
|
29 |
-
.fc-button-prev .ui-button-text
|
30 |
.fc-button{line-height:1em;height: 2.2em;line-height: 2.2em;}
|
31 |
.event.past-event{opacity:0.5;}
|
32 |
form.eo_cal .ui-autocomplete-input{width:220px;}
|
26 |
/* Calendar View*/
|
27 |
.fc-button-next,.fc-button-prev {margin-top:2px;}
|
28 |
.fc-text-arrow{line-height:0em;}
|
29 |
+
.fc-button-prev .ui-button-text, .fc-button-next .ui-button-text {padding-top: 0.5em;}
|
30 |
.fc-button{line-height:1em;height: 2.2em;line-height: 2.2em;}
|
31 |
.event.past-event{opacity:0.5;}
|
32 |
form.eo_cal .ui-autocomplete-input{width:220px;}
|
event-organiser.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/*
|
3 |
Plugin Name: Event Organiser
|
4 |
Plugin URI: http://www.wp-event-organiser.com
|
5 |
-
Version: 2.
|
6 |
Description: Creates a custom post type 'events' with features such as reoccurring events, venues, Google Maps, calendar views and events and venue pages
|
7 |
Author: Stephen Harris
|
8 |
Author URI: http://www.stephenharris.info
|
@@ -38,7 +38,7 @@ Domain Path: /languages
|
|
38 |
/**
|
39 |
* Set the plug-in database version
|
40 |
*/
|
41 |
-
define( 'EVENT_ORGANISER_VER', '2.
|
42 |
|
43 |
|
44 |
add_action( 'after_setup_theme', '_eventorganiser_set_constants' );
|
2 |
/*
|
3 |
Plugin Name: Event Organiser
|
4 |
Plugin URI: http://www.wp-event-organiser.com
|
5 |
+
Version: 2.5.1
|
6 |
Description: Creates a custom post type 'events' with features such as reoccurring events, venues, Google Maps, calendar views and events and venue pages
|
7 |
Author: Stephen Harris
|
8 |
Author URI: http://www.stephenharris.info
|
38 |
/**
|
39 |
* Set the plug-in database version
|
40 |
*/
|
41 |
+
define( 'EVENT_ORGANISER_VER', '2.5.1' );
|
42 |
|
43 |
|
44 |
add_action( 'after_setup_theme', '_eventorganiser_set_constants' );
|
includes/class-eo-ical-parser.php
CHANGED
@@ -53,6 +53,10 @@ class EO_ICAL_Parser{
|
|
53 |
var $current_event = array();
|
54 |
|
55 |
var $line = 0; //Current line being parsed
|
|
|
|
|
|
|
|
|
56 |
|
57 |
/**
|
58 |
* Constructor with settings passed as arguments
|
@@ -68,14 +72,18 @@ class EO_ICAL_Parser{
|
|
68 |
'CANCELLED' => 'trash',
|
69 |
'TENTATIVE' => 'draft',
|
70 |
),
|
71 |
-
'default_status' => 'draft',
|
|
|
72 |
), $args );
|
73 |
|
74 |
-
|
|
|
75 |
$this->calendar_timezone = eo_get_blog_timezone();
|
76 |
|
77 |
$this->default_status = $args['default_status'];
|
78 |
$this->status_map = $args['status_map'];
|
|
|
|
|
79 |
}
|
80 |
|
81 |
|
@@ -104,10 +112,23 @@ class EO_ICAL_Parser{
|
|
104 |
|
105 |
if( is_wp_error( $this->ical_array ) )
|
106 |
return $this->ical_array;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
107 |
|
108 |
//Go through array and parse events
|
109 |
$result = $this->parse_ical_array();
|
110 |
-
|
|
|
|
|
|
|
|
|
111 |
$this->events_parsed = count( $this->events );
|
112 |
$this->venue_parsed = count( $this->venues );
|
113 |
$this->categories_parsed = count( $this->categories );
|
@@ -178,6 +199,35 @@ class EO_ICAL_Parser{
|
|
178 |
return $lines;
|
179 |
}
|
180 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
181 |
|
182 |
/**
|
183 |
* Parses through an array of lines (of an ICAL file)
|
@@ -185,12 +235,19 @@ class EO_ICAL_Parser{
|
|
185 |
*/
|
186 |
protected function parse_ical_array(){
|
187 |
|
188 |
-
$
|
|
|
|
|
189 |
$this->line = 1;
|
190 |
|
191 |
//Read through each line
|
192 |
-
|
193 |
-
|
|
|
|
|
|
|
|
|
|
|
194 |
|
195 |
if( !empty( $buff ) ):
|
196 |
$line = explode(':',$buff,2);
|
@@ -201,11 +258,18 @@ class EO_ICAL_Parser{
|
|
201 |
$value = ( isset( $line[1] ) ? trim( $line[1] ) : '' );
|
202 |
|
203 |
//If we are in EVENT state
|
204 |
-
if ( $state == "VEVENT" ) {
|
205 |
-
|
|
|
|
|
|
|
|
|
|
|
206 |
//If END:VEVENT, add event to parsed events and clear $event
|
207 |
-
|
208 |
-
$state = "VCALENDAR";
|
|
|
|
|
209 |
|
210 |
//Now we've finished passing the event, move venue data to $this->venue_meta
|
211 |
if( isset( $this->current_event['geo'] ) && !empty( $this->current_event['event-venue'] ) ){
|
@@ -215,6 +279,15 @@ class EO_ICAL_Parser{
|
|
215 |
unset( $this->current_event['geo'] );
|
216 |
}
|
217 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
218 |
$this->events[] = $this->current_event;
|
219 |
$this->current_event = array();
|
220 |
|
@@ -231,31 +304,40 @@ class EO_ICAL_Parser{
|
|
231 |
|
232 |
}catch( Exception $e ){
|
233 |
$this->report_error( $this->line, 'event-property-error', $e->getMessage() );
|
234 |
-
$state = "VCALENDAR";//Abort parsing event
|
235 |
}
|
236 |
}
|
237 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
238 |
// If we are in CALENDAR state
|
239 |
-
}elseif ($state == "VCALENDAR") {
|
240 |
|
241 |
//Begin event
|
242 |
if( $property=='BEGIN' && $value=='VEVENT'){
|
243 |
-
$state = "VEVENT";
|
244 |
-
$this->current_event = array();
|
245 |
|
246 |
}elseif ( $property=='END' && $value=='VCALENDAR'){
|
247 |
-
$state = "
|
248 |
|
249 |
}elseif($property=='X-WR-TIMEZONE'){
|
250 |
$this->calendar_timezone = $this->parse_timezone($value);
|
251 |
}
|
252 |
|
253 |
//Other
|
254 |
-
}elseif($state == "NONE" && $property=='BEGIN' && $value=='VCALENDAR') {
|
255 |
-
$state = "VCALENDAR";
|
256 |
}
|
257 |
endif; //If line is not empty
|
258 |
-
|
259 |
}
|
260 |
|
261 |
|
@@ -268,11 +350,20 @@ class EO_ICAL_Parser{
|
|
268 |
*/
|
269 |
protected function report_error( $line, $type, $message ){
|
270 |
|
271 |
-
$
|
|
|
272 |
$type,
|
273 |
-
sprintf( __( '[
|
274 |
array( 'line' => $line )
|
275 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
276 |
}
|
277 |
|
278 |
/**
|
@@ -284,11 +375,20 @@ class EO_ICAL_Parser{
|
|
284 |
*/
|
285 |
protected function report_warning( $line, $type, $message ){
|
286 |
|
287 |
-
$
|
288 |
-
|
289 |
-
|
290 |
-
|
291 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
292 |
}
|
293 |
|
294 |
|
@@ -381,9 +481,17 @@ class EO_ICAL_Parser{
|
|
381 |
|
382 |
//The event's description (AKA post content)
|
383 |
case 'DESCRIPTION':
|
384 |
-
$this->current_event['post_content']
|
|
|
385 |
break;
|
386 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
387 |
//Event venues, assign to existing venue - or if set, create new one
|
388 |
case 'LOCATION':
|
389 |
if( !empty( $value ) ):
|
@@ -441,6 +549,16 @@ class EO_ICAL_Parser{
|
|
441 |
|
442 |
}
|
443 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
444 |
|
445 |
/**
|
446 |
* Takes escaped text and returns the text unescaped.
|
53 |
var $current_event = array();
|
54 |
|
55 |
var $line = 0; //Current line being parsed
|
56 |
+
|
57 |
+
var $state = "NONE";
|
58 |
+
|
59 |
+
var $parse_html = true; //If description is given in HTML, try to use that.
|
60 |
|
61 |
/**
|
62 |
* Constructor with settings passed as arguments
|
72 |
'CANCELLED' => 'trash',
|
73 |
'TENTATIVE' => 'draft',
|
74 |
),
|
75 |
+
'default_status' => 'draft',
|
76 |
+
'parse_html' => true,
|
77 |
), $args );
|
78 |
|
79 |
+
$args = apply_filters_ref_array( 'eventorganiser_ical_parser_args', array( $args, &$this ) );
|
80 |
+
|
81 |
$this->calendar_timezone = eo_get_blog_timezone();
|
82 |
|
83 |
$this->default_status = $args['default_status'];
|
84 |
$this->status_map = $args['status_map'];
|
85 |
+
$this->parse_html = $args['parse_html'];
|
86 |
+
|
87 |
}
|
88 |
|
89 |
|
112 |
|
113 |
if( is_wp_error( $this->ical_array ) )
|
114 |
return $this->ical_array;
|
115 |
+
|
116 |
+
if( empty( $this->ical_array ) ){
|
117 |
+
return new WP_Error( 'unable-to-fetch',
|
118 |
+
sprintf(
|
119 |
+
'%s. Response code: %s.',
|
120 |
+
wp_remote_retrieve_response_message( $response ),
|
121 |
+
$response_code
|
122 |
+
));
|
123 |
+
}
|
124 |
|
125 |
//Go through array and parse events
|
126 |
$result = $this->parse_ical_array();
|
127 |
+
|
128 |
+
if( "NONE" == $this->state ){
|
129 |
+
return new WP_Error( 'unable-to-fetch', 'Feed not found' );
|
130 |
+
}
|
131 |
+
|
132 |
$this->events_parsed = count( $this->events );
|
133 |
$this->venue_parsed = count( $this->venues );
|
134 |
$this->categories_parsed = count( $this->categories );
|
199 |
return $lines;
|
200 |
}
|
201 |
|
202 |
+
/**
|
203 |
+
* Modifies the ical_array to unfold multi-line entries into a single line.
|
204 |
+
* Preserves the original line numbering so that line numbers in error messages
|
205 |
+
* match up with the line numbers when viewing the (unfolded) iCal file in a
|
206 |
+
* text editor.
|
207 |
+
*/
|
208 |
+
function unfold_lines( $lines ) {
|
209 |
+
|
210 |
+
$unfolded_lines = array();
|
211 |
+
|
212 |
+
$i = 0;
|
213 |
+
|
214 |
+
while( $i < count ( $lines ) ) {
|
215 |
+
|
216 |
+
$unfolded_lines[$i] = rtrim( $lines[$i], "\n\r" );
|
217 |
+
|
218 |
+
$j = $i+1;
|
219 |
+
|
220 |
+
while( isset( $lines[$j] ) && strlen( $lines[$j] ) > 0 && ( $lines[$j]{0} == ' ' || $lines[$j]{0} == "\t" )) {
|
221 |
+
$unfolded_lines[$i] .= rtrim( substr( $lines[$j], 1 ), "\n\r" );
|
222 |
+
$j++;
|
223 |
+
}
|
224 |
+
|
225 |
+
$i = ($j-1) + 1;
|
226 |
+
}
|
227 |
+
|
228 |
+
return $unfolded_lines;
|
229 |
+
}
|
230 |
+
|
231 |
|
232 |
/**
|
233 |
* Parses through an array of lines (of an ICAL file)
|
235 |
*/
|
236 |
protected function parse_ical_array(){
|
237 |
|
238 |
+
$this->ical_array = $this->unfold_lines( $this->ical_array );
|
239 |
+
|
240 |
+
$this->state = "NONE";//Initial state
|
241 |
$this->line = 1;
|
242 |
|
243 |
//Read through each line
|
244 |
+
foreach ( $this->ical_array as $index => $line_content ):
|
245 |
+
|
246 |
+
if( !empty( $this->errors ) )
|
247 |
+
break;
|
248 |
+
|
249 |
+
$this->line = $index + 1;
|
250 |
+
$buff = trim( $line_content );
|
251 |
|
252 |
if( !empty( $buff ) ):
|
253 |
$line = explode(':',$buff,2);
|
258 |
$value = ( isset( $line[1] ) ? trim( $line[1] ) : '' );
|
259 |
|
260 |
//If we are in EVENT state
|
261 |
+
if ( $this->state == "VEVENT" ) {
|
262 |
+
|
263 |
+
if( $property == "BEGIN" && $value == 'VALARM' ){
|
264 |
+
//In state VEVENT > VALARM
|
265 |
+
$this->state = "VEVENT:VALARM";
|
266 |
+
|
267 |
+
|
268 |
//If END:VEVENT, add event to parsed events and clear $event
|
269 |
+
}elseif( $property == 'END' && $value =='VEVENT' ){
|
270 |
+
$this->state = "VCALENDAR";
|
271 |
+
|
272 |
+
$this->current_event['_lines']['end'] = $this->line;
|
273 |
|
274 |
//Now we've finished passing the event, move venue data to $this->venue_meta
|
275 |
if( isset( $this->current_event['geo'] ) && !empty( $this->current_event['event-venue'] ) ){
|
279 |
unset( $this->current_event['geo'] );
|
280 |
}
|
281 |
|
282 |
+
if( empty( $this->current_event['uid'] ) ){
|
283 |
+
//var_dump( $this->current_event['_lines'] );
|
284 |
+
$this->report_warning(
|
285 |
+
$this->current_event['_lines'],
|
286 |
+
'event-no-uid',
|
287 |
+
"Event does not have a unique identifier (UID) property."
|
288 |
+
);
|
289 |
+
}
|
290 |
+
|
291 |
$this->events[] = $this->current_event;
|
292 |
$this->current_event = array();
|
293 |
|
304 |
|
305 |
}catch( Exception $e ){
|
306 |
$this->report_error( $this->line, 'event-property-error', $e->getMessage() );
|
307 |
+
$this->state = "VCALENDAR";//Abort parsing event
|
308 |
}
|
309 |
}
|
310 |
|
311 |
+
|
312 |
+
//We are in a VEVENT > VALARM stte
|
313 |
+
}elseif( $this->state == "VEVENT:VALARM" ){
|
314 |
+
|
315 |
+
//We ignore VALARMs...
|
316 |
+
if ( $property=='END' && $value=='VALARM')
|
317 |
+
$this->state = "VEVENT";
|
318 |
+
|
319 |
+
|
320 |
// If we are in CALENDAR state
|
321 |
+
}elseif ($this->state == "VCALENDAR") {
|
322 |
|
323 |
//Begin event
|
324 |
if( $property=='BEGIN' && $value=='VEVENT'){
|
325 |
+
$this->state = "VEVENT";
|
326 |
+
$this->current_event = array( '_lines' => array( 'start' => $this->line ) );
|
327 |
|
328 |
}elseif ( $property=='END' && $value=='VCALENDAR'){
|
329 |
+
$this->state = "ENDCALENDAR";
|
330 |
|
331 |
}elseif($property=='X-WR-TIMEZONE'){
|
332 |
$this->calendar_timezone = $this->parse_timezone($value);
|
333 |
}
|
334 |
|
335 |
//Other
|
336 |
+
}elseif($this->state == "NONE" && $property=='BEGIN' && $value=='VCALENDAR') {
|
337 |
+
$this->state = "VCALENDAR";
|
338 |
}
|
339 |
endif; //If line is not empty
|
340 |
+
endforeach; //For each line
|
341 |
}
|
342 |
|
343 |
|
350 |
*/
|
351 |
protected function report_error( $line, $type, $message ){
|
352 |
|
353 |
+
if( is_array( $line ) ){
|
354 |
+
$this->errors[] = new WP_Error(
|
355 |
$type,
|
356 |
+
sprintf( __( '[Lines %1$d-%2$d]', 'eventorganiser' ), $line['start'], $line['end'] ).' '.$message,
|
357 |
array( 'line' => $line )
|
358 |
+
);
|
359 |
+
|
360 |
+
}else{
|
361 |
+
$this->errors[] = new WP_Error(
|
362 |
+
$type,
|
363 |
+
sprintf( __( '[Line %1$d]', 'eventorganiser' ), $line ).' '.$message,
|
364 |
+
array( 'line' => $line )
|
365 |
+
);
|
366 |
+
}
|
367 |
}
|
368 |
|
369 |
/**
|
375 |
*/
|
376 |
protected function report_warning( $line, $type, $message ){
|
377 |
|
378 |
+
if( is_array( $line ) ){
|
379 |
+
$this->warnings[] = new WP_Error(
|
380 |
+
$type,
|
381 |
+
sprintf( __( '[Lines %1$d-%2$d]', 'eventorganiser' ), $line['start'], $line['end'] ).' '.$message,
|
382 |
+
array( 'line' => $line )
|
383 |
+
);
|
384 |
+
|
385 |
+
}else{
|
386 |
+
$this->warnings[] = new WP_Error(
|
387 |
+
$type,
|
388 |
+
sprintf( __( '[Line %1$d]', 'eventorganiser' ), $line ).' '.$message,
|
389 |
+
array( 'line' => $line )
|
390 |
+
);
|
391 |
+
}
|
392 |
}
|
393 |
|
394 |
|
481 |
|
482 |
//The event's description (AKA post content)
|
483 |
case 'DESCRIPTION':
|
484 |
+
if( !isset( $this->current_event['post_content'] ) )
|
485 |
+
$this->current_event['post_content'] = $this->parse_ical_text( $value );
|
486 |
break;
|
487 |
+
|
488 |
+
//Description, in alternative format
|
489 |
+
case 'X-ALT-DESC':
|
490 |
+
if( $this->parse_html && !empty( $modifiers[0] ) && in_array( $modifiers[0], array( "FMTTYPE=text/html", "ALTREP=text/html" ) ) ){
|
491 |
+
$this->current_event['post_content'] = $this->parse_ical_html( $value );
|
492 |
+
}
|
493 |
+
break;
|
494 |
+
|
495 |
//Event venues, assign to existing venue - or if set, create new one
|
496 |
case 'LOCATION':
|
497 |
if( !empty( $value ) ):
|
549 |
|
550 |
}
|
551 |
|
552 |
+
protected function parse_ical_html( $text ){
|
553 |
+
|
554 |
+
$text = $this->parse_ical_text( $text );
|
555 |
+
|
556 |
+
if( preg_match( "/<body>(.+)<\/body>/i", $text, $matches ) ){
|
557 |
+
$text = $matches[1];
|
558 |
+
}
|
559 |
+
|
560 |
+
return $text;
|
561 |
+
}
|
562 |
|
563 |
/**
|
564 |
* Takes escaped text and returns the text unescaped.
|
includes/debug.php
DELETED
@@ -1,57 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Checks if wp_footer() is called.
|
4 |
-
*/
|
5 |
-
class EventOrganiser_No_WP_Footer
|
6 |
-
{
|
7 |
-
|
8 |
-
/**
|
9 |
-
* Instance
|
10 |
-
* @static
|
11 |
-
* @access private
|
12 |
-
* @var object
|
13 |
-
*/
|
14 |
-
private static $instance;
|
15 |
-
|
16 |
-
/**
|
17 |
-
* Was `wp_footer()` fired?
|
18 |
-
* @static
|
19 |
-
* @var bool
|
20 |
-
*/
|
21 |
-
static $footer_fired = false;
|
22 |
-
|
23 |
-
/**
|
24 |
-
* Creates a new static instance
|
25 |
-
* @static
|
26 |
-
* @return void
|
27 |
-
*/
|
28 |
-
public static function get_instance() {
|
29 |
-
if ( ! self::$instance ) {
|
30 |
-
self::$instance = new self();
|
31 |
-
}
|
32 |
-
return self::$instance;
|
33 |
-
}
|
34 |
-
|
35 |
-
/**
|
36 |
-
* Hook the functions.
|
37 |
-
* Check for wp_footer() only on admin pages (via shutdown).
|
38 |
-
*/
|
39 |
-
private function __construct() {
|
40 |
-
if( !is_admin() )
|
41 |
-
add_action( 'shutdown', array( __CLASS__, 'did_footer' ) );
|
42 |
-
}
|
43 |
-
|
44 |
-
/**
|
45 |
-
* Checks if wp_footer() was fired.
|
46 |
-
* Hooked onto shutdown.
|
47 |
-
* If wp_footer() wasn't fired it sets 'sh_no_wp_footer' option to true, unless it already set to 'supress'
|
48 |
-
* If wp_footer() was fired it removes the 'sh_no_wp_footer' option.
|
49 |
-
*/
|
50 |
-
static function did_footer(){
|
51 |
-
if( !did_action( 'wp_footer' ) )
|
52 |
-
update_option( 'eo_wp_footer_present', -1 );
|
53 |
-
elseif( did_action( 'wp_footer' ) )
|
54 |
-
update_option( 'eo_wp_footer_present', 1 );
|
55 |
-
}
|
56 |
-
}
|
57 |
-
$eo_no_wp_footer = EventOrganiser_No_WP_Footer::get_instance();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/event-organiser-register.php
CHANGED
@@ -57,6 +57,9 @@ function eventorganiser_register_script() {
|
|
57 |
'gotodate'=>__('go to date','eventorganiser'),
|
58 |
'cat'=>__('View all categories','eventorganiser'),
|
59 |
'venue'=>__('View all venues','eventorganiser'),
|
|
|
|
|
|
|
60 |
)
|
61 |
));
|
62 |
|
@@ -440,6 +443,34 @@ function eventorganiser_screen_retina_icon(){
|
|
440 |
body.event_page_calendar #calendar-view .view-button.active{ border-color: #dfdfdf #dfdfdf #eee }
|
441 |
.ui-datepicker select {height: 2em;}
|
442 |
.form-table .ui-datepicker-calendar td, .form-table .ui-datepicker-calendar th {font-size: 12px;}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
443 |
</style>
|
444 |
<?php
|
445 |
}
|
57 |
'gotodate'=>__('go to date','eventorganiser'),
|
58 |
'cat'=>__('View all categories','eventorganiser'),
|
59 |
'venue'=>__('View all venues','eventorganiser'),
|
60 |
+
//Allow themes to over-ride juqery ui styling and not use images
|
61 |
+
'nextText' => '>',
|
62 |
+
'prevText' => '<'
|
63 |
)
|
64 |
));
|
65 |
|
443 |
body.event_page_calendar #calendar-view .view-button.active{ border-color: #dfdfdf #dfdfdf #eee }
|
444 |
.ui-datepicker select {height: 2em;}
|
445 |
.form-table .ui-datepicker-calendar td, .form-table .ui-datepicker-calendar th {font-size: 12px;}
|
446 |
+
#eventorganiser_event_detail td{ border: none; }
|
447 |
+
#eventorganiser_event_detail .reocurrence_row td{ padding: 0px; }
|
448 |
+
#eventorganiser_event_detail .reocurrence_row p{ margin-bottom: 18px; }
|
449 |
+
#eo_admin_calendar tbody th,
|
450 |
+
#eo_admin_calendar thead th {
|
451 |
+
background: #DFDFDF!important;
|
452 |
+
padding: 5px 0px!important;
|
453 |
+
}
|
454 |
+
#eo-event-venue-button,
|
455 |
+
#eo-event-cat-button,
|
456 |
+
.fc-header-goto button,
|
457 |
+
.fc-button{
|
458 |
+
background:white!important;
|
459 |
+
}
|
460 |
+
.eo-addon{ background: white; }
|
461 |
+
#eo-event-venue-button:hover,
|
462 |
+
#eo-event-cat-button:hover,
|
463 |
+
.fc-header-goto button:hover,
|
464 |
+
.fc-button:hover{
|
465 |
+
color:#0074A2;
|
466 |
+
}
|
467 |
+
#eo-event-cat-menu .ui-widget-content .ui-state-hover,
|
468 |
+
#eo-event-cat-menu .ui-state-hover,
|
469 |
+
#eo-event-venue-menu .ui-widget-content .ui-state-hover,
|
470 |
+
#eo-event-venue-menu .ui-state-hover{
|
471 |
+
background: #EEE;
|
472 |
+
}
|
473 |
+
.fc-button-prev .ui-button-text, .fc-button-next .ui-button-text {padding-top: 0.5em!important;}
|
474 |
</style>
|
475 |
<?php
|
476 |
}
|
includes/event.php
CHANGED
@@ -273,7 +273,9 @@ function eo_delete_event_occurrences( $post_id, $occurrence_ids = false ){
|
|
273 |
$occurrence_ids = (array) $occurrence_ids;
|
274 |
$occurrence_ids = array_map( 'absint', $occurrence_ids );
|
275 |
$occurrence_ids_in = implode( ', ', $occurrence_ids );
|
276 |
-
|
|
|
|
|
277 |
}else{
|
278 |
$raw_sql = "DELETE FROM $wpdb->eo_events WHERE post_id=%d";
|
279 |
}
|
@@ -476,6 +478,8 @@ function eo_get_event_schedule( $post_id=0 ){
|
|
476 |
|
477 |
$occurrences =array(); //occurrences array
|
478 |
|
|
|
|
|
479 |
$exclude = array_udiff($exclude, $include, '_eventorganiser_compare_dates');
|
480 |
$include = array_udiff($include, $exclude, '_eventorganiser_compare_dates');
|
481 |
|
@@ -554,6 +558,7 @@ function eo_get_event_schedule( $post_id=0 ){
|
|
554 |
$start_days[] = $start_day;
|
555 |
endforeach;
|
556 |
else:
|
|
|
557 |
$start_days[] = clone $start;
|
558 |
endif;
|
559 |
|
273 |
$occurrence_ids = (array) $occurrence_ids;
|
274 |
$occurrence_ids = array_map( 'absint', $occurrence_ids );
|
275 |
$occurrence_ids_in = implode( ', ', $occurrence_ids );
|
276 |
+
|
277 |
+
$raw_sql = "DELETE FROM $wpdb->eo_events WHERE post_id=%d AND event_id IN( $occurrence_ids_in )";
|
278 |
+
|
279 |
}else{
|
280 |
$raw_sql = "DELETE FROM $wpdb->eo_events WHERE post_id=%d";
|
281 |
}
|
478 |
|
479 |
$occurrences =array(); //occurrences array
|
480 |
|
481 |
+
$exclude = array_filter( (array) $exclude );
|
482 |
+
$include = array_filter( (array) $include );
|
483 |
$exclude = array_udiff($exclude, $include, '_eventorganiser_compare_dates');
|
484 |
$include = array_udiff($include, $exclude, '_eventorganiser_compare_dates');
|
485 |
|
558 |
$start_days[] = $start_day;
|
559 |
endforeach;
|
560 |
else:
|
561 |
+
$schedule_meta = array( $icaldays[ $start->format('w') ] );
|
562 |
$start_days[] = clone $start;
|
563 |
endif;
|
564 |
|
js/admin-calendar.js
CHANGED
@@ -139,9 +139,9 @@ eventorganiser.versionCompare = function(left, right) {
|
|
139 |
end: jQuery.fullCalendar.formatDate(end, 'yyyy-MM-dd')
|
140 |
},
|
141 |
success: function (data) {
|
142 |
-
callback(data)
|
143 |
}
|
144 |
-
})
|
145 |
},
|
146 |
categories: EO_Ajax.categories,
|
147 |
venues: EO_Ajax.venues,
|
@@ -150,11 +150,11 @@ eventorganiser.versionCompare = function(left, right) {
|
|
150 |
eventRender: function (event, element) {
|
151 |
var cat = jQuery(".filter-category .eo-cal-filter").val();
|
152 |
var venue = jQuery(".filter-venue .eo-cal-filter").val();
|
153 |
-
if (typeof cat !== "undefined" && cat
|
154 |
-
return '<div></div>'
|
155 |
}
|
156 |
-
if (typeof venue !== "undefined" && venue
|
157 |
-
return '<div></div>'
|
158 |
}
|
159 |
},
|
160 |
viewDisplay: function (element) {
|
@@ -409,11 +409,8 @@ $.widget("ui.selectmenu", {
|
|
409 |
// make / set unique id
|
410 |
/* Backwards compat with WP 3.3-3.4 (jQuery UI 1.8.16-1.8.2)*/
|
411 |
var jquery_ui_version = $.ui ? $.ui.version || 0 : -1;
|
412 |
-
var selectmenuId = ( eventorganiser.versionCompare( jquery_ui_version, '1.9' ) >= 0 )
|
413 |
-
? this.element.uniqueId().attr( "id" )
|
414 |
-
: this.element.attr( 'id' ) || 'ui-selectmenu-' + Math.random().toString( 16 ).slice( 2, 10 );
|
415 |
|
416 |
-
|
417 |
// quick array of button and menu id's
|
418 |
this.ids = [ selectmenuId, selectmenuId + '-button', selectmenuId + '-menu' ];
|
419 |
|
@@ -692,7 +689,7 @@ $.widget("ui.selectmenu", {
|
|
692 |
thisAAttr[ 'aria-disabled' ] = selectOptionData[ i ].disabled;
|
693 |
}
|
694 |
if ( selectOptionData[ i ].typeahead ) {
|
695 |
-
thisAAttr
|
696 |
}
|
697 |
var thisA = $( '<a/>', thisAAttr )
|
698 |
.bind( 'focus.selectmenu', function() {
|
@@ -1034,7 +1031,11 @@ $.widget("ui.selectmenu", {
|
|
1034 |
|
1035 |
if ( this._optionLis.eq( newIndex ).hasClass( 'ui-state-disabled' ) ) {
|
1036 |
// if option at newIndex is disabled, call _moveFocus, incrementing amt by one
|
1037 |
-
( amt > 0 )
|
|
|
|
|
|
|
|
|
1038 |
this._moveSelection( amt, newIndex );
|
1039 |
} else {
|
1040 |
this._optionLis.eq( newIndex ).trigger( 'mouseover' ).trigger( 'mouseup' );
|
@@ -1043,11 +1044,12 @@ $.widget("ui.selectmenu", {
|
|
1043 |
},
|
1044 |
|
1045 |
_moveFocus: function( amt, recIndex ) {
|
|
|
1046 |
if ( !isNaN( amt ) ) {
|
1047 |
var currIndex = parseInt( this._focusedOptionLi().data( 'index' ) || 0, 10 );
|
1048 |
-
|
1049 |
} else {
|
1050 |
-
|
1051 |
}
|
1052 |
|
1053 |
if ( newIndex < 0 ) {
|
@@ -1068,7 +1070,11 @@ $.widget("ui.selectmenu", {
|
|
1068 |
|
1069 |
if ( this._optionLis.eq( newIndex ).hasClass( 'ui-state-disabled' ) ) {
|
1070 |
// if option at newIndex is disabled, call _moveFocus, incrementing amt by one
|
1071 |
-
( amt > 0 )
|
|
|
|
|
|
|
|
|
1072 |
this._moveFocus( amt, newIndex );
|
1073 |
} else {
|
1074 |
this._optionLis.eq( newIndex ).find( 'a:eq(0)' ).attr( 'id',activeID ).focus();
|
@@ -1283,15 +1289,16 @@ $.widget("ui.selectmenu", {
|
|
1283 |
|
1284 |
value = config.json ? JSON.stringify(value) : String(value);
|
1285 |
|
1286 |
-
|
1287 |
-
|
1288 |
-
|
1289 |
-
|
1290 |
-
|
1291 |
-
|
1292 |
-
|
1293 |
-
|
1294 |
-
|
|
|
1295 |
}
|
1296 |
|
1297 |
// read
|
139 |
end: jQuery.fullCalendar.formatDate(end, 'yyyy-MM-dd')
|
140 |
},
|
141 |
success: function (data) {
|
142 |
+
callback(data);
|
143 |
}
|
144 |
+
});
|
145 |
},
|
146 |
categories: EO_Ajax.categories,
|
147 |
venues: EO_Ajax.venues,
|
150 |
eventRender: function (event, element) {
|
151 |
var cat = jQuery(".filter-category .eo-cal-filter").val();
|
152 |
var venue = jQuery(".filter-venue .eo-cal-filter").val();
|
153 |
+
if ( typeof cat !== "undefined" && cat !== '' && (jQuery.inArray(cat, event.category) < 0)) {
|
154 |
+
return '<div></div>';
|
155 |
}
|
156 |
+
if ( typeof venue !== "undefined" && venue !== '' && venue != event.venue) {
|
157 |
+
return '<div></div>';
|
158 |
}
|
159 |
},
|
160 |
viewDisplay: function (element) {
|
409 |
// make / set unique id
|
410 |
/* Backwards compat with WP 3.3-3.4 (jQuery UI 1.8.16-1.8.2)*/
|
411 |
var jquery_ui_version = $.ui ? $.ui.version || 0 : -1;
|
412 |
+
var selectmenuId = ( eventorganiser.versionCompare( jquery_ui_version, '1.9' ) >= 0 ) ? this.element.uniqueId().attr( "id" ) : this.element.attr( 'id' ) || 'ui-selectmenu-' + Math.random().toString( 16 ).slice( 2, 10 );
|
|
|
|
|
413 |
|
|
|
414 |
// quick array of button and menu id's
|
415 |
this.ids = [ selectmenuId, selectmenuId + '-button', selectmenuId + '-menu' ];
|
416 |
|
689 |
thisAAttr[ 'aria-disabled' ] = selectOptionData[ i ].disabled;
|
690 |
}
|
691 |
if ( selectOptionData[ i ].typeahead ) {
|
692 |
+
thisAAttr.typeahead = selectOptionData[ i ].typeahead;
|
693 |
}
|
694 |
var thisA = $( '<a/>', thisAAttr )
|
695 |
.bind( 'focus.selectmenu', function() {
|
1031 |
|
1032 |
if ( this._optionLis.eq( newIndex ).hasClass( 'ui-state-disabled' ) ) {
|
1033 |
// if option at newIndex is disabled, call _moveFocus, incrementing amt by one
|
1034 |
+
if( amt > 0 ){
|
1035 |
+
++amt;
|
1036 |
+
}else{
|
1037 |
+
--amt;
|
1038 |
+
}
|
1039 |
this._moveSelection( amt, newIndex );
|
1040 |
} else {
|
1041 |
this._optionLis.eq( newIndex ).trigger( 'mouseover' ).trigger( 'mouseup' );
|
1044 |
},
|
1045 |
|
1046 |
_moveFocus: function( amt, recIndex ) {
|
1047 |
+
var newIndex;
|
1048 |
if ( !isNaN( amt ) ) {
|
1049 |
var currIndex = parseInt( this._focusedOptionLi().data( 'index' ) || 0, 10 );
|
1050 |
+
newIndex = currIndex + amt;
|
1051 |
} else {
|
1052 |
+
newIndex = parseInt( this._optionLis.filter( amt ).data( 'index' ), 10 );
|
1053 |
}
|
1054 |
|
1055 |
if ( newIndex < 0 ) {
|
1070 |
|
1071 |
if ( this._optionLis.eq( newIndex ).hasClass( 'ui-state-disabled' ) ) {
|
1072 |
// if option at newIndex is disabled, call _moveFocus, incrementing amt by one
|
1073 |
+
if( amt > 0 ){
|
1074 |
+
++amt;
|
1075 |
+
}else{
|
1076 |
+
--amt;
|
1077 |
+
}
|
1078 |
this._moveFocus( amt, newIndex );
|
1079 |
} else {
|
1080 |
this._optionLis.eq( newIndex ).find( 'a:eq(0)' ).attr( 'id',activeID ).focus();
|
1289 |
|
1290 |
value = config.json ? JSON.stringify(value) : String(value);
|
1291 |
|
1292 |
+
document.cookie = [
|
1293 |
+
config.raw ? key : encodeURIComponent(key),
|
1294 |
+
'=',
|
1295 |
+
config.raw ? value : encodeURIComponent(value),
|
1296 |
+
options.expires ? '; expires=' + options.expires.toUTCString() : '', // use expires attribute, max-age is not supported by IE
|
1297 |
+
options.path ? '; path=' + options.path : '',
|
1298 |
+
options.domain ? '; domain=' + options.domain : '',
|
1299 |
+
options.secure ? '; secure' : ''
|
1300 |
+
].join('');
|
1301 |
+
return document;
|
1302 |
}
|
1303 |
|
1304 |
// read
|
js/admin-calendar.min.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
/*! event-organiser 2.4.
|
2 |
-
var eventorganiser=eventorganiser||{};eventorganiser.versionCompare=function(a,b){if("stringstring"!=typeof a+typeof b)return!1;for(var c=a.split("."),d=b.split("."),e=0,f=Math.max(c.length,d.length);f>e;e++){if(c[e]&&!d[e]&&parseInt(c[e],10)>0||parseInt(c[e],10)>parseInt(d[e],10))return 1;if(d[e]&&!c[e]&&parseInt(d[e],10)>0||parseInt(c[e],10)<parseInt(d[e],10))return-1}return 0},function(a){function b(a){var b,c=/^\s*(\d{4})-(\d\d)-(\d\d)\s*$/,d=new Date(0/0),e=c.exec(a);return e&&(b=+e[2],d.setFullYear(e[1],b-1,e[3]),b!=d.getMonth()+1&&d.setTime(0/0)),d}a(document).ready(function(){function c(){var b=a("<span class='fc-header-goto'><input type='hidden' id='miniCalendar'/></span>");return b}function d(b){var c=b.categories,d="<select class='eo-cal-filter' id='eo-event-cat'>";d+="<option value=''>"+b.buttonText.cat+"</option>";for(var e=0;e<c.length;e++)d+="<option class='cat-slug-"+c[e].slug+" cat' value='"+c[e].slug+"'>"+c[e].name+"</option>";return d+="</select>",a("<span class='fc-header-dropdown filter-category'></span>").append(d)}function e(b){var c=b.venues,d="<select class='eo-cal-filter' id='eo-event-venue'>";d+="<option value=''>"+b.buttonText.venue+"</option>";for(var e=0;e<c.length;e++)d+="<option value='"+c[e].term_id+"'>"+c[e].name+"</option>";return d+="</select>",a("<span class='fc-header-dropdown filter-venue'></span>").append(d)}a("#eo-dialog-tabs").tabs(),a(".eo-dialog").dialog({autoOpen:!1,dialogClass:"eo-admin-calendar-dialog",width:527,modal:!0}),a("#events-meta").parent().find(".ui-dialog-titlebar-close").appendTo(".ui-tabs-nav").closest(".ui-dialog").children(".ui-dialog-titlebar").remove();var f=a("#eofc_time_format").is(":checked")?"HH:mm":"h:mmtt",g=b(jQuery.cookie("eo_admin_cal_last_viewed_date"));"[object Date]"===Object.prototype.toString.call(g)?isNaN(g.getTime())&&(g=new Date):g=new Date;var h=jQuery("#eo_admin_calendar").fullCalendar({firstDay:parseInt(EO_Ajax.startday,10),date:g.getDate(),month:g.getMonth(),year:g.getFullYear(),defaultView:a.cookie("eo_admin_cal_last_view")?a.cookie("eo_admin_cal_last_view"):"month",editable:!1,lazyFetching:"true",eventColor:"#21759B",theme:!0,customButtons:{category:d,venue:e,"goto":c},buttonText:{today:EO_Ajax.locale.today,month:EO_Ajax.locale.month,week:EO_Ajax.locale.week,day:EO_Ajax.locale.day,cat:EO_Ajax.locale.cat,venue:EO_Ajax.locale.venue},monthNames:EO_Ajax.locale.monthNames,monthNamesShort:EO_Ajax.locale.monthAbbrev,dayNames:EO_Ajax.locale.dayNames,dayNamesShort:EO_Ajax.locale.dayAbbrev,header:{left:"title",center:"category venue",right:"prev goto today next"},buttonIcons:!1,buttonui:!0,events:function(a,b,c){jQuery.ajax({url:EO_Ajax.ajaxurl+"?action=event-admin-cal",dataType:"JSON",data:{start:jQuery.fullCalendar.formatDate(a,"yyyy-MM-dd"),end:jQuery.fullCalendar.formatDate(b,"yyyy-MM-dd")},success:function(a){c(a)}})},categories:EO_Ajax.categories,venues:EO_Ajax.venues,selectable:!0,selectHelper:!0,eventRender:function(a){var b=jQuery(".filter-category .eo-cal-filter").val(),c=jQuery(".filter-venue .eo-cal-filter").val();return"undefined"!=typeof b&&""!=b&&jQuery.inArray(b,a.category)<0?"<div></div>":"undefined"!=typeof c&&""!=c&&c!=a.venue?"<div></div>":void 0},viewDisplay:function(b){var c=jQuery.fullCalendar.formatDate(b.start,"yyyy-MM-dd"),d=b.name,e=new Date;e=new Date(e.getTime()+6e5),a.cookie("eo_admin_cal_last_viewed_date",c,{expires:e}),a.cookie("eo_admin_cal_last_view",d,{expires:e})},weekMode:"variable",aspectRatio:1.5,loading:function(a){a?jQuery("#loading").show():jQuery("#loading").hide()},timeFormat:f,axisFormat:f,eventClick:function(b,c){c.preventDefault(),jQuery("#eo-dialog-tabs ul li").each(function(){var c=a(this).attr("id").substring(14);jQuery("#eo-dialog-tabs #"+a(this).attr("id")+"-content").html(b[c])}),a("#events-meta").dialog("open")},select:function(b,c,d,e){if(EO_Ajax.perm_edit){e.preventDefault();var g,h="yyyy-MM-dd",i=jQuery(this)[0].calendar.options,j=jQuery.fullCalendar.formatDate(b,h),k=jQuery.fullCalendar.formatDate(b,"HH:mm"),l=jQuery.fullCalendar.formatDate(c,h),m=jQuery.fullCalendar.formatDate(c,"HH:mm");d?(f="ddd, dS MMMM",d=1):(f="ddd, dS MMMM h(:mm)tt",d=0),j==l?(g=jQuery.fullCalendar.formatDate(b,f,i),d||(g=g+" — "+jQuery.fullCalendar.formatDate(c,"h(:mm)tt",i))):g=jQuery.fullCalendar.formatDate(b,f,i)+" — "+jQuery.fullCalendar.formatDate(c,f,i),a("#eo_event_create_cal input[name='eo_event[event_title]']").val(""),a("#eo_event_create_cal input.ui-autocomplete-input").val(""),a("#eo_event_create_cal textarea[name='eo_event[event_content]']").val(""),a("#eo_event_create_cal input[name='eo_event[StartDate]']").val(j),a("#eo_event_create_cal input[name='eo_event[StartTime]']").val(k),a("#eo_event_create_cal input[name='eo_event[EndDate]']").val(l),a("#eo_event_create_cal input[name='eo_event[FinishTime]']").val(m),a("#eo_event_create_cal input[name='eo_event[allday]']").val(d),a("#eo_event_create_cal td#date").html(g),a("#eo_event_create_cal").dialog("open"),a("form.eo_cal input[type='submit']").removeAttr("disabled"),a("form.eo_cal input#reset").click(function(){a("#eo_event_create_cal").dialog("close")})}}});a("#eofc_time_format").change(function(){f=a("#eofc_time_format").is(":checked")?"HH:mm":"h:mmtt",h.fullCalendar("option","timeFormat",f),a.post(ajaxurl,{action:"eofc-format-time",is24:a("#eofc_time_format").is(":checked")})}),a(".view-button").click(function(b){b.preventDefault(),a(".view-button").removeClass("nav-tab-active"),h.fullCalendar("changeView",a(this).attr("id")),a(this).addClass("nav-tab-active")}),a("#miniCalendar").datepicker({dateFormat:"DD, d MM, yy",firstDay:parseInt(EO_Ajax.startday,10),changeMonth:!0,monthNamesShort:EO_Ajax.locale.monthAbbrev,dayNamesMin:EO_Ajax.locale.dayAbbrev,changeYear:!0,showOn:"button",buttonText:EO_Ajax.locale.gotodate,onSelect:function(a){h.fullCalendar("gotoDate",new Date(Date.parse(a)))}}),a("button.ui-datepicker-trigger").button(),a.widget("ui.combobox",{_create:function(){var b=this.element.hide(),c=b.children(":selected"),d=c.val()?c.text():"",e=a("<span>").addClass("ui-combobox eo-venue-input").insertAfter(b),f={delay:0,minLength:0,source:function(b,c){a.getJSON(EO_Ajax.ajaxurl+"?callback=?&action=eo-search-venue",b,function(b){var d=a.map(b,function(a){return a.label=a.name,a});c(d)})},select:function(b,c){a("#venue_select").removeAttr("selected"),a("#venue_select").val(c.item.term_id)}},g=a("<input>").appendTo(e).val(d).addClass("ui-combobox-input").autocomplete(f).addClass("ui-widget-content ui-corner-left"),h=a.ui?a.ui.version||0:-1,i=eventorganiser.versionCompare(h,"1.10")>=0?"ui-autocomplete":"autocomplete";g.data(i)._renderItem=function(b,c){if(0===c.term_id)return a("<li></li>").data(i+"-item",c).append("<a>"+c.label+"</a>").appendTo(b);var d=[c.venue_address,c.venue_city,c.venue_state,c.venue_postcode,c.venue_country],e=a.grep(d,function(a){return a}).join(", "),f=eventorganiser.versionCompare(h,"1.10")>=0?"ui-autocomplete-item":"item.autocomplete";return a("<li></li>").data(f,c).append("<a>"+c.label+"</br> <span style='font-size: 0.8em'><em>"+e+"</span></em></a>").appendTo(b)};var j=a("<span>").addClass("eo-venue-combobox-buttons").appendTo(e);a("<a style='vertical-align: top;margin: 0px -1px;padding: 0px;height: 21px;'>").attr("title","Show All Items").appendTo(j).button({icons:{primary:"ui-icon-triangle-1-s"},text:!1}).removeClass("ui-corner-all").addClass("ui-corner-right ui-combobox-toggle ui-combobox-button").click(function(){return g.autocomplete("widget").is(":visible")?(g.autocomplete("close"),void 0):(a(this).blur(),g.autocomplete("search","").focus(),void 0)})}}),a("#venue_select").combobox(),a(".eo-cal-filter").change(function(){h.fullCalendar("rerenderEvents")}),a(".filter-venue .eo-cal-filter").selectmenu({wrapperElement:"<span class='fc-header-filter'></span>"}),a(".filter-category .eo-cal-filter").selectmenu({wrapperElement:"<span class='fc-header-filter'></span>",icons:[{find:".cat"}]});var i=a("#eo-event-venue-button").width()+30;a("#eo-event-venue-button").width(i+"px"),a("#eo-event-venue-menu").width(i+"px");var j=a("#eo-event-cat-button").width()+30;a("#eo-event-cat-button").width(j+"px"),a("#eo-event-cat-menu").width(j+"px")})}(jQuery),function(a){a.widget("ui.selectmenu",{options:{appendTo:"body",typeAhead:1e3,style:"dropdown",positionOptions:null,width:null,menuWidth:null,handleWidth:26,maxHeight:null,icons:null,format:null,escapeHtml:!1,bgImage:function(){}},_create:function(){var b=this,c=this.options,d=a.ui?a.ui.version||0:-1,e=eventorganiser.versionCompare(d,"1.9")>=0?this.element.uniqueId().attr("id"):this.element.attr("id")||"ui-selectmenu-"+Math.random().toString(16).slice(2,10);this.ids=[e,e+"-button",e+"-menu"],this._safemouseup=!0,this.isOpen=!1,this.newelement=a("<a />",{"class":"ui-selectmenu ui-widget ui-state-default ui-corner-all",id:this.ids[1],role:"button",href:"#nogo",tabindex:this.element.attr("disabled")?1:0,"aria-haspopup":!0,"aria-owns":this.ids[2]}),this.newelementWrap=a("<span />").append(this.newelement).insertAfter(this.element);var f=this.element.attr("tabindex");f&&this.newelement.attr("tabindex",f),this.newelement.data("selectelement",this.element),this.selectmenuIcon=a('<span class="ui-selectmenu-icon ui-icon"></span>').prependTo(this.newelement),this.newelement.prepend('<span class="ui-selectmenu-status" />'),this.element.bind({"click.selectmenu":function(a){b.newelement.focus(),a.preventDefault()}}),this.newelement.bind("mousedown.selectmenu",function(a){b._toggle(a,!0),"popup"==c.style&&(b._safemouseup=!1,setTimeout(function(){b._safemouseup=!0},300)),a.preventDefault()}).bind("click.selectmenu",function(a){a.preventDefault()}).bind("keydown.selectmenu",function(c){var d=!1;switch(c.keyCode){case a.ui.keyCode.ENTER:d=!0;break;case a.ui.keyCode.SPACE:b._toggle(c);break;case a.ui.keyCode.UP:c.altKey?b.open(c):b._moveSelection(-1);break;case a.ui.keyCode.DOWN:c.altKey?b.open(c):b._moveSelection(1);break;case a.ui.keyCode.LEFT:b._moveSelection(-1);break;case a.ui.keyCode.RIGHT:b._moveSelection(1);break;case a.ui.keyCode.TAB:d=!0;break;case a.ui.keyCode.PAGE_UP:case a.ui.keyCode.HOME:b.index(0);break;case a.ui.keyCode.PAGE_DOWN:case a.ui.keyCode.END:b.index(b._optionLis.length);break;default:d=!0}return d}).bind("keypress.selectmenu",function(a){return a.which>0&&b._typeAhead(a.which,"mouseup"),!0}).bind("mouseover.selectmenu",function(){c.disabled||a(this).addClass("ui-state-hover")}).bind("mouseout.selectmenu",function(){c.disabled||a(this).removeClass("ui-state-hover")}).bind("focus.selectmenu",function(){c.disabled||a(this).addClass("ui-state-focus")}).bind("blur.selectmenu",function(){c.disabled||a(this).removeClass("ui-state-focus")}),a(document).bind("mousedown.selectmenu-"+this.ids[0],function(c){b.isOpen&&!a(c.target).closest("#"+b.ids[1]).length&&b.close(c)}),this.element.bind("click.selectmenu",function(){b._refreshValue()}).bind("focus.selectmenu",function(){b.newelement&&b.newelement[0].focus()}),c.width||(c.width=this.element.outerWidth()),this.newelement.width(c.width),this.element.hide(),this.list=a("<ul />",{"class":"ui-widget ui-widget-content","aria-hidden":!0,role:"listbox","aria-labelledby":this.ids[1],id:this.ids[2]}),this.listWrap=a("<div />",{"class":"ui-selectmenu-menu"}).append(this.list).appendTo(c.appendTo),this.list.bind("keydown.selectmenu",function(c){var d=!1;switch(c.keyCode){case a.ui.keyCode.UP:c.altKey?b.close(c,!0):b._moveFocus(-1);break;case a.ui.keyCode.DOWN:c.altKey?b.close(c,!0):b._moveFocus(1);break;case a.ui.keyCode.LEFT:b._moveFocus(-1);break;case a.ui.keyCode.RIGHT:b._moveFocus(1);break;case a.ui.keyCode.HOME:b._moveFocus(":first");break;case a.ui.keyCode.PAGE_UP:b._scrollPage("up");break;case a.ui.keyCode.PAGE_DOWN:b._scrollPage("down");break;case a.ui.keyCode.END:b._moveFocus(":last");break;case a.ui.keyCode.ENTER:case a.ui.keyCode.SPACE:b.close(c,!0),a(c.target).parents("li:eq(0)").trigger("mouseup");break;case a.ui.keyCode.TAB:d=!0,b.close(c,!0),a(c.target).parents("li:eq(0)").trigger("mouseup");break;case a.ui.keyCode.ESCAPE:b.close(c,!0);break;default:d=!0}return d}).bind("keypress.selectmenu",function(a){return a.which>0&&b._typeAhead(a.which,"focus"),!0}).bind("mousedown.selectmenu mouseup.selectmenu",function(){return!1}),a(window).bind("resize.selectmenu-"+this.ids[0],a.proxy(b.close,this))},_init:function(){var b=this,c=this.options,d=[];this.element.find("option").each(function(){var e=a(this);d.push({value:e.attr("value"),text:b._formatText(e.text(),e),selected:e.attr("selected"),disabled:e.attr("disabled"),classes:e.attr("class"),typeahead:e.attr("typeahead"),parentOptGroup:e.parent("optgroup"),bgImage:c.bgImage.call(e)})});var e="popup"==b.options.style?" ui-state-active":"";if(this.list.html(""),d.length)for(var f=0;f<d.length;f++){var g={role:"presentation"};d[f].disabled&&(g["class"]="ui-state-disabled");var h={html:d[f].text||" ",href:"#nogo",tabindex:-1,role:"option","aria-selected":!1};d[f].disabled&&(h["aria-disabled"]=d[f].disabled),d[f].typeahead&&(h.typeahead=d[f].typeahead);var i=a("<a/>",h).bind("focus.selectmenu",function(){a(this).parent().mouseover()}).bind("blur.selectmenu",function(){a(this).parent().mouseout()}),j=a("<li/>",g).append(i).data("index",f).addClass(d[f].classes).data("optionClasses",d[f].classes||"").bind("mouseup.selectmenu",function(c){return!b._safemouseup||b._disabled(c.currentTarget)||b._disabled(a(c.currentTarget).parents("ul > li.ui-selectmenu-group "))||(b.index(a(this).data("index")),b.select(c),b.close(c,!0)),!1}).bind("click.selectmenu",function(){return!1}).bind("mouseover.selectmenu",function(c){a(this).hasClass("ui-state-disabled")||a(this).parent("ul").parent("li").hasClass("ui-state-disabled")||(c.optionValue=b.element[0].options[a(this).data("index")].value,b._trigger("hover",c,b._uiHash()),b._selectedOptionLi().addClass(e),b._focusedOptionLi().removeClass("ui-selectmenu-item-focus ui-state-hover"),a(this).removeClass("ui-state-active").addClass("ui-selectmenu-item-focus ui-state-hover"))}).bind("mouseout.selectmenu",function(c){a(this).is(b._selectedOptionLi())&&a(this).addClass(e),c.optionValue=b.element[0].options[a(this).data("index")].value,b._trigger("blur",c,b._uiHash()),a(this).removeClass("ui-selectmenu-item-focus ui-state-hover")});if(d[f].parentOptGroup.length){var k="ui-selectmenu-group-"+this.element.find("optgroup").index(d[f].parentOptGroup);this.list.find("li."+k).length?this.list.find("li."+k+":last ul").append(j):a('<li role="presentation" class="ui-selectmenu-group '+k+(d[f].parentOptGroup.attr("disabled")?' ui-state-disabled" aria-disabled="true"':'"')+'><span class="ui-selectmenu-group-label">'+d[f].parentOptGroup.attr("label")+"</span><ul></ul></li>").appendTo(this.list).find("ul").append(j)}else j.appendTo(this.list);if(c.icons)for(var l in c.icons)if(j.is(c.icons[l].find)){j.data("optionClasses",d[f].classes+" ui-selectmenu-hasIcon").addClass("ui-selectmenu-hasIcon");var m=c.icons[l].icon||"";j.find("a:eq(0)").prepend('<span class="ui-selectmenu-item-icon ui-icon '+m+'"></span>'),d[f].bgImage&&j.find("span").css("background-image",d[f].bgImage)}}else a(' <li role="presentation"><a href="#nogo" tabindex="-1" role="option"></a></li>').appendTo(this.list);var n="dropdown"==c.style;this.newelement.toggleClass("ui-selectmenu-dropdown",n).toggleClass("ui-selectmenu-popup",!n),this.list.toggleClass("ui-selectmenu-menu-dropdown ui-corner-bottom",n).toggleClass("ui-selectmenu-menu-popup ui-corner-all",!n).find("li:first").toggleClass("ui-corner-top",!n).end().find("li:last").addClass("ui-corner-bottom"),this.selectmenuIcon.toggleClass("ui-icon-triangle-1-s",n).toggleClass("ui-icon-triangle-2-n-s",!n),"dropdown"==c.style?this.list.width(c.menuWidth?c.menuWidth:c.width):this.list.width(c.menuWidth?c.menuWidth:c.width-c.handleWidth),this.list.css("height","auto");var o=this.listWrap.height(),p=a(window).height(),q=c.maxHeight?Math.min(c.maxHeight,p):p/3;o>q&&this.list.height(q),this._optionLis=this.list.find("li:not(.ui-selectmenu-group)"),this.element.attr("disabled")?this.disable():this.enable(),this._refreshValue(),this._selectedOptionLi().addClass("ui-selectmenu-item-focus"),clearTimeout(this.refreshTimeout),this.refreshTimeout=window.setTimeout(function(){b._refreshPosition()},200)},destroy:function(){this.element.removeData(this.widgetName).removeClass("ui-selectmenu-disabled ui-state-disabled").removeAttr("aria-disabled").unbind(".selectmenu"),a(window).unbind(".selectmenu-"+this.ids[0]),a(document).unbind(".selectmenu-"+this.ids[0]),this.newelementWrap.remove(),this.listWrap.remove(),this.element.unbind(".selectmenu").show(),a.Widget.prototype.destroy.apply(this,arguments)},_typeAhead:function(a,b){var c=this,d=String.fromCharCode(a).toLowerCase(),e=null,f=null;c._typeAhead_timer&&(window.clearTimeout(c._typeAhead_timer),c._typeAhead_timer=void 0),c._typeAhead_chars=(void 0===c._typeAhead_chars?"":c._typeAhead_chars).concat(d),c._typeAhead_chars.length<2||c._typeAhead_chars.substr(-2,1)===d&&c._typeAhead_cycling?(c._typeAhead_cycling=!0,e=d):(c._typeAhead_cycling=!1,e=c._typeAhead_chars);for(var g=("focus"!==b?this._selectedOptionLi().data("index"):this._focusedOptionLi().data("index"))||0,h=0;h<this._optionLis.length;h++){var i=this._optionLis.eq(h).text().substr(0,e.length).toLowerCase();if(i===e)if(c._typeAhead_cycling){if(null===f&&(f=h),h>g){f=h;break}}else f=h}null!==f&&this._optionLis.eq(f).find("a").trigger(b),c._typeAhead_timer=window.setTimeout(function(){c._typeAhead_timer=void 0,c._typeAhead_chars=void 0,c._typeAhead_cycling=void 0},c.options.typeAhead)},_uiHash:function(){var b=this.index();return{index:b,option:a("option",this.element).get(b),value:this.element[0].value}},open:function(a){if("true"!=this.newelement.attr("aria-disabled")){var b=this,c=this.options,d=this._selectedOptionLi(),e=d.find("a");b._closeOthers(a),b.newelement.addClass("ui-state-active"),b.list.attr("aria-hidden",!1),b.listWrap.addClass("ui-selectmenu-open"),"dropdown"==c.style?b.newelement.removeClass("ui-corner-all").addClass("ui-corner-top"):this.list.css("left",-5e3).scrollTop(this.list.scrollTop()+d.position().top-this.list.outerHeight()/2+d.outerHeight()/2).css("left","auto"),b._refreshPosition(),e.length&&e[0].focus(),b.isOpen=!0,b._trigger("open",a,b._uiHash())}},close:function(a,b){this.newelement.is(".ui-state-active")&&(this.newelement.removeClass("ui-state-active"),this.listWrap.removeClass("ui-selectmenu-open"),this.list.attr("aria-hidden",!0),"dropdown"==this.options.style&&this.newelement.removeClass("ui-corner-top").addClass("ui-corner-all"),b&&this.newelement.focus(),this.isOpen=!1,this._trigger("close",a,this._uiHash()))},change:function(a){this.element.trigger("change"),this._trigger("change",a,this._uiHash())},select:function(a){return this._disabled(a.currentTarget)?!1:(this._trigger("select",a,this._uiHash()),void 0)},widget:function(){return this.listWrap.add(this.newelementWrap)},_closeOthers:function(b){a(".ui-selectmenu.ui-state-active").not(this.newelement).each(function(){a(this).data("selectelement").selectmenu("close",b)}),a(".ui-selectmenu.ui-state-hover").trigger("mouseout")},_toggle:function(a,b){this.isOpen?this.close(a,b):this.open(a)},_formatText:function(b,c){return this.options.format?b=this.options.format(b,c):this.options.escapeHtml&&(b=a("<div />").text(b).html()),b},_selectedIndex:function(){return this.element[0].selectedIndex},_selectedOptionLi:function(){return this._optionLis.eq(this._selectedIndex())},_focusedOptionLi:function(){return this.list.find(".ui-selectmenu-item-focus")},_moveSelection:function(a,b){if(!this.options.disabled){var c=parseInt(this._selectedOptionLi().data("index")||0,10),d=c+a;if(0>d&&(d=0),d>this._optionLis.size()-1&&(d=this._optionLis.size()-1),d===b)return!1;this._optionLis.eq(d).hasClass("ui-state-disabled")?(a>0?++a:--a,this._moveSelection(a,d)):this._optionLis.eq(d).trigger("mouseover").trigger("mouseup")}},_moveFocus:function(a,b){if(isNaN(a))var c=parseInt(this._optionLis.filter(a).data("index"),10);else var d=parseInt(this._focusedOptionLi().data("index")||0,10),c=d+a;if(0>c&&(c=0),c>this._optionLis.size()-1&&(c=this._optionLis.size()-1),c===b)return!1;var e="ui-selectmenu-item-"+Math.round(1e3*Math.random());this._focusedOptionLi().find("a:eq(0)").attr("id",""),this._optionLis.eq(c).hasClass("ui-state-disabled")?(a>0?++a:--a,this._moveFocus(a,c)):this._optionLis.eq(c).find("a:eq(0)").attr("id",e).focus(),this.list.attr("aria-activedescendant",e)},_scrollPage:function(a){var b=Math.floor(this.list.outerHeight()/this._optionLis.first().outerHeight());b="up"==a?-b:b,this._moveFocus(b)},_setOption:function(a,b){this.options[a]=b,"disabled"==a&&(b&&this.close(),this.element.add(this.newelement).add(this.list)[b?"addClass":"removeClass"]("ui-selectmenu-disabled ui-state-disabled").attr("aria-disabled",b))},disable:function(a,b){"undefined"==typeof a?this._setOption("disabled",!0):"optgroup"==b?this._toggleOptgroup(a,!1):this._toggleOption(a,!1)},enable:function(a,b){"undefined"==typeof a?this._setOption("disabled",!1):"optgroup"==b?this._toggleOptgroup(a,!0):this._toggleOption(a,!0)},_disabled:function(b){return a(b).hasClass("ui-state-disabled")},_toggleOption:function(a,b){var c=this._optionLis.eq(a);c&&(c.toggleClass("ui-state-disabled",b).find("a").attr("aria-disabled",!b),b?this.element.find("option").eq(a).attr("disabled","disabled"):this.element.find("option").eq(a).removeAttr("disabled"))},_toggleOptgroup:function(a,b){var c=this.list.find("li.ui-selectmenu-group-"+a);c&&(c.toggleClass("ui-state-disabled",b).attr("aria-disabled",!b),b?this.element.find("optgroup").eq(a).attr("disabled","disabled"):this.element.find("optgroup").eq(a).removeAttr("disabled"))},index:function(b){return arguments.length?this._disabled(a(this._optionLis[b]))||b==this._selectedIndex()?!1:(this.element[0].selectedIndex=b,this._refreshValue(),this.change(),void 0):this._selectedIndex()},value:function(a){return arguments.length&&a!=this.element[0].value?(this.element[0].value=a,this._refreshValue(),this.change(),void 0):this.element[0].value},_refreshValue:function(){var a="popup"==this.options.style?" ui-state-active":"",b="ui-selectmenu-item-"+Math.round(1e3*Math.random());this.list.find(".ui-selectmenu-item-selected").removeClass("ui-selectmenu-item-selected"+a).find("a").attr("aria-selected","false").attr("id",""),this._selectedOptionLi().addClass("ui-selectmenu-item-selected"+a).find("a").attr("aria-selected","true").attr("id",b);var c=this.newelement.data("optionClasses")?this.newelement.data("optionClasses"):"",d=this._selectedOptionLi().data("optionClasses")?this._selectedOptionLi().data("optionClasses"):"";this.newelement.removeClass(c).data("optionClasses",d).addClass(d).find(".ui-selectmenu-status").html(this._selectedOptionLi().find("a:eq(0)").html()),this.list.attr("aria-activedescendant",b)},_refreshPosition:function(){var b=this.options,c={of:this.newelement,my:"left top",at:"left bottom",collision:"flip"};if("popup"==b.style){var d=this._selectedOptionLi();c.my="left top"+(this.list.offset().top-d.offset().top-(this.newelement.outerHeight()+d.outerHeight())/2),c.collision="fit"}this.listWrap.removeAttr("style").zIndex(this.element.zIndex()+2).position(a.extend(c,b.positionOptions))}})}(jQuery),function(a){var b;"function"==typeof b&&b.amd?b(["jquery"],a):a(jQuery)}(function(a){function b(a){return a}function c(a){return decodeURIComponent(a.replace(e," "))}function d(a){0===a.indexOf('"')&&(a=a.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return f.json?JSON.parse(a):a}catch(b){}}var e=/\+/g,f=a.cookie=function(e,g,h){if(void 0!==g){if(h=a.extend({},f.defaults,h),"number"==typeof h.expires){var i=h.expires,j=h.expires=new Date;j.setDate(j.getDate()+i)}return g=f.json?JSON.stringify(g):String(g),document.cookie=[f.raw?e:encodeURIComponent(e),"=",f.raw?g:encodeURIComponent(g),h.expires?"; expires="+h.expires.toUTCString():"",h.path?"; path="+h.path:"",h.domain?"; domain="+h.domain:"",h.secure?"; secure":""].join("")}for(var k=f.raw?b:c,l=document.cookie.split("; "),m=e?void 0:{},n=0,o=l.length;o>n;n++){var p=l[n].split("="),q=k(p.shift()),r=k(p.join("="));if(e&&e===q){m=d(r);break}e||(m[q]=d(r))}return m};f.defaults={},a.removeCookie=function(b,c){return void 0!==a.cookie(b)?(a.cookie(b,"",a.extend({},c,{expires:-1})),!0):!1}});
|
1 |
+
/*! event-organiser 2.4.1 2013-11-16 15:07 */
|
2 |
+
var eventorganiser=eventorganiser||{};eventorganiser.versionCompare=function(a,b){if("stringstring"!=typeof a+typeof b)return!1;for(var c=a.split("."),d=b.split("."),e=0,f=Math.max(c.length,d.length);f>e;e++){if(c[e]&&!d[e]&&parseInt(c[e],10)>0||parseInt(c[e],10)>parseInt(d[e],10))return 1;if(d[e]&&!c[e]&&parseInt(d[e],10)>0||parseInt(c[e],10)<parseInt(d[e],10))return-1}return 0},function(a){function b(a){var b,c=/^\s*(\d{4})-(\d\d)-(\d\d)\s*$/,d=new Date(0/0),e=c.exec(a);return e&&(b=+e[2],d.setFullYear(e[1],b-1,e[3]),b!=d.getMonth()+1&&d.setTime(0/0)),d}a(document).ready(function(){function c(){var b=a("<span class='fc-header-goto'><input type='hidden' id='miniCalendar'/></span>");return b}function d(b){var c=b.categories,d="<select class='eo-cal-filter' id='eo-event-cat'>";d+="<option value=''>"+b.buttonText.cat+"</option>";for(var e=0;e<c.length;e++)d+="<option class='cat-slug-"+c[e].slug+" cat' value='"+c[e].slug+"'>"+c[e].name+"</option>";return d+="</select>",a("<span class='fc-header-dropdown filter-category'></span>").append(d)}function e(b){var c=b.venues,d="<select class='eo-cal-filter' id='eo-event-venue'>";d+="<option value=''>"+b.buttonText.venue+"</option>";for(var e=0;e<c.length;e++)d+="<option value='"+c[e].term_id+"'>"+c[e].name+"</option>";return d+="</select>",a("<span class='fc-header-dropdown filter-venue'></span>").append(d)}a("#eo-dialog-tabs").tabs(),a(".eo-dialog").dialog({autoOpen:!1,dialogClass:"eo-admin-calendar-dialog",width:527,modal:!0}),a("#events-meta").parent().find(".ui-dialog-titlebar-close").appendTo(".ui-tabs-nav").closest(".ui-dialog").children(".ui-dialog-titlebar").remove();var f=a("#eofc_time_format").is(":checked")?"HH:mm":"h:mmtt",g=b(jQuery.cookie("eo_admin_cal_last_viewed_date"));"[object Date]"===Object.prototype.toString.call(g)?isNaN(g.getTime())&&(g=new Date):g=new Date;var h=jQuery("#eo_admin_calendar").fullCalendar({firstDay:parseInt(EO_Ajax.startday,10),date:g.getDate(),month:g.getMonth(),year:g.getFullYear(),defaultView:a.cookie("eo_admin_cal_last_view")?a.cookie("eo_admin_cal_last_view"):"month",editable:!1,lazyFetching:"true",eventColor:"#21759B",theme:!0,customButtons:{category:d,venue:e,"goto":c},buttonText:{today:EO_Ajax.locale.today,month:EO_Ajax.locale.month,week:EO_Ajax.locale.week,day:EO_Ajax.locale.day,cat:EO_Ajax.locale.cat,venue:EO_Ajax.locale.venue},monthNames:EO_Ajax.locale.monthNames,monthNamesShort:EO_Ajax.locale.monthAbbrev,dayNames:EO_Ajax.locale.dayNames,dayNamesShort:EO_Ajax.locale.dayAbbrev,header:{left:"title",center:"category venue",right:"prev goto today next"},buttonIcons:!1,buttonui:!0,events:function(a,b,c){jQuery.ajax({url:EO_Ajax.ajaxurl+"?action=event-admin-cal",dataType:"JSON",data:{start:jQuery.fullCalendar.formatDate(a,"yyyy-MM-dd"),end:jQuery.fullCalendar.formatDate(b,"yyyy-MM-dd")},success:function(a){c(a)}})},categories:EO_Ajax.categories,venues:EO_Ajax.venues,selectable:!0,selectHelper:!0,eventRender:function(a){var b=jQuery(".filter-category .eo-cal-filter").val(),c=jQuery(".filter-venue .eo-cal-filter").val();return"undefined"!=typeof b&&""!==b&&jQuery.inArray(b,a.category)<0?"<div></div>":"undefined"!=typeof c&&""!==c&&c!=a.venue?"<div></div>":void 0},viewDisplay:function(b){var c=jQuery.fullCalendar.formatDate(b.start,"yyyy-MM-dd"),d=b.name,e=new Date;e=new Date(e.getTime()+6e5),a.cookie("eo_admin_cal_last_viewed_date",c,{expires:e}),a.cookie("eo_admin_cal_last_view",d,{expires:e})},weekMode:"variable",aspectRatio:1.5,loading:function(a){a?jQuery("#loading").show():jQuery("#loading").hide()},timeFormat:f,axisFormat:f,eventClick:function(b,c){c.preventDefault(),jQuery("#eo-dialog-tabs ul li").each(function(){var c=a(this).attr("id").substring(14);jQuery("#eo-dialog-tabs #"+a(this).attr("id")+"-content").html(b[c])}),a("#events-meta").dialog("open")},select:function(b,c,d,e){if(EO_Ajax.perm_edit){e.preventDefault();var g,h="yyyy-MM-dd",i=jQuery(this)[0].calendar.options,j=jQuery.fullCalendar.formatDate(b,h),k=jQuery.fullCalendar.formatDate(b,"HH:mm"),l=jQuery.fullCalendar.formatDate(c,h),m=jQuery.fullCalendar.formatDate(c,"HH:mm");d?(f="ddd, dS MMMM",d=1):(f="ddd, dS MMMM h(:mm)tt",d=0),j==l?(g=jQuery.fullCalendar.formatDate(b,f,i),d||(g=g+" — "+jQuery.fullCalendar.formatDate(c,"h(:mm)tt",i))):g=jQuery.fullCalendar.formatDate(b,f,i)+" — "+jQuery.fullCalendar.formatDate(c,f,i),a("#eo_event_create_cal input[name='eo_event[event_title]']").val(""),a("#eo_event_create_cal input.ui-autocomplete-input").val(""),a("#eo_event_create_cal textarea[name='eo_event[event_content]']").val(""),a("#eo_event_create_cal input[name='eo_event[StartDate]']").val(j),a("#eo_event_create_cal input[name='eo_event[StartTime]']").val(k),a("#eo_event_create_cal input[name='eo_event[EndDate]']").val(l),a("#eo_event_create_cal input[name='eo_event[FinishTime]']").val(m),a("#eo_event_create_cal input[name='eo_event[allday]']").val(d),a("#eo_event_create_cal td#date").html(g),a("#eo_event_create_cal").dialog("open"),a("form.eo_cal input[type='submit']").removeAttr("disabled"),a("form.eo_cal input#reset").click(function(){a("#eo_event_create_cal").dialog("close")})}}});a("#eofc_time_format").change(function(){f=a("#eofc_time_format").is(":checked")?"HH:mm":"h:mmtt",h.fullCalendar("option","timeFormat",f),a.post(ajaxurl,{action:"eofc-format-time",is24:a("#eofc_time_format").is(":checked")})}),a(".view-button").click(function(b){b.preventDefault(),a(".view-button").removeClass("nav-tab-active"),h.fullCalendar("changeView",a(this).attr("id")),a(this).addClass("nav-tab-active")}),a("#miniCalendar").datepicker({dateFormat:"DD, d MM, yy",firstDay:parseInt(EO_Ajax.startday,10),changeMonth:!0,monthNamesShort:EO_Ajax.locale.monthAbbrev,dayNamesMin:EO_Ajax.locale.dayAbbrev,changeYear:!0,showOn:"button",buttonText:EO_Ajax.locale.gotodate,onSelect:function(a){h.fullCalendar("gotoDate",new Date(Date.parse(a)))}}),a("button.ui-datepicker-trigger").button(),a.widget("ui.combobox",{_create:function(){var b=this.element.hide(),c=b.children(":selected"),d=c.val()?c.text():"",e=a("<span>").addClass("ui-combobox eo-venue-input").insertAfter(b),f={delay:0,minLength:0,source:function(b,c){a.getJSON(EO_Ajax.ajaxurl+"?callback=?&action=eo-search-venue",b,function(b){var d=a.map(b,function(a){return a.label=a.name,a});c(d)})},select:function(b,c){a("#venue_select").removeAttr("selected"),a("#venue_select").val(c.item.term_id)}},g=a("<input>").appendTo(e).val(d).addClass("ui-combobox-input").autocomplete(f).addClass("ui-widget-content ui-corner-left"),h=a.ui?a.ui.version||0:-1,i=eventorganiser.versionCompare(h,"1.10")>=0?"ui-autocomplete":"autocomplete";g.data(i)._renderItem=function(b,c){if(0===c.term_id)return a("<li></li>").data(i+"-item",c).append("<a>"+c.label+"</a>").appendTo(b);var d=[c.venue_address,c.venue_city,c.venue_state,c.venue_postcode,c.venue_country],e=a.grep(d,function(a){return a}).join(", "),f=eventorganiser.versionCompare(h,"1.10")>=0?"ui-autocomplete-item":"item.autocomplete";return a("<li></li>").data(f,c).append("<a>"+c.label+"</br> <span style='font-size: 0.8em'><em>"+e+"</span></em></a>").appendTo(b)};var j=a("<span>").addClass("eo-venue-combobox-buttons").appendTo(e);a("<a style='vertical-align: top;margin: 0px -1px;padding: 0px;height: 21px;'>").attr("title","Show All Items").appendTo(j).button({icons:{primary:"ui-icon-triangle-1-s"},text:!1}).removeClass("ui-corner-all").addClass("ui-corner-right ui-combobox-toggle ui-combobox-button").click(function(){return g.autocomplete("widget").is(":visible")?(g.autocomplete("close"),void 0):(a(this).blur(),g.autocomplete("search","").focus(),void 0)})}}),a("#venue_select").combobox(),a(".eo-cal-filter").change(function(){h.fullCalendar("rerenderEvents")}),a(".filter-venue .eo-cal-filter").selectmenu({wrapperElement:"<span class='fc-header-filter'></span>"}),a(".filter-category .eo-cal-filter").selectmenu({wrapperElement:"<span class='fc-header-filter'></span>",icons:[{find:".cat"}]});var i=a("#eo-event-venue-button").width()+30;a("#eo-event-venue-button").width(i+"px"),a("#eo-event-venue-menu").width(i+"px");var j=a("#eo-event-cat-button").width()+30;a("#eo-event-cat-button").width(j+"px"),a("#eo-event-cat-menu").width(j+"px")})}(jQuery),function(a){a.widget("ui.selectmenu",{options:{appendTo:"body",typeAhead:1e3,style:"dropdown",positionOptions:null,width:null,menuWidth:null,handleWidth:26,maxHeight:null,icons:null,format:null,escapeHtml:!1,bgImage:function(){}},_create:function(){var b=this,c=this.options,d=a.ui?a.ui.version||0:-1,e=eventorganiser.versionCompare(d,"1.9")>=0?this.element.uniqueId().attr("id"):this.element.attr("id")||"ui-selectmenu-"+Math.random().toString(16).slice(2,10);this.ids=[e,e+"-button",e+"-menu"],this._safemouseup=!0,this.isOpen=!1,this.newelement=a("<a />",{"class":"ui-selectmenu ui-widget ui-state-default ui-corner-all",id:this.ids[1],role:"button",href:"#nogo",tabindex:this.element.attr("disabled")?1:0,"aria-haspopup":!0,"aria-owns":this.ids[2]}),this.newelementWrap=a("<span />").append(this.newelement).insertAfter(this.element);var f=this.element.attr("tabindex");f&&this.newelement.attr("tabindex",f),this.newelement.data("selectelement",this.element),this.selectmenuIcon=a('<span class="ui-selectmenu-icon ui-icon"></span>').prependTo(this.newelement),this.newelement.prepend('<span class="ui-selectmenu-status" />'),this.element.bind({"click.selectmenu":function(a){b.newelement.focus(),a.preventDefault()}}),this.newelement.bind("mousedown.selectmenu",function(a){b._toggle(a,!0),"popup"==c.style&&(b._safemouseup=!1,setTimeout(function(){b._safemouseup=!0},300)),a.preventDefault()}).bind("click.selectmenu",function(a){a.preventDefault()}).bind("keydown.selectmenu",function(c){var d=!1;switch(c.keyCode){case a.ui.keyCode.ENTER:d=!0;break;case a.ui.keyCode.SPACE:b._toggle(c);break;case a.ui.keyCode.UP:c.altKey?b.open(c):b._moveSelection(-1);break;case a.ui.keyCode.DOWN:c.altKey?b.open(c):b._moveSelection(1);break;case a.ui.keyCode.LEFT:b._moveSelection(-1);break;case a.ui.keyCode.RIGHT:b._moveSelection(1);break;case a.ui.keyCode.TAB:d=!0;break;case a.ui.keyCode.PAGE_UP:case a.ui.keyCode.HOME:b.index(0);break;case a.ui.keyCode.PAGE_DOWN:case a.ui.keyCode.END:b.index(b._optionLis.length);break;default:d=!0}return d}).bind("keypress.selectmenu",function(a){return a.which>0&&b._typeAhead(a.which,"mouseup"),!0}).bind("mouseover.selectmenu",function(){c.disabled||a(this).addClass("ui-state-hover")}).bind("mouseout.selectmenu",function(){c.disabled||a(this).removeClass("ui-state-hover")}).bind("focus.selectmenu",function(){c.disabled||a(this).addClass("ui-state-focus")}).bind("blur.selectmenu",function(){c.disabled||a(this).removeClass("ui-state-focus")}),a(document).bind("mousedown.selectmenu-"+this.ids[0],function(c){b.isOpen&&!a(c.target).closest("#"+b.ids[1]).length&&b.close(c)}),this.element.bind("click.selectmenu",function(){b._refreshValue()}).bind("focus.selectmenu",function(){b.newelement&&b.newelement[0].focus()}),c.width||(c.width=this.element.outerWidth()),this.newelement.width(c.width),this.element.hide(),this.list=a("<ul />",{"class":"ui-widget ui-widget-content","aria-hidden":!0,role:"listbox","aria-labelledby":this.ids[1],id:this.ids[2]}),this.listWrap=a("<div />",{"class":"ui-selectmenu-menu"}).append(this.list).appendTo(c.appendTo),this.list.bind("keydown.selectmenu",function(c){var d=!1;switch(c.keyCode){case a.ui.keyCode.UP:c.altKey?b.close(c,!0):b._moveFocus(-1);break;case a.ui.keyCode.DOWN:c.altKey?b.close(c,!0):b._moveFocus(1);break;case a.ui.keyCode.LEFT:b._moveFocus(-1);break;case a.ui.keyCode.RIGHT:b._moveFocus(1);break;case a.ui.keyCode.HOME:b._moveFocus(":first");break;case a.ui.keyCode.PAGE_UP:b._scrollPage("up");break;case a.ui.keyCode.PAGE_DOWN:b._scrollPage("down");break;case a.ui.keyCode.END:b._moveFocus(":last");break;case a.ui.keyCode.ENTER:case a.ui.keyCode.SPACE:b.close(c,!0),a(c.target).parents("li:eq(0)").trigger("mouseup");break;case a.ui.keyCode.TAB:d=!0,b.close(c,!0),a(c.target).parents("li:eq(0)").trigger("mouseup");break;case a.ui.keyCode.ESCAPE:b.close(c,!0);break;default:d=!0}return d}).bind("keypress.selectmenu",function(a){return a.which>0&&b._typeAhead(a.which,"focus"),!0}).bind("mousedown.selectmenu mouseup.selectmenu",function(){return!1}),a(window).bind("resize.selectmenu-"+this.ids[0],a.proxy(b.close,this))},_init:function(){var b=this,c=this.options,d=[];this.element.find("option").each(function(){var e=a(this);d.push({value:e.attr("value"),text:b._formatText(e.text(),e),selected:e.attr("selected"),disabled:e.attr("disabled"),classes:e.attr("class"),typeahead:e.attr("typeahead"),parentOptGroup:e.parent("optgroup"),bgImage:c.bgImage.call(e)})});var e="popup"==b.options.style?" ui-state-active":"";if(this.list.html(""),d.length)for(var f=0;f<d.length;f++){var g={role:"presentation"};d[f].disabled&&(g["class"]="ui-state-disabled");var h={html:d[f].text||" ",href:"#nogo",tabindex:-1,role:"option","aria-selected":!1};d[f].disabled&&(h["aria-disabled"]=d[f].disabled),d[f].typeahead&&(h.typeahead=d[f].typeahead);var i=a("<a/>",h).bind("focus.selectmenu",function(){a(this).parent().mouseover()}).bind("blur.selectmenu",function(){a(this).parent().mouseout()}),j=a("<li/>",g).append(i).data("index",f).addClass(d[f].classes).data("optionClasses",d[f].classes||"").bind("mouseup.selectmenu",function(c){return!b._safemouseup||b._disabled(c.currentTarget)||b._disabled(a(c.currentTarget).parents("ul > li.ui-selectmenu-group "))||(b.index(a(this).data("index")),b.select(c),b.close(c,!0)),!1}).bind("click.selectmenu",function(){return!1}).bind("mouseover.selectmenu",function(c){a(this).hasClass("ui-state-disabled")||a(this).parent("ul").parent("li").hasClass("ui-state-disabled")||(c.optionValue=b.element[0].options[a(this).data("index")].value,b._trigger("hover",c,b._uiHash()),b._selectedOptionLi().addClass(e),b._focusedOptionLi().removeClass("ui-selectmenu-item-focus ui-state-hover"),a(this).removeClass("ui-state-active").addClass("ui-selectmenu-item-focus ui-state-hover"))}).bind("mouseout.selectmenu",function(c){a(this).is(b._selectedOptionLi())&&a(this).addClass(e),c.optionValue=b.element[0].options[a(this).data("index")].value,b._trigger("blur",c,b._uiHash()),a(this).removeClass("ui-selectmenu-item-focus ui-state-hover")});if(d[f].parentOptGroup.length){var k="ui-selectmenu-group-"+this.element.find("optgroup").index(d[f].parentOptGroup);this.list.find("li."+k).length?this.list.find("li."+k+":last ul").append(j):a('<li role="presentation" class="ui-selectmenu-group '+k+(d[f].parentOptGroup.attr("disabled")?' ui-state-disabled" aria-disabled="true"':'"')+'><span class="ui-selectmenu-group-label">'+d[f].parentOptGroup.attr("label")+"</span><ul></ul></li>").appendTo(this.list).find("ul").append(j)}else j.appendTo(this.list);if(c.icons)for(var l in c.icons)if(j.is(c.icons[l].find)){j.data("optionClasses",d[f].classes+" ui-selectmenu-hasIcon").addClass("ui-selectmenu-hasIcon");var m=c.icons[l].icon||"";j.find("a:eq(0)").prepend('<span class="ui-selectmenu-item-icon ui-icon '+m+'"></span>'),d[f].bgImage&&j.find("span").css("background-image",d[f].bgImage)}}else a(' <li role="presentation"><a href="#nogo" tabindex="-1" role="option"></a></li>').appendTo(this.list);var n="dropdown"==c.style;this.newelement.toggleClass("ui-selectmenu-dropdown",n).toggleClass("ui-selectmenu-popup",!n),this.list.toggleClass("ui-selectmenu-menu-dropdown ui-corner-bottom",n).toggleClass("ui-selectmenu-menu-popup ui-corner-all",!n).find("li:first").toggleClass("ui-corner-top",!n).end().find("li:last").addClass("ui-corner-bottom"),this.selectmenuIcon.toggleClass("ui-icon-triangle-1-s",n).toggleClass("ui-icon-triangle-2-n-s",!n),"dropdown"==c.style?this.list.width(c.menuWidth?c.menuWidth:c.width):this.list.width(c.menuWidth?c.menuWidth:c.width-c.handleWidth),this.list.css("height","auto");var o=this.listWrap.height(),p=a(window).height(),q=c.maxHeight?Math.min(c.maxHeight,p):p/3;o>q&&this.list.height(q),this._optionLis=this.list.find("li:not(.ui-selectmenu-group)"),this.element.attr("disabled")?this.disable():this.enable(),this._refreshValue(),this._selectedOptionLi().addClass("ui-selectmenu-item-focus"),clearTimeout(this.refreshTimeout),this.refreshTimeout=window.setTimeout(function(){b._refreshPosition()},200)},destroy:function(){this.element.removeData(this.widgetName).removeClass("ui-selectmenu-disabled ui-state-disabled").removeAttr("aria-disabled").unbind(".selectmenu"),a(window).unbind(".selectmenu-"+this.ids[0]),a(document).unbind(".selectmenu-"+this.ids[0]),this.newelementWrap.remove(),this.listWrap.remove(),this.element.unbind(".selectmenu").show(),a.Widget.prototype.destroy.apply(this,arguments)},_typeAhead:function(a,b){var c=this,d=String.fromCharCode(a).toLowerCase(),e=null,f=null;c._typeAhead_timer&&(window.clearTimeout(c._typeAhead_timer),c._typeAhead_timer=void 0),c._typeAhead_chars=(void 0===c._typeAhead_chars?"":c._typeAhead_chars).concat(d),c._typeAhead_chars.length<2||c._typeAhead_chars.substr(-2,1)===d&&c._typeAhead_cycling?(c._typeAhead_cycling=!0,e=d):(c._typeAhead_cycling=!1,e=c._typeAhead_chars);for(var g=("focus"!==b?this._selectedOptionLi().data("index"):this._focusedOptionLi().data("index"))||0,h=0;h<this._optionLis.length;h++){var i=this._optionLis.eq(h).text().substr(0,e.length).toLowerCase();if(i===e)if(c._typeAhead_cycling){if(null===f&&(f=h),h>g){f=h;break}}else f=h}null!==f&&this._optionLis.eq(f).find("a").trigger(b),c._typeAhead_timer=window.setTimeout(function(){c._typeAhead_timer=void 0,c._typeAhead_chars=void 0,c._typeAhead_cycling=void 0},c.options.typeAhead)},_uiHash:function(){var b=this.index();return{index:b,option:a("option",this.element).get(b),value:this.element[0].value}},open:function(a){if("true"!=this.newelement.attr("aria-disabled")){var b=this,c=this.options,d=this._selectedOptionLi(),e=d.find("a");b._closeOthers(a),b.newelement.addClass("ui-state-active"),b.list.attr("aria-hidden",!1),b.listWrap.addClass("ui-selectmenu-open"),"dropdown"==c.style?b.newelement.removeClass("ui-corner-all").addClass("ui-corner-top"):this.list.css("left",-5e3).scrollTop(this.list.scrollTop()+d.position().top-this.list.outerHeight()/2+d.outerHeight()/2).css("left","auto"),b._refreshPosition(),e.length&&e[0].focus(),b.isOpen=!0,b._trigger("open",a,b._uiHash())}},close:function(a,b){this.newelement.is(".ui-state-active")&&(this.newelement.removeClass("ui-state-active"),this.listWrap.removeClass("ui-selectmenu-open"),this.list.attr("aria-hidden",!0),"dropdown"==this.options.style&&this.newelement.removeClass("ui-corner-top").addClass("ui-corner-all"),b&&this.newelement.focus(),this.isOpen=!1,this._trigger("close",a,this._uiHash()))},change:function(a){this.element.trigger("change"),this._trigger("change",a,this._uiHash())},select:function(a){return this._disabled(a.currentTarget)?!1:(this._trigger("select",a,this._uiHash()),void 0)},widget:function(){return this.listWrap.add(this.newelementWrap)},_closeOthers:function(b){a(".ui-selectmenu.ui-state-active").not(this.newelement).each(function(){a(this).data("selectelement").selectmenu("close",b)}),a(".ui-selectmenu.ui-state-hover").trigger("mouseout")},_toggle:function(a,b){this.isOpen?this.close(a,b):this.open(a)},_formatText:function(b,c){return this.options.format?b=this.options.format(b,c):this.options.escapeHtml&&(b=a("<div />").text(b).html()),b},_selectedIndex:function(){return this.element[0].selectedIndex},_selectedOptionLi:function(){return this._optionLis.eq(this._selectedIndex())},_focusedOptionLi:function(){return this.list.find(".ui-selectmenu-item-focus")},_moveSelection:function(a,b){if(!this.options.disabled){var c=parseInt(this._selectedOptionLi().data("index")||0,10),d=c+a;if(0>d&&(d=0),d>this._optionLis.size()-1&&(d=this._optionLis.size()-1),d===b)return!1;this._optionLis.eq(d).hasClass("ui-state-disabled")?(a>0?++a:--a,this._moveSelection(a,d)):this._optionLis.eq(d).trigger("mouseover").trigger("mouseup")}},_moveFocus:function(a,b){var c;if(isNaN(a))c=parseInt(this._optionLis.filter(a).data("index"),10);else{var d=parseInt(this._focusedOptionLi().data("index")||0,10);c=d+a}if(0>c&&(c=0),c>this._optionLis.size()-1&&(c=this._optionLis.size()-1),c===b)return!1;var e="ui-selectmenu-item-"+Math.round(1e3*Math.random());this._focusedOptionLi().find("a:eq(0)").attr("id",""),this._optionLis.eq(c).hasClass("ui-state-disabled")?(a>0?++a:--a,this._moveFocus(a,c)):this._optionLis.eq(c).find("a:eq(0)").attr("id",e).focus(),this.list.attr("aria-activedescendant",e)},_scrollPage:function(a){var b=Math.floor(this.list.outerHeight()/this._optionLis.first().outerHeight());b="up"==a?-b:b,this._moveFocus(b)},_setOption:function(a,b){this.options[a]=b,"disabled"==a&&(b&&this.close(),this.element.add(this.newelement).add(this.list)[b?"addClass":"removeClass"]("ui-selectmenu-disabled ui-state-disabled").attr("aria-disabled",b))},disable:function(a,b){"undefined"==typeof a?this._setOption("disabled",!0):"optgroup"==b?this._toggleOptgroup(a,!1):this._toggleOption(a,!1)},enable:function(a,b){"undefined"==typeof a?this._setOption("disabled",!1):"optgroup"==b?this._toggleOptgroup(a,!0):this._toggleOption(a,!0)},_disabled:function(b){return a(b).hasClass("ui-state-disabled")},_toggleOption:function(a,b){var c=this._optionLis.eq(a);c&&(c.toggleClass("ui-state-disabled",b).find("a").attr("aria-disabled",!b),b?this.element.find("option").eq(a).attr("disabled","disabled"):this.element.find("option").eq(a).removeAttr("disabled"))},_toggleOptgroup:function(a,b){var c=this.list.find("li.ui-selectmenu-group-"+a);c&&(c.toggleClass("ui-state-disabled",b).attr("aria-disabled",!b),b?this.element.find("optgroup").eq(a).attr("disabled","disabled"):this.element.find("optgroup").eq(a).removeAttr("disabled"))},index:function(b){return arguments.length?this._disabled(a(this._optionLis[b]))||b==this._selectedIndex()?!1:(this.element[0].selectedIndex=b,this._refreshValue(),this.change(),void 0):this._selectedIndex()},value:function(a){return arguments.length&&a!=this.element[0].value?(this.element[0].value=a,this._refreshValue(),this.change(),void 0):this.element[0].value},_refreshValue:function(){var a="popup"==this.options.style?" ui-state-active":"",b="ui-selectmenu-item-"+Math.round(1e3*Math.random());this.list.find(".ui-selectmenu-item-selected").removeClass("ui-selectmenu-item-selected"+a).find("a").attr("aria-selected","false").attr("id",""),this._selectedOptionLi().addClass("ui-selectmenu-item-selected"+a).find("a").attr("aria-selected","true").attr("id",b);var c=this.newelement.data("optionClasses")?this.newelement.data("optionClasses"):"",d=this._selectedOptionLi().data("optionClasses")?this._selectedOptionLi().data("optionClasses"):"";this.newelement.removeClass(c).data("optionClasses",d).addClass(d).find(".ui-selectmenu-status").html(this._selectedOptionLi().find("a:eq(0)").html()),this.list.attr("aria-activedescendant",b)},_refreshPosition:function(){var b=this.options,c={of:this.newelement,my:"left top",at:"left bottom",collision:"flip"};if("popup"==b.style){var d=this._selectedOptionLi();c.my="left top"+(this.list.offset().top-d.offset().top-(this.newelement.outerHeight()+d.outerHeight())/2),c.collision="fit"}this.listWrap.removeAttr("style").zIndex(this.element.zIndex()+2).position(a.extend(c,b.positionOptions))}})}(jQuery),function(a){var b;"function"==typeof b&&b.amd?b(["jquery"],a):a(jQuery)}(function(a){function b(a){return a}function c(a){return decodeURIComponent(a.replace(e," "))}function d(a){0===a.indexOf('"')&&(a=a.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return f.json?JSON.parse(a):a}catch(b){}}var e=/\+/g,f=a.cookie=function(e,g,h){if(void 0!==g){if(h=a.extend({},f.defaults,h),"number"==typeof h.expires){var i=h.expires,j=h.expires=new Date;j.setDate(j.getDate()+i)}return g=f.json?JSON.stringify(g):String(g),document.cookie=[f.raw?e:encodeURIComponent(e),"=",f.raw?g:encodeURIComponent(g),h.expires?"; expires="+h.expires.toUTCString():"",h.path?"; path="+h.path:"",h.domain?"; domain="+h.domain:"",h.secure?"; secure":""].join(""),document}for(var k=f.raw?b:c,l=document.cookie.split("; "),m=e?void 0:{},n=0,o=l.length;o>n;n++){var p=l[n].split("="),q=k(p.shift()),r=k(p.join("="));if(e&&e===q){m=d(r);break}e||(m[q]=d(r))}return m};f.defaults={},a.removeCookie=function(b,c){return void 0!==a.cookie(b)?(a.cookie(b,"",a.extend({},c,{expires:-1})),!0):!1}});
|
js/edit-event-controller.js
CHANGED
@@ -94,19 +94,19 @@ $.widget("ui.combobox", {
|
|
94 |
},
|
95 |
select: function (a, b) {
|
96 |
if ($("tr.venue_row").length > 0) {
|
97 |
-
if (b.item.term_id
|
98 |
$("tr.venue_row").hide();
|
99 |
$("#eventorganiser_event_detail tr.eo-add-new-venue").hide();
|
100 |
} else {
|
101 |
$("tr.venue_row").show();
|
102 |
$("#eventorganiser_event_detail tr.eo-add-new-venue").hide();
|
103 |
}
|
104 |
-
eo_initialize_map(b.item.venue_lat, b.item.venue_lng)
|
105 |
-
$("#eo_venue_Lat").val(b.item.venue_lat);
|
106 |
-
$("#eo_venue_Lng").val(b.item.venue_lng);
|
107 |
}
|
108 |
-
$("#venue_select").removeAttr("selected");
|
109 |
-
$("#venue_select").val(b.item.term_id);
|
110 |
}
|
111 |
};
|
112 |
var input = $("<input>").appendTo(wrapper).val(e).addClass("ui-combobox-input").autocomplete(options).addClass("ui-widget-content ui-corner-left");
|
@@ -116,19 +116,19 @@ $.widget("ui.combobox", {
|
|
116 |
var ac_namespace = ( eventorganiser.versionCompare( jquery_ui_version, '1.10' ) >= 0 ? 'ui-autocomplete' : 'autocomplete' );
|
117 |
|
118 |
//Apend venue address to drop-down
|
119 |
-
input.data( ac_namespace )._renderItem = function (a,
|
120 |
-
if (
|
121 |
-
return $("<li></li>").data( ac_namespace + "-item",
|
122 |
}
|
123 |
//Clean address
|
124 |
-
var address_array = [
|
125 |
var address = $.grep(address_array,function(n){return(n);}).join(', ');
|
126 |
|
127 |
/* Backwards compat with WP 3.3-3.5 (UI 1.8.16-1.9.2)*/
|
128 |
var li_ac_namespace = ( eventorganiser.versionCompare( jquery_ui_version, '1.10' ) >= 0 ? 'ui-autocomplete-item' : 'item.autocomplete' );
|
129 |
|
130 |
-
return $("<li></li>").data( li_ac_namespace,
|
131 |
-
.append("<a>" +
|
132 |
};
|
133 |
|
134 |
//Add new / selec buttons
|
@@ -137,7 +137,7 @@ $.widget("ui.combobox", {
|
|
137 |
icons: { primary: "ui-icon-triangle-1-s"},
|
138 |
text: false
|
139 |
}).removeClass("ui-corner-all").addClass("ui-corner-right ui-combobox-toggle ui-combobox-button").click(function () {
|
140 |
-
if (input.autocomplete("widget").is(":visible")) {input.autocomplete("close");return}
|
141 |
$(this).blur();
|
142 |
input.autocomplete("search", "").focus();
|
143 |
});
|
94 |
},
|
95 |
select: function (a, b) {
|
96 |
if ($("tr.venue_row").length > 0) {
|
97 |
+
if ( parseInt( b.item.term_id, 10 ) === 0) {
|
98 |
$("tr.venue_row").hide();
|
99 |
$("#eventorganiser_event_detail tr.eo-add-new-venue").hide();
|
100 |
} else {
|
101 |
$("tr.venue_row").show();
|
102 |
$("#eventorganiser_event_detail tr.eo-add-new-venue").hide();
|
103 |
}
|
104 |
+
eo_initialize_map( b.item.venue_lat, b.item.venue_lng );
|
105 |
+
$("#eo_venue_Lat").val( b.item.venue_lat );
|
106 |
+
$("#eo_venue_Lng").val( b.item.venue_lng );
|
107 |
}
|
108 |
+
$("#venue_select").removeAttr( "selected" );
|
109 |
+
$("#venue_select").val( b.item.term_id );
|
110 |
}
|
111 |
};
|
112 |
var input = $("<input>").appendTo(wrapper).val(e).addClass("ui-combobox-input").autocomplete(options).addClass("ui-widget-content ui-corner-left");
|
116 |
var ac_namespace = ( eventorganiser.versionCompare( jquery_ui_version, '1.10' ) >= 0 ? 'ui-autocomplete' : 'autocomplete' );
|
117 |
|
118 |
//Apend venue address to drop-down
|
119 |
+
input.data( ac_namespace )._renderItem = function (a, venue ) {
|
120 |
+
if ( parseInt( venue.term_id, 10 ) === 0 ) {
|
121 |
+
return $("<li></li>").data( ac_namespace + "-item", venue ).append("<a>" + venue.label + "</a>").appendTo(a);
|
122 |
}
|
123 |
//Clean address
|
124 |
+
var address_array = [venue.venue_address, venue.venue_city, venue.venue_state,venue.venue_postcode,venue.venue_country];
|
125 |
var address = $.grep(address_array,function(n){return(n);}).join(', ');
|
126 |
|
127 |
/* Backwards compat with WP 3.3-3.5 (UI 1.8.16-1.9.2)*/
|
128 |
var li_ac_namespace = ( eventorganiser.versionCompare( jquery_ui_version, '1.10' ) >= 0 ? 'ui-autocomplete-item' : 'item.autocomplete' );
|
129 |
|
130 |
+
return $("<li></li>").data( li_ac_namespace, venue)
|
131 |
+
.append("<a>" + venue.label + "</br> <span style='font-size: 0.8em'><em>" +address+ "</span></em></a>").appendTo(a);
|
132 |
};
|
133 |
|
134 |
//Add new / selec buttons
|
137 |
icons: { primary: "ui-icon-triangle-1-s"},
|
138 |
text: false
|
139 |
}).removeClass("ui-corner-all").addClass("ui-corner-right ui-combobox-toggle ui-combobox-button").click(function () {
|
140 |
+
if (input.autocomplete("widget").is(":visible")) {input.autocomplete("close");return;}
|
141 |
$(this).blur();
|
142 |
input.autocomplete("search", "").focus();
|
143 |
});
|
js/edit-event-controller.min.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
/*! event-organiser 2.4.
|
2 |
-
var eventorganiser=eventorganiser||{};eventorganiser.versionCompare=function(a,b){if("stringstring"!=typeof a+typeof b)return!1;for(var c=a.split("."),d=b.split("."),e=Math.max(c.length,d.length),f=0;e>f;f++){if(c[f]&&!d[f]&&parseInt(c[f],10)>0||parseInt(c[f],10)>parseInt(d[f],10))return 1;if(d[f]&&!c[f]&&parseInt(d[f],10)>0||parseInt(c[f],10)<parseInt(d[f],10))return-1}return 0},jQuery(document).ready(function(a){var b;eventOrganiserSchedulePicker.init({views:{start_date:"#eventorganiser_detail #from_date",start_time:"#HWSEvent_time",end_date:"#eventorganiser_detail #to_date",end_time:"#HWSEvent_time2",occurrence_picker:"#eo_occurrence_datepicker",occurrence_picker_toggle:".eo_occurrence_toggle",schedule_last_date:"#recend",schedule:"#HWSEventInput_Req",is_all_day:"#eo_allday",frequency:"#HWSEvent_freq",week_repeat:"#dayofweekrepeat",month_repeat:"#dayofmonthrepeat",recurrence_section:".reocurrence_row",include:"#eo_occurrence_includes",exclude:"#eo_occurrence_excludes",schedule_span:"#recpan",summary:"#event_summary"},format:EO_Ajax_Event.format,is24hour:Boolean(EO_Ajax_Event.is24hour),startday:EO_Ajax_Event.startday,schedule:window.eventOrganiserSchedule,locale:EO_Ajax_Event.locale,editable:"once"==a("#HWSEventInput_Req").val()||"custom"==a("#HWSEventInput_Req").val()}),a("#HWSEvent_rec").click(function(){window.eventOrganiserSchedulePicker.options.editable=a("#HWSEvent_rec").is(":checked"),window.eventOrganiserSchedulePicker.update_form()}),a.widget("ui.combobox",{_create:function(){var c=this.element.hide(),d=c.children(":selected"),e=d.val()?d.text():"",f=a("<span>").addClass("ui-combobox eo-venue-input").insertAfter(c),g={delay:0,minLength:0,source:function(b,c){a.getJSON(EO_Ajax_Event.ajaxurl+"?callback=?&action=eo-search-venue",b,function(b){var d=a.map(b,function(a){return a.label=a.name,a});c(d)})},select:function(b,c){a("tr.venue_row").length>0&&(0
|
1 |
+
/*! event-organiser 2.4.1 2013-11-16 15:07 */
|
2 |
+
var eventorganiser=eventorganiser||{};eventorganiser.versionCompare=function(a,b){if("stringstring"!=typeof a+typeof b)return!1;for(var c=a.split("."),d=b.split("."),e=Math.max(c.length,d.length),f=0;e>f;f++){if(c[f]&&!d[f]&&parseInt(c[f],10)>0||parseInt(c[f],10)>parseInt(d[f],10))return 1;if(d[f]&&!c[f]&&parseInt(d[f],10)>0||parseInt(c[f],10)<parseInt(d[f],10))return-1}return 0},jQuery(document).ready(function(a){var b;eventOrganiserSchedulePicker.init({views:{start_date:"#eventorganiser_detail #from_date",start_time:"#HWSEvent_time",end_date:"#eventorganiser_detail #to_date",end_time:"#HWSEvent_time2",occurrence_picker:"#eo_occurrence_datepicker",occurrence_picker_toggle:".eo_occurrence_toggle",schedule_last_date:"#recend",schedule:"#HWSEventInput_Req",is_all_day:"#eo_allday",frequency:"#HWSEvent_freq",week_repeat:"#dayofweekrepeat",month_repeat:"#dayofmonthrepeat",recurrence_section:".reocurrence_row",include:"#eo_occurrence_includes",exclude:"#eo_occurrence_excludes",schedule_span:"#recpan",summary:"#event_summary"},format:EO_Ajax_Event.format,is24hour:Boolean(EO_Ajax_Event.is24hour),startday:EO_Ajax_Event.startday,schedule:window.eventOrganiserSchedule,locale:EO_Ajax_Event.locale,editable:"once"==a("#HWSEventInput_Req").val()||"custom"==a("#HWSEventInput_Req").val()}),a("#HWSEvent_rec").click(function(){window.eventOrganiserSchedulePicker.options.editable=a("#HWSEvent_rec").is(":checked"),window.eventOrganiserSchedulePicker.update_form()}),a.widget("ui.combobox",{_create:function(){var c=this.element.hide(),d=c.children(":selected"),e=d.val()?d.text():"",f=a("<span>").addClass("ui-combobox eo-venue-input").insertAfter(c),g={delay:0,minLength:0,source:function(b,c){a.getJSON(EO_Ajax_Event.ajaxurl+"?callback=?&action=eo-search-venue",b,function(b){var d=a.map(b,function(a){return a.label=a.name,a});c(d)})},select:function(b,c){a("tr.venue_row").length>0&&(0===parseInt(c.item.term_id,10)?(a("tr.venue_row").hide(),a("#eventorganiser_event_detail tr.eo-add-new-venue").hide()):(a("tr.venue_row").show(),a("#eventorganiser_event_detail tr.eo-add-new-venue").hide()),eo_initialize_map(c.item.venue_lat,c.item.venue_lng),a("#eo_venue_Lat").val(c.item.venue_lat),a("#eo_venue_Lng").val(c.item.venue_lng)),a("#venue_select").removeAttr("selected"),a("#venue_select").val(c.item.term_id)}},h=a("<input>").appendTo(f).val(e).addClass("ui-combobox-input").autocomplete(g).addClass("ui-widget-content ui-corner-left"),i=a.ui?a.ui.version||0:-1,j=eventorganiser.versionCompare(i,"1.10")>=0?"ui-autocomplete":"autocomplete";h.data(j)._renderItem=function(b,c){if(0===parseInt(c.term_id,10))return a("<li></li>").data(j+"-item",c).append("<a>"+c.label+"</a>").appendTo(b);var d=[c.venue_address,c.venue_city,c.venue_state,c.venue_postcode,c.venue_country],e=a.grep(d,function(a){return a}).join(", "),f=eventorganiser.versionCompare(i,"1.10")>=0?"ui-autocomplete-item":"item.autocomplete";return a("<li></li>").data(f,c).append("<a>"+c.label+"</br> <span style='font-size: 0.8em'><em>"+e+"</span></em></a>").appendTo(b)};var k=a("<span>").addClass("eo-venue-combobox-buttons").appendTo(f);a("<a style='vertical-align: top;margin: 0px -1px;padding: 0px;height: 21px;'>").attr("title","Show All Items").appendTo(k).button({icons:{primary:"ui-icon-triangle-1-s"},text:!1}).removeClass("ui-corner-all").addClass("ui-corner-right ui-combobox-toggle ui-combobox-button").click(function(){return h.autocomplete("widget").is(":visible")?(h.autocomplete("close"),void 0):(a(this).blur(),h.autocomplete("search","").focus(),void 0)}),"event"==pagenow&&EO_Ajax_Event.current_user_can.manage_venues&&a("<a style='vertical-align: top;margin: 0px -1px;padding: 0px;height: 21px;'>").attr("title","Create New Venue").appendTo(k).button({icons:{primary:"ui-icon-plus"},text:!1}).removeClass("ui-corner-all").addClass("ui-corner-right add-new-venue ui-combobox-button").click(function(){a("#eventorganiser_event_detail tr.eo-add-new-venue").show(),a("tr.venue_row").show(),b={id:a("#venue_select").val(),label:a(".eo-venue-input input").val(),lat:a("#eo_venue_Lat").val(),lng:a("#eo_venue_Lng").val()},a("#venue_select").removeAttr("selected").val(0),a(".eo-venue-combobox-select").hide(),a(".eo-venue-input input").val(""),eo_initialize_map(0,0);var c=EO_Ajax_Event.location;c?(c=c.split("/"),c=c[c.length-1],eventorganiser_code_address(c)):map.setZoom(1),a(this).blur()})}}),a("#venue_select").combobox(),a(".eo-add-new-venue-cancel").click(function(c){c.preventDefault(),a(".eo-venue-combobox-select").show(),a(".eo-add-new-venue input").val(""),eo_initialize_map(b.lat,b.lng),a("#venue_select").val(b.id),a(".eo-venue-input input").val(b.label),a("#eventorganiser_event_detail tr.eo-add-new-venue").hide()})});
|
js/event.js
CHANGED
@@ -40,7 +40,7 @@ Date.prototype.eoGetOrdinal = function () {
|
|
40 |
default:
|
41 |
return 'th';
|
42 |
}
|
43 |
-
}
|
44 |
|
45 |
/**
|
46 |
* Given a month (start & end ) and event schedule, calculates
|
@@ -51,7 +51,7 @@ function eo_generate_dates_by_schedule_rule( rule, month_start,month_end ){
|
|
51 |
//Helper array
|
52 |
var ical_weekdays = new Array("SU", "MO", "TU", "WE", "TH", "FR", "SA"),
|
53 |
eo_occurrences_by_rule = [],
|
54 |
-
count_days, pointer;
|
55 |
|
56 |
//If event starts in previous month - how many days from start to first occurrence in current month?
|
57 |
// Depends on occurrence (and 'stream' for weekly events.
|
@@ -105,6 +105,7 @@ function eo_generate_dates_by_schedule_rule( rule, month_start,month_end ){
|
|
105 |
if ( rule.schedule_meta.match(/BYMONTHDAY=(\d+)/) ) {
|
106 |
var day = rule.start.getDate();
|
107 |
var daysinmonth = month_end.getDate();
|
|
|
108 |
if ( day <= daysinmonth) {
|
109 |
//If valid date
|
110 |
pointer = new Date( month_start.getFullYear(), month_start.getMonth(), day);
|
@@ -129,7 +130,7 @@ function eo_generate_dates_by_schedule_rule( rule, month_start,month_end ){
|
|
129 |
pointer.setDate(occurence_date);
|
130 |
}
|
131 |
|
132 |
-
if (pointer <= rule.schedule_last ) {
|
133 |
//If before end
|
134 |
formateddate = $.datepicker.formatDate('yy-mm-dd', pointer);
|
135 |
eo_occurrences_by_rule.push(formateddate);
|
@@ -259,7 +260,7 @@ window.eventOrganiserSchedulePicker = {
|
|
259 |
//Replace with do_action
|
260 |
self.update_schedule();
|
261 |
self.update_occurrencepicker_rules();
|
262 |
-
self.update_form()
|
263 |
}
|
264 |
});
|
265 |
|
@@ -362,7 +363,7 @@ window.eventOrganiserSchedulePicker = {
|
|
362 |
is_all_day: $(views.is_all_day).attr("checked"),
|
363 |
include: $(views.include).length > 0 ? $(views.include).val().split(",") : [],
|
364 |
exclude: $(views.exclude).length > 0 ? $(views.exclude).val().split(",") : []
|
365 |
-
}
|
366 |
|
367 |
if( schedule.schedule == 'weekly' ){
|
368 |
schedule.schedule_meta = [];
|
@@ -477,7 +478,7 @@ window.eventOrganiserSchedulePicker = {
|
|
477 |
$(view.summary).html( schedule.generate_summary( locale ) );
|
478 |
}
|
479 |
|
480 |
-
}
|
481 |
|
482 |
|
483 |
eventOrganiserSchedule = {
|
@@ -595,7 +596,7 @@ eventOrganiserSchedule = {
|
|
595 |
} else {
|
596 |
summary += locale.yearSingle;
|
597 |
}
|
598 |
-
summary = summary + " " + $.datepicker.formatDate("MM d", this.start, options) + this.start.eoGetOrdinal()
|
599 |
break;
|
600 |
}
|
601 |
|
@@ -664,7 +665,7 @@ eventOrganiserSchedule = {
|
|
664 |
|
665 |
|
666 |
}
|
667 |
-
}
|
668 |
|
669 |
})(jQuery);
|
670 |
|
40 |
default:
|
41 |
return 'th';
|
42 |
}
|
43 |
+
};
|
44 |
|
45 |
/**
|
46 |
* Given a month (start & end ) and event schedule, calculates
|
51 |
//Helper array
|
52 |
var ical_weekdays = new Array("SU", "MO", "TU", "WE", "TH", "FR", "SA"),
|
53 |
eo_occurrences_by_rule = [],
|
54 |
+
count_days, pointer = false;
|
55 |
|
56 |
//If event starts in previous month - how many days from start to first occurrence in current month?
|
57 |
// Depends on occurrence (and 'stream' for weekly events.
|
105 |
if ( rule.schedule_meta.match(/BYMONTHDAY=(\d+)/) ) {
|
106 |
var day = rule.start.getDate();
|
107 |
var daysinmonth = month_end.getDate();
|
108 |
+
//Check for short months
|
109 |
if ( day <= daysinmonth) {
|
110 |
//If valid date
|
111 |
pointer = new Date( month_start.getFullYear(), month_start.getMonth(), day);
|
130 |
pointer.setDate(occurence_date);
|
131 |
}
|
132 |
|
133 |
+
if ( pointer && pointer <= rule.schedule_last ) {
|
134 |
//If before end
|
135 |
formateddate = $.datepicker.formatDate('yy-mm-dd', pointer);
|
136 |
eo_occurrences_by_rule.push(formateddate);
|
260 |
//Replace with do_action
|
261 |
self.update_schedule();
|
262 |
self.update_occurrencepicker_rules();
|
263 |
+
self.update_form();
|
264 |
}
|
265 |
});
|
266 |
|
363 |
is_all_day: $(views.is_all_day).attr("checked"),
|
364 |
include: $(views.include).length > 0 ? $(views.include).val().split(",") : [],
|
365 |
exclude: $(views.exclude).length > 0 ? $(views.exclude).val().split(",") : []
|
366 |
+
};
|
367 |
|
368 |
if( schedule.schedule == 'weekly' ){
|
369 |
schedule.schedule_meta = [];
|
478 |
$(view.summary).html( schedule.generate_summary( locale ) );
|
479 |
}
|
480 |
|
481 |
+
};
|
482 |
|
483 |
|
484 |
eventOrganiserSchedule = {
|
596 |
} else {
|
597 |
summary += locale.yearSingle;
|
598 |
}
|
599 |
+
summary = summary + " " + $.datepicker.formatDate("MM d", this.start, options) + this.start.eoGetOrdinal();
|
600 |
break;
|
601 |
}
|
602 |
|
665 |
|
666 |
|
667 |
}
|
668 |
+
};
|
669 |
|
670 |
})(jQuery);
|
671 |
|
js/event.min.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
/*! event-organiser 2.4.
|
2 |
-
var eo_include_dates,eo_exclude_dates,eo_viewing_month;!function(a){function b(b,c,d){var e,f,g=new Array("SU","MO","TU","WE","TH","FR","SA"),h=[];switch(b.schedule){case"once":case"custom":var i=a.datepicker.formatDate("yy-mm-dd",b.start);return h.push(i),h;case"daily":b.start<c?(e=Math.abs((c-b.start)/864e5)-1,e%=b.frequency):e=parseInt(b.start.getDate(),10);var j=b.frequency,k=[],l=new Date(c);l.setDate(c.getDate()+(e-1)),k.push(l);break;case"weekly":var m=c.getDay();k=[],a.each(b.schedule_meta,function(a,d){a=g.indexOf(d),l=new Date(b.start),l.setDate(b.start.getDate()+(a-b.start.getDay()+7)%7),c>l&&(e=Math.abs((c-b.start)/864e5),e-=e%(7*b.frequency),l.setDate(l.getDate()+e)),k.push(l)}),j=7*b.frequency;break;case"monthly":var n=12*(c.getFullYear()-b.start.getFullYear())+(c.getMonth()-b.start.getMonth());if(0!==n%b.frequency)return;if(b.schedule_meta.match(/BYMONTHDAY=(\d+)/)){var o=b.start.getDate(),p=d.getDate();p>=o&&(f=new Date(c.getFullYear(),c.getMonth(),o))}else{var q,r=b.schedule_meta.match(/BYDAY=(\d+)(MO|TU|WE|TH|FR|SA|SU)/),s=parseInt(r[1],10)-1,t=b.start.getDay();if(s>=4){var u=d.getDay();q=d.getDate()+(t-u-7)%7}else{m=c.getDay();var v=(t-m+7)%7;q=v+7*s+1}f=new Date(c),f.setDate(q)}return f<=b.schedule_last&&(i=a.datepicker.formatDate("yy-mm-dd",f),h.push(i)),h;case"yearly":var w=c.getFullYear()-b.start.getFullYear();if(0!==w%b.frequency)return h;var x=new Date(c.getFullYear(),b.start.getMonth(),b.start.getDate());return c.getMonth()==b.start.getMonth()&&x.getMonth()==b.start.getMonth()&&(f=new Date(b.start),f.setYear(c.getFullYear()),f<=b.schedule_last&&(i=a.datepicker.formatDate("yy-mm-dd",f),h.push(i))),h;default:return h}for(var y in k)for(f=new Date(k[y]);d>=f&&f<=b.schedule_last;)i=a.datepicker.formatDate("yy-mm-dd",f),h.push(i),f.setDate(f.getDate()+j);return h}Array.prototype.indexOf||(Array.prototype.indexOf=function(a){var b=this.length,c=Number(arguments[1])||0;for(c=0>c?Math.ceil(c):Math.floor(c),0>c&&(c+=b);b>c;c++)if(c in this&&this[c]===a)return c;return-1}),Date.prototype.eoGetOrdinal=function(){var a=this.getDate();switch(a){case 1:case 21:case 31:return"st";case 2:case 22:return"nd";case 3:case 23:return"rd";default:return"th"}},window.eventOrganiserSchedulePicker={init:function(b){var c=this;this.options=b,this.schedule=b.schedule,this.set_up_datepickers(),this.set_up_timepickers(),a(".event-date :input").change(function(){c.update_schedule(),c.update_form(),a(this).hasClass("eo-all-day-toggle")||c.update_occurrencepicker_rules()}),this.update_schedule(),this.update_form();var d=new Date;eo_viewing_month=[d.getFullYear(),d.getMonth()+1],this.schedule.generate_dates_by_rule(d.getFullYear(),d.getMonth()+1,{})},set_up_datepickers:function(){var b=this,c=this.options.views,d=this.options.locale;if(a(c.start_date).data("eo-datepicker","start"),a(c.end_date).data("eo-datepicker","end"),a(c.is_all_day).addClass("eo-all-day-toggle"),a(c.schedule_last_date))var e=a(c.schedule_last_date).datepicker({dateFormat:this.options.format,changeMonth:!0,changeYear:!0,monthNamesShort:d.monthAbbrev,dayNamesMin:d.dayAbbrev,firstDay:parseInt(this.options.startday,10)}).data("eo-datepicker","schedule_last");var f=a(c.start_date+", "+c.end_date).datepicker({dateFormat:this.options.format,changeMonth:!0,changeYear:!0,monthNamesShort:d.monthAbbrev,dayNamesMin:d.dayAbbrev,firstDay:parseInt(this.options.startday,10),onSelect:function(c){var d="start"==a(this).data("eo-datepicker")?"minDate":"maxDate",g=a(this).data("datepicker"),h=a.datepicker.parseDate(g.settings.dateFormat||a.datepicker._defaults.dateFormat,c,g.settings);f.not(this).datepicker("option",d,h),"from_date"==this.id&&e.datepicker("option","minDate",h),b.update_schedule(),b.update_occurrencepicker_rules(),b.update_form()}}),g=a(c.occurrence_picker);g.length>0&&(g.datepicker({dateFormat:"yy-mm-dd",changeMonth:!0,changeYear:!0,monthNamesShort:d.monthAbbrev,dayNamesMin:d.dayAbbrev,firstDay:parseInt(this.options.startday,10),onSelect:function(b){eventOrganiserSchedule.add_or_remove_date(b),a(eventOrganiserSchedulePicker.options.views.include).val(eventOrganiserSchedule.include.join(",\r\n")),a(eventOrganiserSchedulePicker.options.views.exclude).val(eventOrganiserSchedule.exclude.join(",\r\n"))},beforeShowDay:function(b){var c=a.datepicker.formatDate("yy-mm-dd",b),d=eventOrganiserSchedule.is_date_eventful(c);return d[0]?[!0,"ui-state-active",""]:[!0,"ui-state-disabled",""]},onChangeMonthYear:eventOrganiserSchedule.generate_dates_by_rule}).hide().find(".ui-datepicker-inline").click(function(a){a||(a=window.event),a.cancelBubble=!0,a.stopPropagation&&a.stopPropagation()}),a("html").click(function(){g.hide(),a(c.occurrence_picker_toggle).val(d.showDates)})),a(c.occurrence_picker_toggle).click(function(b){b.preventDefault(),b.stopPropagation(),g.toggle(),g.is(":visible")?(a(this).val(d.hideDates),a(c.occurrence_picker).datepicker("refresh")):a(this).val(d.showDates)})},update_occurrencepicker_rules:function(){eo_exclude_dates=[],eo_include_dates=[],this.schedule.generate_dates_by_rule(eo_viewing_month[0],eo_viewing_month[1],{}),a(this.options.views.occurrence_picker).datepicker("refresh")},set_up_timepickers:function(){var b=this.options,c=this.options.views;a(c.start_time+", "+c.end_time).timepicker({showPeriodLabels:!b.is24hour,showPeriod:!this.options.is24hour,showLeadingZero:b.is24hour,periodSeparator:"",amPmText:b.locale.meridian,hourText:b.locale.hour,minuteText:b.locale.minute}).addClass("eo-time-picker")},update_schedule:function(){var b=new Array("SU","MO","TU","WE","TH","FR","SA"),c=this.options.views,d={schedule:a(c.schedule).val(),frequency:parseInt(a(c.frequency).val(),10),schedule_last:a(c.schedule_last_date).datepicker("getDate"),start:a(c.start_date).datepicker("getDate"),end:a(c.end_date).datepicker("getDate"),is_all_day:a(c.is_all_day).attr("checked"),include:a(c.include).length>0?a(c.include).val().split(","):[],exclude:a(c.exclude).length>0?a(c.exclude).val().split(","):[]};if("weekly"==d.schedule){if(d.schedule_meta=[],0===a(c.week_repeat+" :checkbox:checked").length){var e=d.start.getDay();a(c.week_repeat+" :checkbox[value='"+b[e]+"']").attr("checked",!0)}a(c.week_repeat+" :checkbox:checked").each(function(){d.schedule_meta.push(a(this).val())})}else if("monthly"==d.schedule)if("BYMONTHDAY="==a(c.month_repeat+" :radio:checked").val())d.schedule_meta="BYMONTHDAY="+d.start.getDate();else{var f=d.start.getDay()%7,g=parseInt(Math.floor((d.start.getDate()-1)/7),10);d.schedule_meta="BYDAY="+(g+1)+b[f]}this.schedule=eventOrganiserSchedule.init(d),eo_exclude_dates=d.exclude,eo_include_dates=d.include},update_form:function(){var b=this.options.views,c=this.options.locale,d=this.schedule,e=700;switch(a(".event-date :input").attr("disabled",!this.options.editable).toggleClass("ui-state-disabled",!this.options.editable),this.options.editable&&a(b.start_time+", "+b.end_time).attr("disabled",d.is_all_day).toggleClass("ui-state-disabled",d.is_all_day),"once"==d.schedule||"custom"==d.schedule?(a(b.recurrence_section+" :input").attr("disabled",!0),a(b.recurrence_section).hide()):(a(b.recurrence_section+" :input").attr("disabled",!1),a(b.recurrence_section).fadeIn(e)),d.schedule){case"once":case"custom":a(d.frequency).val("1"),a(b.month_repeat+", "+b.week_repeat).show();break;case"weekly":d.frequency>1?a(b.schedule_span).text(c.weeks):a(b.schedule_span).text(c.week),a(b.week_repeat).fadeIn(e),a(b.week_repeat+" :input").attr("disabled",!1),a(b.month_repeat).hide(),a(b.month_repeat+" :input").attr("disabled",!0);break;case"monthly":d.frequency>1?a(b.schedule_span).text(c.months):a(b.schedule_span).text(c.month),a(b.month_repeat).fadeIn(e),a(b.month_repeat+" :input").attr("disabled",!1),a(b.week_repeat).hide(),a(b.week_repeat+" :input").attr("disabled",!0);break;case"daily":d.frequency>1?a(b.schedule_span).text(c.days):a(b.schedule_span).text(c.day),a(b.week_repeat+", "+b.month_repeat).hide(),a(b.week_repeat+" :input, "+b.month_repeat+" :input").attr("disabled",!0);break;case"yearly":d.frequency>1?a(b.schedule_span).text(c.years):a(b.schedule_span).text(c.year),a(b.week_repeat+", "+b.month_repeat).hide(),a(b.week_repeat+" :input, "+b.month_repeat+" :input").attr("disabled",!0)}null===a("#venue_select").val()&&a("tr.venue_row").hide(),a(b.summary).html(d.generate_summary(c))}},eventOrganiserSchedule={self:this,init:function(b){var c={schedule:"once",frequency:1,schedule_last:new Date,start:new Date,end:new Date,is_all_day:!1,dates_by_rule:[]};b=a.extend({},c,b);for(var d in b)this[d]=b[d];return this},generate_dates_by_rule:function(a,c){var d=new Date(a,c-1,1),e=new Date(a,c,1),f=new Date(e-1);eventOrganiserSchedule.schedule_last<d||eventOrganiserSchedule.start>f||(eventOrganiserSchedule.dates_by_rule=b(eventOrganiserSchedule,d,f))},generate_summary:function(b){var c=b.weekDay,d=b.summary+" ",e={monthNamesShort:b.monthAbbrev,dayNamesMin:b.dayAbbrev,monthNames:b.monthNames},f=this.schedule,g=new Array("SU","MO","TU","WE","TH","FR","SA");switch(f){case"once":return"This event will be a one-time event";case"custom":case"daily":d+=this.frequency>1?sprintf(b.dayPlural,this.frequency):b.daySingle;break;case"weekly":d+=this.frequency>1?sprintf(b.weekPlural,this.frequency):b.weekSingle;var h=a.map(this.schedule_meta,function(a){return c[g.indexOf(a)]});d+=" "+h.join(", ");break;case"monthly":if(d+=this.frequency>1?sprintf(b.monthPlural,this.frequency):b.monthSingle,this.schedule_meta.match(/BYMONTHDAY=(\d+)/))d=d+" "+this.start.getDate()+this.start.eoGetOrdinal();else{var i=this.schedule_meta.match(/BYDAY=(\d+)(MO|TU|WE|TH|FR|SA|SU)/),j=parseInt(i[1],10)-1;d=d+" "+b.occurrence[j]+" "+c[g.indexOf(i[2])]}break;case"yearly":d+=this.frequency>1?sprintf(b.yearPlural,this.frequency):b.yearSingle,d=d+" "+a.datepicker.formatDate("MM d",this.start,e)+this.start.eoGetOrdinal()}return null!==this.schedule_last&&(d=d+" "+b.until+" "+a.datepicker.formatDate("MM d'"+this.schedule_last.eoGetOrdinal()+"' yy",this.schedule_last,e)),d},is_date_eventful:function(b){var c=a.inArray(b,eventOrganiserSchedule.dates_by_rule);if(c>-1){var d=a.inArray(b,eventOrganiserSchedule.exclude);return d>-1?[!1,d]:[!0,-1]}var e=a.inArray(b,eventOrganiserSchedule.include);return e>-1?[!0,e]:[!1,-1]},add_or_remove_date:function(b){var c,d=eventOrganiserSchedule.is_date_eventful(b);d[0]?(c=d[1],c>-1?eventOrganiserSchedule.include.splice(c,1):a.inArray(b,eventOrganiserSchedule.exclude)<0&&eventOrganiserSchedule.exclude.push(b)):(c=d[1],c>-1?eventOrganiserSchedule.exclude.splice(c,1):a.inArray(b,eventOrganiserSchedule.include)<0&&eventOrganiserSchedule.include.push(b)),eo_exclude_dates=eventOrganiserSchedule.exclude,eo_include_dates=eventOrganiserSchedule.include}}}(jQuery),function(a){function b(a){return Object.prototype.toString.call(a).slice(8,-1).toLowerCase()}function c(a,b){for(var c=[];b>0;c[--b]=a);return c.join("")}var d=function(){return d.cache.hasOwnProperty(arguments[0])||(d.cache[arguments[0]]=d.parse(arguments[0])),d.format.call(null,d.cache[arguments[0]],arguments)};d.format=function(a,e){var f,g,h,i,j,k,l,m=1,n=a.length,o="",p=[];for(g=0;n>g;g++)if(o=b(a[g]),"string"===o)p.push(a[g]);else if("array"===o){if(i=a[g],i[2])for(f=e[m],h=0;h<i[2].length;h++){if(!f.hasOwnProperty(i[2][h]))throw d('[sprintf] property "%s" does not exist',i[2][h]);f=f[i[2][h]]}else f=i[1]?e[i[1]]:e[m++];if(/[^s]/.test(i[8])&&"number"!=b(f))throw d("[sprintf] expecting number but found %s",b(f));switch(i[8]){case"b":f=f.toString(2);break;case"c":f=String.fromCharCode(f);break;case"d":f=parseInt(f,10);break;case"e":f=i[7]?f.toExponential(i[7]):f.toExponential();break;case"f":f=i[7]?parseFloat(f).toFixed(i[7]):parseFloat(f);break;case"o":f=f.toString(8);break;case"s":f=(f=String(f))&&i[7]?f.substring(0,i[7]):f;break;case"u":f>>>=0;break;case"x":f=f.toString(16);break;case"X":f=f.toString(16).toUpperCase()}f=/[def]/.test(i[8])&&i[3]&&f>=0?"+"+f:f,k=i[4]?"0"==i[4]?"0":i[4].charAt(1):" ",l=i[6]-String(f).length,j=i[6]?c(k,l):"",p.push(i[5]?f+j:j+f)}return p.join("")},d.cache={},d.parse=function(a){for(var b=a,c=[],d=[],e=0;b;){if(null!==(c=/^[^\x25]+/.exec(b)))d.push(c[0]);else if(null!==(c=/^\x25{2}/.exec(b)))d.push("%");else{if(null===(c=/^\x25(?:([1-9]\d*)\$|\(([^\)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-fosuxX])/.exec(b)))throw"[sprintf] huh?";if(c[2]){e|=1;var f=[],g=c[2],h=[];if(null===(h=/^([a-z_][a-z_\d]*)/i.exec(g)))throw"[sprintf] huh?";for(f.push(h[1]);""!==(g=g.substring(h[0].length));)if(null!==(h=/^\.([a-z_][a-z_\d]*)/i.exec(g)))f.push(h[1]);else{if(null===(h=/^\[(\d+)\]/.exec(g)))throw"[sprintf] huh?";f.push(h[1])}c[2]=f}else e|=2;if(3===e)throw"[sprintf] mixing positional and named placeholders is not (yet) supported";d.push(c)}b=b.substring(c[0].length)}return d};var e=function(a,b,c){return c=b.slice(0),c.splice(0,0,a),d.apply(null,c)};a.sprintf=d,a.vsprintf=e}("undefined"!=typeof exports?exports:window);
|
1 |
+
/*! event-organiser 2.4.1 2013-11-16 15:07 */
|
2 |
+
var eo_include_dates,eo_exclude_dates,eo_viewing_month;!function(a){function b(b,c,d){var e,f=new Array("SU","MO","TU","WE","TH","FR","SA"),g=[],h=!1;switch(b.schedule){case"once":case"custom":var i=a.datepicker.formatDate("yy-mm-dd",b.start);return g.push(i),g;case"daily":b.start<c?(e=Math.abs((c-b.start)/864e5)-1,e%=b.frequency):e=parseInt(b.start.getDate(),10);var j=b.frequency,k=[],l=new Date(c);l.setDate(c.getDate()+(e-1)),k.push(l);break;case"weekly":var m=c.getDay();k=[],a.each(b.schedule_meta,function(a,d){a=f.indexOf(d),l=new Date(b.start),l.setDate(b.start.getDate()+(a-b.start.getDay()+7)%7),c>l&&(e=Math.abs((c-b.start)/864e5),e-=e%(7*b.frequency),l.setDate(l.getDate()+e)),k.push(l)}),j=7*b.frequency;break;case"monthly":var n=12*(c.getFullYear()-b.start.getFullYear())+(c.getMonth()-b.start.getMonth());if(0!==n%b.frequency)return;if(b.schedule_meta.match(/BYMONTHDAY=(\d+)/)){var o=b.start.getDate(),p=d.getDate();p>=o&&(h=new Date(c.getFullYear(),c.getMonth(),o))}else{var q,r=b.schedule_meta.match(/BYDAY=(\d+)(MO|TU|WE|TH|FR|SA|SU)/),s=parseInt(r[1],10)-1,t=b.start.getDay();if(s>=4){var u=d.getDay();q=d.getDate()+(t-u-7)%7}else{m=c.getDay();var v=(t-m+7)%7;q=v+7*s+1}h=new Date(c),h.setDate(q)}return h&&h<=b.schedule_last&&(i=a.datepicker.formatDate("yy-mm-dd",h),g.push(i)),g;case"yearly":var w=c.getFullYear()-b.start.getFullYear();if(0!==w%b.frequency)return g;var x=new Date(c.getFullYear(),b.start.getMonth(),b.start.getDate());return c.getMonth()==b.start.getMonth()&&x.getMonth()==b.start.getMonth()&&(h=new Date(b.start),h.setYear(c.getFullYear()),h<=b.schedule_last&&(i=a.datepicker.formatDate("yy-mm-dd",h),g.push(i))),g;default:return g}for(var y in k)for(h=new Date(k[y]);d>=h&&h<=b.schedule_last;)i=a.datepicker.formatDate("yy-mm-dd",h),g.push(i),h.setDate(h.getDate()+j);return g}Array.prototype.indexOf||(Array.prototype.indexOf=function(a){var b=this.length,c=Number(arguments[1])||0;for(c=0>c?Math.ceil(c):Math.floor(c),0>c&&(c+=b);b>c;c++)if(c in this&&this[c]===a)return c;return-1}),Date.prototype.eoGetOrdinal=function(){var a=this.getDate();switch(a){case 1:case 21:case 31:return"st";case 2:case 22:return"nd";case 3:case 23:return"rd";default:return"th"}},window.eventOrganiserSchedulePicker={init:function(b){var c=this;this.options=b,this.schedule=b.schedule,this.set_up_datepickers(),this.set_up_timepickers(),a(".event-date :input").change(function(){c.update_schedule(),c.update_form(),a(this).hasClass("eo-all-day-toggle")||c.update_occurrencepicker_rules()}),this.update_schedule(),this.update_form();var d=new Date;eo_viewing_month=[d.getFullYear(),d.getMonth()+1],this.schedule.generate_dates_by_rule(d.getFullYear(),d.getMonth()+1,{})},set_up_datepickers:function(){var b=this,c=this.options.views,d=this.options.locale;if(a(c.start_date).data("eo-datepicker","start"),a(c.end_date).data("eo-datepicker","end"),a(c.is_all_day).addClass("eo-all-day-toggle"),a(c.schedule_last_date))var e=a(c.schedule_last_date).datepicker({dateFormat:this.options.format,changeMonth:!0,changeYear:!0,monthNamesShort:d.monthAbbrev,dayNamesMin:d.dayAbbrev,firstDay:parseInt(this.options.startday,10)}).data("eo-datepicker","schedule_last");var f=a(c.start_date+", "+c.end_date).datepicker({dateFormat:this.options.format,changeMonth:!0,changeYear:!0,monthNamesShort:d.monthAbbrev,dayNamesMin:d.dayAbbrev,firstDay:parseInt(this.options.startday,10),onSelect:function(c){var d="start"==a(this).data("eo-datepicker")?"minDate":"maxDate",g=a(this).data("datepicker"),h=a.datepicker.parseDate(g.settings.dateFormat||a.datepicker._defaults.dateFormat,c,g.settings);f.not(this).datepicker("option",d,h),"from_date"==this.id&&e.datepicker("option","minDate",h),b.update_schedule(),b.update_occurrencepicker_rules(),b.update_form()}}),g=a(c.occurrence_picker);g.length>0&&(g.datepicker({dateFormat:"yy-mm-dd",changeMonth:!0,changeYear:!0,monthNamesShort:d.monthAbbrev,dayNamesMin:d.dayAbbrev,firstDay:parseInt(this.options.startday,10),onSelect:function(b){eventOrganiserSchedule.add_or_remove_date(b),a(eventOrganiserSchedulePicker.options.views.include).val(eventOrganiserSchedule.include.join(",\r\n")),a(eventOrganiserSchedulePicker.options.views.exclude).val(eventOrganiserSchedule.exclude.join(",\r\n"))},beforeShowDay:function(b){var c=a.datepicker.formatDate("yy-mm-dd",b),d=eventOrganiserSchedule.is_date_eventful(c);return d[0]?[!0,"ui-state-active",""]:[!0,"ui-state-disabled",""]},onChangeMonthYear:eventOrganiserSchedule.generate_dates_by_rule}).hide().find(".ui-datepicker-inline").click(function(a){a||(a=window.event),a.cancelBubble=!0,a.stopPropagation&&a.stopPropagation()}),a("html").click(function(){g.hide(),a(c.occurrence_picker_toggle).val(d.showDates)})),a(c.occurrence_picker_toggle).click(function(b){b.preventDefault(),b.stopPropagation(),g.toggle(),g.is(":visible")?(a(this).val(d.hideDates),a(c.occurrence_picker).datepicker("refresh")):a(this).val(d.showDates)})},update_occurrencepicker_rules:function(){eo_exclude_dates=[],eo_include_dates=[],this.schedule.generate_dates_by_rule(eo_viewing_month[0],eo_viewing_month[1],{}),a(this.options.views.occurrence_picker).datepicker("refresh")},set_up_timepickers:function(){var b=this.options,c=this.options.views;a(c.start_time+", "+c.end_time).timepicker({showPeriodLabels:!b.is24hour,showPeriod:!this.options.is24hour,showLeadingZero:b.is24hour,periodSeparator:"",amPmText:b.locale.meridian,hourText:b.locale.hour,minuteText:b.locale.minute}).addClass("eo-time-picker")},update_schedule:function(){var b=new Array("SU","MO","TU","WE","TH","FR","SA"),c=this.options.views,d={schedule:a(c.schedule).val(),frequency:parseInt(a(c.frequency).val(),10),schedule_last:a(c.schedule_last_date).datepicker("getDate"),start:a(c.start_date).datepicker("getDate"),end:a(c.end_date).datepicker("getDate"),is_all_day:a(c.is_all_day).attr("checked"),include:a(c.include).length>0?a(c.include).val().split(","):[],exclude:a(c.exclude).length>0?a(c.exclude).val().split(","):[]};if("weekly"==d.schedule){if(d.schedule_meta=[],0===a(c.week_repeat+" :checkbox:checked").length){var e=d.start.getDay();a(c.week_repeat+" :checkbox[value='"+b[e]+"']").attr("checked",!0)}a(c.week_repeat+" :checkbox:checked").each(function(){d.schedule_meta.push(a(this).val())})}else if("monthly"==d.schedule)if("BYMONTHDAY="==a(c.month_repeat+" :radio:checked").val())d.schedule_meta="BYMONTHDAY="+d.start.getDate();else{var f=d.start.getDay()%7,g=parseInt(Math.floor((d.start.getDate()-1)/7),10);d.schedule_meta="BYDAY="+(g+1)+b[f]}this.schedule=eventOrganiserSchedule.init(d),eo_exclude_dates=d.exclude,eo_include_dates=d.include},update_form:function(){var b=this.options.views,c=this.options.locale,d=this.schedule,e=700;switch(a(".event-date :input").attr("disabled",!this.options.editable).toggleClass("ui-state-disabled",!this.options.editable),this.options.editable&&a(b.start_time+", "+b.end_time).attr("disabled",d.is_all_day).toggleClass("ui-state-disabled",d.is_all_day),"once"==d.schedule||"custom"==d.schedule?(a(b.recurrence_section+" :input").attr("disabled",!0),a(b.recurrence_section).hide()):(a(b.recurrence_section+" :input").attr("disabled",!1),a(b.recurrence_section).fadeIn(e)),d.schedule){case"once":case"custom":a(d.frequency).val("1"),a(b.month_repeat+", "+b.week_repeat).show();break;case"weekly":d.frequency>1?a(b.schedule_span).text(c.weeks):a(b.schedule_span).text(c.week),a(b.week_repeat).fadeIn(e),a(b.week_repeat+" :input").attr("disabled",!1),a(b.month_repeat).hide(),a(b.month_repeat+" :input").attr("disabled",!0);break;case"monthly":d.frequency>1?a(b.schedule_span).text(c.months):a(b.schedule_span).text(c.month),a(b.month_repeat).fadeIn(e),a(b.month_repeat+" :input").attr("disabled",!1),a(b.week_repeat).hide(),a(b.week_repeat+" :input").attr("disabled",!0);break;case"daily":d.frequency>1?a(b.schedule_span).text(c.days):a(b.schedule_span).text(c.day),a(b.week_repeat+", "+b.month_repeat).hide(),a(b.week_repeat+" :input, "+b.month_repeat+" :input").attr("disabled",!0);break;case"yearly":d.frequency>1?a(b.schedule_span).text(c.years):a(b.schedule_span).text(c.year),a(b.week_repeat+", "+b.month_repeat).hide(),a(b.week_repeat+" :input, "+b.month_repeat+" :input").attr("disabled",!0)}null===a("#venue_select").val()&&a("tr.venue_row").hide(),a(b.summary).html(d.generate_summary(c))}},eventOrganiserSchedule={self:this,init:function(b){var c={schedule:"once",frequency:1,schedule_last:new Date,start:new Date,end:new Date,is_all_day:!1,dates_by_rule:[]};b=a.extend({},c,b);for(var d in b)this[d]=b[d];return this},generate_dates_by_rule:function(a,c){var d=new Date(a,c-1,1),e=new Date(a,c,1),f=new Date(e-1);eventOrganiserSchedule.schedule_last<d||eventOrganiserSchedule.start>f||(eventOrganiserSchedule.dates_by_rule=b(eventOrganiserSchedule,d,f))},generate_summary:function(b){var c=b.weekDay,d=b.summary+" ",e={monthNamesShort:b.monthAbbrev,dayNamesMin:b.dayAbbrev,monthNames:b.monthNames},f=this.schedule,g=new Array("SU","MO","TU","WE","TH","FR","SA");switch(f){case"once":return"This event will be a one-time event";case"custom":case"daily":d+=this.frequency>1?sprintf(b.dayPlural,this.frequency):b.daySingle;break;case"weekly":d+=this.frequency>1?sprintf(b.weekPlural,this.frequency):b.weekSingle;var h=a.map(this.schedule_meta,function(a){return c[g.indexOf(a)]});d+=" "+h.join(", ");break;case"monthly":if(d+=this.frequency>1?sprintf(b.monthPlural,this.frequency):b.monthSingle,this.schedule_meta.match(/BYMONTHDAY=(\d+)/))d=d+" "+this.start.getDate()+this.start.eoGetOrdinal();else{var i=this.schedule_meta.match(/BYDAY=(\d+)(MO|TU|WE|TH|FR|SA|SU)/),j=parseInt(i[1],10)-1;d=d+" "+b.occurrence[j]+" "+c[g.indexOf(i[2])]}break;case"yearly":d+=this.frequency>1?sprintf(b.yearPlural,this.frequency):b.yearSingle,d=d+" "+a.datepicker.formatDate("MM d",this.start,e)+this.start.eoGetOrdinal()}return null!==this.schedule_last&&(d=d+" "+b.until+" "+a.datepicker.formatDate("MM d'"+this.schedule_last.eoGetOrdinal()+"' yy",this.schedule_last,e)),d},is_date_eventful:function(b){var c=a.inArray(b,eventOrganiserSchedule.dates_by_rule);if(c>-1){var d=a.inArray(b,eventOrganiserSchedule.exclude);return d>-1?[!1,d]:[!0,-1]}var e=a.inArray(b,eventOrganiserSchedule.include);return e>-1?[!0,e]:[!1,-1]},add_or_remove_date:function(b){var c,d=eventOrganiserSchedule.is_date_eventful(b);d[0]?(c=d[1],c>-1?eventOrganiserSchedule.include.splice(c,1):a.inArray(b,eventOrganiserSchedule.exclude)<0&&eventOrganiserSchedule.exclude.push(b)):(c=d[1],c>-1?eventOrganiserSchedule.exclude.splice(c,1):a.inArray(b,eventOrganiserSchedule.include)<0&&eventOrganiserSchedule.include.push(b)),eo_exclude_dates=eventOrganiserSchedule.exclude,eo_include_dates=eventOrganiserSchedule.include}}}(jQuery),function(a){function b(a){return Object.prototype.toString.call(a).slice(8,-1).toLowerCase()}function c(a,b){for(var c=[];b>0;c[--b]=a);return c.join("")}var d=function(){return d.cache.hasOwnProperty(arguments[0])||(d.cache[arguments[0]]=d.parse(arguments[0])),d.format.call(null,d.cache[arguments[0]],arguments)};d.format=function(a,e){var f,g,h,i,j,k,l,m=1,n=a.length,o="",p=[];for(g=0;n>g;g++)if(o=b(a[g]),"string"===o)p.push(a[g]);else if("array"===o){if(i=a[g],i[2])for(f=e[m],h=0;h<i[2].length;h++){if(!f.hasOwnProperty(i[2][h]))throw d('[sprintf] property "%s" does not exist',i[2][h]);f=f[i[2][h]]}else f=i[1]?e[i[1]]:e[m++];if(/[^s]/.test(i[8])&&"number"!=b(f))throw d("[sprintf] expecting number but found %s",b(f));switch(i[8]){case"b":f=f.toString(2);break;case"c":f=String.fromCharCode(f);break;case"d":f=parseInt(f,10);break;case"e":f=i[7]?f.toExponential(i[7]):f.toExponential();break;case"f":f=i[7]?parseFloat(f).toFixed(i[7]):parseFloat(f);break;case"o":f=f.toString(8);break;case"s":f=(f=String(f))&&i[7]?f.substring(0,i[7]):f;break;case"u":f>>>=0;break;case"x":f=f.toString(16);break;case"X":f=f.toString(16).toUpperCase()}f=/[def]/.test(i[8])&&i[3]&&f>=0?"+"+f:f,k=i[4]?"0"==i[4]?"0":i[4].charAt(1):" ",l=i[6]-String(f).length,j=i[6]?c(k,l):"",p.push(i[5]?f+j:j+f)}return p.join("")},d.cache={},d.parse=function(a){for(var b=a,c=[],d=[],e=0;b;){if(null!==(c=/^[^\x25]+/.exec(b)))d.push(c[0]);else if(null!==(c=/^\x25{2}/.exec(b)))d.push("%");else{if(null===(c=/^\x25(?:([1-9]\d*)\$|\(([^\)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-fosuxX])/.exec(b)))throw"[sprintf] huh?";if(c[2]){e|=1;var f=[],g=c[2],h=[];if(null===(h=/^([a-z_][a-z_\d]*)/i.exec(g)))throw"[sprintf] huh?";for(f.push(h[1]);""!==(g=g.substring(h[0].length));)if(null!==(h=/^\.([a-z_][a-z_\d]*)/i.exec(g)))f.push(h[1]);else{if(null===(h=/^\[(\d+)\]/.exec(g)))throw"[sprintf] huh?";f.push(h[1])}c[2]=f}else e|=2;if(3===e)throw"[sprintf] mixing positional and named placeholders is not (yet) supported";d.push(c)}b=b.substring(c[0].length)}return d};var e=function(a,b,c){return c=b.slice(0),c.splice(0,0,a),d.apply(null,c)};a.sprintf=d,a.vsprintf=e}("undefined"!=typeof exports?exports:window);
|
js/frontend.js
CHANGED
@@ -139,7 +139,7 @@ jQuery(document).ready(function () {
|
|
139 |
return "<div></div>";
|
140 |
|
141 |
if (! v.calendar.options.tooltip ) {
|
142 |
-
return
|
143 |
}
|
144 |
|
145 |
$(b).qtip({
|
@@ -159,7 +159,7 @@ jQuery(document).ready(function () {
|
|
159 |
hide: {
|
160 |
fixed: true,
|
161 |
delay: 500,
|
162 |
-
effect: function (a) {$(this).fadeOut("50")}
|
163 |
},
|
164 |
border: {
|
165 |
radius: 4,
|
@@ -170,7 +170,7 @@ jQuery(document).ready(function () {
|
|
170 |
widget: true,
|
171 |
tip: "topMiddle"
|
172 |
}
|
173 |
-
})
|
174 |
},
|
175 |
buttonText: {
|
176 |
today: EOAjaxFront.locale.today,
|
@@ -197,10 +197,10 @@ jQuery(document).ready(function () {
|
|
197 |
};
|
198 |
|
199 |
if (typeof d.category !== "undefined" &&d.category !== "") {
|
200 |
-
request.category = d.category
|
201 |
}
|
202 |
if (typeof d.venue !== "undefined" &&d.venue !== "") {
|
203 |
-
request.venue = d.venue
|
204 |
}
|
205 |
|
206 |
request = wp.hooks.applyFilters( 'eventorganiser.fullcalendar_request', request, a, b, c, d );
|
@@ -223,7 +223,7 @@ jQuery(document).ready(function () {
|
|
223 |
}
|
224 |
}
|
225 |
}
|
226 |
-
})
|
227 |
},
|
228 |
selectable: false,
|
229 |
weekMode: "variable",
|
@@ -233,7 +233,7 @@ jQuery(document).ready(function () {
|
|
233 |
var loading = $("#" + $(this).attr("id") + "_loading");
|
234 |
if (a) {
|
235 |
window.clearTimeout(loadingTimeOut);
|
236 |
-
loadingTimeOut = window.setTimeout(function () {loading.show()}, 1e3);
|
237 |
} else {
|
238 |
window.clearTimeout(loadingTimeOut);
|
239 |
loading.hide();
|
@@ -242,12 +242,12 @@ jQuery(document).ready(function () {
|
|
242 |
};
|
243 |
args = wp.hooks.applyFilters( 'eventorganiser.fullcalendar_options', args, calendars[i] );
|
244 |
|
245 |
-
$(calendar).fullCalendar(args)
|
246 |
}
|
247 |
|
248 |
$(".eo-cal-filter").change(function () {
|
249 |
-
$(".eo-fullcalendar").fullCalendar("rerenderEvents")
|
250 |
-
})
|
251 |
|
252 |
$('.eo-mini-calendar').datepicker({
|
253 |
dateFormat: 'DD, d MM, yy',
|
@@ -257,7 +257,16 @@ jQuery(document).ready(function () {
|
|
257 |
buttonText: EOAjaxFront.locale.gotodate,
|
258 |
monthNamesShort: EOAjaxFront.locale.monthAbbrev,
|
259 |
dayNamesMin: EOAjaxFront.locale.dayAbbrev,
|
|
|
|
|
260 |
showOn: 'button',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
261 |
onSelect: function (dateText, dp) {
|
262 |
var cal_id = $(this).parents('div.eo-fullcalendar').attr('id');
|
263 |
$('#'+cal_id).fullCalendar('gotoDate', new Date(Date.parse(dateText)));
|
@@ -267,28 +276,28 @@ jQuery(document).ready(function () {
|
|
267 |
|
268 |
if ($(".eo_widget_calendar").length > 0 ) {
|
269 |
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
|
287 |
-
|
288 |
-
|
289 |
|
290 |
-
|
291 |
-
|
292 |
}
|
293 |
|
294 |
if ($('.eo-agenda-widget').length > 0) {
|
@@ -305,14 +314,14 @@ jQuery(document).ready(function () {
|
|
305 |
},
|
306 |
success: function (a) {
|
307 |
if (!jQuery.isArray(a) || !a[0]) {
|
308 |
-
return false
|
309 |
} else {
|
310 |
b.StartDate = a[0].StartDate;
|
311 |
b.EndDate = a[a.length - 1].StartDate;
|
312 |
-
populateAgenda(a, b)
|
313 |
}
|
314 |
}
|
315 |
-
})
|
316 |
}
|
317 |
function populateAgenda(a, b) {
|
318 |
var agendaWidget = $("#" + b.id + "_container");
|
@@ -326,7 +335,7 @@ jQuery(document).ready(function () {
|
|
326 |
if ( current === false || current != a[i].StartDate && b.mode == "day" ) {
|
327 |
current = a[i].StartDate;
|
328 |
currentList = $('<li class="date" >' + a[i].display + '<ul class="a-date"></ul></li>');
|
329 |
-
dateList.append(currentList)
|
330 |
}
|
331 |
if( b.add_to_google ){
|
332 |
c = $('<li class="event"></li>').append('<span class="cat"></span><span><strong>' + a[i].time + ": </strong></span>" + a[i]
|
@@ -335,28 +344,27 @@ jQuery(document).ready(function () {
|
|
335 |
.Glink + "</span></div>");
|
336 |
}else{
|
337 |
c = $('<li class="event"></li>').append("<a class='eo-agenda-event-permalink' href='"+a[i].event_url+"'><span class='cat'></span><span><strong>" + a[i].time + ": </strong></span>" + a[i]
|
338 |
-
.post_title+"</a>")
|
339 |
}
|
340 |
|
341 |
c.find("span.cat")
|
342 |
.css({
|
343 |
background: a[i].color
|
344 |
});
|
345 |
-
currentList.append(c)
|
346 |
}
|
347 |
dates = dateList.find("li");
|
348 |
var events_el = agendaWidget.find("ul li.event");
|
349 |
events_el.on("click", function () {
|
350 |
-
$(this).find(".meta")
|
351 |
-
|
352 |
-
})
|
353 |
}
|
354 |
for (var agenda in eo_widget_agenda) {
|
355 |
agenda = eo_widget_agenda[agenda];
|
356 |
var d = new Date();
|
357 |
agenda.StartDate = $.fullCalendar.formatDate(d, "yyyy-MM-dd");
|
358 |
agenda.EndDate = agenda.StartDate;
|
359 |
-
eventorganiserGetEvents( 1, agenda )
|
360 |
}
|
361 |
$(".eo-agenda-widget .agenda-nav span.button").click(function (a) {
|
362 |
var id = $(this).parents(".eo-agenda-widget").attr("id");
|
@@ -364,19 +372,19 @@ jQuery(document).ready(function () {
|
|
364 |
a.preventDefault();
|
365 |
var dir = false;
|
366 |
if ($(this).hasClass("next")) {
|
367 |
-
dir = "+1"
|
368 |
} else if ($(this).hasClass("prev")) {
|
369 |
-
dir = "-1"
|
370 |
} else {
|
371 |
var par = $(this).parent();
|
372 |
if (par.hasClass("prev")) {
|
373 |
-
dir = "-1"
|
374 |
} else {
|
375 |
-
dir = "+1"
|
376 |
}
|
377 |
}
|
378 |
-
eventorganiserGetEvents( dir, agenda )
|
379 |
-
})
|
380 |
}
|
381 |
});
|
382 |
})(jQuery);
|
@@ -388,7 +396,7 @@ function eveorg_getParameterByName(a, b) {
|
|
388 |
var d = new RegExp(c);
|
389 |
var e = d.exec(b);
|
390 |
if (e === null) return "";
|
391 |
-
else return decodeURIComponent(e[1].replace(/\+/g, " "))
|
392 |
}
|
393 |
|
394 |
function eo_load_map() {
|
@@ -429,13 +437,12 @@ function eo_load_map() {
|
|
429 |
bounds.extend (LatLngList[j]);
|
430 |
|
431 |
var marker_options = {
|
432 |
-
|
433 |
-
|
434 |
-
|
435 |
-
|
436 |
-
|
437 |
-
|
438 |
-
}
|
439 |
|
440 |
marker_options = wp.hooks.applyFilters( 'eventorganiser.venue_marker_options', marker_options );
|
441 |
var c = new google.maps.Marker(marker_options);
|
139 |
return "<div></div>";
|
140 |
|
141 |
if (! v.calendar.options.tooltip ) {
|
142 |
+
return;
|
143 |
}
|
144 |
|
145 |
$(b).qtip({
|
159 |
hide: {
|
160 |
fixed: true,
|
161 |
delay: 500,
|
162 |
+
effect: function (a) {$(this).fadeOut("50");}
|
163 |
},
|
164 |
border: {
|
165 |
radius: 4,
|
170 |
widget: true,
|
171 |
tip: "topMiddle"
|
172 |
}
|
173 |
+
});
|
174 |
},
|
175 |
buttonText: {
|
176 |
today: EOAjaxFront.locale.today,
|
197 |
};
|
198 |
|
199 |
if (typeof d.category !== "undefined" &&d.category !== "") {
|
200 |
+
request.category = d.category;
|
201 |
}
|
202 |
if (typeof d.venue !== "undefined" &&d.venue !== "") {
|
203 |
+
request.venue = d.venue;
|
204 |
}
|
205 |
|
206 |
request = wp.hooks.applyFilters( 'eventorganiser.fullcalendar_request', request, a, b, c, d );
|
223 |
}
|
224 |
}
|
225 |
}
|
226 |
+
});
|
227 |
},
|
228 |
selectable: false,
|
229 |
weekMode: "variable",
|
233 |
var loading = $("#" + $(this).attr("id") + "_loading");
|
234 |
if (a) {
|
235 |
window.clearTimeout(loadingTimeOut);
|
236 |
+
loadingTimeOut = window.setTimeout(function () {loading.show();}, 1e3);
|
237 |
} else {
|
238 |
window.clearTimeout(loadingTimeOut);
|
239 |
loading.hide();
|
242 |
};
|
243 |
args = wp.hooks.applyFilters( 'eventorganiser.fullcalendar_options', args, calendars[i] );
|
244 |
|
245 |
+
$(calendar).fullCalendar(args);
|
246 |
}
|
247 |
|
248 |
$(".eo-cal-filter").change(function () {
|
249 |
+
$(".eo-fullcalendar").fullCalendar("rerenderEvents");
|
250 |
+
});
|
251 |
|
252 |
$('.eo-mini-calendar').datepicker({
|
253 |
dateFormat: 'DD, d MM, yy',
|
257 |
buttonText: EOAjaxFront.locale.gotodate,
|
258 |
monthNamesShort: EOAjaxFront.locale.monthAbbrev,
|
259 |
dayNamesMin: EOAjaxFront.locale.dayAbbrev,
|
260 |
+
nextText: EOAjaxFront.locale.nextText,
|
261 |
+
prevText: EOAjaxFront.locale.prevText,
|
262 |
showOn: 'button',
|
263 |
+
beforeShow: function(input, inst) {
|
264 |
+
if( inst.hasOwnProperty( 'dpDiv' ) ){
|
265 |
+
inst.dpDiv.addClass('eo-datepicker');
|
266 |
+
}else{
|
267 |
+
$('#ui-datepicker-div').addClass('eo-datepicker');
|
268 |
+
}
|
269 |
+
},
|
270 |
onSelect: function (dateText, dp) {
|
271 |
var cal_id = $(this).parents('div.eo-fullcalendar').attr('id');
|
272 |
$('#'+cal_id).fullCalendar('gotoDate', new Date(Date.parse(dateText)));
|
276 |
|
277 |
if ($(".eo_widget_calendar").length > 0 ) {
|
278 |
|
279 |
+
$(".eo_widget_calendar tfoot").unbind("click");
|
280 |
+
$(".eo_widget_calendar").off("click").on("click", 'tfoot a', function (a) {
|
281 |
+
a.preventDefault();
|
282 |
+
var b = $(this).closest(".eo_widget_calendar").attr("id");
|
283 |
|
284 |
+
//Defaults
|
285 |
+
var cal = {showpastevents: 1, 'show-long': 0, 'link-to-single': 0 };
|
286 |
+
|
287 |
+
//Shortcode widget calendar
|
288 |
+
if( typeof EOAjax !== "undefined" && typeof eventorganiser.widget_calendars !== "undefined" ){
|
289 |
+
cal = eventorganiser.widget_calendars[b];
|
290 |
+
}
|
291 |
+
//Widget calendar
|
292 |
+
if (typeof eo_widget_cal !== "undefined") {
|
293 |
+
cal = eo_widget_cal[b];
|
294 |
+
}
|
295 |
|
296 |
+
//Set month
|
297 |
+
cal.eo_month = eveorg_getParameterByName("eo_month", $(this).attr("href"));
|
298 |
|
299 |
+
$.getJSON(EOAjaxFront.adminajax + "?action=eo_widget_cal", cal,function (a) {$("#" + b + "_content").html(a);});
|
300 |
+
});
|
301 |
}
|
302 |
|
303 |
if ($('.eo-agenda-widget').length > 0) {
|
314 |
},
|
315 |
success: function (a) {
|
316 |
if (!jQuery.isArray(a) || !a[0]) {
|
317 |
+
return false;
|
318 |
} else {
|
319 |
b.StartDate = a[0].StartDate;
|
320 |
b.EndDate = a[a.length - 1].StartDate;
|
321 |
+
populateAgenda(a, b);
|
322 |
}
|
323 |
}
|
324 |
+
});
|
325 |
}
|
326 |
function populateAgenda(a, b) {
|
327 |
var agendaWidget = $("#" + b.id + "_container");
|
335 |
if ( current === false || current != a[i].StartDate && b.mode == "day" ) {
|
336 |
current = a[i].StartDate;
|
337 |
currentList = $('<li class="date" >' + a[i].display + '<ul class="a-date"></ul></li>');
|
338 |
+
dateList.append(currentList);
|
339 |
}
|
340 |
if( b.add_to_google ){
|
341 |
c = $('<li class="event"></li>').append('<span class="cat"></span><span><strong>' + a[i].time + ": </strong></span>" + a[i]
|
344 |
.Glink + "</span></div>");
|
345 |
}else{
|
346 |
c = $('<li class="event"></li>').append("<a class='eo-agenda-event-permalink' href='"+a[i].event_url+"'><span class='cat'></span><span><strong>" + a[i].time + ": </strong></span>" + a[i]
|
347 |
+
.post_title+"</a>");
|
348 |
}
|
349 |
|
350 |
c.find("span.cat")
|
351 |
.css({
|
352 |
background: a[i].color
|
353 |
});
|
354 |
+
currentList.append(c);
|
355 |
}
|
356 |
dates = dateList.find("li");
|
357 |
var events_el = agendaWidget.find("ul li.event");
|
358 |
events_el.on("click", function () {
|
359 |
+
$(this).find(".meta").toggle("400");
|
360 |
+
});
|
|
|
361 |
}
|
362 |
for (var agenda in eo_widget_agenda) {
|
363 |
agenda = eo_widget_agenda[agenda];
|
364 |
var d = new Date();
|
365 |
agenda.StartDate = $.fullCalendar.formatDate(d, "yyyy-MM-dd");
|
366 |
agenda.EndDate = agenda.StartDate;
|
367 |
+
eventorganiserGetEvents( 1, agenda );
|
368 |
}
|
369 |
$(".eo-agenda-widget .agenda-nav span.button").click(function (a) {
|
370 |
var id = $(this).parents(".eo-agenda-widget").attr("id");
|
372 |
a.preventDefault();
|
373 |
var dir = false;
|
374 |
if ($(this).hasClass("next")) {
|
375 |
+
dir = "+1";
|
376 |
} else if ($(this).hasClass("prev")) {
|
377 |
+
dir = "-1";
|
378 |
} else {
|
379 |
var par = $(this).parent();
|
380 |
if (par.hasClass("prev")) {
|
381 |
+
dir = "-1";
|
382 |
} else {
|
383 |
+
dir = "+1";
|
384 |
}
|
385 |
}
|
386 |
+
eventorganiserGetEvents( dir, agenda );
|
387 |
+
});
|
388 |
}
|
389 |
});
|
390 |
})(jQuery);
|
396 |
var d = new RegExp(c);
|
397 |
var e = d.exec(b);
|
398 |
if (e === null) return "";
|
399 |
+
else return decodeURIComponent(e[1].replace(/\+/g, " "));
|
400 |
}
|
401 |
|
402 |
function eo_load_map() {
|
437 |
bounds.extend (LatLngList[j]);
|
438 |
|
439 |
var marker_options = {
|
440 |
+
venue_id: locations[j].venue_id,
|
441 |
+
position: LatLngList[j],
|
442 |
+
map: map,
|
443 |
+
content:locations[j].tooltipContent,
|
444 |
+
icon: locations[j].icon
|
445 |
+
};
|
|
|
446 |
|
447 |
marker_options = wp.hooks.applyFilters( 'eventorganiser.venue_marker_options', marker_options );
|
448 |
var c = new google.maps.Marker(marker_options);
|
js/frontend.min.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
/*! event-organiser 2.
|
2 |
-
function eveorg_getParameterByName(a,b){a=a.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var c="[\\?&]"+a+"=([^&#]*)",d=new RegExp(c),e=d.exec(b);return null===e?"":decodeURIComponent(e[1].replace(/\+/g," "))}function eo_load_map(){for(var a=eventorganiser.map,b=0;b<a.length;b++)if(null!==document.getElementById("eo_venue_map-"+(b+1))){eventorganiser.map[b].markers={};var c=a[b].locations,d={zoom:a[b].zoom,scrollwheel:a[b].scrollwheel,zoomControl:a[b].zoomcontrol,rotateControl:a[b].rotatecontrol,panControl:a[b].pancontrol,overviewMapControl:a[b].overviewmapcontrol,streetViewControl:a[b].streetviewcontrol,draggable:a[b].draggable,mapTypeControl:a[b].maptypecontrol,mapTypeId:google.maps.MapTypeId[a[b].maptypeid]};d=wp.hooks.applyFilters("eventorganiser.google_map_options",d);for(var e=new google.maps.Map(document.getElementById("eo_venue_map-"+(b+1)),d),f=new google.maps.LatLngBounds,g=[],h=0;h<c.length;h++){var i=c[h].lat,j=c[h].lng;if(void 0!==i&&void 0!==j){g.push(new google.maps.LatLng(i,j)),f.extend(g[h]);var k={venue_id:c[h].venue_id,position:g[h],map:e,content:c[h].tooltipContent,icon:c[h].icon};k=wp.hooks.applyFilters("eventorganiser.venue_marker_options",k);var l=new google.maps.Marker(k);eventorganiser.map[b].markers[c[h].venue_id]=l,a[b].tooltip&&google.maps.event.addListener(l,"click",eventorganiser_venue_tooltip)}}c.length>1?e.fitBounds(f):e.setCenter(g[0])}}function eventorganiser_venue_tooltip(){var a=this.getMap(),b=this.getMap().getProjection().fromLatLngToPoint(this.position),c=a.getProjection().fromLatLngToPoint(a.getBounds().getNorthEast()),d=a.getProjection().fromLatLngToPoint(a.getBounds().getSouthWest()),e=Math.pow(2,a.getZoom());b=new google.maps.Point((b.x-d.x)*e,(b.y-c.y)*e),wp.hooks.doAction("eventorganiser.venue_marker_clicked",this);var f=[b.x,b.y];return this.tooltip?(this.tooltip.qtip("api").set("position.target",f),this.tooltip.qtip("show"),void 0):(jQuery(this.getMap().getDiv()).css({overflow:"visible"}),this.tooltip=jQuery("<div />").qtip({content:{text:this.content},border:{radius:4,width:3},style:{classes:"ui-tooltip-shadow",widget:!0},position:{at:"right center",my:"top center",target:f,container:jQuery(this.getMap().getDiv())},show:{ready:!0,event:!1,solo:!0},hide:{event:"mouseleave unfocus"}}),void 0)}var eventorganiser=eventorganiser||{};!function(a){jQuery(document).ready(function(){function b(b){var c=b.categories,d="<select class='eo-cal-filter' id='eo-event-cat'>";d+="<option value=''>"+b.buttonText.cat+"</option>";for(var e=0;e<c.length;e++)d+="<option class='cat-colour-"+c[e].colour+" cat' value='"+c[e].slug+"'>"+c[e].name+"</option>";d+="</select>";var f=a("<span class='fc-header-dropdown filter-category'></span>");return f.append(d),f}function c(){var b=a("<span class='fc-header-goto'><input type='hidden' class='eo-mini-calendar'/></span>");return b}function d(b){var c=b.venues,d="<select class='eo-cal-filter' id='eo-event-venue'>";d+="<option value=''>"+b.buttonText.venue+"</option>";for(var e=0;e<c.length;e++)d+="<option value='"+c[e].term_id+"'>"+c[e].name+"</option>";d+="</select>";var f=a("<span class='fc-header-dropdown filter-venue'></span>");return f.append(d),f}function e(b,c){a.ajax({url:EOAjaxFront.adminajax,dataType:"JSON",data:{action:"eo_widget_agenda",instance_number:c.number,direction:b,start:c.StartDate,end:c.EndDate},success:function(a){return jQuery.isArray(a)&&a[0]?(c.StartDate=a[0].StartDate,c.EndDate=a[a.length-1].StartDate,f(a,c),void 0):!1}})}function f(b,c){var d=a("#"+c.id+"_container"),e=d.find("ul.dates"),f=e.find("li");a(f).remove();var g=!1;for(k=0;k<b.length;k++){var h,i;new Date(b[k].StartDate),(g===!1||g!=b[k].StartDate&&"day"==c.mode)&&(g=b[k].StartDate,h=a('<li class="date" >'+b[k].display+'<ul class="a-date"></ul></li>'),e.append(h)),i=c.add_to_google?a('<li class="event"></li>').append('<span class="cat"></span><span><strong>'+b[k].time+": </strong></span>"+b[k].post_title).append('<div class="meta" style="display:none;"><span>'+b[k].link+"</span><span> </span><span>"+b[k].Glink+"</span></div>"):a('<li class="event"></li>').append("<a class='eo-agenda-event-permalink' href='"+b[k].event_url+"'><span class='cat'></span><span><strong>"+b[k].time+": </strong></span>"+b[k].post_title+"</a>"),i.find("span.cat").css({background:b[k].color}),h.append(i)}f=e.find("li");var j=d.find("ul li.event");j.on("click",function(){a(this).find(".meta").toggle("400")})}if(a("#eo-upcoming-dates").length>0&&a("#eo-upcoming-dates").find("li:gt(4)").length>0){var g=5,h={more:EOAjaxFront.locale.ShowMore,less:EOAjaxFront.locale.ShowLess};a("#eo-upcoming-dates").find("li:gt("+(g-1)+")").hide().end().after(a('<a href="#" id="eo-upcoming-dates-less">'+h.less+'</a> <span id="eo-upcoming-dates-pipe">|</span> <a href="#" id="eo-upcoming-dates-more">'+h.more+"</a>")),a("#eo-upcoming-dates-pipe").hide(),a("#eo-upcoming-dates-less").hide().click(function(b){b.preventDefault();var c=Math.floor((a("#eo-upcoming-dates li:visible").length-1)/g)*g-1;a("#eo-upcoming-dates li:gt("+c+")").hide(),a("#eo-upcoming-dates-more,#eo-upcoming-dates-pipe").show(),a("#eo-upcoming-dates li:visible").length<=g&&a("#eo-upcoming-dates-less,#eo-upcoming-dates-pipe").hide()}),a("#eo-upcoming-dates-more").click(function(b){b.preventDefault(),a("#eo-upcoming-dates-less,#eo-upcoming-dates-pipe, #eo-upcoming-dates li:hidden:lt("+g+")").show();var c=a("#eo-upcoming-dates-pipe").offset();a("html, body").animate({scrollTop:Math.max(c.top+40-a(window).height(),a(window).scrollTop())}),0===a("#eo-upcoming-dates li:hidden").length&&a("#eo-upcoming-dates-more,#eo-upcoming-dates-pipe").hide()})}if(a(".eo-fullcalendar").length>0){for(var i,j=eventorganiser.calendars,k=0;k<j.length;k++){var l="#eo_fullcalendar_"+(k+1);"undefined"==typeof j[k].category&&(j[k].category=""),"undefined"==typeof j[k].venue&&(j[k].venue="");var m={id:l,year:j[k].year?j[k].year:void 0,month:j[k].month?j[k].month:void 0,date:j[k].date?j[k].date:void 0,category:j[k].event_category,venue:j[k].event_venue,customButtons:{category:b,venue:d,"goto":c},theme:j[k].theme,categories:eventorganiser.fullcal.categories,venues:eventorganiser.fullcal.venues,timeFormatphp:j[k].timeformatphp,timeFormat:j[k].timeformat,editable:!1,tooltip:j[k].tooltip,firstDay:parseInt(eventorganiser.fullcal.firstDay,10),weekends:j[k].weekends,allDaySlot:j[k].alldayslot,allDayText:j[k].alldaytext,axisFormat:j[k].axisformat,minTime:j[k].mintime,maxTime:j[k].maxtime,columnFormat:{month:j[k].columnformatmonth,week:j[k].columnformatweek,day:j[k].columnformatday},titleFormat:{month:j[k].titleformatmonth,week:j[k].titleformatweek,day:j[k].titleformatday},header:{left:j[k].headerleft,center:j[k].headercenter,right:j[k].headerright},eventRender:function(b,c,d){var e=a(d.calendar.options.id).find(".filter-category .eo-cal-filter").val(),f=a(d.calendar.options.id).find(".filter-venue .eo-cal-filter").val();return"undefined"!=typeof e&&""!==e&&a.inArray(e,b.category)<0?"<div></div>":"undefined"!=typeof f&&""!==f&&f!=b.venue?"<div></div>":wp.hooks.applyFilters("eventorganiser.fullcalendar_render_event",!0,b,c,d)?(d.calendar.options.tooltip&&a(c).qtip({content:{text:b.description,button:"x",title:b.title},position:{my:"top center",at:"bottom center",viewport:a(window),adjust:{method:"shift none"}},hide:{fixed:!0,delay:500,effect:function(){a(this).fadeOut("50")}},border:{radius:4,width:3},style:{classes:"ui-tooltip-shadow",widget:!0,tip:"topMiddle"}}),void 0):"<div></div>"},buttonText:{today:EOAjaxFront.locale.today,month:EOAjaxFront.locale.month,week:EOAjaxFront.locale.week,day:EOAjaxFront.locale.day,cat:EOAjaxFront.locale.cat,venue:EOAjaxFront.locale.venue},monthNames:EOAjaxFront.locale.monthNames,monthNamesShort:EOAjaxFront.locale.monthAbbrev,dayNames:EOAjaxFront.locale.dayNames,dayNamesShort:EOAjaxFront.locale.dayAbbrev,eventColor:"#21759B",defaultView:j[k].defaultview,lazyFetching:"true",events:function(b,c,d,e){var f={start:jQuery.fullCalendar.formatDate(b,"yyyy-MM-dd"),end:jQuery.fullCalendar.formatDate(c,"yyyy-MM-dd"),timeformat:e.timeFormatphp,users_events:e.users_events};"undefined"!=typeof e.category&&""!==e.category&&(f.category=e.category),"undefined"!=typeof e.venue&&""!==e.venue&&(f.venue=e.venue),f=wp.hooks.applyFilters("eventorganiser.fullcalendar_request",f,b,c,d,e),a.ajax({url:eventorganiser.ajaxurl+"?action=eventorganiser-fullcal",dataType:"JSON",data:f,success:d,complete:function(a,b){}})},selectable:!1,weekMode:"variable",aspectRatio:1.5,loading:function(b){var c=a("#"+a(this).attr("id")+"_loading");b?(window.clearTimeout(i),i=window.setTimeout(function(){c.show()},1e3)):(window.clearTimeout(i),c.hide())}};m=wp.hooks.applyFilters("eventorganiser.fullcalendar_options",m,j[k]),a(l).fullCalendar(m)}a(".eo-cal-filter").change(function(){a(".eo-fullcalendar").fullCalendar("rerenderEvents")}),a(".eo-mini-calendar").datepicker({dateFormat:"DD, d MM, yy",changeMonth:!0,changeYear:!0,firstDay:parseInt(eventorganiser.fullcal.firstDay,10),buttonText:EOAjaxFront.locale.gotodate,monthNamesShort:EOAjaxFront.locale.monthAbbrev,dayNamesMin:EOAjaxFront.locale.dayAbbrev,showOn:"button",onSelect:function(b){var c=a(this).parents("div.eo-fullcalendar").attr("id");a("#"+c).fullCalendar("gotoDate",new Date(Date.parse(b)))}})}if(a(".eo_widget_calendar").length>0&&(a(".eo_widget_calendar tfoot").unbind("click"),a(".eo_widget_calendar").off("click").on("click","tfoot a",function(b){b.preventDefault();var c=a(this).closest(".eo_widget_calendar").attr("id"),d={showpastevents:1,"show-long":0,"link-to-single":0};"undefined"!=typeof EOAjax&&"undefined"!=typeof eventorganiser.widget_calendars&&(d=eventorganiser.widget_calendars[c]),"undefined"!=typeof eo_widget_cal&&(d=eo_widget_cal[c]),d.eo_month=eveorg_getParameterByName("eo_month",a(this).attr("href")),a.getJSON(EOAjaxFront.adminajax+"?action=eo_widget_cal",d,function(b){a("#"+c+"_content").html(b)})})),a(".eo-agenda-widget").length>0){for(var n in eo_widget_agenda){n=eo_widget_agenda[n];var o=new Date;n.StartDate=a.fullCalendar.formatDate(o,"yyyy-MM-dd"),n.EndDate=n.StartDate,e(1,n)}a(".eo-agenda-widget .agenda-nav span.button").click(function(b){var c=a(this).parents(".eo-agenda-widget").attr("id");n=eo_widget_agenda[c],b.preventDefault();var d=!1;if(a(this).hasClass("next"))d="+1";else if(a(this).hasClass("prev"))d="-1";else{var f=a(this).parent();d=f.hasClass("prev")?"-1":"+1"}e(d,n)})}})}(jQuery);
|
1 |
+
/*! event-organiser 2.5.0 2013-11-19 18:19 */
|
2 |
+
function eveorg_getParameterByName(a,b){a=a.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var c="[\\?&]"+a+"=([^&#]*)",d=new RegExp(c),e=d.exec(b);return null===e?"":decodeURIComponent(e[1].replace(/\+/g," "))}function eo_load_map(){for(var a=eventorganiser.map,b=0;b<a.length;b++)if(null!==document.getElementById("eo_venue_map-"+(b+1))){eventorganiser.map[b].markers={};var c=a[b].locations,d={zoom:a[b].zoom,scrollwheel:a[b].scrollwheel,zoomControl:a[b].zoomcontrol,rotateControl:a[b].rotatecontrol,panControl:a[b].pancontrol,overviewMapControl:a[b].overviewmapcontrol,streetViewControl:a[b].streetviewcontrol,draggable:a[b].draggable,mapTypeControl:a[b].maptypecontrol,mapTypeId:google.maps.MapTypeId[a[b].maptypeid]};d=wp.hooks.applyFilters("eventorganiser.google_map_options",d);for(var e=new google.maps.Map(document.getElementById("eo_venue_map-"+(b+1)),d),f=new google.maps.LatLngBounds,g=[],h=0;h<c.length;h++){var i=c[h].lat,j=c[h].lng;if(void 0!==i&&void 0!==j){g.push(new google.maps.LatLng(i,j)),f.extend(g[h]);var k={venue_id:c[h].venue_id,position:g[h],map:e,content:c[h].tooltipContent,icon:c[h].icon};k=wp.hooks.applyFilters("eventorganiser.venue_marker_options",k);var l=new google.maps.Marker(k);eventorganiser.map[b].markers[c[h].venue_id]=l,a[b].tooltip&&google.maps.event.addListener(l,"click",eventorganiser_venue_tooltip)}}c.length>1?e.fitBounds(f):e.setCenter(g[0])}}function eventorganiser_venue_tooltip(){var a=this.getMap(),b=this.getMap().getProjection().fromLatLngToPoint(this.position),c=a.getProjection().fromLatLngToPoint(a.getBounds().getNorthEast()),d=a.getProjection().fromLatLngToPoint(a.getBounds().getSouthWest()),e=Math.pow(2,a.getZoom());b=new google.maps.Point((b.x-d.x)*e,(b.y-c.y)*e),wp.hooks.doAction("eventorganiser.venue_marker_clicked",this);var f=[b.x,b.y];return this.tooltip?(this.tooltip.qtip("api").set("position.target",f),this.tooltip.qtip("show"),void 0):(jQuery(this.getMap().getDiv()).css({overflow:"visible"}),this.tooltip=jQuery("<div />").qtip({content:{text:this.content},border:{radius:4,width:3},style:{classes:"ui-tooltip-shadow",widget:!0},position:{at:"right center",my:"top center",target:f,container:jQuery(this.getMap().getDiv())},show:{ready:!0,event:!1,solo:!0},hide:{event:"mouseleave unfocus"}}),void 0)}var eventorganiser=eventorganiser||{};!function(a){jQuery(document).ready(function(){function b(b){var c=b.categories,d="<select class='eo-cal-filter' id='eo-event-cat'>";d+="<option value=''>"+b.buttonText.cat+"</option>";for(var e=0;e<c.length;e++)d+="<option class='cat-colour-"+c[e].colour+" cat' value='"+c[e].slug+"'>"+c[e].name+"</option>";d+="</select>";var f=a("<span class='fc-header-dropdown filter-category'></span>");return f.append(d),f}function c(){var b=a("<span class='fc-header-goto'><input type='hidden' class='eo-mini-calendar'/></span>");return b}function d(b){var c=b.venues,d="<select class='eo-cal-filter' id='eo-event-venue'>";d+="<option value=''>"+b.buttonText.venue+"</option>";for(var e=0;e<c.length;e++)d+="<option value='"+c[e].term_id+"'>"+c[e].name+"</option>";d+="</select>";var f=a("<span class='fc-header-dropdown filter-venue'></span>");return f.append(d),f}function e(b,c){a.ajax({url:EOAjaxFront.adminajax,dataType:"JSON",data:{action:"eo_widget_agenda",instance_number:c.number,direction:b,start:c.StartDate,end:c.EndDate},success:function(a){return jQuery.isArray(a)&&a[0]?(c.StartDate=a[0].StartDate,c.EndDate=a[a.length-1].StartDate,f(a,c),void 0):!1}})}function f(b,c){var d=a("#"+c.id+"_container"),e=d.find("ul.dates"),f=e.find("li");a(f).remove();var g=!1;for(k=0;k<b.length;k++){var h,i;new Date(b[k].StartDate),(g===!1||g!=b[k].StartDate&&"day"==c.mode)&&(g=b[k].StartDate,h=a('<li class="date" >'+b[k].display+'<ul class="a-date"></ul></li>'),e.append(h)),i=c.add_to_google?a('<li class="event"></li>').append('<span class="cat"></span><span><strong>'+b[k].time+": </strong></span>"+b[k].post_title).append('<div class="meta" style="display:none;"><span>'+b[k].link+"</span><span> </span><span>"+b[k].Glink+"</span></div>"):a('<li class="event"></li>').append("<a class='eo-agenda-event-permalink' href='"+b[k].event_url+"'><span class='cat'></span><span><strong>"+b[k].time+": </strong></span>"+b[k].post_title+"</a>"),i.find("span.cat").css({background:b[k].color}),h.append(i)}f=e.find("li");var j=d.find("ul li.event");j.on("click",function(){a(this).find(".meta").toggle("400")})}if(a("#eo-upcoming-dates").length>0&&a("#eo-upcoming-dates").find("li:gt(4)").length>0){var g=5,h={more:EOAjaxFront.locale.ShowMore,less:EOAjaxFront.locale.ShowLess};a("#eo-upcoming-dates").find("li:gt("+(g-1)+")").hide().end().after(a('<a href="#" id="eo-upcoming-dates-less">'+h.less+'</a> <span id="eo-upcoming-dates-pipe">|</span> <a href="#" id="eo-upcoming-dates-more">'+h.more+"</a>")),a("#eo-upcoming-dates-pipe").hide(),a("#eo-upcoming-dates-less").hide().click(function(b){b.preventDefault();var c=Math.floor((a("#eo-upcoming-dates li:visible").length-1)/g)*g-1;a("#eo-upcoming-dates li:gt("+c+")").hide(),a("#eo-upcoming-dates-more,#eo-upcoming-dates-pipe").show(),a("#eo-upcoming-dates li:visible").length<=g&&a("#eo-upcoming-dates-less,#eo-upcoming-dates-pipe").hide()}),a("#eo-upcoming-dates-more").click(function(b){b.preventDefault(),a("#eo-upcoming-dates-less,#eo-upcoming-dates-pipe, #eo-upcoming-dates li:hidden:lt("+g+")").show();var c=a("#eo-upcoming-dates-pipe").offset();a("html, body").animate({scrollTop:Math.max(c.top+40-a(window).height(),a(window).scrollTop())}),0===a("#eo-upcoming-dates li:hidden").length&&a("#eo-upcoming-dates-more,#eo-upcoming-dates-pipe").hide()})}if(a(".eo-fullcalendar").length>0){for(var i,j=eventorganiser.calendars,k=0;k<j.length;k++){var l="#eo_fullcalendar_"+(k+1);"undefined"==typeof j[k].category&&(j[k].category=""),"undefined"==typeof j[k].venue&&(j[k].venue="");var m={id:l,year:j[k].year?j[k].year:void 0,month:j[k].month?j[k].month:void 0,date:j[k].date?j[k].date:void 0,category:j[k].event_category,venue:j[k].event_venue,customButtons:{category:b,venue:d,"goto":c},theme:j[k].theme,categories:eventorganiser.fullcal.categories,venues:eventorganiser.fullcal.venues,timeFormatphp:j[k].timeformatphp,timeFormat:j[k].timeformat,isRTL:j[k].isrtl,editable:!1,tooltip:j[k].tooltip,firstDay:parseInt(eventorganiser.fullcal.firstDay,10),weekends:j[k].weekends,allDaySlot:j[k].alldayslot,allDayText:j[k].alldaytext,axisFormat:j[k].axisformat,minTime:j[k].mintime,maxTime:j[k].maxtime,columnFormat:{month:j[k].columnformatmonth,week:j[k].columnformatweek,day:j[k].columnformatday},titleFormat:{month:j[k].titleformatmonth,week:j[k].titleformatweek,day:j[k].titleformatday},header:{left:j[k].headerleft,center:j[k].headercenter,right:j[k].headerright},eventRender:function(b,c,d){var e=a(d.calendar.options.id).find(".filter-category .eo-cal-filter").val(),f=a(d.calendar.options.id).find(".filter-venue .eo-cal-filter").val();return"undefined"!=typeof e&&""!==e&&a.inArray(e,b.category)<0?"<div></div>":"undefined"!=typeof f&&""!==f&&f!=b.venue?"<div></div>":wp.hooks.applyFilters("eventorganiser.fullcalendar_render_event",!0,b,c,d)?(d.calendar.options.tooltip&&a(c).qtip({content:{text:b.description,button:"x",title:b.title},position:{my:"top center",at:"bottom center",viewport:a(window),adjust:{method:"shift none"}},hide:{fixed:!0,delay:500,effect:function(){a(this).fadeOut("50")}},border:{radius:4,width:3},style:{classes:"ui-tooltip-shadow",widget:!0,tip:"topMiddle"}}),void 0):"<div></div>"},buttonText:{today:EOAjaxFront.locale.today,month:EOAjaxFront.locale.month,week:EOAjaxFront.locale.week,day:EOAjaxFront.locale.day,cat:EOAjaxFront.locale.cat,venue:EOAjaxFront.locale.venue},monthNames:EOAjaxFront.locale.monthNames,monthNamesShort:EOAjaxFront.locale.monthAbbrev,dayNames:EOAjaxFront.locale.dayNames,dayNamesShort:EOAjaxFront.locale.dayAbbrev,eventColor:"#21759B",defaultView:j[k].defaultview,lazyFetching:"true",events:function(b,c,d,e){var f={start:jQuery.fullCalendar.formatDate(b,"yyyy-MM-dd"),end:jQuery.fullCalendar.formatDate(c,"yyyy-MM-dd"),timeformat:e.timeFormatphp,users_events:e.users_events};"undefined"!=typeof e.category&&""!==e.category&&(f.category=e.category),"undefined"!=typeof e.venue&&""!==e.venue&&(f.venue=e.venue),f=wp.hooks.applyFilters("eventorganiser.fullcalendar_request",f,b,c,d,e),a.ajax({url:eventorganiser.ajaxurl+"?action=eventorganiser-fullcal",dataType:"JSON",data:f,success:d,complete:function(a,b){}})},selectable:!1,weekMode:"variable",aspectRatio:1.5,loading:function(b){var c=a("#"+a(this).attr("id")+"_loading");b?(window.clearTimeout(i),i=window.setTimeout(function(){c.show()},1e3)):(window.clearTimeout(i),c.hide())}};m=wp.hooks.applyFilters("eventorganiser.fullcalendar_options",m,j[k]),a(l).fullCalendar(m)}a(".eo-cal-filter").change(function(){a(".eo-fullcalendar").fullCalendar("rerenderEvents")}),a(".eo-mini-calendar").datepicker({dateFormat:"DD, d MM, yy",changeMonth:!0,changeYear:!0,firstDay:parseInt(eventorganiser.fullcal.firstDay,10),buttonText:EOAjaxFront.locale.gotodate,monthNamesShort:EOAjaxFront.locale.monthAbbrev,dayNamesMin:EOAjaxFront.locale.dayAbbrev,nextText:EOAjaxFront.locale.nextText,prevText:EOAjaxFront.locale.prevText,showOn:"button",beforeShow:function(b,c){c.hasOwnProperty("dpDiv")?c.dpDiv.addClass("eo-datepicker"):a("#ui-datepicker-div").addClass("eo-datepicker")},onSelect:function(b){var c=a(this).parents("div.eo-fullcalendar").attr("id");a("#"+c).fullCalendar("gotoDate",new Date(Date.parse(b)))}})}if(a(".eo_widget_calendar").length>0&&(a(".eo_widget_calendar tfoot").unbind("click"),a(".eo_widget_calendar").off("click").on("click","tfoot a",function(b){b.preventDefault();var c=a(this).closest(".eo_widget_calendar").attr("id"),d={showpastevents:1,"show-long":0,"link-to-single":0};"undefined"!=typeof EOAjax&&"undefined"!=typeof eventorganiser.widget_calendars&&(d=eventorganiser.widget_calendars[c]),"undefined"!=typeof eo_widget_cal&&(d=eo_widget_cal[c]),d.eo_month=eveorg_getParameterByName("eo_month",a(this).attr("href")),a.getJSON(EOAjaxFront.adminajax+"?action=eo_widget_cal",d,function(b){a("#"+c+"_content").html(b)})})),a(".eo-agenda-widget").length>0){for(var n in eo_widget_agenda){n=eo_widget_agenda[n];var o=new Date;n.StartDate=a.fullCalendar.formatDate(o,"yyyy-MM-dd"),n.EndDate=n.StartDate,e(1,n)}a(".eo-agenda-widget .agenda-nav span.button").click(function(b){var c=a(this).parents(".eo-agenda-widget").attr("id");n=eo_widget_agenda[c],b.preventDefault();var d=!1;if(a(this).hasClass("next"))d="+1";else if(a(this).hasClass("prev"))d="-1";else{var f=a(this).parent();d=f.hasClass("prev")?"-1":"+1"}e(d,n)})}})}(jQuery);
|
js/fullcalendar.min.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
/*! event-organiser 2.4.
|
2 |
!function(a,b){function c(b){a.extend(!0,sb,b)}function d(c,d,j){function k(a){$?(y(),x(),G(),t(a)):l()}function l(){_=d.theme?"ui":"fc",c.addClass("fc"),d.isRTL?c.addClass("fc-rtl"):c.addClass("fc-ltr"),d.theme&&c.addClass("ui-widget"),$=a("<div class='fc-content' style='position:relative'/>").prependTo(c),Y=new e(X,d),Z=Y.render(),Z&&c.prepend(Z),s(d.defaultView),a(window).resize(A),r()||n()}function n(){setTimeout(function(){!ab.start&&r()&&t()},0)}function o(){a(window).unbind("resize",A),Y.destroy(),$.remove(),c.removeClass("fc fc-rtl ui-widget")}function p(){return 0!==hb.offsetWidth}function r(){return 0!==a("body")[0].offsetWidth}function s(b){if(!ab||b!=ab.name){kb++,I();var c,d=ab;d?((d.beforeHide||P)(),O($,$.height()),d.element.hide()):O($,1),$.css("overflow","hidden"),ab=ib[b],ab?ab.element.show():ab=ib[b]=new vb[b](c=db=a("<div class='fc-view fc-view-"+b+"' style='position:absolute'/>").appendTo($),X),d&&Y.deactivateButton(d.name),Y.activateButton(b),t(),$.css("overflow",""),d&&O($,1),c||(ab.afterShow||P)(),kb--}}function t(a){if(p()){kb++,I(),cb===b&&y();var d=!1;!ab.start||a||lb<ab.start||lb>=ab.end?(ab.render(lb,a||0),z(!0),d=!0):ab.sizeDirty?(ab.clearEvents(),z(),d=!0):ab.eventsDirty&&(ab.clearEvents(),d=!0),ab.sizeDirty=!1,ab.eventsDirty=!1,B(d),bb=c.outerWidth(),Y.updateTitle(ab.title);var e=new Date;e>=ab.start&&e<ab.end?Y.disableButton("today"):Y.enableButton("today"),kb--,ab.trigger("viewDisplay",hb)}}function w(){x(),p()&&(y(),z(),I(),ab.clearEvents(),ab.renderEvents(mb),ab.sizeDirty=!1)}function x(){a.each(ib,function(a,b){b.sizeDirty=!0})}function y(){cb=d.contentHeight?d.contentHeight:d.height?d.height-(Z?Z.height():0)-K($):Math.round($.width()/Math.max(d.aspectRatio,.5))}function z(a){kb++,ab.setHeight(cb,a),db&&(db.css("position","relative"),db=null),ab.setWidth($.width(),a),kb--}function A(){if(!kb)if(ab.start){var a=++jb;setTimeout(function(){a==jb&&!kb&&p()&&bb!=(bb=c.outerWidth())&&(kb++,w(),ab.trigger("windowResize",hb),kb--)},200)}else n()}function B(a){!d.lazyFetching||fb(ab.visStart,ab.visEnd)?C():a&&F()}function C(){gb(ab.visStart,ab.visEnd,d)}function D(a){mb=a,F()}function E(a){F(a)}function F(a){G(),p()&&(ab.clearEvents(),ab.renderEvents(mb,a),ab.eventsDirty=!1)}function G(){a.each(ib,function(a,b){b.eventsDirty=!0})}function H(a,c,d){ab.select(a,c,d===b?!0:d)}function I(){ab&&ab.unselect()}function J(){t(-1)}function L(){t(1)}function M(){g(lb,-1),t()}function N(){g(lb,1),t()}function Q(){lb=new Date,t()}function R(a,b,c){a instanceof Date?lb=m(a):q(lb,a,b,c),t()}function S(a,c,d){a!==b&&g(lb,a),c!==b&&h(lb,c),d!==b&&i(lb,d),t()}function T(){return m(lb)}function U(){return ab}function V(a,c){return c===b?d[a]:("height"==a||"contentHeight"==a||"aspectRatio"==a?(d[a]=c,w()):(d[a]=c,F()),void 0)}function W(a,b){return d[a]?d[a].apply(b||hb,Array.prototype.slice.call(arguments,2)):void 0}var X=this;X.options=d,X.render=k,X.destroy=o,X.refetchEvents=C,X.reportEvents=D,X.reportEventChange=E,X.rerenderEvents=F,X.changeView=s,X.select=H,X.unselect=I,X.prev=J,X.next=L,X.prevYear=M,X.nextYear=N,X.today=Q,X.gotoDate=R,X.incrementDate=S,X.formatDate=function(a,b){return u(a,b,d)},X.formatDates=function(a,b,c){return v(a,b,c,d)},X.getDate=T,X.getView=U,X.option=V,X.trigger=W,f.call(X,d,j);var Y,Z,$,_,ab,bb,cb,db,eb,fb=X.isFetchNeeded,gb=X.fetchEvents,hb=c[0],ib={},jb=0,kb=0,lb=new Date,mb=[];q(lb,d.year,d.month,d.date),d.droppable&&a(document).bind("dragstart",function(b,c){var e=b.target,f=a(e);if(!f.parents(".fc").length){var g=d.dropAccept;(a.isFunction(g)?g.call(e,f):f.is(g))&&(eb=e,ab.dragStart(eb,b,c))}}).bind("dragstop",function(a,b){eb&&(ab.dragStop(eb,a,b),eb=null)})}function e(b,c){function d(){m=c.theme?"ui":"fc";var b=c.header;return b?n=a("<table class='fc-header' style='width:100%'/>").append(a("<tr/>").append(f("left")).append(f("center")).append(f("right"))):void 0}function e(){n.remove()}function f(d){var e=a("<td class='fc-header-"+d+"'/>"),f=c.header[d];return f&&a.each(f.split(" "),function(d){d>0&&e.append("<span class='fc-header-space'/>");var f;a.each(this.split(","),function(d,g){if("title"==g)e.append("<span class='fc-header-title'><h2> </h2></span>"),f&&f.addClass(m+"-corner-right"),f=null;else if(a.isFunction(c.customButtons[g])){var h=c.customButtons[g](c);e.append(h)}else{var i;if(b[g]?i=b[g]:vb[g]&&(i=function(){l.removeClass(m+"-state-hover"),b.changeView(g)}),i){var j=c.theme?T(c.buttonIcons,g):null,k=T(c.buttonText,g);if(c.buttonui){var l=a("<span class='fc-button fc-button-"+g+" "+m+"-state-default'>"+k+"</span>");l.button()}else var l=a("<span class='fc-button fc-button-"+g+" "+m+"-state-default'>"+"<span class='fc-button-inner'>"+"<span class='fc-button-content'>"+(j?"<span class='fc-icon-wrap'><span class='ui-icon ui-icon-"+j+"'/>"+"</span>":k)+"</span>"+"<span class='fc-button-effect'><span></span></span>"+"</span>"+"</span>");l&&(l.click(function(){l.hasClass(m+"-state-disabled")||i()}).mousedown(function(){l.not("."+m+"-state-active").not("."+m+"-state-disabled").addClass(m+"-state-hover")},function(){l.removeClass(m+"-state-hover").removeClass(m+"-state-down")}).appendTo(e),W(l),f||l.addClass(m+"-corner-left"),f=l)}}}),f&&f.addClass(m+"-corner-right")}),e}function g(a){n.find("h2").html(a)}function h(a){n.find("span.fc-button-"+a).addClass(m+"-state-active")}function i(a){n.find("span.fc-button-"+a).removeClass(m+"-state-active")}function j(a){n.find("span.fc-button-"+a).addClass(m+"-state-disabled")}function k(a){n.find("span.fc-button-"+a).removeClass(m+"-state-disabled")}var l=this;l.render=d,l.destroy=e,l.updateTitle=g,l.activateButton=h,l.deactivateButton=i,l.disableButton=j,l.enableButton=k;var m,n=a([])}function f(c,d){function e(a,b){return!y||y>a||b>z}function f(a,b,c){y=a,z=b,I=[];var d=++F,e=E.length;G=e;for(var f=0;e>f;f++)g(E[f],d,c)}function g(b,c,d){h(b,function(e){if(c==F){if(e){d.eventDataTransform&&(e=a.map(e,d.eventDataTransform)),b.eventDataTransform&&(e=a.map(e,b.eventDataTransform));for(var f=0;f<e.length;f++)e[f].source=b,t(e[f]);I=I.concat(e)}G--,G||C(I)}},d)}function h(b,d){var e,f,g=ub.sourceFetchers;for(e=0;e<g.length;e++){if(f=g[e](b,y,z,d),f===!0)return;if("object"==typeof f)return h(f,d,c),void 0}var i=b.events;if(i)a.isFunction(i)?(q(),i(m(y),m(z),function(a){d(a),s()},c)):a.isArray(i)?d(i):d();else{var j=b.url;if(j){var k=b.success,l=b.error,n=b.complete,o=a.extend({},b.data||{}),p=_(b.startParam,c.startParam),r=_(b.endParam,c.endParam);p&&(o[p]=Math.round(+y/1e3)),r&&(o[r]=Math.round(+z/1e3)),q(),a.ajax(a.extend({},wb,b,{data:o,success:function(b){b=b||[];var c=$(k,this,arguments);a.isArray(c)&&(b=c),d(b)},error:function(){$(l,this,arguments),d()},complete:function(){$(n,this,arguments),s()}}))}else d()}}function i(a){a=j(a),a&&(G++,g(a,F))}function j(b){return a.isFunction(b)||a.isArray(b)?b={events:b}:"string"==typeof b&&(b={url:b}),"object"==typeof b?(u(b),E.push(b),b):void 0}function k(b){E=a.grep(E,function(a){return!v(a,b)}),I=a.grep(I,function(a){return!v(a.source,b)}),C(I)}function l(a){var b,c,d=I.length,e=B().defaultEventEnd,f=a.start-a._start,g=a.end?a.end-(a._end||e(a)):0;for(b=0;d>b;b++)c=I[b],c._id==a._id&&c!=a&&(c.start=new Date(+c.start+f),c.end=a.end?c.end?new Date(+c.end+g):new Date(+e(c)+g):null,c.title=a.title,c.url=a.url,c.allDay=a.allDay,c.className=a.className,c.editable=a.editable,c.color=a.color,c.backgroundColor=a.backgroundColor,c.borderColor=a.borderColor,c.textColor=a.textColor,t(c));t(a),C(I)}function n(a,b){t(a),a.source||(b&&(D.events.push(a),a.source=D),I.push(a)),C(I)}function o(b){if(b){if(!a.isFunction(b)){var c=b+"";b=function(a){return a._id==c}}I=a.grep(I,b,!0);for(var d=0;d<E.length;d++)a.isArray(E[d].events)&&(E[d].events=a.grep(E[d].events,b,!0))}else{I=[];for(var d=0;d<E.length;d++)a.isArray(E[d].events)&&(E[d].events=[])}C(I)}function p(b){return a.isFunction(b)?a.grep(I,b):b?(b+="",a.grep(I,function(a){return a._id==b})):I}function q(){H++||A("loading",null,!0)}function s(){--H||A("loading",null,!1)}function t(a){var d=a.source||{},e=_(d.ignoreTimezone,c.ignoreTimezone);a._id=a._id||(a.id===b?"_fc"+xb++:a.id+""),a.date&&(a.start||(a.start=a.date),delete a.date),a._start=m(a.start=r(a.start,e)),a.end=r(a.end,e),a.end&&a.end<=a.start&&(a.end=null),a._end=a.end?m(a.end):null,a.allDay===b&&(a.allDay=_(d.allDayDefault,c.allDayDefault)),a.className?"string"==typeof a.className&&(a.className=a.className.split(/\s+/)):a.className=[]}function u(a){a.className?"string"==typeof a.className&&(a.className=a.className.split(/\s+/)):a.className=[];for(var b=ub.sourceNormalizers,c=0;c<b.length;c++)b[c](a)}function v(a,b){return a&&b&&w(a)==w(b)}function w(a){return("object"==typeof a?a.events||a.url:"")||a}var x=this;x.isFetchNeeded=e,x.fetchEvents=f,x.addEventSource=i,x.removeEventSource=k,x.updateEvent=l,x.renderEvent=n,x.removeEvents=o,x.clientEvents=p,x.normalizeEvent=t;for(var y,z,A=x.trigger,B=x.getView,C=x.reportEvents,D={events:[]},E=[D],F=0,G=0,H=0,I=[],J=0;J<d.length;J++)j(d[J])}function g(a,b,c){return a.setFullYear(a.getFullYear()+b),c||l(a),a}function h(a,b,c){if(+a){var d=a.getMonth()+b,e=m(a);for(e.setDate(1),e.setMonth(d),a.setMonth(d),c||l(a);a.getMonth()!=e.getMonth();)a.setDate(a.getDate()+(e>a?1:-1))}return a}function i(a,b,c){if(+a){var d=a.getDate()+b,e=m(a);e.setHours(9),e.setDate(d),a.setDate(d),c||l(a),j(a,e)}return a}function j(a,b){if(+a)for(;a.getDate()!=b.getDate();)a.setTime(+a+(b>a?1:-1)*Ab)}function k(a,b){return a.setMinutes(a.getMinutes()+b),a}function l(a){return a.setHours(0),a.setMinutes(0),a.setSeconds(0),a.setMilliseconds(0),a}function m(a,b){return b?l(new Date(+a)):new Date(+a)}function n(){var a,b=0;do a=new Date(1970,b++,1);while(a.getHours());return a}function o(a,b,c){for(b=b||1;!a.getDay()||c&&1==a.getDay()||!c&&6==a.getDay();)i(a,b);return a}function p(a,b){return Math.round((m(a,!0)-m(b,!0))/zb)}function q(a,c,d,e){c!==b&&c!=a.getFullYear()&&(a.setDate(1),a.setMonth(0),a.setFullYear(c)),d!==b&&d!=a.getMonth()&&(a.setDate(1),a.setMonth(d)),e!==b&&a.setDate(e)}function r(a,c){return"object"==typeof a?a:"number"==typeof a?new Date(1e3*a):"string"==typeof a?a.match(/^\d+(\.\d+)?$/)?new Date(1e3*parseFloat(a)):(c===b&&(c=!0),s(a,c)||(a?new Date(a):null)):null}function s(a,b){var c=a.match(/^([0-9]{4})(-([0-9]{2})(-([0-9]{2})([T ]([0-9]{2}):([0-9]{2})(:([0-9]{2})(\.([0-9]+))?)?(Z|(([-+])([0-9]{2})(:?([0-9]{2}))?))?)?)?)?$/);if(!c)return null;var d=new Date(c[1],0,1);if(b||!c[13]){var e=new Date(c[1],0,1,9,0);c[3]&&(d.setMonth(c[3]-1),e.setMonth(c[3]-1)),c[5]&&(d.setDate(c[5]),e.setDate(c[5])),j(d,e),c[7]&&d.setHours(c[7]),c[8]&&d.setMinutes(c[8]),c[10]&&d.setSeconds(c[10]),c[12]&&d.setMilliseconds(1e3*Number("0."+c[12])),j(d,e)}else if(d.setUTCFullYear(c[1],c[3]?c[3]-1:0,c[5]||1),d.setUTCHours(c[7]||0,c[8]||0,c[10]||0,c[12]?1e3*Number("0."+c[12]):0),c[14]){var f=60*Number(c[16])+(c[18]?Number(c[18]):0);f*="-"==c[15]?1:-1,d=new Date(+d+1e3*60*f)}return d}function t(a){if("number"==typeof a)return 60*a;if("object"==typeof a)return 60*a.getHours()+a.getMinutes();var b=a.match(/(\d+)(?::(\d+))?\s*(\w+)?/);if(b){var c=parseInt(b[1],10);return b[3]&&(c%=12,"p"==b[3].toLowerCase().charAt(0)&&(c+=12)),60*c+(b[2]?parseInt(b[2],10):0)}}function u(a,b,c){return v(a,null,b,c)}function v(a,b,c,d){d=d||sb;var e,f,g,h,i=a,j=b,k=c.length,l="";for(e=0;k>e;e++)if(f=c.charAt(e),"'"==f){for(g=e+1;k>g;g++)if("'"==c.charAt(g)){i&&(l+=g==e+1?"'":c.substring(e+1,g),e=g);break}}else if("("==f){for(g=e+1;k>g;g++)if(")"==c.charAt(g)){var m=u(i,c.substring(e+1,g),d);parseInt(m.replace(/\D/,""),10)&&(l+=m),e=g;break}}else if("["==f){for(g=e+1;k>g;g++)if("]"==c.charAt(g)){var n=c.substring(e+1,g),m=u(i,n,d);m!=u(j,n,d)&&(l+=m),e=g;break}}else if("{"==f)i=b,j=a;else if("}"==f)i=a,j=b;else{for(g=k;g>e;g--)if(h=Cb[c.substring(e,g)]){i&&(l+=h(i,d)),e=g-1;break}g==e&&i&&(l+=f)}return l}function w(a){var b,c=new Date(a.getTime());return c.setDate(c.getDate()+4-(c.getDay()||7)),b=c.getTime(),c.setMonth(0),c.setDate(1),Math.floor(Math.round((b-c)/864e5)/7)+1}function x(a){return a.end?y(a.end,a.allDay):i(m(a.start),1)}function y(a,b){return a=m(a),b||a.getHours()||a.getMinutes()?i(a,1):l(a)}function z(a,b){return 100*(b.msLength-a.msLength)+(a.event.start-b.event.start)}function A(a,b){return a.end>b.start&&a.start<b.end}function B(a,b,c,d){var e,f,g,h,i,j,k,l,n=[],o=a.length;for(e=0;o>e;e++)f=a[e],g=f.start,h=b[e],h>c&&d>g&&(c>g?(i=m(c),k=!1):(i=g,k=!0),h>d?(j=m(d),l=!1):(j=h,l=!0),n.push({event:f,start:i,end:j,isStart:k,isEnd:l,msLength:j-i}));return n.sort(z)}function C(a){var b,c,d,e,f,g=[],h=a.length;for(b=0;h>b;b++){for(c=a[b],d=0;;){if(e=!1,g[d])for(f=0;f<g[d].length;f++)if(A(g[d][f],c)){e=!0;break}if(!e)break;d++}g[d]?g[d].push(c):g[d]=[c]}return g}function D(c,d,e){c.unbind("mouseover").mouseover(function(c){for(var f,g,h,i=c.target;i!=this;)f=i,i=i.parentNode;(g=f._fci)!==b&&(f._fci=b,h=d[g],e(h.event,h.element,h),a(c.target).trigger(c)),c.stopPropagation()})}function E(b,c,d){for(var e,f=0;f<b.length;f++)e=a(b[f]),e.width(Math.max(0,c-G(e,d)))}function F(b,c,d){for(var e,f=0;f<b.length;f++)e=a(b[f]),e.height(Math.max(0,c-K(e,d)))}function G(a,b){return H(a)+J(a)+(b?I(a):0)}function H(b){return(parseFloat(a.css(b[0],"paddingLeft",!0))||0)+(parseFloat(a.css(b[0],"paddingRight",!0))||0)}function I(b){return(parseFloat(a.css(b[0],"marginLeft",!0))||0)+(parseFloat(a.css(b[0],"marginRight",!0))||0)}function J(b){return(parseFloat(a.css(b[0],"borderLeftWidth",!0))||0)+(parseFloat(a.css(b[0],"borderRightWidth",!0))||0)}function K(a,b){return L(a)+N(a)+(b?M(a):0)}function L(b){return(parseFloat(a.css(b[0],"paddingTop",!0))||0)+(parseFloat(a.css(b[0],"paddingBottom",!0))||0)}function M(b){return(parseFloat(a.css(b[0],"marginTop",!0))||0)+(parseFloat(a.css(b[0],"marginBottom",!0))||0)}function N(b){return(parseFloat(a.css(b[0],"borderTopWidth",!0))||0)+(parseFloat(a.css(b[0],"borderBottomWidth",!0))||0)}function O(a,b){b="number"==typeof b?b+"px":b,a.each(function(a,c){c.style.cssText+=";min-height:"+b+";_height:"+b})}function P(){}function Q(a,b){return a-b}function R(a){return Math.max.apply(Math,a)}function S(a){return(10>a?"0":"")+a}function T(a,c){if(a[c]!==b)return a[c];for(var d,e=c.split(/(?=[A-Z])/),f=e.length-1;f>=0;f--)if(d=a[e[f].toLowerCase()],d!==b)return d;return a[""]}function U(a){return a.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/'/g,"'").replace(/"/g,""").replace(/\n/g,"<br />")}function V(a){return a.id+"/"+a.className+"/"+a.style.cssText.replace(/(^|;)\s*(top|left|width|height)\s*:[^;]*/gi,"")}function W(a){a.attr("unselectable","on").css("MozUserSelect","none").bind("selectstart.ui",function(){return!1})}function X(a){a.children().removeClass("fc-first fc-last").filter(":first-child").addClass("fc-first").end().filter(":last-child").addClass("fc-last")}function Y(a,b){a.each(function(a,c){c.className=c.className.replace(/^fc-\w*/,"fc-"+yb[b.getDay()])})}function Z(a,b){var c=a.source||{},d=a.color,e=c.color,f=b("eventColor"),g=a.backgroundColor||d||c.backgroundColor||e||b("eventBackgroundColor")||f,h=a.borderColor||d||c.borderColor||e||b("eventBorderColor")||f,i=a.textColor||c.textColor||b("eventTextColor"),j=[];return g&&j.push("background-color:"+g),h&&j.push("border-color:"+h),i&&j.push("color:"+i),j.join(";")}function $(b,c,d){if(a.isFunction(b)&&(b=[b]),b){var e,f;for(e=0;e<b.length;e++)f=b[e].apply(c,d)||f;return f}}function _(){for(var a=0;a<arguments.length;a++)if(arguments[a]!==b)return arguments[a]}function ab(a,b){function c(a,b){b&&(h(a,b),a.setDate(1));var c=m(a,!0);c.setDate(1);var j=h(m(c),1),k=m(c),l=m(j),n=e("firstDay"),p=e("weekends")?0:1;p&&(o(k),o(l,-1,!0)),i(k,-((k.getDay()-Math.max(n,p)+7)%7)),i(l,(7-l.getDay()+Math.max(n,p))%7);var q=Math.round((l-k)/(7*zb));"fixed"==e("weekMode")&&(i(l,7*(6-q)),q=6),d.title=g(c,e("titleFormat")),d.start=c,d.end=j,d.visStart=k,d.visEnd=l,f(q,p?5:7,!0)}var d=this;d.render=c,db.call(d,a,b,"month");var e=d.opt,f=d.renderBasic,g=b.formatDate}function bb(a,b){function c(a,b){b&&i(a,7*b);var c=i(m(a),-((a.getDay()-e("firstDay")+7)%7)),h=i(m(c),7),j=m(c),k=m(h),l=e("weekends");l||(o(j),o(k,-1,!0)),d.title=g(j,i(m(k),-1),e("titleFormat")),d.start=c,d.end=h,d.visStart=j,d.visEnd=k,f(1,l?7:5,!1)}var d=this;d.render=c,db.call(d,a,b,"basicWeek");var e=d.opt,f=d.renderBasic,g=b.formatDates}function cb(a,b){function c(a,b){b&&(i(a,b),e("weekends")||o(a,0>b?-1:1)),d.title=g(a,e("titleFormat")),d.start=d.visStart=m(a,!0),d.end=d.visEnd=i(m(d.start),1),f(1,1,!1)}var d=this;d.render=c,db.call(d,a,b,"basicDay");var e=d.opt,f=d.renderBasic,g=b.formatDate}function db(b,c,d){function e(a,b,c){cb=a,db=b,f();var d=!S;d?g():Bb(),h(c)}function f(){ib=zb("isRTL"),ib?(jb=-1,lb=db-1):(jb=1,lb=0),qb=zb("firstDay"),sb=zb("weekends")?0:1,tb=zb("theme")?"ui":"fc",ub=zb("columnFormat"),vb=zb("weekNumbers"),wb=zb("weekNumberTitle"),xb="iso"!=zb("weekNumberCalculation")?"w":"W"}function g(){Z=a("<div style='position:absolute;z-index:8;top:0;left:0'/>").appendTo(b)}function h(c){var d,e,f,g,h="",i=tb+"-widget-header",j=tb+"-widget-content",k=N.start.getMonth(),m=l(new Date);for(h+="<table class='fc-border-separate' style='width:100%' cellspacing='0'><thead><tr>",vb&&(h+="<th class='fc-week-number "+i+"'/>"),d=0;db>d;d++)f=F(0,d),h+="<th class='fc-day-header fc-"+yb[f.getDay()]+" "+i+"'/>";for(h+="</tr></thead><tbody>",d=0;cb>d;d++){for(h+="<tr class='fc-week'>",vb&&(h+="<td class='fc-week-number "+j+"'>"+"<div/>"+"</td>"),e=0;db>e;e++)f=F(d,e),g=["fc-day","fc-"+yb[f.getDay()],j],f.getMonth()!=k&&g.push("fc-other-month"),+f==+m&&(g.push("fc-today"),g.push(tb+"-state-highlight")),h+="<td class='"+g.join(" ")+"'"+" data-date='"+Fb(f,"yyyy-MM-dd")+"'"+">"+"<div>",c&&(h+="<div class='fc-day-number'>"+f.getDate()+"</div>"),h+="<div class='fc-day-content'><div style='position:relative'> </div></div></div></td>";h+="</tr>"}h+="</tbody></table>",L(),P&&P.remove(),P=a(h).appendTo(b),Q=P.find("thead"),R=Q.find(".fc-day-header"),S=P.find("tbody"),T=S.find("tr"),U=S.find(".fc-day"),V=T.find("td:first-child"),Y=T.eq(0).find(".fc-day-content > div"),X(Q.add(Q.find("tr"))),X(T),T.eq(0).addClass("fc-first"),T.filter(":last").addClass("fc-last"),vb&&Q.find(".fc-week-number").text(wb),R.each(function(b,c){var d=G(b);a(c).text(Fb(d,ub))}),vb&&S.find(".fc-week-number > div").each(function(b,c){var d=F(b,0);a(c).text(Fb(d,xb))}),U.each(function(b,c){var d=G(b);Ab("dayRender",N,d,a(c))}),n(U)}function j(b){_=b;var c,d,e,f=_-Q.height();"variable"==zb("weekMode")?c=d=Math.floor(f/(1==cb?2:6)):(c=Math.floor(f/cb),d=f-c*(cb-1)),V.each(function(b,f){cb>b&&(e=a(f),O(e.find("> div"),(b==cb-1?d:c)-K(e)))}),M()}function k(a){$=a,hb.clear(),bb=0,vb&&(bb=Q.find("th.fc-week-number").outerWidth()),ab=Math.floor(($-bb)/db),E(R.slice(0,-1),ab)}function n(a){a.click(o).mousedown(Eb)}function o(b){if(!zb("selectable")){var c=s(a(this).data("date"));Ab("dayClick",this,c,!0,b)}}function q(a,b,c){c&&fb.build();for(var d=m(N.visStart),e=i(m(d),db),f=0;cb>f;f++){var g=new Date(Math.max(d,a)),h=new Date(Math.min(e,b));if(h>g){var j,k;ib?(j=p(h,d)*jb+lb+1,k=p(g,d)*jb+lb+1):(j=p(g,d),k=p(h,d)),n(r(f,j,f,k-1))}i(d,7),i(e,7)}}function r(a,c,d,e){var f=fb.rect(a,c,d,e,b);return Cb(f,b)}function t(a){return m(a)}function u(a,b){q(a,i(m(b),1),!0)}function v(){Db()}function w(a,b,c){var d=C(a),e=U[d.row*db+d.col];Ab("dayClick",e,a,b,c)}function x(a,b){gb.start(function(a){Db(),a&&r(a.row,a.col,a.row,a.col)},b)}function y(a,b,c){var d=gb.stop();if(Db(),d){var e=D(d);Ab("drop",a,e,!0,b,c)}}function z(a){return m(a.start)}function A(a){return hb.left(a)}function B(a){return hb.right(a)}function C(a){return{row:Math.floor(p(a,N.visStart)/7),col:H(a.getDay())}}function D(a){return F(a.row,a.col)}function F(a,b){return i(m(N.visStart),7*a+b*jb+lb)}function G(a){return F(Math.floor(a/db),a%db)}function H(a){return(a-Math.max(qb,sb)+db)%db*jb+lb}function I(a){return T.eq(a)}function J(){var a=0;return vb&&(a+=bb),{left:a,right:$}}function L(){O(b,b.height())}function M(){O(b,1)}var N=this;N.renderBasic=e,N.setHeight=j,N.setWidth=k,N.renderDayOverlay=q,N.defaultSelectionEnd=t,N.renderSelection=u,N.clearSelection=v,N.reportDayClick=w,N.dragStart=x,N.dragStop=y,N.defaultEventEnd=z,N.getHoverListener=function(){return gb},N.colContentLeft=A,N.colContentRight=B,N.dayOfWeekCol=H,N.dateCell=C,N.cellDate=D,N.cellIsAllDay=function(){return!0},N.allDayRow=I,N.allDayBounds=J,N.getRowCnt=function(){return cb},N.getColCnt=function(){return db},N.getColWidth=function(){return ab},N.getDaySegmentContainer=function(){return Z},kb.call(N,b,c,d),nb.call(N),mb.call(N),eb.call(N);var P,Q,R,S,T,U,V,Y,Z,$,_,ab,bb,cb,db,fb,gb,hb,ib,jb,lb,qb,sb,tb,ub,vb,wb,xb,zb=N.opt,Ab=N.trigger,Bb=N.clearEvents,Cb=N.renderOverlay,Db=N.clearOverlays,Eb=N.daySelectionMousedown,Fb=c.formatDate;W(b.addClass("fc-grid")),fb=new ob(function(b,c){var d,e,f;R.each(function(b,g){d=a(g),e=d.offset().left,b&&(f[1]=e),f=[e],c[b]=f}),f[1]=e+d.outerWidth(),T.each(function(c,g){cb>c&&(d=a(g),e=d.offset().top,c&&(f[1]=e),f=[e],b[c]=f)}),f[1]=e+d.outerHeight()}),gb=new pb(fb),hb=new rb(function(a){return Y.eq(a)})}function eb(){function b(a,b){n(a),A(d(a),b),j("eventAfterAllRender")}function c(){o(),t().empty()}function d(b){var c,d,e,f,h,j,k=y(),l=z(),n=m(g.visStart),o=i(m(n),l),p=a.map(b,x),q=[];for(c=0;k>c;c++){for(d=C(B(b,p,n,o)),e=0;e<d.length;e++)for(f=d[e],h=0;h<f.length;h++)j=f[h],j.row=c,j.level=e,q.push(j);i(n,7),i(o,7)}return q}function e(a,b,c){k(a)&&f(a,b),c.isEnd&&l(a)&&D(a,b,c),p(a,b)}function f(a,b){var c,d=u();b.draggable({zIndex:9,delay:50,opacity:h("dragOpacity"),revertDuration:h("dragRevertDuration"),start:function(e,f){j("eventDragStart",b,a,e,f),r(a,b),d.start(function(d,e,f,g){b.draggable("option","revert",!d||!f&&!g),w(),d?(c=7*f+g*(h("isRTL")?-1:1),v(i(m(a.start),c),i(x(a),c))):c=0},e,"drag")},stop:function(e,f){d.stop(),w(),j("eventDragStop",b,a,e,f),c?s(this,a,c,0,a.allDay,e,f):(b.css("filter",""),q(a,b))}})}var g=this;g.renderEvents=b,g.compileDaySegs=d,g.clearEvents=c,g.bindDaySeg=e,lb.call(g);var h=g.opt,j=g.trigger,k=g.isEventDraggable,l=g.isEventResizable,n=g.reportEvents,o=g.reportEventClear,p=g.eventElementHandlers,q=g.showEvents,r=g.hideEvents,s=g.eventDrop,t=g.getDaySegmentContainer,u=g.getHoverListener,v=g.renderDayOverlay,w=g.clearOverlays,y=g.getRowCnt,z=g.getColCnt,A=g.renderDaySegs,D=g.resizableDayEvent}function fb(a,b){function c(a,b){b&&i(a,7*b);var c=i(m(a),-((a.getDay()-e("firstDay")+7)%7)),h=i(m(c),7),j=m(c),k=m(h),l=e("weekends");l||(o(j),o(k,-1,!0)),d.title=g(j,i(m(k),-1),e("titleFormat")),d.start=c,d.end=h,d.visStart=j,d.visEnd=k,f(l?7:5)}var d=this;d.render=c,hb.call(d,a,b,"agendaWeek");var e=d.opt,f=d.renderAgenda,g=b.formatDates}function gb(a,b){function c(a,b){b&&(i(a,b),e("weekends")||o(a,0>b?-1:1));var c=m(a,!0),h=i(m(c),1);d.title=g(a,e("titleFormat")),d.start=d.visStart=c,d.end=d.visEnd=h,f(1)}var d=this;d.render=c,hb.call(d,a,b,"agendaDay");var e=d.opt,f=d.renderAgenda,g=b.formatDate}function hb(c,d,e){function f(a){Kb=a,g(),ab?cc():h(),j()}function g(){Qb=ac("theme")?"ui":"fc",Sb=ac("weekends")?0:1,Rb=ac("firstDay"),(Tb=ac("isRTL"))?(Ub=-1,Vb=Kb-1):(Ub=1,Vb=0),Wb=t(ac("minTime")),Xb=t(ac("maxTime")),Yb=ac("columnFormat"),Zb=ac("weekNumbers"),$b=ac("weekNumberTitle"),_b="iso"!=ac("weekNumberCalculation")?"w":"W",Hb=ac("snapMinutes")||ac("slotMinutes")}function h(){var b,d,e,f,g,h=Qb+"-widget-header",i=Qb+"-widget-content",j=0==ac("slotMinutes")%15;for(b="<table style='width:100%' class='fc-agenda-days fc-border-separate' cellspacing='0'><thead><tr>",b+=Zb?"<th class='fc-agenda-axis fc-week-number "+h+"'/>":"<th class='fc-agenda-axis "+h+"'> </th>",d=0;Kb>d;d++)b+="<th class='fc- fc-col"+d+" "+h+"'/>";for(b+="<th class='fc-agenda-gutter "+h+"'> </th>"+"</tr>"+"</thead>"+"<tbody>"+"<tr>"+"<th class='fc-agenda-axis "+h+"'> </th>",d=0;Kb>d;d++)b+="<td class='fc- fc-col"+d+" "+i+"'>"+"<div>"+"<div class='fc-day-content'>"+"<div style='position:relative'> </div>"+"</div>"+"</div>"+"</td>";for(b+="<td class='fc-agenda-gutter "+i+"'> </td>"+"</tr>"+"</tbody>"+"</table>",ab=a(b).appendTo(c),bb=ab.find("thead"),cb=bb.find("th").slice(1,-1),db=ab.find("tbody"),eb=db.find("td").slice(0,-1),fb=eb.find("div.fc-day-content div"),gb=eb.eq(0),hb=gb.find("> div"),X(bb.add(bb.find("tr"))),X(db.add(db.find("tr"))),yb=bb.find("th:first"),zb=ab.find(".fc-agenda-gutter"),jb=a("<div style='position:absolute;z-index:2;left:0;width:100%'/>").appendTo(c),ac("allDaySlot")?(lb=a("<div style='position:absolute;z-index:8;top:0;left:0'/>").appendTo(jb),b="<table style='width:100%' class='fc-agenda-allday' cellspacing='0'><tr><th class='"+h+" fc-agenda-axis'>"+ac("allDayText")+"</th>"+"<td>"+"<div class='fc-day-content'><div style='position:relative'/></div>"+"</td>"+"<th class='"+h+" fc-agenda-gutter'> </th>"+"</tr>"+"</table>",qb=a(b).appendTo(jb),sb=qb.find("tr"),v(sb.find("td")),yb=yb.add(qb.find("th:first")),zb=zb.add(qb.find("th.fc-agenda-gutter")),jb.append("<div class='fc-agenda-divider "+h+"'>"+"<div class='fc-agenda-divider-inner'/>"+"</div>")):lb=a([]),tb=a("<div style='position:absolute;width:100%;overflow-x:hidden;overflow-y:auto'/>").appendTo(jb),ub=a("<div style='position:relative;width:100%;overflow:hidden'/>").appendTo(tb),vb=a("<div style='position:absolute;z-index:8;top:0;left:0'/>").appendTo(ub),b="<table class='fc-agenda-slots' style='width:100%' cellspacing='0'><tbody>",e=n(),f=k(m(e),Xb),k(e,Wb),Lb=0,d=0;f>e;d++)g=e.getMinutes(),b+="<tr class='fc-slot"+d+" "+(g?"fc-minor":"")+"'>"+"<th class='fc-agenda-axis "+h+"'>"+(j&&g?" ":jc(e,ac("axisFormat")))+"</th>"+"<td class='"+i+"'>"+"<div style='position:relative'> </div>"+"</td>"+"</tr>",k(e,ac("slotMinutes")),Lb++;b+="</tbody></table>",wb=a(b).appendTo(ub),xb=wb.find("div:first"),w(wb.find("td")),yb=yb.add(wb.find("th:first"))}function j(){var a,b,c,d,e=l(new Date);if(Zb){var f=jc(H(0),_b);Tb?f+=$b:f=$b+f,bb.find(".fc-week-number").text(f)}for(a=0;Kb>a;a++)d=H(a),b=cb.eq(a),b.html(jc(d,Yb)),c=eb.eq(a),+d==+e?c.addClass(Qb+"-state-highlight fc-today"):c.removeClass(Qb+"-state-highlight fc-today"),Y(b.add(c),d)}function o(a,c){a===b&&(a=Cb),Cb=a,kc={};var d=db.position().top,e=tb.position().top,f=Math.min(a-d,wb.height()+e+1);hb.height(f-K(gb)),jb.css("top",d),tb.height(f-e-1),Gb=xb.height()+1,Ib=ac("slotMinutes")/Hb,Jb=Gb/Ib,c&&r()}function q(b){Bb=b,Ob.clear(),Db=0,E(yb.width("").each(function(b,c){Db=Math.max(Db,a(c).outerWidth())}),Db);var c=tb[0].clientWidth;Fb=tb.width()-c,Fb?(E(zb,Fb),zb.show().prev().removeClass("fc-last")):zb.hide().prev().addClass("fc-last"),Eb=Math.floor((c-Db)/Kb),E(cb.slice(0,-1),Eb)}function r(){function a(){tb.scrollTop(d)}var b=n(),c=m(b);c.setHours(ac("firstHour"));var d=L(b,c)+1;a(),setTimeout(a,0)}function s(){Pb=tb.scrollTop()}function u(){tb.scrollTop(Pb)}function v(a){a.click(x).mousedown(hc)}function w(a){a.click(x).mousedown(U)}function x(a){if(!ac("selectable")){var b=Math.min(Kb-1,Math.floor((a.pageX-ab.offset().left-Db)/Eb)),c=H(b),d=this.parentNode.className.match(/fc-slot(\d+)/);if(d){var e=parseInt(d[1])*ac("slotMinutes"),f=Math.floor(e/60);c.setHours(f),c.setMinutes(e%60+Wb),bc("dayClick",eb[b],c,!1,a)}else bc("dayClick",eb[b],c,!0,a)}}function y(a,b,c){c&&Mb.build();var d,e,f=m(_.visStart);Tb?(d=p(b,f)*Ub+Vb+1,e=p(a,f)*Ub+Vb+1):(d=p(a,f),e=p(b,f)),d=Math.max(0,d),e=Math.min(Kb,e),e>d&&v(z(0,d,0,e-1))}function z(a,b,c,d){var e=Mb.rect(a,b,c,d,jb);return dc(e,jb)}function A(a,b){for(var c=m(_.visStart),d=i(m(c),1),e=0;Kb>e;e++){var f=new Date(Math.max(c,a)),g=new Date(Math.min(d,b));if(g>f){var h=e*Ub+Vb,j=Mb.rect(0,h,0,h,ub),k=L(c,f),l=L(c,g);j.top=k,j.height=l-k,w(dc(j,ub))}i(c,1),i(d,1)}}function B(a){return Ob.left(a)}function C(a){return Ob.right(a)}function D(a){return{row:Math.floor(p(a,_.visStart)/7),col:J(a.getDay())}}function G(a){var b=H(a.col),c=a.row;return ac("allDaySlot")&&c--,c>=0&&k(b,Wb+c*Hb),b}function H(a){return i(m(_.visStart),a*Ub+Vb)}function I(a){return ac("allDaySlot")&&!a.row}function J(a){return(a-Math.max(Rb,Sb)+Kb)%Kb*Ub+Vb}function L(a,c){if(a=m(a,!0),c<k(m(a),Wb))return 0;if(c>=k(m(a),Xb))return wb.height();var d=ac("slotMinutes"),e=60*c.getHours()+c.getMinutes()-Wb,f=Math.floor(e/d),g=kc[f];return g===b&&(g=kc[f]=wb.find("tr:eq("+f+") td div")[0].offsetTop),Math.max(0,Math.round(g-1+Gb*(e%d/d)))}function M(){return{left:Db,right:Bb-Fb}}function N(){return sb}function O(a){var b=m(a.start);return a.allDay?b:k(b,ac("defaultEventMinutes"))}function P(a,b){return b?m(a):k(m(a),ac("slotMinutes"))}function R(a,b,c){c?ac("allDaySlot")&&y(a,i(m(b),1),!0):S(a,b)}function S(b,c){var d=ac("selectHelper");if(Mb.build(),d){var e=p(b,_.visStart)*Ub+Vb;if(e>=0&&Kb>e){var f=Mb.rect(0,e,0,e,ub),g=L(b,b),h=L(b,c);if(h>g){if(f.top=g,f.height=h-g,f.left+=2,f.width-=5,a.isFunction(d)){var i=d(b,c);i&&(f.position="absolute",f.zIndex=8,Ab=a(i).css(f).appendTo(ub))}else f.isStart=!0,f.isEnd=!0,Ab=a(ic({title:"",start:b,end:c,className:["fc-select-helper"],editable:!1},f)),Ab.css("opacity",ac("dragOpacity"));Ab&&(w(Ab),ub.append(Ab),E(Ab,f.width,!0),F(Ab,f.height,!0))}}}else A(b,c)}function T(){ec(),Ab&&(Ab.remove(),Ab=null)}function U(b){if(1==b.which&&ac("selectable")){gc(b);var c;Nb.start(function(a,b){if(T(),a&&a.col==b.col&&!I(a)){var d=G(b),e=G(a);c=[d,k(m(d),Hb),e,k(m(e),Hb)].sort(Q),S(c[0],c[3])}else c=null},b),a(document).one("mouseup",function(a){Nb.stop(),c&&(+c[0]==+c[1]&&V(c[0],!1,a),fc(c[0],c[3],!1,a))})}}function V(a,b,c){bc("dayClick",eb[J(a.getDay())],a,b,c)}function Z(a,b){Nb.start(function(a){if(ec(),a)if(I(a))z(a.row,a.col,a.row,a.col);else{var b=G(a),c=k(m(b),ac("defaultEventMinutes"));A(b,c)}},b)}function $(a,b,c){var d=Nb.stop();ec(),d&&bc("drop",a,G(d),I(d),b,c)}var _=this;_.renderAgenda=f,_.setWidth=q,_.setHeight=o,_.beforeHide=s,_.afterShow=u,_.defaultEventEnd=O,_.timePosition=L,_.dayOfWeekCol=J,_.dateCell=D,_.cellDate=G,_.cellIsAllDay=I,_.allDayRow=N,_.allDayBounds=M,_.getHoverListener=function(){return Nb},_.colContentLeft=B,_.colContentRight=C,_.getDaySegmentContainer=function(){return lb},_.getSlotSegmentContainer=function(){return vb},_.getMinMinute=function(){return Wb},_.getMaxMinute=function(){return Xb},_.getBodyContent=function(){return ub},_.getRowCnt=function(){return 1},_.getColCnt=function(){return Kb},_.getColWidth=function(){return Eb},_.getSnapHeight=function(){return Jb},_.getSnapMinutes=function(){return Hb},_.defaultSelectionEnd=P,_.renderDayOverlay=y,_.renderSelection=R,_.clearSelection=T,_.reportDayClick=V,_.dragStart=Z,_.dragStop=$,kb.call(_,c,d,e),nb.call(_),mb.call(_),ib.call(_);var ab,bb,cb,db,eb,fb,gb,hb,jb,lb,qb,sb,tb,ub,vb,wb,xb,yb,zb,Ab,Bb,Cb,Db,Eb,Fb,Gb,Hb,Ib,Jb,Kb,Lb,Mb,Nb,Ob,Pb,Qb,Rb,Sb,Tb,Ub,Vb,Wb,Xb,Yb,Zb,$b,_b,ac=_.opt,bc=_.trigger,cc=_.clearEvents,dc=_.renderOverlay,ec=_.clearOverlays,fc=_.reportSelection,gc=_.unselect,hc=_.daySelectionMousedown,ic=_.slotSegHtml,jc=d.formatDate,kc={};W(c.addClass("fc-agenda")),Mb=new ob(function(b,c){function d(a){return Math.max(i,Math.min(j,a))}var e,f,g;cb.each(function(b,d){e=a(d),f=e.offset().left,b&&(g[1]=f),g=[f],c[b]=g}),g[1]=f+e.outerWidth(),ac("allDaySlot")&&(e=sb,f=e.offset().top,b[0]=[f,f+e.outerHeight()]);for(var h=ub.offset().top,i=tb.offset().top,j=i+tb.outerHeight(),k=0;Lb*Ib>k;k++)b.push([d(h+Jb*k),d(h+Jb*(k+1))])}),Nb=new pb(Mb),Ob=new rb(function(a){return fb.eq(a)})}function ib(){function c(a,b){y(a);var c,d=a.length,g=[],i=[];for(c=0;d>c;c++)a[c].allDay?g.push(a[c]):i.push(a[c]);s("allDaySlot")&&(Q(e(g),b),E()),h(f(i),b),t("eventAfterAllRender")}function d(){z(),H().empty(),I().empty()}function e(b){var c,d,e,f,g=C(B(b,a.map(b,x),r.visStart,r.visEnd)),h=g.length,i=[];for(c=0;h>c;c++)for(d=g[c],e=0;e<d.length;e++)f=d[e],f.row=0,f.level=c,i.push(f);return i}function f(b){var c,d,e,f,h,j,l=S(),n=M(),o=L(),p=k(m(r.visStart),n),q=a.map(b,g),s=[];for(c=0;l>c;c++){for(d=C(B(b,q,p,k(m(p),o-n))),jb(d),e=0;e<d.length;e++)for(f=d[e],h=0;h<f.length;h++)j=f[h],j.col=c,j.level=e,s.push(j);
|
3 |
i(p,1,!0)}return s}function g(a){return a.end?m(a.end):k(m(a.start),s("defaultEventMinutes"))}function h(c,d){var e,f,g,h,i,k,l,m,o,p,q,u,v,w,x,y,z,A,B,C,E,F,H=c.length,J="",L={},M={},Q=I(),R=S();for((C=s("isRTL"))?(E=-1,F=R-1):(E=1,F=0),e=0;H>e;e++)f=c[e],g=f.event,h=N(f.start,f.start),i=N(f.start,f.end),k=f.col,l=f.level,m=f.forward||0,o=O(k*E+F),p=P(k*E+F)-o,p=Math.min(p-6,.95*p),q=l?p/(l+m+1):m?2*(p/(m+1)-6):p,u=o+p/(l+m+1)*l*E+(C?p-q:0),f.top=h,f.left=u,f.outerWidth=q,f.outerHeight=i-h,J+=j(g,f);for(Q[0].innerHTML=J,v=Q.children(),e=0;H>e;e++)f=c[e],g=f.event,w=a(v[e]),x=t("eventRender",g,g,w,r),x===!1?w.remove():(x&&x!==!0&&(w.remove(),w=a(x).css({position:"absolute",top:f.top,left:f.left}).appendTo(Q)),f.element=w,g._id===d?n(g,w,f):w[0]._fci=e,$(g,w));for(D(Q,c,n),e=0;H>e;e++)f=c[e],(w=f.element)&&(z=L[y=f.key=V(w[0])],f.vsides=z===b?L[y]=K(w,!0):z,z=M[y],f.hsides=z===b?M[y]=G(w,!0):z,A=w.find(".fc-event-title"),A.length&&(f.contentTop=A[0].offsetTop));for(e=0;H>e;e++)f=c[e],(w=f.element)&&(w[0].style.width=Math.max(0,f.outerWidth-f.hsides)+"px",B=Math.max(0,f.outerHeight-f.vsides),w[0].style.height=B+"px",g=f.event,f.contentTop!==b&&B-f.contentTop<10&&(w.find("div.fc-event-time").text(gb(g.start,s("timeFormat"))+" - "+g.title),w.find("div.fc-event-title").remove()),t("eventAfterRender",g,g,w))}function j(a,b){var c="<",d=a.url,e=Z(a,s),f=["fc-event","fc-event-vert"];return u(a)&&f.push("fc-event-draggable"),b.isStart&&f.push("fc-event-start"),b.isEnd&&f.push("fc-event-end"),f=f.concat(a.className),a.source&&(f=f.concat(a.source.className||[])),c+=d?"a href='"+U(a.url)+"'":"div",c+=" class='"+f.join(" ")+"'"+" style='position:absolute;z-index:8;top:"+b.top+"px;left:"+b.left+"px;"+e+"'"+">"+"<div class='fc-event-inner'>"+"<div class='fc-event-time'>"+U(hb(a.start,a.end,s("timeFormat")))+"</div>"+"<div class='fc-event-title'>"+U(a.title)+"</div>"+"</div>"+"<div class='fc-event-bg'></div>",b.isEnd&&v(a)&&(c+="<div class='ui-resizable-handle ui-resizable-s'>=</div>"),c+="</"+(d?"a":"div")+">"}function l(a,b,c){u(a)&&o(a,b,c.isStart),c.isEnd&&v(a)&&R(a,b,c),A(a,b)}function n(a,b,c){var d=b.find("div.fc-event-time");u(a)&&p(a,b,d),c.isEnd&&v(a)&&q(a,b,d),A(a,b)}function o(a,b,c){function d(){h||(b.width(e).height("").draggable("option","grid",null),h=!0)}var e,f,g,h=!0,j=s("isRTL")?-1:1,k=J(),l=T(),n=W(),o=X(),p=M();b.draggable({zIndex:9,opacity:s("dragOpacity","month"),revertDuration:s("dragRevertDuration"),start:function(p,q){t("eventDragStart",b,a,p,q),ab(a,b),e=b.width(),k.start(function(e,k,p,q){eb(),e?(f=!1,g=q*j,e.row?c?h&&(b.width(l-10),F(b,n*Math.round((a.end?(a.end-a.start)/Bb:s("defaultEventMinutes"))/o)),b.draggable("option","grid",[l,1]),h=!1):f=!0:(db(i(m(a.start),g),i(x(a),g)),d()),f=f||h&&!g):(d(),f=!0),b.draggable("option","revert",f)},p,"drag")},stop:function(c,e){if(k.stop(),eb(),t("eventDragStop",b,a,c,e),f)d(),b.css("filter",""),_(a,b);else{var i=0;h||(i=Math.round((b.offset().top-Y().offset().top)/n)*o+p-(60*a.start.getHours()+a.start.getMinutes())),bb(this,a,g,i,h,c,e)}}})}function p(a,b,c){function d(b){var d,e=k(m(a.start),b);a.end&&(d=k(m(a.end),b)),c.text(hb(e,d,s("timeFormat")))}function e(){l&&(c.css("display",""),b.draggable("option","grid",[q,r]),l=!1)}var f,g,h,j,l=!1,n=s("isRTL")?-1:1,o=J(),p=S(),q=T(),r=W(),u=X();b.draggable({zIndex:9,scroll:!1,grid:[q,r],axis:1==p?"y":!1,opacity:s("dragOpacity"),revertDuration:s("dragRevertDuration"),start:function(d,k){t("eventDragStart",b,a,d,k),ab(a,b),f=b.position(),h=j=0,o.start(function(d,f,h,j){b.draggable("option","revert",!d),eb(),d&&(g=j*n,s("allDaySlot")&&!d.row?(l||(l=!0,c.hide(),b.draggable("option","grid",null)),db(i(m(a.start),g),i(x(a),g))):e())},d,"drag")},drag:function(a,b){h=Math.round((b.position.top-f.top)/r)*u,h!=j&&(l||d(h),j=h)},stop:function(c,i){var j=o.stop();eb(),t("eventDragStop",b,a,c,i),j&&(g||h||l)?bb(this,a,g,l?0:h,l,c,i):(e(),b.css("filter",""),b.css(f),d(0),_(a,b))}})}function q(a,b,c){var d,e,f=W(),g=X();b.resizable({handles:{s:".ui-resizable-handle"},grid:f,start:function(c,f){d=e=0,ab(a,b),b.css("z-index",9),t("eventResizeStart",this,a,c,f)},resize:function(h,i){d=Math.round((Math.max(f,b.height())-i.originalSize.height)/f),d!=e&&(c.text(hb(a.start,d||a.end?k(w(a),g*d):null,s("timeFormat"))),e=d)},stop:function(c,e){t("eventResizeStop",this,a,c,e),d?cb(this,a,0,g*d,c,e):(b.css("z-index",8),_(a,b))}})}var r=this;r.renderEvents=c,r.compileDaySegs=e,r.clearEvents=d,r.slotSegHtml=j,r.bindDaySeg=l,lb.call(r);var s=r.opt,t=r.trigger,u=r.isEventDraggable,v=r.isEventResizable,w=r.eventEnd,y=r.reportEvents,z=r.reportEventClear,A=r.eventElementHandlers,E=r.setHeight,H=r.getDaySegmentContainer,I=r.getSlotSegmentContainer,J=r.getHoverListener,L=r.getMaxMinute,M=r.getMinMinute,N=r.timePosition,O=r.colContentLeft,P=r.colContentRight,Q=r.renderDaySegs,R=r.resizableDayEvent,S=r.getColCnt,T=r.getColWidth,W=r.getSnapHeight,X=r.getSnapMinutes,Y=r.getBodyContent,$=r.reportEventElement,_=r.showEvents,ab=r.hideEvents,bb=r.eventDrop,cb=r.eventResize,db=r.renderDayOverlay,eb=r.clearOverlays,fb=r.calendar,gb=fb.formatDate,hb=fb.formatDates}function jb(a){var b,c,d,e,f,g;for(b=a.length-1;b>0;b--)for(e=a[b],c=0;c<e.length;c++)for(f=e[c],d=0;d<a[b-1].length;d++)g=a[b-1][d],A(f,g)&&(g.forward=Math.max(g.forward||0,(f.forward||0)+1))}function kb(a,c,d){function e(a,b){var c=F[a];return"object"==typeof c?T(c,b||d):c}function f(a,b){return c.trigger.apply(c,[a,b||y].concat(Array.prototype.slice.call(arguments,2),[y]))}function g(a){return j(a)&&!e("disableDragging")}function h(a){return j(a)&&!e("disableResizing")}function j(a){return _(a.editable,(a.source||{}).editable,e("editable"))}function l(a){C={};var b,c,d=a.length;for(b=0;d>b;b++)c=a[b],C[c._id]?C[c._id].push(c):C[c._id]=[c]}function n(a){return a.end?m(a.end):z(a)}function o(a,b){D.push(b),E[a._id]?E[a._id].push(b):E[a._id]=[b]}function p(){D=[],E={}}function q(a,b){b.click(function(c){return b.hasClass("ui-draggable-dragging")||b.hasClass("ui-resizable-resizing")?void 0:f("eventClick",this,a,c)}).hover(function(b){f("eventMouseover",this,a,b)},function(b){f("eventMouseout",this,a,b)})}function r(a,b){t(a,b,"show")}function s(a,b){t(a,b,"hide")}function t(a,b,c){var d,e=E[a._id],f=e.length;for(d=0;f>d;d++)b&&e[d][0]==b[0]||e[d][c]()}function u(a,b,c,d,e,g,h){var i=b.allDay,j=b._id;w(C[j],c,d,e),f("eventDrop",a,b,c,d,e,function(){w(C[j],-c,-d,i),B(j)},g,h),B(j)}function v(a,b,c,d,e,g){var h=b._id;x(C[h],c,d),f("eventResize",a,b,c,d,function(){x(C[h],-c,-d),B(h)},e,g),B(h)}function w(a,c,d,e){d=d||0;for(var f,g=a.length,h=0;g>h;h++)f=a[h],e!==b&&(f.allDay=e),k(i(f.start,c,!0),d),f.end&&(f.end=k(i(f.end,c,!0),d)),A(f,F)}function x(a,b,c){c=c||0;for(var d,e=a.length,f=0;e>f;f++)d=a[f],d.end=k(i(n(d),b,!0),c),A(d,F)}var y=this;y.element=a,y.calendar=c,y.name=d,y.opt=e,y.trigger=f,y.isEventDraggable=g,y.isEventResizable=h,y.reportEvents=l,y.eventEnd=n,y.reportEventElement=o,y.reportEventClear=p,y.eventElementHandlers=q,y.showEvents=r,y.hideEvents=s,y.eventDrop=u,y.eventResize=v;var z=y.defaultEventEnd,A=c.normalizeEvent,B=c.reportEventChange,C={},D=[],E={},F=c.options}function lb(){function c(a,b){var c,d,i,m,q,r,s,t,u=N(),v=B(),w=C(),x=0,y=a.length;for(u[0].innerHTML=e(a),f(a,u.children()),g(a),h(a,u,b),j(a),k(a),l(a),c=n(),d=0;v>d;d++){for(i=0,m=[],q=0;w>q;q++)m[q]=0;for(;y>x&&(r=a[x]).row==d;){for(s=R(m.slice(r.startCol,r.endCol)),r.top=s,s+=r.outerHeight,t=r.startCol;t<r.endCol;t++)m[t]=s;x++}c[d].height(R(m))}p(a,o(c))}function d(b,c,d){var g,h,i,m=a("<div/>"),q=N(),r=b.length;for(m[0].innerHTML=e(b),g=m.children(),q.append(g),f(b,g),j(b),k(b),l(b),p(b,o(n())),g=[],h=0;r>h;h++)i=b[h].element,i&&(b[h].row===c&&i.css("top",d),g.push(i[0]));return a(g)}function e(a){var b,c,d,e,f,g,h,i,j,k,l=s("isRTL"),m=a.length,n=F(),o=n.left,p=n.right,q="";for(b=0;m>b;b++)c=a[b],d=c.event,f=["fc-event","fc-event-hori"],u(d)&&f.push("fc-event-draggable"),c.isStart&&f.push("fc-event-start"),c.isEnd&&f.push("fc-event-end"),l?(g=J(c.end.getDay()-1),h=J(c.start.getDay()),i=c.isEnd?H(g):o,j=c.isStart?I(h):p):(g=J(c.start.getDay()),h=J(c.end.getDay()-1),i=c.isStart?H(g):o,j=c.isEnd?I(h):p),f=f.concat(d.className),d.source&&(f=f.concat(d.source.className||[])),e=d.url,k=Z(d,s),q+=e?"<a href='"+U(e)+"'":"<div",q+=" class='"+f.join(" ")+"'"+" style='position:absolute;z-index:8;left:"+i+"px;"+k+"'"+">"+"<div class='fc-event-inner'>",!d.allDay&&c.isStart&&(q+="<span class='fc-event-time'>"+U(P(d.start,d.end,s("timeFormat")))+"</span>"),q+="<span class='fc-event-title'>"+U(d.title)+"</span>"+"</div>",c.isEnd&&v(d)&&(q+="<div class='ui-resizable-handle ui-resizable-"+(l?"w":"e")+"'>"+" "+"</div>"),q+="</"+(e?"a":"div")+">",c.left=i,c.outerWidth=j-i,c.startCol=g,c.endCol=h+1;return q}function f(b,c){var d,e,f,g,h,i=b.length;for(d=0;i>d;d++)e=b[d],f=e.event,g=a(c[d]),h=t("eventRender",f,f,g,r),h===!1?g.remove():(h&&h!==!0&&(h=a(h).css({position:"absolute",left:e.left}),g.replaceWith(h),g=h),e.element=g)}function g(a){var b,c,d,e=a.length;for(b=0;e>b;b++)c=a[b],d=c.element,d&&x(c.event,d)}function h(a,b,c){var d,e,f,g,h=a.length;for(d=0;h>d;d++)e=a[d],f=e.element,f&&(g=e.event,g._id===c?O(g,f,e):f[0]._fci=d);D(b,a,O)}function j(a){var c,d,e,f,g,h=a.length,i={};for(c=0;h>c;c++)d=a[c],e=d.element,e&&(f=d.key=V(e[0]),g=i[f],g===b&&(g=i[f]=G(e,!0)),d.hsides=g)}function k(a){var b,c,d,e=a.length;for(b=0;e>b;b++)c=a[b],d=c.element,d&&(d[0].style.width=Math.max(0,c.outerWidth-c.hsides)+"px")}function l(a){var c,d,e,f,g,h=a.length,i={};for(c=0;h>c;c++)d=a[c],e=d.element,e&&(f=d.key,g=i[f],g===b&&(g=i[f]=M(e)),d.outerHeight=e[0].offsetHeight+g)}function n(){var a,b=B(),c=[];for(a=0;b>a;a++)c[a]=E(a).find("div.fc-day-content > div");return c}function o(a){var b,c=a.length,d=[];for(b=0;c>b;b++)d[b]=a[b][0].offsetTop;return d}function p(a,b){var c,d,e,f,g=a.length;for(c=0;g>c;c++)d=a[c],e=d.element,e&&(e[0].style.top=b[d.row]+(d.top||0)+"px",f=d.event,t("eventAfterRender",f,f,e))}function q(b,c,e){var f=s("isRTL"),g=f?"w":"e",h=c.find(".ui-resizable-"+g),j=!1;W(c),c.mousedown(function(a){a.preventDefault()}).click(function(a){j&&(a.preventDefault(),a.stopImmediatePropagation())}),h.mousedown(function(h){function k(c){t("eventResizeStop",this,b,c),a("body").css("cursor",""),o.stop(),S(),l&&A(this,b,l,0,c),setTimeout(function(){j=!1},0)}if(1==h.which){j=!0;var l,n,o=r.getHoverListener(),p=B(),q=C(),s=f?-1:1,u=f?q-1:0,v=c.css("top"),x=a.extend({},b),D=K(b.start);T(),a("body").css("cursor",g+"-resize").one("mouseup",k),t("eventResizeStart",this,b,h),o.start(function(a,c){if(a){var h=Math.max(D.row,a.row),j=a.col;1==p&&(h=0),h==D.row&&(j=f?Math.min(D.col,j):Math.max(D.col,j)),l=7*h+j*s+u-(7*c.row+c.col*s+u);var k=i(w(b),l,!0);if(l){x.end=k;var o=n;n=d(L([x]),e.row,v),n.find("*").css("cursor",g+"-resize"),o&&o.remove(),z(b)}else n&&(y(b),n.remove(),n=null);S(),Q(b.start,i(m(k),1))}},h)}})}var r=this;r.renderDaySegs=c,r.resizableDayEvent=q;var s=r.opt,t=r.trigger,u=r.isEventDraggable,v=r.isEventResizable,w=r.eventEnd,x=r.reportEventElement,y=r.showEvents,z=r.hideEvents,A=r.eventResize,B=r.getRowCnt,C=r.getColCnt;r.getColWidth;var E=r.allDayRow,F=r.allDayBounds,H=r.colContentLeft,I=r.colContentRight,J=r.dayOfWeekCol,K=r.dateCell,L=r.compileDaySegs,N=r.getDaySegmentContainer,O=r.bindDaySeg,P=r.calendar.formatDates,Q=r.renderDayOverlay,S=r.clearOverlays,T=r.clearSelection}function mb(){function b(a,b,e){c(),b||(b=i(a,e)),j(a,b,e),d(a,b,e)}function c(a){l&&(l=!1,k(),h("unselect",null,a))}function d(a,b,c,d){l=!0,h("select",null,a,b,c,d)}function e(b){var e=f.cellDate,h=f.cellIsAllDay,i=f.getHoverListener(),l=f.reportDayClick;if(1==b.which&&g("selectable")){c(b);var m;i.start(function(a,b){k(),a&&h(a)?(m=[e(b),e(a)].sort(Q),j(m[0],m[1],!0)):m=null},b),a(document).one("mouseup",function(a){i.stop(),m&&(+m[0]==+m[1]&&l(m[0],!0,a),d(m[0],m[1],!0,a))})}}var f=this;f.select=b,f.unselect=c,f.reportSelection=d,f.daySelectionMousedown=e;var g=f.opt,h=f.trigger,i=f.defaultSelectionEnd,j=f.renderSelection,k=f.clearSelection,l=!1;g("selectable")&&g("unselectAuto")&&a(document).mousedown(function(b){var d=g("unselectCancel");d&&a(b.target).parents(d).length||c(b)})}function nb(){function b(b,c){var d=f.shift();return d||(d=a("<div class='fc-cell-overlay' style='position:absolute;z-index:3'/>")),d[0].parentNode!=c[0]&&d.appendTo(c),e.push(d.css(b).show()),d}function c(){for(var a;a=e.shift();)f.push(a.hide().unbind())}var d=this;d.renderOverlay=b,d.clearOverlays=c;var e=[],f=[]}function ob(a){var b,c,d=this;d.build=function(){b=[],c=[],a(b,c)},d.cell=function(a,d){var e,f=b.length,g=c.length,h=-1,i=-1;for(e=0;f>e;e++)if(d>=b[e][0]&&d<b[e][1]){h=e;break}for(e=0;g>e;e++)if(a>=c[e][0]&&a<c[e][1]){i=e;break}return h>=0&&i>=0?{row:h,col:i}:null},d.rect=function(a,d,e,f,g){var h=g.offset();return{top:b[a][0]-h.top,left:c[d][0]-h.left,width:c[f][1]-c[d][0],height:b[e][1]-b[a][0]}}}function pb(b){function c(a){qb(a);var c=b.cell(a.pageX,a.pageY);(!c!=!g||c&&(c.row!=g.row||c.col!=g.col))&&(c?(f||(f=c),e(c,f,c.row-f.row,c.col-f.col)):e(c,f),g=c)}var d,e,f,g,h=this;h.start=function(h,i,j){e=h,f=g=null,b.build(),c(i),d=j||"mousemove",a(document).bind(d,c)},h.stop=function(){return a(document).unbind(d,c),g}}function qb(a){a.pageX===b&&(a.pageX=a.originalEvent.pageX,a.pageY=a.originalEvent.pageY)}function rb(a){function c(b){return e[b]=e[b]||a(b)}var d=this,e={},f={},g={};d.left=function(a){return f[a]=f[a]===b?c(a).position().left:f[a]},d.right=function(a){return g[a]=g[a]===b?d.left(a)+c(a).width():g[a]},d.clear=function(){e={},f={},g={}}}var sb={defaultView:"month",aspectRatio:1.35,header:{left:"title",center:"",right:"today prev,next"},weekends:!0,weekNumbers:!1,weekNumberCalculation:"iso",weekNumberTitle:"W",allDayDefault:!0,ignoreTimezone:!0,lazyFetching:!0,startParam:"start",endParam:"end",titleFormat:{month:"MMMM yyyy",week:"MMM d[ yyyy]{ '—'[ MMM] d yyyy}",day:"dddd, MMM d, yyyy"},columnFormat:{month:"ddd",week:"ddd M/d",day:"dddd M/d"},timeFormat:{"":"h(:mm)t"},isRTL:!1,firstDay:0,monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],buttonText:{prev:"<span class='fc-text-arrow'>‹</span>",next:"<span class='fc-text-arrow'>›</span>",prevYear:"<span class='fc-text-arrow'>«</span>",nextYear:"<span class='fc-text-arrow'>»</span>",today:"today",month:"month",week:"week",day:"day"},theme:!1,buttonIcons:{prev:"circle-triangle-w",next:"circle-triangle-e"},unselectAuto:!0,dropAccept:"*"},tb={header:{left:"next,prev today",center:"",right:"title"},buttonText:{prev:"<span class='fc-text-arrow'>›</span>",next:"<span class='fc-text-arrow'>‹</span>",prevYear:"<span class='fc-text-arrow'>»</span>",nextYear:"<span class='fc-text-arrow'>«</span>"},buttonIcons:{prev:"circle-triangle-e",next:"circle-triangle-w"}},ub=a.fullCalendar={version:"1.6.1"},vb=ub.views={};a.fn.fullCalendar=function(c){if("string"==typeof c){var e,f=Array.prototype.slice.call(arguments,1);return this.each(function(){var d=a.data(this,"fullCalendar");if(d&&a.isFunction(d[c])){var g=d[c].apply(d,f);e===b&&(e=g),"destroy"==c&&a.removeData(this,"fullCalendar")}}),e!==b?e:this}var g=c.eventSources||[];return delete c.eventSources,c.events&&(g.push(c.events),delete c.events),c=a.extend(!0,{},sb,c.isRTL||c.isRTL===b&&sb.isRTL?tb:{},c),this.each(function(b,e){var f=a(e),h=new d(f,c,g);f.data("fullCalendar",h),h.render()}),this},ub.sourceNormalizers=[],ub.sourceFetchers=[];var wb={dataType:"json",cache:!1},xb=1;ub.addDays=i,ub.cloneDate=m,ub.parseDate=r,ub.parseISO8601=s,ub.parseTime=t,ub.formatDate=u,ub.formatDates=v;var yb=["sun","mon","tue","wed","thu","fri","sat"],zb=864e5,Ab=36e5,Bb=6e4,Cb={s:function(a){return a.getSeconds()},ss:function(a){return S(a.getSeconds())},m:function(a){return a.getMinutes()},mm:function(a){return S(a.getMinutes())},h:function(a){return a.getHours()%12||12},hh:function(a){return S(a.getHours()%12||12)},H:function(a){return a.getHours()},HH:function(a){return S(a.getHours())},d:function(a){return a.getDate()},dd:function(a){return S(a.getDate())},ddd:function(a,b){return b.dayNamesShort[a.getDay()]},dddd:function(a,b){return b.dayNames[a.getDay()]},M:function(a){return a.getMonth()+1},MM:function(a){return S(a.getMonth()+1)},MMM:function(a,b){return b.monthNamesShort[a.getMonth()]},MMMM:function(a,b){return b.monthNames[a.getMonth()]},yy:function(a){return(a.getFullYear()+"").substring(2)},yyyy:function(a){return a.getFullYear()},t:function(a){return a.getHours()<12?"a":"p"},tt:function(a){return a.getHours()<12?"am":"pm"},T:function(a){return a.getHours()<12?"A":"P"},TT:function(a){return a.getHours()<12?"AM":"PM"},u:function(a){return u(a,"yyyy-MM-dd'T'HH:mm:ss'Z'")},S:function(a){var b=a.getDate();return b>10&&20>b?"th":["st","nd","rd"][b%10-1]||"th"},w:function(a,b){return b.weekNumberCalculation(a)},W:function(a){return w(a)}};ub.dateFormatters=Cb,ub.applyAll=$,vb.month=ab,vb.basicWeek=bb,vb.basicDay=cb,c({weekMode:"fixed"}),vb.agendaWeek=fb,vb.agendaDay=gb,c({allDaySlot:!0,allDayText:"all-day",firstHour:6,slotMinutes:30,defaultEventMinutes:120,axisFormat:"h(:mm)tt",timeFormat:{agenda:"h:mm{ - h:mm}"},dragOpacity:{agenda:.5},minTime:0,maxTime:24})}(jQuery);
|
1 |
+
/*! event-organiser 2.4.1 2013-11-13 22:37 */
|
2 |
!function(a,b){function c(b){a.extend(!0,sb,b)}function d(c,d,j){function k(a){$?(y(),x(),G(),t(a)):l()}function l(){_=d.theme?"ui":"fc",c.addClass("fc"),d.isRTL?c.addClass("fc-rtl"):c.addClass("fc-ltr"),d.theme&&c.addClass("ui-widget"),$=a("<div class='fc-content' style='position:relative'/>").prependTo(c),Y=new e(X,d),Z=Y.render(),Z&&c.prepend(Z),s(d.defaultView),a(window).resize(A),r()||n()}function n(){setTimeout(function(){!ab.start&&r()&&t()},0)}function o(){a(window).unbind("resize",A),Y.destroy(),$.remove(),c.removeClass("fc fc-rtl ui-widget")}function p(){return 0!==hb.offsetWidth}function r(){return 0!==a("body")[0].offsetWidth}function s(b){if(!ab||b!=ab.name){kb++,I();var c,d=ab;d?((d.beforeHide||P)(),O($,$.height()),d.element.hide()):O($,1),$.css("overflow","hidden"),ab=ib[b],ab?ab.element.show():ab=ib[b]=new vb[b](c=db=a("<div class='fc-view fc-view-"+b+"' style='position:absolute'/>").appendTo($),X),d&&Y.deactivateButton(d.name),Y.activateButton(b),t(),$.css("overflow",""),d&&O($,1),c||(ab.afterShow||P)(),kb--}}function t(a){if(p()){kb++,I(),cb===b&&y();var d=!1;!ab.start||a||lb<ab.start||lb>=ab.end?(ab.render(lb,a||0),z(!0),d=!0):ab.sizeDirty?(ab.clearEvents(),z(),d=!0):ab.eventsDirty&&(ab.clearEvents(),d=!0),ab.sizeDirty=!1,ab.eventsDirty=!1,B(d),bb=c.outerWidth(),Y.updateTitle(ab.title);var e=new Date;e>=ab.start&&e<ab.end?Y.disableButton("today"):Y.enableButton("today"),kb--,ab.trigger("viewDisplay",hb)}}function w(){x(),p()&&(y(),z(),I(),ab.clearEvents(),ab.renderEvents(mb),ab.sizeDirty=!1)}function x(){a.each(ib,function(a,b){b.sizeDirty=!0})}function y(){cb=d.contentHeight?d.contentHeight:d.height?d.height-(Z?Z.height():0)-K($):Math.round($.width()/Math.max(d.aspectRatio,.5))}function z(a){kb++,ab.setHeight(cb,a),db&&(db.css("position","relative"),db=null),ab.setWidth($.width(),a),kb--}function A(){if(!kb)if(ab.start){var a=++jb;setTimeout(function(){a==jb&&!kb&&p()&&bb!=(bb=c.outerWidth())&&(kb++,w(),ab.trigger("windowResize",hb),kb--)},200)}else n()}function B(a){!d.lazyFetching||fb(ab.visStart,ab.visEnd)?C():a&&F()}function C(){gb(ab.visStart,ab.visEnd,d)}function D(a){mb=a,F()}function E(a){F(a)}function F(a){G(),p()&&(ab.clearEvents(),ab.renderEvents(mb,a),ab.eventsDirty=!1)}function G(){a.each(ib,function(a,b){b.eventsDirty=!0})}function H(a,c,d){ab.select(a,c,d===b?!0:d)}function I(){ab&&ab.unselect()}function J(){t(-1)}function L(){t(1)}function M(){g(lb,-1),t()}function N(){g(lb,1),t()}function Q(){lb=new Date,t()}function R(a,b,c){a instanceof Date?lb=m(a):q(lb,a,b,c),t()}function S(a,c,d){a!==b&&g(lb,a),c!==b&&h(lb,c),d!==b&&i(lb,d),t()}function T(){return m(lb)}function U(){return ab}function V(a,c){return c===b?d[a]:("height"==a||"contentHeight"==a||"aspectRatio"==a?(d[a]=c,w()):(d[a]=c,F()),void 0)}function W(a,b){return d[a]?d[a].apply(b||hb,Array.prototype.slice.call(arguments,2)):void 0}var X=this;X.options=d,X.render=k,X.destroy=o,X.refetchEvents=C,X.reportEvents=D,X.reportEventChange=E,X.rerenderEvents=F,X.changeView=s,X.select=H,X.unselect=I,X.prev=J,X.next=L,X.prevYear=M,X.nextYear=N,X.today=Q,X.gotoDate=R,X.incrementDate=S,X.formatDate=function(a,b){return u(a,b,d)},X.formatDates=function(a,b,c){return v(a,b,c,d)},X.getDate=T,X.getView=U,X.option=V,X.trigger=W,f.call(X,d,j);var Y,Z,$,_,ab,bb,cb,db,eb,fb=X.isFetchNeeded,gb=X.fetchEvents,hb=c[0],ib={},jb=0,kb=0,lb=new Date,mb=[];q(lb,d.year,d.month,d.date),d.droppable&&a(document).bind("dragstart",function(b,c){var e=b.target,f=a(e);if(!f.parents(".fc").length){var g=d.dropAccept;(a.isFunction(g)?g.call(e,f):f.is(g))&&(eb=e,ab.dragStart(eb,b,c))}}).bind("dragstop",function(a,b){eb&&(ab.dragStop(eb,a,b),eb=null)})}function e(b,c){function d(){m=c.theme?"ui":"fc";var b=c.header;return b?n=a("<table class='fc-header' style='width:100%'/>").append(a("<tr/>").append(f("left")).append(f("center")).append(f("right"))):void 0}function e(){n.remove()}function f(d){var e=a("<td class='fc-header-"+d+"'/>"),f=c.header[d];return f&&a.each(f.split(" "),function(d){d>0&&e.append("<span class='fc-header-space'/>");var f;a.each(this.split(","),function(d,g){if("title"==g)e.append("<span class='fc-header-title'><h2> </h2></span>"),f&&f.addClass(m+"-corner-right"),f=null;else if(a.isFunction(c.customButtons[g])){var h=c.customButtons[g](c);e.append(h)}else{var i;if(b[g]?i=b[g]:vb[g]&&(i=function(){l.removeClass(m+"-state-hover"),b.changeView(g)}),i){var j=c.theme?T(c.buttonIcons,g):null,k=T(c.buttonText,g);if(c.buttonui){var l=a("<span class='fc-button fc-button-"+g+" "+m+"-state-default'>"+k+"</span>");l.button()}else var l=a("<span class='fc-button fc-button-"+g+" "+m+"-state-default'>"+"<span class='fc-button-inner'>"+"<span class='fc-button-content'>"+(j?"<span class='fc-icon-wrap'><span class='ui-icon ui-icon-"+j+"'/>"+"</span>":k)+"</span>"+"<span class='fc-button-effect'><span></span></span>"+"</span>"+"</span>");l&&(l.click(function(){l.hasClass(m+"-state-disabled")||i()}).mousedown(function(){l.not("."+m+"-state-active").not("."+m+"-state-disabled").addClass(m+"-state-hover")},function(){l.removeClass(m+"-state-hover").removeClass(m+"-state-down")}).appendTo(e),W(l),f||l.addClass(m+"-corner-left"),f=l)}}}),f&&f.addClass(m+"-corner-right")}),e}function g(a){n.find("h2").html(a)}function h(a){n.find("span.fc-button-"+a).addClass(m+"-state-active")}function i(a){n.find("span.fc-button-"+a).removeClass(m+"-state-active")}function j(a){n.find("span.fc-button-"+a).addClass(m+"-state-disabled")}function k(a){n.find("span.fc-button-"+a).removeClass(m+"-state-disabled")}var l=this;l.render=d,l.destroy=e,l.updateTitle=g,l.activateButton=h,l.deactivateButton=i,l.disableButton=j,l.enableButton=k;var m,n=a([])}function f(c,d){function e(a,b){return!y||y>a||b>z}function f(a,b,c){y=a,z=b,I=[];var d=++F,e=E.length;G=e;for(var f=0;e>f;f++)g(E[f],d,c)}function g(b,c,d){h(b,function(e){if(c==F){if(e){d.eventDataTransform&&(e=a.map(e,d.eventDataTransform)),b.eventDataTransform&&(e=a.map(e,b.eventDataTransform));for(var f=0;f<e.length;f++)e[f].source=b,t(e[f]);I=I.concat(e)}G--,G||C(I)}},d)}function h(b,d){var e,f,g=ub.sourceFetchers;for(e=0;e<g.length;e++){if(f=g[e](b,y,z,d),f===!0)return;if("object"==typeof f)return h(f,d,c),void 0}var i=b.events;if(i)a.isFunction(i)?(q(),i(m(y),m(z),function(a){d(a),s()},c)):a.isArray(i)?d(i):d();else{var j=b.url;if(j){var k=b.success,l=b.error,n=b.complete,o=a.extend({},b.data||{}),p=_(b.startParam,c.startParam),r=_(b.endParam,c.endParam);p&&(o[p]=Math.round(+y/1e3)),r&&(o[r]=Math.round(+z/1e3)),q(),a.ajax(a.extend({},wb,b,{data:o,success:function(b){b=b||[];var c=$(k,this,arguments);a.isArray(c)&&(b=c),d(b)},error:function(){$(l,this,arguments),d()},complete:function(){$(n,this,arguments),s()}}))}else d()}}function i(a){a=j(a),a&&(G++,g(a,F))}function j(b){return a.isFunction(b)||a.isArray(b)?b={events:b}:"string"==typeof b&&(b={url:b}),"object"==typeof b?(u(b),E.push(b),b):void 0}function k(b){E=a.grep(E,function(a){return!v(a,b)}),I=a.grep(I,function(a){return!v(a.source,b)}),C(I)}function l(a){var b,c,d=I.length,e=B().defaultEventEnd,f=a.start-a._start,g=a.end?a.end-(a._end||e(a)):0;for(b=0;d>b;b++)c=I[b],c._id==a._id&&c!=a&&(c.start=new Date(+c.start+f),c.end=a.end?c.end?new Date(+c.end+g):new Date(+e(c)+g):null,c.title=a.title,c.url=a.url,c.allDay=a.allDay,c.className=a.className,c.editable=a.editable,c.color=a.color,c.backgroundColor=a.backgroundColor,c.borderColor=a.borderColor,c.textColor=a.textColor,t(c));t(a),C(I)}function n(a,b){t(a),a.source||(b&&(D.events.push(a),a.source=D),I.push(a)),C(I)}function o(b){if(b){if(!a.isFunction(b)){var c=b+"";b=function(a){return a._id==c}}I=a.grep(I,b,!0);for(var d=0;d<E.length;d++)a.isArray(E[d].events)&&(E[d].events=a.grep(E[d].events,b,!0))}else{I=[];for(var d=0;d<E.length;d++)a.isArray(E[d].events)&&(E[d].events=[])}C(I)}function p(b){return a.isFunction(b)?a.grep(I,b):b?(b+="",a.grep(I,function(a){return a._id==b})):I}function q(){H++||A("loading",null,!0)}function s(){--H||A("loading",null,!1)}function t(a){var d=a.source||{},e=_(d.ignoreTimezone,c.ignoreTimezone);a._id=a._id||(a.id===b?"_fc"+xb++:a.id+""),a.date&&(a.start||(a.start=a.date),delete a.date),a._start=m(a.start=r(a.start,e)),a.end=r(a.end,e),a.end&&a.end<=a.start&&(a.end=null),a._end=a.end?m(a.end):null,a.allDay===b&&(a.allDay=_(d.allDayDefault,c.allDayDefault)),a.className?"string"==typeof a.className&&(a.className=a.className.split(/\s+/)):a.className=[]}function u(a){a.className?"string"==typeof a.className&&(a.className=a.className.split(/\s+/)):a.className=[];for(var b=ub.sourceNormalizers,c=0;c<b.length;c++)b[c](a)}function v(a,b){return a&&b&&w(a)==w(b)}function w(a){return("object"==typeof a?a.events||a.url:"")||a}var x=this;x.isFetchNeeded=e,x.fetchEvents=f,x.addEventSource=i,x.removeEventSource=k,x.updateEvent=l,x.renderEvent=n,x.removeEvents=o,x.clientEvents=p,x.normalizeEvent=t;for(var y,z,A=x.trigger,B=x.getView,C=x.reportEvents,D={events:[]},E=[D],F=0,G=0,H=0,I=[],J=0;J<d.length;J++)j(d[J])}function g(a,b,c){return a.setFullYear(a.getFullYear()+b),c||l(a),a}function h(a,b,c){if(+a){var d=a.getMonth()+b,e=m(a);for(e.setDate(1),e.setMonth(d),a.setMonth(d),c||l(a);a.getMonth()!=e.getMonth();)a.setDate(a.getDate()+(e>a?1:-1))}return a}function i(a,b,c){if(+a){var d=a.getDate()+b,e=m(a);e.setHours(9),e.setDate(d),a.setDate(d),c||l(a),j(a,e)}return a}function j(a,b){if(+a)for(;a.getDate()!=b.getDate();)a.setTime(+a+(b>a?1:-1)*Ab)}function k(a,b){return a.setMinutes(a.getMinutes()+b),a}function l(a){return a.setHours(0),a.setMinutes(0),a.setSeconds(0),a.setMilliseconds(0),a}function m(a,b){return b?l(new Date(+a)):new Date(+a)}function n(){var a,b=0;do a=new Date(1970,b++,1);while(a.getHours());return a}function o(a,b,c){for(b=b||1;!a.getDay()||c&&1==a.getDay()||!c&&6==a.getDay();)i(a,b);return a}function p(a,b){return Math.round((m(a,!0)-m(b,!0))/zb)}function q(a,c,d,e){c!==b&&c!=a.getFullYear()&&(a.setDate(1),a.setMonth(0),a.setFullYear(c)),d!==b&&d!=a.getMonth()&&(a.setDate(1),a.setMonth(d)),e!==b&&a.setDate(e)}function r(a,c){return"object"==typeof a?a:"number"==typeof a?new Date(1e3*a):"string"==typeof a?a.match(/^\d+(\.\d+)?$/)?new Date(1e3*parseFloat(a)):(c===b&&(c=!0),s(a,c)||(a?new Date(a):null)):null}function s(a,b){var c=a.match(/^([0-9]{4})(-([0-9]{2})(-([0-9]{2})([T ]([0-9]{2}):([0-9]{2})(:([0-9]{2})(\.([0-9]+))?)?(Z|(([-+])([0-9]{2})(:?([0-9]{2}))?))?)?)?)?$/);if(!c)return null;var d=new Date(c[1],0,1);if(b||!c[13]){var e=new Date(c[1],0,1,9,0);c[3]&&(d.setMonth(c[3]-1),e.setMonth(c[3]-1)),c[5]&&(d.setDate(c[5]),e.setDate(c[5])),j(d,e),c[7]&&d.setHours(c[7]),c[8]&&d.setMinutes(c[8]),c[10]&&d.setSeconds(c[10]),c[12]&&d.setMilliseconds(1e3*Number("0."+c[12])),j(d,e)}else if(d.setUTCFullYear(c[1],c[3]?c[3]-1:0,c[5]||1),d.setUTCHours(c[7]||0,c[8]||0,c[10]||0,c[12]?1e3*Number("0."+c[12]):0),c[14]){var f=60*Number(c[16])+(c[18]?Number(c[18]):0);f*="-"==c[15]?1:-1,d=new Date(+d+1e3*60*f)}return d}function t(a){if("number"==typeof a)return 60*a;if("object"==typeof a)return 60*a.getHours()+a.getMinutes();var b=a.match(/(\d+)(?::(\d+))?\s*(\w+)?/);if(b){var c=parseInt(b[1],10);return b[3]&&(c%=12,"p"==b[3].toLowerCase().charAt(0)&&(c+=12)),60*c+(b[2]?parseInt(b[2],10):0)}}function u(a,b,c){return v(a,null,b,c)}function v(a,b,c,d){d=d||sb;var e,f,g,h,i=a,j=b,k=c.length,l="";for(e=0;k>e;e++)if(f=c.charAt(e),"'"==f){for(g=e+1;k>g;g++)if("'"==c.charAt(g)){i&&(l+=g==e+1?"'":c.substring(e+1,g),e=g);break}}else if("("==f){for(g=e+1;k>g;g++)if(")"==c.charAt(g)){var m=u(i,c.substring(e+1,g),d);parseInt(m.replace(/\D/,""),10)&&(l+=m),e=g;break}}else if("["==f){for(g=e+1;k>g;g++)if("]"==c.charAt(g)){var n=c.substring(e+1,g),m=u(i,n,d);m!=u(j,n,d)&&(l+=m),e=g;break}}else if("{"==f)i=b,j=a;else if("}"==f)i=a,j=b;else{for(g=k;g>e;g--)if(h=Cb[c.substring(e,g)]){i&&(l+=h(i,d)),e=g-1;break}g==e&&i&&(l+=f)}return l}function w(a){var b,c=new Date(a.getTime());return c.setDate(c.getDate()+4-(c.getDay()||7)),b=c.getTime(),c.setMonth(0),c.setDate(1),Math.floor(Math.round((b-c)/864e5)/7)+1}function x(a){return a.end?y(a.end,a.allDay):i(m(a.start),1)}function y(a,b){return a=m(a),b||a.getHours()||a.getMinutes()?i(a,1):l(a)}function z(a,b){return 100*(b.msLength-a.msLength)+(a.event.start-b.event.start)}function A(a,b){return a.end>b.start&&a.start<b.end}function B(a,b,c,d){var e,f,g,h,i,j,k,l,n=[],o=a.length;for(e=0;o>e;e++)f=a[e],g=f.start,h=b[e],h>c&&d>g&&(c>g?(i=m(c),k=!1):(i=g,k=!0),h>d?(j=m(d),l=!1):(j=h,l=!0),n.push({event:f,start:i,end:j,isStart:k,isEnd:l,msLength:j-i}));return n.sort(z)}function C(a){var b,c,d,e,f,g=[],h=a.length;for(b=0;h>b;b++){for(c=a[b],d=0;;){if(e=!1,g[d])for(f=0;f<g[d].length;f++)if(A(g[d][f],c)){e=!0;break}if(!e)break;d++}g[d]?g[d].push(c):g[d]=[c]}return g}function D(c,d,e){c.unbind("mouseover").mouseover(function(c){for(var f,g,h,i=c.target;i!=this;)f=i,i=i.parentNode;(g=f._fci)!==b&&(f._fci=b,h=d[g],e(h.event,h.element,h),a(c.target).trigger(c)),c.stopPropagation()})}function E(b,c,d){for(var e,f=0;f<b.length;f++)e=a(b[f]),e.width(Math.max(0,c-G(e,d)))}function F(b,c,d){for(var e,f=0;f<b.length;f++)e=a(b[f]),e.height(Math.max(0,c-K(e,d)))}function G(a,b){return H(a)+J(a)+(b?I(a):0)}function H(b){return(parseFloat(a.css(b[0],"paddingLeft",!0))||0)+(parseFloat(a.css(b[0],"paddingRight",!0))||0)}function I(b){return(parseFloat(a.css(b[0],"marginLeft",!0))||0)+(parseFloat(a.css(b[0],"marginRight",!0))||0)}function J(b){return(parseFloat(a.css(b[0],"borderLeftWidth",!0))||0)+(parseFloat(a.css(b[0],"borderRightWidth",!0))||0)}function K(a,b){return L(a)+N(a)+(b?M(a):0)}function L(b){return(parseFloat(a.css(b[0],"paddingTop",!0))||0)+(parseFloat(a.css(b[0],"paddingBottom",!0))||0)}function M(b){return(parseFloat(a.css(b[0],"marginTop",!0))||0)+(parseFloat(a.css(b[0],"marginBottom",!0))||0)}function N(b){return(parseFloat(a.css(b[0],"borderTopWidth",!0))||0)+(parseFloat(a.css(b[0],"borderBottomWidth",!0))||0)}function O(a,b){b="number"==typeof b?b+"px":b,a.each(function(a,c){c.style.cssText+=";min-height:"+b+";_height:"+b})}function P(){}function Q(a,b){return a-b}function R(a){return Math.max.apply(Math,a)}function S(a){return(10>a?"0":"")+a}function T(a,c){if(a[c]!==b)return a[c];for(var d,e=c.split(/(?=[A-Z])/),f=e.length-1;f>=0;f--)if(d=a[e[f].toLowerCase()],d!==b)return d;return a[""]}function U(a){return a.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/'/g,"'").replace(/"/g,""").replace(/\n/g,"<br />")}function V(a){return a.id+"/"+a.className+"/"+a.style.cssText.replace(/(^|;)\s*(top|left|width|height)\s*:[^;]*/gi,"")}function W(a){a.attr("unselectable","on").css("MozUserSelect","none").bind("selectstart.ui",function(){return!1})}function X(a){a.children().removeClass("fc-first fc-last").filter(":first-child").addClass("fc-first").end().filter(":last-child").addClass("fc-last")}function Y(a,b){a.each(function(a,c){c.className=c.className.replace(/^fc-\w*/,"fc-"+yb[b.getDay()])})}function Z(a,b){var c=a.source||{},d=a.color,e=c.color,f=b("eventColor"),g=a.backgroundColor||d||c.backgroundColor||e||b("eventBackgroundColor")||f,h=a.borderColor||d||c.borderColor||e||b("eventBorderColor")||f,i=a.textColor||c.textColor||b("eventTextColor"),j=[];return g&&j.push("background-color:"+g),h&&j.push("border-color:"+h),i&&j.push("color:"+i),j.join(";")}function $(b,c,d){if(a.isFunction(b)&&(b=[b]),b){var e,f;for(e=0;e<b.length;e++)f=b[e].apply(c,d)||f;return f}}function _(){for(var a=0;a<arguments.length;a++)if(arguments[a]!==b)return arguments[a]}function ab(a,b){function c(a,b){b&&(h(a,b),a.setDate(1));var c=m(a,!0);c.setDate(1);var j=h(m(c),1),k=m(c),l=m(j),n=e("firstDay"),p=e("weekends")?0:1;p&&(o(k),o(l,-1,!0)),i(k,-((k.getDay()-Math.max(n,p)+7)%7)),i(l,(7-l.getDay()+Math.max(n,p))%7);var q=Math.round((l-k)/(7*zb));"fixed"==e("weekMode")&&(i(l,7*(6-q)),q=6),d.title=g(c,e("titleFormat")),d.start=c,d.end=j,d.visStart=k,d.visEnd=l,f(q,p?5:7,!0)}var d=this;d.render=c,db.call(d,a,b,"month");var e=d.opt,f=d.renderBasic,g=b.formatDate}function bb(a,b){function c(a,b){b&&i(a,7*b);var c=i(m(a),-((a.getDay()-e("firstDay")+7)%7)),h=i(m(c),7),j=m(c),k=m(h),l=e("weekends");l||(o(j),o(k,-1,!0)),d.title=g(j,i(m(k),-1),e("titleFormat")),d.start=c,d.end=h,d.visStart=j,d.visEnd=k,f(1,l?7:5,!1)}var d=this;d.render=c,db.call(d,a,b,"basicWeek");var e=d.opt,f=d.renderBasic,g=b.formatDates}function cb(a,b){function c(a,b){b&&(i(a,b),e("weekends")||o(a,0>b?-1:1)),d.title=g(a,e("titleFormat")),d.start=d.visStart=m(a,!0),d.end=d.visEnd=i(m(d.start),1),f(1,1,!1)}var d=this;d.render=c,db.call(d,a,b,"basicDay");var e=d.opt,f=d.renderBasic,g=b.formatDate}function db(b,c,d){function e(a,b,c){cb=a,db=b,f();var d=!S;d?g():Bb(),h(c)}function f(){ib=zb("isRTL"),ib?(jb=-1,lb=db-1):(jb=1,lb=0),qb=zb("firstDay"),sb=zb("weekends")?0:1,tb=zb("theme")?"ui":"fc",ub=zb("columnFormat"),vb=zb("weekNumbers"),wb=zb("weekNumberTitle"),xb="iso"!=zb("weekNumberCalculation")?"w":"W"}function g(){Z=a("<div style='position:absolute;z-index:8;top:0;left:0'/>").appendTo(b)}function h(c){var d,e,f,g,h="",i=tb+"-widget-header",j=tb+"-widget-content",k=N.start.getMonth(),m=l(new Date);for(h+="<table class='fc-border-separate' style='width:100%' cellspacing='0'><thead><tr>",vb&&(h+="<th class='fc-week-number "+i+"'/>"),d=0;db>d;d++)f=F(0,d),h+="<th class='fc-day-header fc-"+yb[f.getDay()]+" "+i+"'/>";for(h+="</tr></thead><tbody>",d=0;cb>d;d++){for(h+="<tr class='fc-week'>",vb&&(h+="<td class='fc-week-number "+j+"'>"+"<div/>"+"</td>"),e=0;db>e;e++)f=F(d,e),g=["fc-day","fc-"+yb[f.getDay()],j],f.getMonth()!=k&&g.push("fc-other-month"),+f==+m&&(g.push("fc-today"),g.push(tb+"-state-highlight")),h+="<td class='"+g.join(" ")+"'"+" data-date='"+Fb(f,"yyyy-MM-dd")+"'"+">"+"<div>",c&&(h+="<div class='fc-day-number'>"+f.getDate()+"</div>"),h+="<div class='fc-day-content'><div style='position:relative'> </div></div></div></td>";h+="</tr>"}h+="</tbody></table>",L(),P&&P.remove(),P=a(h).appendTo(b),Q=P.find("thead"),R=Q.find(".fc-day-header"),S=P.find("tbody"),T=S.find("tr"),U=S.find(".fc-day"),V=T.find("td:first-child"),Y=T.eq(0).find(".fc-day-content > div"),X(Q.add(Q.find("tr"))),X(T),T.eq(0).addClass("fc-first"),T.filter(":last").addClass("fc-last"),vb&&Q.find(".fc-week-number").text(wb),R.each(function(b,c){var d=G(b);a(c).text(Fb(d,ub))}),vb&&S.find(".fc-week-number > div").each(function(b,c){var d=F(b,0);a(c).text(Fb(d,xb))}),U.each(function(b,c){var d=G(b);Ab("dayRender",N,d,a(c))}),n(U)}function j(b){_=b;var c,d,e,f=_-Q.height();"variable"==zb("weekMode")?c=d=Math.floor(f/(1==cb?2:6)):(c=Math.floor(f/cb),d=f-c*(cb-1)),V.each(function(b,f){cb>b&&(e=a(f),O(e.find("> div"),(b==cb-1?d:c)-K(e)))}),M()}function k(a){$=a,hb.clear(),bb=0,vb&&(bb=Q.find("th.fc-week-number").outerWidth()),ab=Math.floor(($-bb)/db),E(R.slice(0,-1),ab)}function n(a){a.click(o).mousedown(Eb)}function o(b){if(!zb("selectable")){var c=s(a(this).data("date"));Ab("dayClick",this,c,!0,b)}}function q(a,b,c){c&&fb.build();for(var d=m(N.visStart),e=i(m(d),db),f=0;cb>f;f++){var g=new Date(Math.max(d,a)),h=new Date(Math.min(e,b));if(h>g){var j,k;ib?(j=p(h,d)*jb+lb+1,k=p(g,d)*jb+lb+1):(j=p(g,d),k=p(h,d)),n(r(f,j,f,k-1))}i(d,7),i(e,7)}}function r(a,c,d,e){var f=fb.rect(a,c,d,e,b);return Cb(f,b)}function t(a){return m(a)}function u(a,b){q(a,i(m(b),1),!0)}function v(){Db()}function w(a,b,c){var d=C(a),e=U[d.row*db+d.col];Ab("dayClick",e,a,b,c)}function x(a,b){gb.start(function(a){Db(),a&&r(a.row,a.col,a.row,a.col)},b)}function y(a,b,c){var d=gb.stop();if(Db(),d){var e=D(d);Ab("drop",a,e,!0,b,c)}}function z(a){return m(a.start)}function A(a){return hb.left(a)}function B(a){return hb.right(a)}function C(a){return{row:Math.floor(p(a,N.visStart)/7),col:H(a.getDay())}}function D(a){return F(a.row,a.col)}function F(a,b){return i(m(N.visStart),7*a+b*jb+lb)}function G(a){return F(Math.floor(a/db),a%db)}function H(a){return(a-Math.max(qb,sb)+db)%db*jb+lb}function I(a){return T.eq(a)}function J(){var a=0;return vb&&(a+=bb),{left:a,right:$}}function L(){O(b,b.height())}function M(){O(b,1)}var N=this;N.renderBasic=e,N.setHeight=j,N.setWidth=k,N.renderDayOverlay=q,N.defaultSelectionEnd=t,N.renderSelection=u,N.clearSelection=v,N.reportDayClick=w,N.dragStart=x,N.dragStop=y,N.defaultEventEnd=z,N.getHoverListener=function(){return gb},N.colContentLeft=A,N.colContentRight=B,N.dayOfWeekCol=H,N.dateCell=C,N.cellDate=D,N.cellIsAllDay=function(){return!0},N.allDayRow=I,N.allDayBounds=J,N.getRowCnt=function(){return cb},N.getColCnt=function(){return db},N.getColWidth=function(){return ab},N.getDaySegmentContainer=function(){return Z},kb.call(N,b,c,d),nb.call(N),mb.call(N),eb.call(N);var P,Q,R,S,T,U,V,Y,Z,$,_,ab,bb,cb,db,fb,gb,hb,ib,jb,lb,qb,sb,tb,ub,vb,wb,xb,zb=N.opt,Ab=N.trigger,Bb=N.clearEvents,Cb=N.renderOverlay,Db=N.clearOverlays,Eb=N.daySelectionMousedown,Fb=c.formatDate;W(b.addClass("fc-grid")),fb=new ob(function(b,c){var d,e,f;R.each(function(b,g){d=a(g),e=d.offset().left,b&&(f[1]=e),f=[e],c[b]=f}),f[1]=e+d.outerWidth(),T.each(function(c,g){cb>c&&(d=a(g),e=d.offset().top,c&&(f[1]=e),f=[e],b[c]=f)}),f[1]=e+d.outerHeight()}),gb=new pb(fb),hb=new rb(function(a){return Y.eq(a)})}function eb(){function b(a,b){n(a),A(d(a),b),j("eventAfterAllRender")}function c(){o(),t().empty()}function d(b){var c,d,e,f,h,j,k=y(),l=z(),n=m(g.visStart),o=i(m(n),l),p=a.map(b,x),q=[];for(c=0;k>c;c++){for(d=C(B(b,p,n,o)),e=0;e<d.length;e++)for(f=d[e],h=0;h<f.length;h++)j=f[h],j.row=c,j.level=e,q.push(j);i(n,7),i(o,7)}return q}function e(a,b,c){k(a)&&f(a,b),c.isEnd&&l(a)&&D(a,b,c),p(a,b)}function f(a,b){var c,d=u();b.draggable({zIndex:9,delay:50,opacity:h("dragOpacity"),revertDuration:h("dragRevertDuration"),start:function(e,f){j("eventDragStart",b,a,e,f),r(a,b),d.start(function(d,e,f,g){b.draggable("option","revert",!d||!f&&!g),w(),d?(c=7*f+g*(h("isRTL")?-1:1),v(i(m(a.start),c),i(x(a),c))):c=0},e,"drag")},stop:function(e,f){d.stop(),w(),j("eventDragStop",b,a,e,f),c?s(this,a,c,0,a.allDay,e,f):(b.css("filter",""),q(a,b))}})}var g=this;g.renderEvents=b,g.compileDaySegs=d,g.clearEvents=c,g.bindDaySeg=e,lb.call(g);var h=g.opt,j=g.trigger,k=g.isEventDraggable,l=g.isEventResizable,n=g.reportEvents,o=g.reportEventClear,p=g.eventElementHandlers,q=g.showEvents,r=g.hideEvents,s=g.eventDrop,t=g.getDaySegmentContainer,u=g.getHoverListener,v=g.renderDayOverlay,w=g.clearOverlays,y=g.getRowCnt,z=g.getColCnt,A=g.renderDaySegs,D=g.resizableDayEvent}function fb(a,b){function c(a,b){b&&i(a,7*b);var c=i(m(a),-((a.getDay()-e("firstDay")+7)%7)),h=i(m(c),7),j=m(c),k=m(h),l=e("weekends");l||(o(j),o(k,-1,!0)),d.title=g(j,i(m(k),-1),e("titleFormat")),d.start=c,d.end=h,d.visStart=j,d.visEnd=k,f(l?7:5)}var d=this;d.render=c,hb.call(d,a,b,"agendaWeek");var e=d.opt,f=d.renderAgenda,g=b.formatDates}function gb(a,b){function c(a,b){b&&(i(a,b),e("weekends")||o(a,0>b?-1:1));var c=m(a,!0),h=i(m(c),1);d.title=g(a,e("titleFormat")),d.start=d.visStart=c,d.end=d.visEnd=h,f(1)}var d=this;d.render=c,hb.call(d,a,b,"agendaDay");var e=d.opt,f=d.renderAgenda,g=b.formatDate}function hb(c,d,e){function f(a){Kb=a,g(),ab?cc():h(),j()}function g(){Qb=ac("theme")?"ui":"fc",Sb=ac("weekends")?0:1,Rb=ac("firstDay"),(Tb=ac("isRTL"))?(Ub=-1,Vb=Kb-1):(Ub=1,Vb=0),Wb=t(ac("minTime")),Xb=t(ac("maxTime")),Yb=ac("columnFormat"),Zb=ac("weekNumbers"),$b=ac("weekNumberTitle"),_b="iso"!=ac("weekNumberCalculation")?"w":"W",Hb=ac("snapMinutes")||ac("slotMinutes")}function h(){var b,d,e,f,g,h=Qb+"-widget-header",i=Qb+"-widget-content",j=0==ac("slotMinutes")%15;for(b="<table style='width:100%' class='fc-agenda-days fc-border-separate' cellspacing='0'><thead><tr>",b+=Zb?"<th class='fc-agenda-axis fc-week-number "+h+"'/>":"<th class='fc-agenda-axis "+h+"'> </th>",d=0;Kb>d;d++)b+="<th class='fc- fc-col"+d+" "+h+"'/>";for(b+="<th class='fc-agenda-gutter "+h+"'> </th>"+"</tr>"+"</thead>"+"<tbody>"+"<tr>"+"<th class='fc-agenda-axis "+h+"'> </th>",d=0;Kb>d;d++)b+="<td class='fc- fc-col"+d+" "+i+"'>"+"<div>"+"<div class='fc-day-content'>"+"<div style='position:relative'> </div>"+"</div>"+"</div>"+"</td>";for(b+="<td class='fc-agenda-gutter "+i+"'> </td>"+"</tr>"+"</tbody>"+"</table>",ab=a(b).appendTo(c),bb=ab.find("thead"),cb=bb.find("th").slice(1,-1),db=ab.find("tbody"),eb=db.find("td").slice(0,-1),fb=eb.find("div.fc-day-content div"),gb=eb.eq(0),hb=gb.find("> div"),X(bb.add(bb.find("tr"))),X(db.add(db.find("tr"))),yb=bb.find("th:first"),zb=ab.find(".fc-agenda-gutter"),jb=a("<div style='position:absolute;z-index:2;left:0;width:100%'/>").appendTo(c),ac("allDaySlot")?(lb=a("<div style='position:absolute;z-index:8;top:0;left:0'/>").appendTo(jb),b="<table style='width:100%' class='fc-agenda-allday' cellspacing='0'><tr><th class='"+h+" fc-agenda-axis'>"+ac("allDayText")+"</th>"+"<td>"+"<div class='fc-day-content'><div style='position:relative'/></div>"+"</td>"+"<th class='"+h+" fc-agenda-gutter'> </th>"+"</tr>"+"</table>",qb=a(b).appendTo(jb),sb=qb.find("tr"),v(sb.find("td")),yb=yb.add(qb.find("th:first")),zb=zb.add(qb.find("th.fc-agenda-gutter")),jb.append("<div class='fc-agenda-divider "+h+"'>"+"<div class='fc-agenda-divider-inner'/>"+"</div>")):lb=a([]),tb=a("<div style='position:absolute;width:100%;overflow-x:hidden;overflow-y:auto'/>").appendTo(jb),ub=a("<div style='position:relative;width:100%;overflow:hidden'/>").appendTo(tb),vb=a("<div style='position:absolute;z-index:8;top:0;left:0'/>").appendTo(ub),b="<table class='fc-agenda-slots' style='width:100%' cellspacing='0'><tbody>",e=n(),f=k(m(e),Xb),k(e,Wb),Lb=0,d=0;f>e;d++)g=e.getMinutes(),b+="<tr class='fc-slot"+d+" "+(g?"fc-minor":"")+"'>"+"<th class='fc-agenda-axis "+h+"'>"+(j&&g?" ":jc(e,ac("axisFormat")))+"</th>"+"<td class='"+i+"'>"+"<div style='position:relative'> </div>"+"</td>"+"</tr>",k(e,ac("slotMinutes")),Lb++;b+="</tbody></table>",wb=a(b).appendTo(ub),xb=wb.find("div:first"),w(wb.find("td")),yb=yb.add(wb.find("th:first"))}function j(){var a,b,c,d,e=l(new Date);if(Zb){var f=jc(H(0),_b);Tb?f+=$b:f=$b+f,bb.find(".fc-week-number").text(f)}for(a=0;Kb>a;a++)d=H(a),b=cb.eq(a),b.html(jc(d,Yb)),c=eb.eq(a),+d==+e?c.addClass(Qb+"-state-highlight fc-today"):c.removeClass(Qb+"-state-highlight fc-today"),Y(b.add(c),d)}function o(a,c){a===b&&(a=Cb),Cb=a,kc={};var d=db.position().top,e=tb.position().top,f=Math.min(a-d,wb.height()+e+1);hb.height(f-K(gb)),jb.css("top",d),tb.height(f-e-1),Gb=xb.height()+1,Ib=ac("slotMinutes")/Hb,Jb=Gb/Ib,c&&r()}function q(b){Bb=b,Ob.clear(),Db=0,E(yb.width("").each(function(b,c){Db=Math.max(Db,a(c).outerWidth())}),Db);var c=tb[0].clientWidth;Fb=tb.width()-c,Fb?(E(zb,Fb),zb.show().prev().removeClass("fc-last")):zb.hide().prev().addClass("fc-last"),Eb=Math.floor((c-Db)/Kb),E(cb.slice(0,-1),Eb)}function r(){function a(){tb.scrollTop(d)}var b=n(),c=m(b);c.setHours(ac("firstHour"));var d=L(b,c)+1;a(),setTimeout(a,0)}function s(){Pb=tb.scrollTop()}function u(){tb.scrollTop(Pb)}function v(a){a.click(x).mousedown(hc)}function w(a){a.click(x).mousedown(U)}function x(a){if(!ac("selectable")){var b=Math.min(Kb-1,Math.floor((a.pageX-ab.offset().left-Db)/Eb)),c=H(b),d=this.parentNode.className.match(/fc-slot(\d+)/);if(d){var e=parseInt(d[1])*ac("slotMinutes"),f=Math.floor(e/60);c.setHours(f),c.setMinutes(e%60+Wb),bc("dayClick",eb[b],c,!1,a)}else bc("dayClick",eb[b],c,!0,a)}}function y(a,b,c){c&&Mb.build();var d,e,f=m(_.visStart);Tb?(d=p(b,f)*Ub+Vb+1,e=p(a,f)*Ub+Vb+1):(d=p(a,f),e=p(b,f)),d=Math.max(0,d),e=Math.min(Kb,e),e>d&&v(z(0,d,0,e-1))}function z(a,b,c,d){var e=Mb.rect(a,b,c,d,jb);return dc(e,jb)}function A(a,b){for(var c=m(_.visStart),d=i(m(c),1),e=0;Kb>e;e++){var f=new Date(Math.max(c,a)),g=new Date(Math.min(d,b));if(g>f){var h=e*Ub+Vb,j=Mb.rect(0,h,0,h,ub),k=L(c,f),l=L(c,g);j.top=k,j.height=l-k,w(dc(j,ub))}i(c,1),i(d,1)}}function B(a){return Ob.left(a)}function C(a){return Ob.right(a)}function D(a){return{row:Math.floor(p(a,_.visStart)/7),col:J(a.getDay())}}function G(a){var b=H(a.col),c=a.row;return ac("allDaySlot")&&c--,c>=0&&k(b,Wb+c*Hb),b}function H(a){return i(m(_.visStart),a*Ub+Vb)}function I(a){return ac("allDaySlot")&&!a.row}function J(a){return(a-Math.max(Rb,Sb)+Kb)%Kb*Ub+Vb}function L(a,c){if(a=m(a,!0),c<k(m(a),Wb))return 0;if(c>=k(m(a),Xb))return wb.height();var d=ac("slotMinutes"),e=60*c.getHours()+c.getMinutes()-Wb,f=Math.floor(e/d),g=kc[f];return g===b&&(g=kc[f]=wb.find("tr:eq("+f+") td div")[0].offsetTop),Math.max(0,Math.round(g-1+Gb*(e%d/d)))}function M(){return{left:Db,right:Bb-Fb}}function N(){return sb}function O(a){var b=m(a.start);return a.allDay?b:k(b,ac("defaultEventMinutes"))}function P(a,b){return b?m(a):k(m(a),ac("slotMinutes"))}function R(a,b,c){c?ac("allDaySlot")&&y(a,i(m(b),1),!0):S(a,b)}function S(b,c){var d=ac("selectHelper");if(Mb.build(),d){var e=p(b,_.visStart)*Ub+Vb;if(e>=0&&Kb>e){var f=Mb.rect(0,e,0,e,ub),g=L(b,b),h=L(b,c);if(h>g){if(f.top=g,f.height=h-g,f.left+=2,f.width-=5,a.isFunction(d)){var i=d(b,c);i&&(f.position="absolute",f.zIndex=8,Ab=a(i).css(f).appendTo(ub))}else f.isStart=!0,f.isEnd=!0,Ab=a(ic({title:"",start:b,end:c,className:["fc-select-helper"],editable:!1},f)),Ab.css("opacity",ac("dragOpacity"));Ab&&(w(Ab),ub.append(Ab),E(Ab,f.width,!0),F(Ab,f.height,!0))}}}else A(b,c)}function T(){ec(),Ab&&(Ab.remove(),Ab=null)}function U(b){if(1==b.which&&ac("selectable")){gc(b);var c;Nb.start(function(a,b){if(T(),a&&a.col==b.col&&!I(a)){var d=G(b),e=G(a);c=[d,k(m(d),Hb),e,k(m(e),Hb)].sort(Q),S(c[0],c[3])}else c=null},b),a(document).one("mouseup",function(a){Nb.stop(),c&&(+c[0]==+c[1]&&V(c[0],!1,a),fc(c[0],c[3],!1,a))})}}function V(a,b,c){bc("dayClick",eb[J(a.getDay())],a,b,c)}function Z(a,b){Nb.start(function(a){if(ec(),a)if(I(a))z(a.row,a.col,a.row,a.col);else{var b=G(a),c=k(m(b),ac("defaultEventMinutes"));A(b,c)}},b)}function $(a,b,c){var d=Nb.stop();ec(),d&&bc("drop",a,G(d),I(d),b,c)}var _=this;_.renderAgenda=f,_.setWidth=q,_.setHeight=o,_.beforeHide=s,_.afterShow=u,_.defaultEventEnd=O,_.timePosition=L,_.dayOfWeekCol=J,_.dateCell=D,_.cellDate=G,_.cellIsAllDay=I,_.allDayRow=N,_.allDayBounds=M,_.getHoverListener=function(){return Nb},_.colContentLeft=B,_.colContentRight=C,_.getDaySegmentContainer=function(){return lb},_.getSlotSegmentContainer=function(){return vb},_.getMinMinute=function(){return Wb},_.getMaxMinute=function(){return Xb},_.getBodyContent=function(){return ub},_.getRowCnt=function(){return 1},_.getColCnt=function(){return Kb},_.getColWidth=function(){return Eb},_.getSnapHeight=function(){return Jb},_.getSnapMinutes=function(){return Hb},_.defaultSelectionEnd=P,_.renderDayOverlay=y,_.renderSelection=R,_.clearSelection=T,_.reportDayClick=V,_.dragStart=Z,_.dragStop=$,kb.call(_,c,d,e),nb.call(_),mb.call(_),ib.call(_);var ab,bb,cb,db,eb,fb,gb,hb,jb,lb,qb,sb,tb,ub,vb,wb,xb,yb,zb,Ab,Bb,Cb,Db,Eb,Fb,Gb,Hb,Ib,Jb,Kb,Lb,Mb,Nb,Ob,Pb,Qb,Rb,Sb,Tb,Ub,Vb,Wb,Xb,Yb,Zb,$b,_b,ac=_.opt,bc=_.trigger,cc=_.clearEvents,dc=_.renderOverlay,ec=_.clearOverlays,fc=_.reportSelection,gc=_.unselect,hc=_.daySelectionMousedown,ic=_.slotSegHtml,jc=d.formatDate,kc={};W(c.addClass("fc-agenda")),Mb=new ob(function(b,c){function d(a){return Math.max(i,Math.min(j,a))}var e,f,g;cb.each(function(b,d){e=a(d),f=e.offset().left,b&&(g[1]=f),g=[f],c[b]=g}),g[1]=f+e.outerWidth(),ac("allDaySlot")&&(e=sb,f=e.offset().top,b[0]=[f,f+e.outerHeight()]);for(var h=ub.offset().top,i=tb.offset().top,j=i+tb.outerHeight(),k=0;Lb*Ib>k;k++)b.push([d(h+Jb*k),d(h+Jb*(k+1))])}),Nb=new pb(Mb),Ob=new rb(function(a){return fb.eq(a)})}function ib(){function c(a,b){y(a);var c,d=a.length,g=[],i=[];for(c=0;d>c;c++)a[c].allDay?g.push(a[c]):i.push(a[c]);s("allDaySlot")&&(Q(e(g),b),E()),h(f(i),b),t("eventAfterAllRender")}function d(){z(),H().empty(),I().empty()}function e(b){var c,d,e,f,g=C(B(b,a.map(b,x),r.visStart,r.visEnd)),h=g.length,i=[];for(c=0;h>c;c++)for(d=g[c],e=0;e<d.length;e++)f=d[e],f.row=0,f.level=c,i.push(f);return i}function f(b){var c,d,e,f,h,j,l=S(),n=M(),o=L(),p=k(m(r.visStart),n),q=a.map(b,g),s=[];for(c=0;l>c;c++){for(d=C(B(b,q,p,k(m(p),o-n))),jb(d),e=0;e<d.length;e++)for(f=d[e],h=0;h<f.length;h++)j=f[h],j.col=c,j.level=e,s.push(j);
|
3 |
i(p,1,!0)}return s}function g(a){return a.end?m(a.end):k(m(a.start),s("defaultEventMinutes"))}function h(c,d){var e,f,g,h,i,k,l,m,o,p,q,u,v,w,x,y,z,A,B,C,E,F,H=c.length,J="",L={},M={},Q=I(),R=S();for((C=s("isRTL"))?(E=-1,F=R-1):(E=1,F=0),e=0;H>e;e++)f=c[e],g=f.event,h=N(f.start,f.start),i=N(f.start,f.end),k=f.col,l=f.level,m=f.forward||0,o=O(k*E+F),p=P(k*E+F)-o,p=Math.min(p-6,.95*p),q=l?p/(l+m+1):m?2*(p/(m+1)-6):p,u=o+p/(l+m+1)*l*E+(C?p-q:0),f.top=h,f.left=u,f.outerWidth=q,f.outerHeight=i-h,J+=j(g,f);for(Q[0].innerHTML=J,v=Q.children(),e=0;H>e;e++)f=c[e],g=f.event,w=a(v[e]),x=t("eventRender",g,g,w,r),x===!1?w.remove():(x&&x!==!0&&(w.remove(),w=a(x).css({position:"absolute",top:f.top,left:f.left}).appendTo(Q)),f.element=w,g._id===d?n(g,w,f):w[0]._fci=e,$(g,w));for(D(Q,c,n),e=0;H>e;e++)f=c[e],(w=f.element)&&(z=L[y=f.key=V(w[0])],f.vsides=z===b?L[y]=K(w,!0):z,z=M[y],f.hsides=z===b?M[y]=G(w,!0):z,A=w.find(".fc-event-title"),A.length&&(f.contentTop=A[0].offsetTop));for(e=0;H>e;e++)f=c[e],(w=f.element)&&(w[0].style.width=Math.max(0,f.outerWidth-f.hsides)+"px",B=Math.max(0,f.outerHeight-f.vsides),w[0].style.height=B+"px",g=f.event,f.contentTop!==b&&B-f.contentTop<10&&(w.find("div.fc-event-time").text(gb(g.start,s("timeFormat"))+" - "+g.title),w.find("div.fc-event-title").remove()),t("eventAfterRender",g,g,w))}function j(a,b){var c="<",d=a.url,e=Z(a,s),f=["fc-event","fc-event-vert"];return u(a)&&f.push("fc-event-draggable"),b.isStart&&f.push("fc-event-start"),b.isEnd&&f.push("fc-event-end"),f=f.concat(a.className),a.source&&(f=f.concat(a.source.className||[])),c+=d?"a href='"+U(a.url)+"'":"div",c+=" class='"+f.join(" ")+"'"+" style='position:absolute;z-index:8;top:"+b.top+"px;left:"+b.left+"px;"+e+"'"+">"+"<div class='fc-event-inner'>"+"<div class='fc-event-time'>"+U(hb(a.start,a.end,s("timeFormat")))+"</div>"+"<div class='fc-event-title'>"+U(a.title)+"</div>"+"</div>"+"<div class='fc-event-bg'></div>",b.isEnd&&v(a)&&(c+="<div class='ui-resizable-handle ui-resizable-s'>=</div>"),c+="</"+(d?"a":"div")+">"}function l(a,b,c){u(a)&&o(a,b,c.isStart),c.isEnd&&v(a)&&R(a,b,c),A(a,b)}function n(a,b,c){var d=b.find("div.fc-event-time");u(a)&&p(a,b,d),c.isEnd&&v(a)&&q(a,b,d),A(a,b)}function o(a,b,c){function d(){h||(b.width(e).height("").draggable("option","grid",null),h=!0)}var e,f,g,h=!0,j=s("isRTL")?-1:1,k=J(),l=T(),n=W(),o=X(),p=M();b.draggable({zIndex:9,opacity:s("dragOpacity","month"),revertDuration:s("dragRevertDuration"),start:function(p,q){t("eventDragStart",b,a,p,q),ab(a,b),e=b.width(),k.start(function(e,k,p,q){eb(),e?(f=!1,g=q*j,e.row?c?h&&(b.width(l-10),F(b,n*Math.round((a.end?(a.end-a.start)/Bb:s("defaultEventMinutes"))/o)),b.draggable("option","grid",[l,1]),h=!1):f=!0:(db(i(m(a.start),g),i(x(a),g)),d()),f=f||h&&!g):(d(),f=!0),b.draggable("option","revert",f)},p,"drag")},stop:function(c,e){if(k.stop(),eb(),t("eventDragStop",b,a,c,e),f)d(),b.css("filter",""),_(a,b);else{var i=0;h||(i=Math.round((b.offset().top-Y().offset().top)/n)*o+p-(60*a.start.getHours()+a.start.getMinutes())),bb(this,a,g,i,h,c,e)}}})}function p(a,b,c){function d(b){var d,e=k(m(a.start),b);a.end&&(d=k(m(a.end),b)),c.text(hb(e,d,s("timeFormat")))}function e(){l&&(c.css("display",""),b.draggable("option","grid",[q,r]),l=!1)}var f,g,h,j,l=!1,n=s("isRTL")?-1:1,o=J(),p=S(),q=T(),r=W(),u=X();b.draggable({zIndex:9,scroll:!1,grid:[q,r],axis:1==p?"y":!1,opacity:s("dragOpacity"),revertDuration:s("dragRevertDuration"),start:function(d,k){t("eventDragStart",b,a,d,k),ab(a,b),f=b.position(),h=j=0,o.start(function(d,f,h,j){b.draggable("option","revert",!d),eb(),d&&(g=j*n,s("allDaySlot")&&!d.row?(l||(l=!0,c.hide(),b.draggable("option","grid",null)),db(i(m(a.start),g),i(x(a),g))):e())},d,"drag")},drag:function(a,b){h=Math.round((b.position.top-f.top)/r)*u,h!=j&&(l||d(h),j=h)},stop:function(c,i){var j=o.stop();eb(),t("eventDragStop",b,a,c,i),j&&(g||h||l)?bb(this,a,g,l?0:h,l,c,i):(e(),b.css("filter",""),b.css(f),d(0),_(a,b))}})}function q(a,b,c){var d,e,f=W(),g=X();b.resizable({handles:{s:".ui-resizable-handle"},grid:f,start:function(c,f){d=e=0,ab(a,b),b.css("z-index",9),t("eventResizeStart",this,a,c,f)},resize:function(h,i){d=Math.round((Math.max(f,b.height())-i.originalSize.height)/f),d!=e&&(c.text(hb(a.start,d||a.end?k(w(a),g*d):null,s("timeFormat"))),e=d)},stop:function(c,e){t("eventResizeStop",this,a,c,e),d?cb(this,a,0,g*d,c,e):(b.css("z-index",8),_(a,b))}})}var r=this;r.renderEvents=c,r.compileDaySegs=e,r.clearEvents=d,r.slotSegHtml=j,r.bindDaySeg=l,lb.call(r);var s=r.opt,t=r.trigger,u=r.isEventDraggable,v=r.isEventResizable,w=r.eventEnd,y=r.reportEvents,z=r.reportEventClear,A=r.eventElementHandlers,E=r.setHeight,H=r.getDaySegmentContainer,I=r.getSlotSegmentContainer,J=r.getHoverListener,L=r.getMaxMinute,M=r.getMinMinute,N=r.timePosition,O=r.colContentLeft,P=r.colContentRight,Q=r.renderDaySegs,R=r.resizableDayEvent,S=r.getColCnt,T=r.getColWidth,W=r.getSnapHeight,X=r.getSnapMinutes,Y=r.getBodyContent,$=r.reportEventElement,_=r.showEvents,ab=r.hideEvents,bb=r.eventDrop,cb=r.eventResize,db=r.renderDayOverlay,eb=r.clearOverlays,fb=r.calendar,gb=fb.formatDate,hb=fb.formatDates}function jb(a){var b,c,d,e,f,g;for(b=a.length-1;b>0;b--)for(e=a[b],c=0;c<e.length;c++)for(f=e[c],d=0;d<a[b-1].length;d++)g=a[b-1][d],A(f,g)&&(g.forward=Math.max(g.forward||0,(f.forward||0)+1))}function kb(a,c,d){function e(a,b){var c=F[a];return"object"==typeof c?T(c,b||d):c}function f(a,b){return c.trigger.apply(c,[a,b||y].concat(Array.prototype.slice.call(arguments,2),[y]))}function g(a){return j(a)&&!e("disableDragging")}function h(a){return j(a)&&!e("disableResizing")}function j(a){return _(a.editable,(a.source||{}).editable,e("editable"))}function l(a){C={};var b,c,d=a.length;for(b=0;d>b;b++)c=a[b],C[c._id]?C[c._id].push(c):C[c._id]=[c]}function n(a){return a.end?m(a.end):z(a)}function o(a,b){D.push(b),E[a._id]?E[a._id].push(b):E[a._id]=[b]}function p(){D=[],E={}}function q(a,b){b.click(function(c){return b.hasClass("ui-draggable-dragging")||b.hasClass("ui-resizable-resizing")?void 0:f("eventClick",this,a,c)}).hover(function(b){f("eventMouseover",this,a,b)},function(b){f("eventMouseout",this,a,b)})}function r(a,b){t(a,b,"show")}function s(a,b){t(a,b,"hide")}function t(a,b,c){var d,e=E[a._id],f=e.length;for(d=0;f>d;d++)b&&e[d][0]==b[0]||e[d][c]()}function u(a,b,c,d,e,g,h){var i=b.allDay,j=b._id;w(C[j],c,d,e),f("eventDrop",a,b,c,d,e,function(){w(C[j],-c,-d,i),B(j)},g,h),B(j)}function v(a,b,c,d,e,g){var h=b._id;x(C[h],c,d),f("eventResize",a,b,c,d,function(){x(C[h],-c,-d),B(h)},e,g),B(h)}function w(a,c,d,e){d=d||0;for(var f,g=a.length,h=0;g>h;h++)f=a[h],e!==b&&(f.allDay=e),k(i(f.start,c,!0),d),f.end&&(f.end=k(i(f.end,c,!0),d)),A(f,F)}function x(a,b,c){c=c||0;for(var d,e=a.length,f=0;e>f;f++)d=a[f],d.end=k(i(n(d),b,!0),c),A(d,F)}var y=this;y.element=a,y.calendar=c,y.name=d,y.opt=e,y.trigger=f,y.isEventDraggable=g,y.isEventResizable=h,y.reportEvents=l,y.eventEnd=n,y.reportEventElement=o,y.reportEventClear=p,y.eventElementHandlers=q,y.showEvents=r,y.hideEvents=s,y.eventDrop=u,y.eventResize=v;var z=y.defaultEventEnd,A=c.normalizeEvent,B=c.reportEventChange,C={},D=[],E={},F=c.options}function lb(){function c(a,b){var c,d,i,m,q,r,s,t,u=N(),v=B(),w=C(),x=0,y=a.length;for(u[0].innerHTML=e(a),f(a,u.children()),g(a),h(a,u,b),j(a),k(a),l(a),c=n(),d=0;v>d;d++){for(i=0,m=[],q=0;w>q;q++)m[q]=0;for(;y>x&&(r=a[x]).row==d;){for(s=R(m.slice(r.startCol,r.endCol)),r.top=s,s+=r.outerHeight,t=r.startCol;t<r.endCol;t++)m[t]=s;x++}c[d].height(R(m))}p(a,o(c))}function d(b,c,d){var g,h,i,m=a("<div/>"),q=N(),r=b.length;for(m[0].innerHTML=e(b),g=m.children(),q.append(g),f(b,g),j(b),k(b),l(b),p(b,o(n())),g=[],h=0;r>h;h++)i=b[h].element,i&&(b[h].row===c&&i.css("top",d),g.push(i[0]));return a(g)}function e(a){var b,c,d,e,f,g,h,i,j,k,l=s("isRTL"),m=a.length,n=F(),o=n.left,p=n.right,q="";for(b=0;m>b;b++)c=a[b],d=c.event,f=["fc-event","fc-event-hori"],u(d)&&f.push("fc-event-draggable"),c.isStart&&f.push("fc-event-start"),c.isEnd&&f.push("fc-event-end"),l?(g=J(c.end.getDay()-1),h=J(c.start.getDay()),i=c.isEnd?H(g):o,j=c.isStart?I(h):p):(g=J(c.start.getDay()),h=J(c.end.getDay()-1),i=c.isStart?H(g):o,j=c.isEnd?I(h):p),f=f.concat(d.className),d.source&&(f=f.concat(d.source.className||[])),e=d.url,k=Z(d,s),q+=e?"<a href='"+U(e)+"'":"<div",q+=" class='"+f.join(" ")+"'"+" style='position:absolute;z-index:8;left:"+i+"px;"+k+"'"+">"+"<div class='fc-event-inner'>",!d.allDay&&c.isStart&&(q+="<span class='fc-event-time'>"+U(P(d.start,d.end,s("timeFormat")))+"</span>"),q+="<span class='fc-event-title'>"+U(d.title)+"</span>"+"</div>",c.isEnd&&v(d)&&(q+="<div class='ui-resizable-handle ui-resizable-"+(l?"w":"e")+"'>"+" "+"</div>"),q+="</"+(e?"a":"div")+">",c.left=i,c.outerWidth=j-i,c.startCol=g,c.endCol=h+1;return q}function f(b,c){var d,e,f,g,h,i=b.length;for(d=0;i>d;d++)e=b[d],f=e.event,g=a(c[d]),h=t("eventRender",f,f,g,r),h===!1?g.remove():(h&&h!==!0&&(h=a(h).css({position:"absolute",left:e.left}),g.replaceWith(h),g=h),e.element=g)}function g(a){var b,c,d,e=a.length;for(b=0;e>b;b++)c=a[b],d=c.element,d&&x(c.event,d)}function h(a,b,c){var d,e,f,g,h=a.length;for(d=0;h>d;d++)e=a[d],f=e.element,f&&(g=e.event,g._id===c?O(g,f,e):f[0]._fci=d);D(b,a,O)}function j(a){var c,d,e,f,g,h=a.length,i={};for(c=0;h>c;c++)d=a[c],e=d.element,e&&(f=d.key=V(e[0]),g=i[f],g===b&&(g=i[f]=G(e,!0)),d.hsides=g)}function k(a){var b,c,d,e=a.length;for(b=0;e>b;b++)c=a[b],d=c.element,d&&(d[0].style.width=Math.max(0,c.outerWidth-c.hsides)+"px")}function l(a){var c,d,e,f,g,h=a.length,i={};for(c=0;h>c;c++)d=a[c],e=d.element,e&&(f=d.key,g=i[f],g===b&&(g=i[f]=M(e)),d.outerHeight=e[0].offsetHeight+g)}function n(){var a,b=B(),c=[];for(a=0;b>a;a++)c[a]=E(a).find("div.fc-day-content > div");return c}function o(a){var b,c=a.length,d=[];for(b=0;c>b;b++)d[b]=a[b][0].offsetTop;return d}function p(a,b){var c,d,e,f,g=a.length;for(c=0;g>c;c++)d=a[c],e=d.element,e&&(e[0].style.top=b[d.row]+(d.top||0)+"px",f=d.event,t("eventAfterRender",f,f,e))}function q(b,c,e){var f=s("isRTL"),g=f?"w":"e",h=c.find(".ui-resizable-"+g),j=!1;W(c),c.mousedown(function(a){a.preventDefault()}).click(function(a){j&&(a.preventDefault(),a.stopImmediatePropagation())}),h.mousedown(function(h){function k(c){t("eventResizeStop",this,b,c),a("body").css("cursor",""),o.stop(),S(),l&&A(this,b,l,0,c),setTimeout(function(){j=!1},0)}if(1==h.which){j=!0;var l,n,o=r.getHoverListener(),p=B(),q=C(),s=f?-1:1,u=f?q-1:0,v=c.css("top"),x=a.extend({},b),D=K(b.start);T(),a("body").css("cursor",g+"-resize").one("mouseup",k),t("eventResizeStart",this,b,h),o.start(function(a,c){if(a){var h=Math.max(D.row,a.row),j=a.col;1==p&&(h=0),h==D.row&&(j=f?Math.min(D.col,j):Math.max(D.col,j)),l=7*h+j*s+u-(7*c.row+c.col*s+u);var k=i(w(b),l,!0);if(l){x.end=k;var o=n;n=d(L([x]),e.row,v),n.find("*").css("cursor",g+"-resize"),o&&o.remove(),z(b)}else n&&(y(b),n.remove(),n=null);S(),Q(b.start,i(m(k),1))}},h)}})}var r=this;r.renderDaySegs=c,r.resizableDayEvent=q;var s=r.opt,t=r.trigger,u=r.isEventDraggable,v=r.isEventResizable,w=r.eventEnd,x=r.reportEventElement,y=r.showEvents,z=r.hideEvents,A=r.eventResize,B=r.getRowCnt,C=r.getColCnt;r.getColWidth;var E=r.allDayRow,F=r.allDayBounds,H=r.colContentLeft,I=r.colContentRight,J=r.dayOfWeekCol,K=r.dateCell,L=r.compileDaySegs,N=r.getDaySegmentContainer,O=r.bindDaySeg,P=r.calendar.formatDates,Q=r.renderDayOverlay,S=r.clearOverlays,T=r.clearSelection}function mb(){function b(a,b,e){c(),b||(b=i(a,e)),j(a,b,e),d(a,b,e)}function c(a){l&&(l=!1,k(),h("unselect",null,a))}function d(a,b,c,d){l=!0,h("select",null,a,b,c,d)}function e(b){var e=f.cellDate,h=f.cellIsAllDay,i=f.getHoverListener(),l=f.reportDayClick;if(1==b.which&&g("selectable")){c(b);var m;i.start(function(a,b){k(),a&&h(a)?(m=[e(b),e(a)].sort(Q),j(m[0],m[1],!0)):m=null},b),a(document).one("mouseup",function(a){i.stop(),m&&(+m[0]==+m[1]&&l(m[0],!0,a),d(m[0],m[1],!0,a))})}}var f=this;f.select=b,f.unselect=c,f.reportSelection=d,f.daySelectionMousedown=e;var g=f.opt,h=f.trigger,i=f.defaultSelectionEnd,j=f.renderSelection,k=f.clearSelection,l=!1;g("selectable")&&g("unselectAuto")&&a(document).mousedown(function(b){var d=g("unselectCancel");d&&a(b.target).parents(d).length||c(b)})}function nb(){function b(b,c){var d=f.shift();return d||(d=a("<div class='fc-cell-overlay' style='position:absolute;z-index:3'/>")),d[0].parentNode!=c[0]&&d.appendTo(c),e.push(d.css(b).show()),d}function c(){for(var a;a=e.shift();)f.push(a.hide().unbind())}var d=this;d.renderOverlay=b,d.clearOverlays=c;var e=[],f=[]}function ob(a){var b,c,d=this;d.build=function(){b=[],c=[],a(b,c)},d.cell=function(a,d){var e,f=b.length,g=c.length,h=-1,i=-1;for(e=0;f>e;e++)if(d>=b[e][0]&&d<b[e][1]){h=e;break}for(e=0;g>e;e++)if(a>=c[e][0]&&a<c[e][1]){i=e;break}return h>=0&&i>=0?{row:h,col:i}:null},d.rect=function(a,d,e,f,g){var h=g.offset();return{top:b[a][0]-h.top,left:c[d][0]-h.left,width:c[f][1]-c[d][0],height:b[e][1]-b[a][0]}}}function pb(b){function c(a){qb(a);var c=b.cell(a.pageX,a.pageY);(!c!=!g||c&&(c.row!=g.row||c.col!=g.col))&&(c?(f||(f=c),e(c,f,c.row-f.row,c.col-f.col)):e(c,f),g=c)}var d,e,f,g,h=this;h.start=function(h,i,j){e=h,f=g=null,b.build(),c(i),d=j||"mousemove",a(document).bind(d,c)},h.stop=function(){return a(document).unbind(d,c),g}}function qb(a){a.pageX===b&&(a.pageX=a.originalEvent.pageX,a.pageY=a.originalEvent.pageY)}function rb(a){function c(b){return e[b]=e[b]||a(b)}var d=this,e={},f={},g={};d.left=function(a){return f[a]=f[a]===b?c(a).position().left:f[a]},d.right=function(a){return g[a]=g[a]===b?d.left(a)+c(a).width():g[a]},d.clear=function(){e={},f={},g={}}}var sb={defaultView:"month",aspectRatio:1.35,header:{left:"title",center:"",right:"today prev,next"},weekends:!0,weekNumbers:!1,weekNumberCalculation:"iso",weekNumberTitle:"W",allDayDefault:!0,ignoreTimezone:!0,lazyFetching:!0,startParam:"start",endParam:"end",titleFormat:{month:"MMMM yyyy",week:"MMM d[ yyyy]{ '—'[ MMM] d yyyy}",day:"dddd, MMM d, yyyy"},columnFormat:{month:"ddd",week:"ddd M/d",day:"dddd M/d"},timeFormat:{"":"h(:mm)t"},isRTL:!1,firstDay:0,monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],buttonText:{prev:"<span class='fc-text-arrow'>‹</span>",next:"<span class='fc-text-arrow'>›</span>",prevYear:"<span class='fc-text-arrow'>«</span>",nextYear:"<span class='fc-text-arrow'>»</span>",today:"today",month:"month",week:"week",day:"day"},theme:!1,buttonIcons:{prev:"circle-triangle-w",next:"circle-triangle-e"},unselectAuto:!0,dropAccept:"*"},tb={header:{left:"next,prev today",center:"",right:"title"},buttonText:{prev:"<span class='fc-text-arrow'>›</span>",next:"<span class='fc-text-arrow'>‹</span>",prevYear:"<span class='fc-text-arrow'>»</span>",nextYear:"<span class='fc-text-arrow'>«</span>"},buttonIcons:{prev:"circle-triangle-e",next:"circle-triangle-w"}},ub=a.fullCalendar={version:"1.6.1"},vb=ub.views={};a.fn.fullCalendar=function(c){if("string"==typeof c){var e,f=Array.prototype.slice.call(arguments,1);return this.each(function(){var d=a.data(this,"fullCalendar");if(d&&a.isFunction(d[c])){var g=d[c].apply(d,f);e===b&&(e=g),"destroy"==c&&a.removeData(this,"fullCalendar")}}),e!==b?e:this}var g=c.eventSources||[];return delete c.eventSources,c.events&&(g.push(c.events),delete c.events),c=a.extend(!0,{},sb,c.isRTL||c.isRTL===b&&sb.isRTL?tb:{},c),this.each(function(b,e){var f=a(e),h=new d(f,c,g);f.data("fullCalendar",h),h.render()}),this},ub.sourceNormalizers=[],ub.sourceFetchers=[];var wb={dataType:"json",cache:!1},xb=1;ub.addDays=i,ub.cloneDate=m,ub.parseDate=r,ub.parseISO8601=s,ub.parseTime=t,ub.formatDate=u,ub.formatDates=v;var yb=["sun","mon","tue","wed","thu","fri","sat"],zb=864e5,Ab=36e5,Bb=6e4,Cb={s:function(a){return a.getSeconds()},ss:function(a){return S(a.getSeconds())},m:function(a){return a.getMinutes()},mm:function(a){return S(a.getMinutes())},h:function(a){return a.getHours()%12||12},hh:function(a){return S(a.getHours()%12||12)},H:function(a){return a.getHours()},HH:function(a){return S(a.getHours())},d:function(a){return a.getDate()},dd:function(a){return S(a.getDate())},ddd:function(a,b){return b.dayNamesShort[a.getDay()]},dddd:function(a,b){return b.dayNames[a.getDay()]},M:function(a){return a.getMonth()+1},MM:function(a){return S(a.getMonth()+1)},MMM:function(a,b){return b.monthNamesShort[a.getMonth()]},MMMM:function(a,b){return b.monthNames[a.getMonth()]},yy:function(a){return(a.getFullYear()+"").substring(2)},yyyy:function(a){return a.getFullYear()},t:function(a){return a.getHours()<12?"a":"p"},tt:function(a){return a.getHours()<12?"am":"pm"},T:function(a){return a.getHours()<12?"A":"P"},TT:function(a){return a.getHours()<12?"AM":"PM"},u:function(a){return u(a,"yyyy-MM-dd'T'HH:mm:ss'Z'")},S:function(a){var b=a.getDate();return b>10&&20>b?"th":["st","nd","rd"][b%10-1]||"th"},w:function(a,b){return b.weekNumberCalculation(a)},W:function(a){return w(a)}};ub.dateFormatters=Cb,ub.applyAll=$,vb.month=ab,vb.basicWeek=bb,vb.basicDay=cb,c({weekMode:"fixed"}),vb.agendaWeek=fb,vb.agendaDay=gb,c({allDaySlot:!0,allDayText:"all-day",firstHour:6,slotMinutes:30,defaultEventMinutes:120,axisFormat:"h(:mm)tt",timeFormat:{agenda:"h:mm{ - h:mm}"},dragOpacity:{agenda:.5},minTime:0,maxTime:24})}(jQuery);
|
js/qtip2.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
|
2 |
-
(function(a){"use strict",typeof define=="function"&&define.amd?define(["jquery"],a):jQuery&&!jQuery.fn.qtip&&a(jQuery)})(function(a){function G(){G.history=G.history||[],G.history.push(arguments);if("object"==typeof console){var a=console[console.warn?"warn":"log"],b=Array.prototype.slice.call(arguments),c;typeof arguments[0]=="string"&&(b[0]="qTip2: "+b[0]),c=a.apply?a.apply(console,b):a(b)}}function H(b){var e=function(a){return a===d||"object"!=typeof a},f=function(b){return!a.isFunction(b)&&(!b&&!b.attr||b.length<1||"object"==typeof b&&!b.jquery)};if(!b||"object"!=typeof b)return c;e(b.metadata)&&(b.metadata={type:b.metadata});if("content"in b){if(e(b.content)||b.content.jquery)b.content={text:b.content};f(b.content.text||c)&&(b.content.text=c),"title"in b.content&&(e(b.content.title)&&(b.content.title={text:b.content.title}),f(b.content.title.text||c)&&(b.content.title.text=c))}return"position"in b&&e(b.position)&&(b.position={my:b.position,at:b.position}),"show"in b&&e(b.show)&&(b.show=b.show.jquery?{target:b.show}:{event:b.show}),"hide"in b&&e(b.hide)&&(b.hide=b.hide.jquery?{target:b.hide}:{event:b.hide}),"style"in b&&e(b.style)&&(b.style={classes:b.style}),a.each(r,function(){this.sanitize&&this.sanitize(b)}),b}function I(e,f,n,o){function N(a){var b=0,c,d=f,e=a.split(".");while(d=d[e[b++]])b<e.length&&(c=d);return[c||f,e.pop()]}function O(){var a=f.style.widget;J.toggleClass(v,a).toggleClass(y,f.style.def&&!a),L.content.toggleClass(v+"-content",a),L.titlebar&&L.titlebar.toggleClass(v+"-header",a),L.button&&L.button.toggleClass(u+"-icon",!a)}function P(a){L.title&&(L.titlebar.remove(),L.titlebar=L.title=L.button=d,a!==c&&p.reposition())}function Q(){var b=f.content.title.button,d=typeof b=="string",e=d?b:"Close tooltip";L.button&&L.button.remove(),b.jquery?L.button=b:L.button=a("<a />",{"class":"ui-state-default ui-tooltip-close "+(f.style.widget?"":u+"-icon"),title:e,"aria-label":e}).prepend(a("<span />",{"class":"ui-icon ui-icon-close",html:"×"})),L.button.appendTo(L.titlebar).attr("role","button").click(function(a){return J.hasClass(w)||p.hide(a),c}),p.redraw()}function R(){var c=D+"-title";L.titlebar&&P(),L.titlebar=a("<div />",{"class":u+"-titlebar "+(f.style.widget?"ui-widget-header":"")}).append(L.title=a("<div />",{id:c,"class":u+"-title","aria-atomic":b})).insertBefore(L.content).delegate(".ui-tooltip-close","mousedown keydown mouseup keyup mouseout",function(b){a(this).toggleClass("ui-state-active ui-state-focus",b.type.substr(-4)==="down")}).delegate(".ui-tooltip-close","mouseover mouseout",function(b){a(this).toggleClass("ui-state-hover",b.type==="mouseover")}),f.content.title.button?Q():p.rendered&&p.redraw()}function S(a){var b=L.button,d=L.title;if(!p.rendered)return c;a?(d||R(),Q()):b.remove()}function T(b,d){var f=L.title;if(!p.rendered||!b)return c;a.isFunction(b)&&(b=b.call(e,M.event,p));if(b===c||!b&&b!=="")return P(c);b.jquery&&b.length>0?f.empty().append(b.css({display:"block"})):f.html(b),p.redraw(),d!==c&&p.rendered&&J[0].offsetWidth>0&&p.reposition(M.event)}function U(b,d){function g(b){function h(e){e&&(delete g[e.src],clearTimeout(p.timers.img[e.src]),a(e).unbind(K)),a.isEmptyObject(g)&&(p.redraw(),d!==c&&p.reposition(M.event),b())}var e,g={};if((e=f.find("img[src]:not([height]):not([width])")).length===0)return h();e.each(function(b,c){if(g[c.src]!==undefined)return;var d=0,e=3;(function f(){if(c.height||c.width||d>e)return h(c);d+=1,p.timers.img[c.src]=setTimeout(f,700)})(),a(c).bind("error"+K+" load"+K,function(){h(this)}),g[c.src]=c})}var f=L.content;return!p.rendered||!b?c:(a.isFunction(b)&&(b=b.call(e,M.event,p)||""),b.jquery&&b.length>0?f.empty().append(b.css({display:"block"})):f.html(b),p.rendered<0?J.queue("fx",g):(I=0,g(a.noop)),p)}function V(){function j(a){if(J.hasClass(w))return c;clearTimeout(p.timers.show),clearTimeout(p.timers.hide);var d=function(){p.toggle(b,a)};f.show.delay>0?p.timers.show=setTimeout(d,f.show.delay):d()}function k(b){if(J.hasClass(w)||G||I)return c;var e=a(b.relatedTarget||b.target),h=e.closest(x)[0]===J[0],i=e[0]===g.show[0];clearTimeout(p.timers.show),clearTimeout(p.timers.hide);if(d.target==="mouse"&&h||f.hide.fixed&&/mouse(out|leave|move)/.test(b.type)&&(h||i)){try{b.preventDefault(),b.stopImmediatePropagation()}catch(j){}return}f.hide.delay>0?p.timers.hide=setTimeout(function(){p.hide(b)},f.hide.delay):p.hide(b)}function l(a){if(J.hasClass(w))return c;clearTimeout(p.timers.inactive),p.timers.inactive=setTimeout(function(){p.hide(a)},f.hide.inactive)}function m(a){p.rendered&&J[0].offsetWidth>0&&p.reposition(a)}var d=f.position,g={show:f.show.target,hide:f.hide.target,viewport:a(d.viewport),document:a(document),body:a(document.body),window:a(window)},h={show:a.trim(""+f.show.event).split(" "),hide:a.trim(""+f.hide.event).split(" ")},i=a.browser.msie&&parseInt(a.browser.version,10)===6;J.bind("mouseenter"+K+" mouseleave"+K,function(a){var b=a.type==="mouseenter";b&&p.focus(a),J.toggleClass(A,b)}),/mouse(out|leave)/i.test(f.hide.event)&&f.hide.leave==="window"&&g.window.bind("mouseout"+K+" blur"+K,function(a){!/select|option/.test(a.target.nodeName)&&!a.relatedTarget&&p.hide(a)}),f.hide.fixed?(g.hide=g.hide.add(J),J.bind("mouseover"+K,function(){J.hasClass(w)||clearTimeout(p.timers.hide)})):/mouse(over|enter)/i.test(f.show.event)&&g.hide.bind("mouseleave"+K,function(a){clearTimeout(p.timers.show)}),(""+f.hide.event).indexOf("unfocus")>-1&&d.container.closest("html").bind("mousedown"+K,function(b){var c=a(b.target),d=p.rendered&&!J.hasClass(w)&&J[0].offsetWidth>0,f=c.parents(x).filter(J[0]).length>0;c[0]!==e[0]&&c[0]!==J[0]&&!f&&!e.has(c[0]).length&&!c.attr("disabled")&&p.hide(b)}),"number"==typeof f.hide.inactive&&(g.show.bind("qtip-"+n+"-inactive",l),a.each(q.inactiveEvents,function(a,b){g.hide.add(L.tooltip).bind(b+K+"-inactive",l)})),a.each(h.hide,function(b,c){var d=a.inArray(c,h.show),e=a(g.hide);d>-1&&e.add(g.show).length===e.length||c==="unfocus"?(g.show.bind(c+K,function(a){J[0].offsetWidth>0?k(a):j(a)}),delete h.show[d]):g.hide.bind(c+K,k)}),a.each(h.show,function(a,b){g.show.bind(b+K,j)}),"number"==typeof f.hide.distance&&g.show.add(J).bind("mousemove"+K,function(a){var b=M.origin||{},c=f.hide.distance,d=Math.abs;(d(a.pageX-b.pageX)>=c||d(a.pageY-b.pageY)>=c)&&p.hide(a)}),d.target==="mouse"&&(g.show.bind("mousemove"+K,function(a){s={pageX:a.pageX,pageY:a.pageY,type:"mousemove"}}),d.adjust.mouse&&(f.hide.event&&(J.bind("mouseleave"+K,function(a){(a.relatedTarget||a.target)!==g.show[0]&&p.hide(a)}),L.target.bind("mouseenter"+K+" mouseleave"+K,function(a){M.onTarget=a.type==="mouseenter"})),g.document.bind("mousemove"+K,function(a){p.rendered&&M.onTarget&&!J.hasClass(w)&&J[0].offsetWidth>0&&p.reposition(a||s)}))),(d.adjust.resize||g.viewport.length)&&(a.event.special.resize?g.viewport:g.window).bind("resize"+K,m),(g.viewport.length||i&&J.css("position")==="fixed")&&g.viewport.bind("scroll"+K,m)}function W(){var b=[f.show.target[0],f.hide.target[0],p.rendered&&L.tooltip[0],f.position.container[0],f.position.viewport[0],f.position.container.closest("html")[0],window,document];p.rendered?a([]).pushStack(a.grep(b,function(a){return typeof a=="object"})).unbind(K):f.show.target.unbind(K+"-create")}var p=this,C=document.body,D=u+"-"+n,G=0,I=0,J=a(),K=".qtip-"+n,L,M;p.id=n,p.rendered=c,p.destroyed=c,p.elements=L={target:e},p.timers={img:{}},p.options=f,p.checks={},p.plugins={},p.cache=M={event:{},target:a(),disabled:c,attr:o,onTarget:c,lastClass:""},p.checks.builtin={"^id$":function(d,e,f){var g=f===b?q.nextid:f,h=u+"-"+g;g!==c&&g.length>0&&!a("#"+h).length&&(J[0].id=h,L.content[0].id=h+"-content",L.title[0].id=h+"-title")},"^content.text$":function(a,b,c){U(c)},"^content.title.text$":function(a,b,c){if(!c)return P();!L.title&&c&&R(),T(c)},"^content.title.button$":function(a,b,c){S(c)},"^position.(my|at)$":function(a,b,c){"string"==typeof c&&(a[b]=new r.Corner(c))},"^position.container$":function(a,b,c){p.rendered&&J.appendTo(c)},"^show.ready$":function(){p.rendered?p.toggle(b):p.render(1)},"^style.classes$":function(a,b,c){J.attr("class",u+" qtip ui-helper-reset "+c)},"^style.widget|content.title":O,"^events.(render|show|move|hide|focus|blur)$":function(b,c,d){J[(a.isFunction(d)?"":"un")+"bind"]("tooltip"+c,d)},"^(show|hide|position).(event|target|fixed|inactive|leave|distance|viewport|adjust)":function(){var a=f.position;J.attr("tracking",a.target==="mouse"&&a.adjust.mouse),W(),V()}},a.extend(p,{render:function(d){if(p.rendered)return p;var g=f.content.text,h=f.content.title.text,i=f.position,j=a.Event("tooltiprender");return a.attr(e[0],"aria-describedby",D),J=L.tooltip=a("<div/>",{id:D,"class":u+" qtip ui-helper-reset "+y+" "+f.style.classes+" "+u+"-pos-"+f.position.my.abbrev(),width:f.style.width||"",height:f.style.height||"",tracking:i.target==="mouse"&&i.adjust.mouse,role:"alert","aria-live":"polite","aria-atomic":c,"aria-describedby":D+"-content","aria-hidden":b}).toggleClass(w,M.disabled).data("qtip",p).appendTo(f.position.container).append(L.content=a("<div />",{"class":u+"-content",id:D+"-content","aria-atomic":b})),p.rendered=-1,I=1,G=1,h&&(R(),a.isFunction(h)||T(h,c)),a.isFunction(g)||U(g,c),p.rendered=b,O(),a.each(f.events,function(b,c){a.isFunction(c)&&J.bind(b==="toggle"?"tooltipshow tooltiphide":"tooltip"+b,c)}),a.each(r,function(){this.initialize==="render"&&this(p)}),V(),J.queue("fx",function(a){j.originalEvent=M.event,J.trigger(j,[p]),I=0,G=0,p.redraw(),(f.show.ready||d)&&p.toggle(b,M.event,c),a()}),p},get:function(a){var b,c;switch(a.toLowerCase()){case"dimensions":b={height:J.outerHeight(),width:J.outerWidth()};break;case"offset":b=r.offset(J,f.position.container);break;default:c=N(a.toLowerCase()),b=c[0][c[1]],b=b.precedance?b.string():b}return b},set:function(e,g){function n(a,b){var c,d,e;for(c in l)for(d in l[c])if(e=(new RegExp(d,"i")).exec(a))b.push(e),l[c][d].apply(p,b)}var h=/^position\.(my|at|adjust|target|container)|style|content|show\.ready/i,i=/^content\.(title|attr)|style/i,j=c,k=c,l=p.checks,m;return"string"==typeof e?(m=e,e={},e[m]=g):e=a.extend(b,{},e),a.each(e,function(b,c){var d=N(b.toLowerCase()),f;f=d[0][d[1]],d[0][d[1]]="object"==typeof c&&c.nodeType?a(c):c,e[b]=[d[0],d[1],c,f],j=h.test(b)||j,k=i.test(b)||k}),H(f),G=I=1,a.each(e,n),G=I=0,p.rendered&&J[0].offsetWidth>0&&(j&&p.reposition(f.position.target==="mouse"?d:M.event),k&&p.redraw()),p},toggle:function(e,g){function u(){e?(a.browser.msie&&J[0].style.removeAttribute("filter"),J.css("overflow",""),"string"==typeof i.autofocus&&a(i.autofocus,J).focus(),i.target.trigger("qtip-"+n+"-inactive")):J.css({display:"",visibility:"",opacity:"",left:"",top:""}),t=a.Event("tooltip"+(e?"visible":"hidden")),t.originalEvent=g?M.event:d,J.trigger(t,[p])}if(!p.rendered)return e?p.render(1):p;var h=e?"show":"hide",i=f[h],j=f[e?"hide":"show"],k=f.position,l=f.content,m=J[0].offsetWidth>0,o=e||i.target.length===1,q=!g||i.target.length<2||M.target[0]===g.target,r,t;(typeof e).search("boolean|number")&&(e=!m);if(!J.is(":animated")&&m===e&&q)return p;if(g){if(/over|enter/.test(g.type)&&/out|leave/.test(M.event.type)&&f.show.target.add(g.target).length===f.show.target.length&&J.has(g.relatedTarget).length)return p;M.event=a.extend({},g)}return t=a.Event("tooltip"+h),t.originalEvent=g?M.event:d,J.trigger(t,[p,90]),t.isDefaultPrevented()?p:(a.attr(J[0],"aria-hidden",!e),e?(M.origin=a.extend({},s),p.focus(g),a.isFunction(l.text)&&U(l.text,c),a.isFunction(l.title.text)&&T(l.title.text,c),!F&&k.target==="mouse"&&k.adjust.mouse&&(a(document).bind("mousemove.qtip",function(a){s={pageX:a.pageX,pageY:a.pageY,type:"mousemove"}}),F=b),p.reposition(g,arguments[2]),(t.solo=!!i.solo)&&a(x,i.solo).not(J).qtip("hide",t)):(clearTimeout(p.timers.show),delete M.origin,F&&!a(x+'[tracking="true"]:visible',i.solo).not(J).length&&(a(document).unbind("mousemove.qtip"),F=c),p.blur(g)),i.effect===c||o===c?(J[h](),u.call(J)):a.isFunction(i.effect)?(J.stop(1,1),i.effect.call(J,p),J.queue("fx",function(a){u(),a()})):J.fadeTo(90,e?1:0,u),e&&i.target.trigger("qtip-"+n+"-inactive"),p)},show:function(a){return p.toggle(b,a)},hide:function(a){return p.toggle(c,a)},focus:function(b){if(!p.rendered)return p;var c=a(x),d=parseInt(J[0].style.zIndex,10),e=q.zindex+c.length,f=a.extend({},b),g,h;return J.hasClass(z)||(h=a.Event("tooltipfocus"),h.originalEvent=f,J.trigger(h,[p,e]),h.isDefaultPrevented()||(d!==e&&(c.each(function(){this.style.zIndex>d&&(this.style.zIndex=this.style.zIndex-1)}),c.filter("."+z).qtip("blur",f)),J.addClass(z)[0].style.zIndex=e)),p},blur:function(b){var c=a.extend({},b),d;return J.removeClass(z),d=a.Event("tooltipblur"),d.originalEvent=c,J.trigger(d,[p]),p},reposition:function(b,d){if(!p.rendered||G)return p;G=1;var e=f.position.target,g=f.position,h=g.my,n=g.at,o=g.adjust,q=o.method.split(" "),t=J.outerWidth(),u=J.outerHeight(),v=0,w=0,x=a.Event("tooltipmove"),y=J.css("position")==="fixed",z=g.viewport,A={left:0,top:0},B=g.container,C=J[0].offsetWidth>0,D,E,F;if(a.isArray(e)&&e.length===2)n={x:j,y:i},A={left:e[0],top:e[1]};else if(e==="mouse"&&(b&&b.pageX||M.event.pageX))n={x:j,y:i},b=(b&&(b.type==="resize"||b.type==="scroll")?M.event:b&&b.pageX&&b.type==="mousemove"?b:s&&s.pageX&&(o.mouse||!b||!b.pageX)?{pageX:s.pageX,pageY:s.pageY}:!o.mouse&&M.origin&&M.origin.pageX&&f.show.distance?M.origin:b)||b||M.event||s||{},A={top:b.pageY,left:b.pageX};else{e==="event"&&b&&b.target&&b.type!=="scroll"&&b.type!=="resize"?M.target=a(b.target):e!=="event"&&(M.target=a(e.jquery?e:L.target)),e=M.target,e=a(e).eq(0);if(e.length===0)return p;e[0]===document||e[0]===window?(v=r.iOS?window.innerWidth:e.width(),w=r.iOS?window.innerHeight:e.height(),e[0]===window&&(A={top:(z||e).scrollTop(),left:(z||e).scrollLeft()})):r.imagemap&&e.is("area")?D=r.imagemap(p,e,n,r.viewport?q:c):r.svg&&typeof e[0].xmlbase=="string"?D=r.svg(p,e,n,r.viewport?q:c):(v=e.outerWidth(),w=e.outerHeight(),A=r.offset(e,B)),D&&(v=D.width,w=D.height,E=D.offset,A=D.position);if(r.iOS>3.1&&r.iOS<4.1||r.iOS>=4.3&&r.iOS<4.33||!r.iOS&&y)F=a(window),A.left-=F.scrollLeft(),A.top-=F.scrollTop();A.left+=n.x===l?v:n.x===m?v/2:0,A.top+=n.y===k?w:n.y===m?w/2:0}return A.left+=o.x+(h.x===l?-t:h.x===m?-t/2:0),A.top+=o.y+(h.y===k?-u:h.y===m?-u/2:0),r.viewport?(A.adjusted=r.viewport(p,A,g,v,w,t,u),E&&A.adjusted.left&&(A.left+=E.left),E&&A.adjusted.top&&(A.top+=E.top)):A.adjusted={left:0,top:0},x.originalEvent=a.extend({},b),J.trigger(x,[p,A,z.elem||z]),x.isDefaultPrevented()?p:(delete A.adjusted,d===c||!C||isNaN(A.left)||isNaN(A.top)||e==="mouse"||!a.isFunction(g.effect)?J.css(A):a.isFunction(g.effect)&&(g.effect.call(J,p,a.extend({},A)),J.queue(function(b){a(this).css({opacity:"",height:""}),a.browser.msie&&this.style.removeAttribute("filter"),b()})),G=0,p)},redraw:function(){if(p.rendered<1||I)return p;var a=f.position.container,b,c,d,e;return I=1,f.style.height&&J.css(h,f.style.height),f.style.width?J.css(g,f.style.width):(J.css(g,"").addClass(B),c=J.width()+1,d=J.css("max-width")||"",e=J.css("min-width")||"",b=(d+e).indexOf("%")>-1?a.width()/100:0,d=(d.indexOf("%")>-1?b:1)*parseInt(d,10)||c,e=(e.indexOf("%")>-1?b:1)*parseInt(e,10)||0,c=d+e?Math.min(Math.max(c,e),d):c,J.css(g,Math.round(c)).removeClass(B)),I=0,p},disable:function(b){return"boolean"!=typeof b&&(b=!J.hasClass(w)&&!M.disabled),p.rendered?(J.toggleClass(w,b),a.attr(J[0],"aria-disabled",b)):M.disabled=!!b,p},enable:function(){return p.disable(c)},destroy:function(){var c=e[0],d=a.attr(c,E),g=e.data("qtip");p.destroyed=b,p.rendered&&(J.stop(1,0).remove(),a.each(p.plugins,function(){this.destroy&&this.destroy()})),clearTimeout(p.timers.show),clearTimeout(p.timers.hide),W();if(!g||p===g)a.removeData(c,"qtip"),f.suppress&&d&&(a.attr(c,"title",d),e.removeAttr(E)),e.removeAttr("aria-describedby");return e.unbind(".qtip-"+n),delete t[p.id],e}})}function J(e,f){var g,h,i,j,k,l=a(this),m=a(document.body),n=this===document?m:l,o=l.metadata?l.metadata(f.metadata):d,p=f.metadata.type==="html5"&&o?o[f.metadata.name]:d,s=l.data(f.metadata.name||"qtipopts");try{s=typeof s=="string"?a.parseJSON(s):s}catch(t){G("Unable to parse HTML5 attribute data: "+s)}j=a.extend(b,{},q.defaults,f,typeof s=="object"?H(s):d,H(p||o)),h=j.position,j.id=e;if("boolean"==typeof j.content.text){i=l.attr(j.content.attr);if(j.content.attr!==c&&i)j.content.text=i;else return G("Unable to locate content for tooltip! Aborting render of tooltip on element: ",l),c}h.container.length||(h.container=m),h.target===c&&(h.target=n),j.show.target===c&&(j.show.target=n),j.show.solo===b&&(j.show.solo=h.container.closest("body")),j.hide.target===c&&(j.hide.target=n),j.position.viewport===b&&(j.position.viewport=h.container),h.container=h.container.eq(0),h.at=new r.Corner(h.at),h.my=new r.Corner(h.my);if(a.data(this,"qtip"))if(j.overwrite)l.qtip("destroy");else if(j.overwrite===c)return c;return j.suppress&&(k=a.attr(this,"title"))&&a(this).removeAttr("title").attr(E,k).attr("title",""),g=new I(l,j,e,!!i),a.data(this,"qtip",g),l.bind("remove.qtip-"+e+" removeqtip.qtip-"+e,function(){g.destroy()}),g}function K(d){var e=this,f=d.elements.tooltip,g=d.options.content.ajax,h=q.defaults.content.ajax,i=".qtip-ajax",j=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,k=b,l=c,m;d.checks.ajax={"^content.ajax":function(a,b,c){b==="ajax"&&(g=c),b==="once"?e.init():g&&g.url?e.load():f.unbind(i)}},a.extend(e,{init:function(){return g&&g.url&&f.unbind(i)[g.once?"one":"bind"]("tooltipshow"+i,e.load),e},load:function(f){function r(){var e;if(d.destroyed)return;k=c,p&&(l=b,d.show(f.originalEvent)),(e=h.complete||g.complete)&&a.isFunction(e)&&e.apply(g.context||d,arguments)}function s(b,c,e){var f;if(d.destroyed)return;o&&(b=a("<div/>").append(b.replace(j,"")).find(o)),(f=h.success||g.success)&&a.isFunction(f)?f.call(g.context||d,b,c,e):d.set("content.text",b)}function t(a,b,c){if(d.destroyed||a.status===0)return;d.set("content.text",b+": "+c)}if(l){l=c;return}var i=g.url.indexOf(" "),n=g.url,o,p=!g.loading&&k;if(p)try{f.preventDefault()}catch(q){}else if(f&&f.isDefaultPrevented())return e;m&&m.abort&&m.abort(),i>-1&&(o=n.substr(i),n=n.substr(0,i)),m=a.ajax(a.extend({error:h.error||t,context:d},g,{url:n,success:s,complete:r}))},destroy:function(){m&&m.abort&&m.abort(),d.destroyed=b}}),e.init()}function L(a,b,c){var d=Math.ceil(b/2),e=Math.ceil(c/2),f={bottomright:[[0,0],[b,c],[b,0]],bottomleft:[[0,0],[b,0],[0,c]],topright:[[0,c],[b,0],[b,c]],topleft:[[0,0],[0,c],[b,c]],topcenter:[[0,c],[d,0],[b,c]],bottomcenter:[[0,0],[b,0],[d,c]],rightcenter:[[0,0],[b,e],[0,c]],leftcenter:[[b,0],[b,c],[0,e]]};return f.lefttop=f.bottomright,f.righttop=f.bottomleft,f.leftbottom=f.topright,f.rightbottom=f.topleft,f[a.string()]}function M(n,o){function C(){w.width=s.height,w.height=s.width}function D(){w.width=s.width,w.height=s.height}function E(a,d,g,h){if(!t.tip)return;var o=q.corner.clone(),r=g.adjusted,u=n.options.position.adjust.method.split(" "),w=u[0],x=u[1]||u[0],y={left:c,top:c,x:0,y:0},z,A={},B;q.corner.fixed!==b&&(w===p&&o.precedance===e&&r.left&&o.y!==m?o.precedance=o.precedance===e?f:e:w!==p&&r.left&&(o.x=o.x===m?r.left>0?j:l:o.x===j?l:j),x===p&&o.precedance===f&&r.top&&o.x!==m?o.precedance=o.precedance===f?e:f:x!==p&&r.top&&(o.y=o.y===m?r.top>0?i:k:o.y===i?k:i),o.string()!==v.corner.string()&&(v.top!==r.top||v.left!==r.left)&&q.update(o,c)),z=q.position(o,r),z[o.x]+=F(o,o.x,b),z[o.y]+=F(o,o.y,b),z.right!==undefined&&(z.left=-z.right),z.bottom!==undefined&&(z.top=-z.bottom),z.user=Math.max(0,s.offset);if(y.left=w===p&&!!r.left)o.x===m?A["margin-left"]=y.x=z["margin-left"]-r.left:(B=z.right!==undefined?[r.left,-z.left]:[-r.left,z.left],(y.x=Math.max(B[0],B[1]))>B[0]&&(g.left-=r.left,y.left=c),A[z.right!==undefined?l:j]=y.x);if(y.top=x===p&&!!r.top)o.y===m?A["margin-top"]=y.y=z["margin-top"]-r.top:(B=z.bottom!==undefined?[r.top,-z.top]:[-r.top,z.top],(y.y=Math.max(B[0],B[1]))>B[0]&&(g.top-=r.top,y.top=c),A[z.bottom!==undefined?k:i]=y.y);t.tip.css(A).toggle(!(y.x&&y.y||o.x===m&&y.y||o.y===m&&y.x)),g.left-=z.left.charAt?z.user:w!==p||y.top||!y.left&&!y.top?z.left:0,g.top-=z.top.charAt?z.user:x!==p||y.left||!y.left&&!y.top?z.top:0,v.left=r.left,v.top=r.top,v.corner=o.clone()}function F(a,b,c){b=b?b:a[a.precedance];var d=u.hasClass(B),e=t.titlebar&&a.y===i,f=e?t.titlebar:t.tooltip,g="border-"+b+"-width",h;return u.addClass(B),h=parseInt(f.css(g),10),h=(c?h||parseInt(u.css(g),10):h)||0,u.toggleClass(B,d),h}function G(b){function j(a){return parseInt(d.css(a),10)||parseInt(u.css(a),10)}var c=t.titlebar&&b.y===i,d=c?t.titlebar:t.content,e=a.browser.mozilla,f=e?"-moz-":a.browser.webkit?"-webkit-":"",g="border-radius-"+b.y+b.x,h="border-"+b.y+"-"+b.x+"-radius";return j(h)||j(f+h)||j(f+g)||j(g)||0}function H(a){var b=a.precedance===f,c=w[b?g:h],d=w[b?h:g],e=a.string().indexOf(m)>-1,i=c*(e?.5:1),j=Math.pow,k=Math.round,l,n,o,p=Math.sqrt(j(i,2)+j(d,2)),q=[y/i*p,y/d*p];return q[2]=Math.sqrt(j(q[0],2)-j(y,2)),q[3]=Math.sqrt(j(q[1],2)-j(y,2)),l=p+q[2]+q[3]+(e?0:q[0]),n=l/p,o=[k(n*d),k(n*c)],{height:o[b?0:1],width:o[b?1:0]}}var q=this,s=n.options.style.tip,t=n.elements,u=t.tooltip,v={top:0,left:0},w={width:s.width,height:s.height},x={},y=s.border||0,z=".qtip-tip",A=!!(a("<canvas />")[0]||{}).getContext;q.corner=d,q.mimic=d,q.border=y,q.offset=s.offset,q.size=w,n.checks.tip={"^position.my|style.tip.(corner|mimic|border)$":function(){q.init()||q.destroy(),n.reposition()},"^style.tip.(height|width)$":function(){w={width:s.width,height:s.height},q.create(),q.update(),n.reposition()},"^content.title.text|style.(classes|widget)$":function(){t.tip&&t.tip.length&&q.update()}},a.extend(q,{init:function(){var b=q.detectCorner()&&(A||a.browser.msie);return b&&(q.create(),q.update(),u.unbind(z).bind("tooltipmove"+z,E)),b},detectCorner:function(){var a=s.corner,d=n.options.position,e=d.at,f=d.my.string?d.my.string():d.my;return a===c||f===c&&e===c?c:(a===b?q.corner=new r.Corner(f):a.string||(q.corner=new r.Corner(a),q.corner.fixed=b),v.corner=new r.Corner(q.corner.string()),q.corner.string()!=="centercenter")},detectColours:function(b){var c,d,e,f=t.tip.css("cssText",""),g=b||q.corner,h=g[g.precedance],j="border-"+h+"-color",k="border"+h.charAt(0)+h.substr(1)+"Color",l=/rgba?\(0, 0, 0(, 0)?\)|transparent|#123456/i,n="background-color",o="transparent",p=" !important",r=t.titlebar&&(g.y===i||g.y===m&&f.position().top+w.height/2+s.offset<t.titlebar.outerHeight(1)),v=r?t.titlebar:t.tooltip;u.addClass(B),x.fill=d=f.css(n),x.border=e=f[0].style[k]||f.css(j)||u.css(j);if(!d||l.test(d))x.fill=v.css(n)||o,l.test(x.fill)&&(x.fill=u.css(n)||d);if(!e||l.test(e)||e===a(document.body).css("color")){x.border=v.css(j)||o;if(l.test(x.border)||x.border===v.css("color"))x.border=u.css(j)||u.css(k)||e}a("*",f).add(f).css("cssText",n+":"+o+p+";border:0"+p+";"),u.removeClass(B)},create:function(){var b=w.width,c=w.height,d;t.tip&&t.tip.remove(),t.tip=a("<div />",{"class":"ui-tooltip-tip"}).css({width:b,height:c}).prependTo(u),A?a("<canvas />").appendTo(t.tip)[0].getContext("2d").save():(d='<vml:shape coordorigin="0,0" style="display:inline-block; position:absolute; behavior:url(#default#VML);"></vml:shape>',t.tip.html(d+d),a("*",t.tip).bind("click mousedown",function(a){a.stopPropagation()}))},update:function(g,h){var n=t.tip,o=n.children(),p=w.width,z=w.height,B="px solid ",E="px dashed transparent",G=s.mimic,I=Math.round,J,K,M,N,O;g||(g=v.corner||q.corner),G===c?G=g:(G=new r.Corner(G),G.precedance=g.precedance,G.x==="inherit"?G.x=g.x:G.y==="inherit"?G.y=g.y:G.x===G.y&&(G[g.precedance]=g[g.precedance])),J=G.precedance,g.precedance===e?C():D(),t.tip.css({width:p=w.width,height:z=w.height}),q.detectColours(g),x.border!=="transparent"?(y=F(g,d,b),s.border===0&&y>0&&(x.fill=x.border),q.border=y=s.border!==b?s.border:y):q.border=y=0,M=L(G,p,z),q.size=O=H(g),n.css(O),g.precedance===f?N=[I(G.x===j?y:G.x===l?O.width-p-y:(O.width-p)/2),I(G.y===i?O.height-z:0)]:N=[I(G.x===j?O.width-p:0),I(G.y===i?y:G.y===k?O.height-z-y:(O.height-z)/2)],A?(o.attr(O),K=o[0].getContext("2d"),K.restore(),K.save(),K.clearRect(0,0,3e3,3e3),K.fillStyle=x.fill,K.strokeStyle=x.border,K.lineWidth=y*2,K.lineJoin="miter",K.miterLimit=100,K.translate(N[0],N[1]),K.beginPath(),K.moveTo(M[0][0],M[0][1]),K.lineTo(M[1][0],M[1][1]),K.lineTo(M[2][0],M[2][1]),K.closePath(),y&&(u.css("background-clip")==="border-box"&&(K.strokeStyle=x.fill,K.stroke()),K.strokeStyle=x.border,K.stroke()),K.fill()):(M="m"+M[0][0]+","+M[0][1]+" l"+M[1][0]+","+M[1][1]+" "+M[2][0]+","+M[2][1]+" xe",N[2]=y&&/^(r|b)/i.test(g.string())?parseFloat(a.browser.version,10)===8?2:1:0,o.css({antialias:""+(G.string().indexOf(m)>-1),left:N[0]-N[2]*Number(J===e),top:N[1]-N[2]*Number(J===f),width:p+y,height:z+y}).each(function(b){var c=a(this);c[c.prop?"prop":"attr"]({coordsize:p+y+" "+(z+y),path:M,fillcolor:x.fill,filled:!!b,stroked:!b}).css({display:y||b?"block":"none"}),!b&&c.html()===""&&c.html('<vml:stroke weight="'+y*2+'px" color="'+x.border+'" miterlimit="1000" joinstyle="miter" '+' style="behavior:url(#default#VML); display:inline-block;" />')})),h!==c&&q.position(g)},position:function(b){var d=t.tip,k={},l=Math.max(0,s.offset),n,o,p;return s.corner===c||!d?c:(b=b||q.corner,n=b.precedance,o=H(b),p=[b.x,b.y],n===e&&p.reverse(),a.each(p,function(a,c){var d,e;c===m?(d=n===f?j:i,k[d]="50%",k["margin-"+d]=-Math.round(o[n===f?g:h]/2)+l):(d=F(b,c),e=G(b),k[c]=a?0:l+(e>d?e:-d))}),k[b[n]]-=o[n===e?g:h],d.css({top:"",bottom:"",left:"",right:"",margin:""}).css(k),k)},destroy:function(){t.tip&&t.tip.remove(),t.tip=!1,u.unbind(z)}}),q.init()}function N(d){function q(){o=a(n,h).not("[disabled]").map(function(){return typeof this.focus=="function"?this:null})}function s(a){o.length<1&&a.length?a.not("body").blur():o.first().focus()}function t(b){var d=a(b.target),e=d.closest(".qtip"),f;f=e.length<1?c:parseInt(e[0].style.zIndex,10)>parseInt(h[0].style.zIndex,10),!f&&a(b.target).closest(x)[0]!==h[0]&&s(d)}var e=this,f=d.options.show.modal,g=d.elements,h=g.tooltip,i="#qtip-overlay",j=".qtipmodal",k=j+d.id,l="is-modal-qtip",m=a(document.body),n=r.modal.focusable.join(","),o={},p;d.checks.modal={"^show.modal.(on|blur)$":function(){e.init(),g.overlay.toggle(h.is(":visible"))},"^content.text$":function(){q()}},a.extend(e,{init:function(){return f.on?(p=e.create(),h.attr(l,b).css("z-index",r.modal.zindex+a(x+"["+l+"]").length).unbind(j).unbind(k).bind("tooltipshow"+j+" tooltiphide"+j,function(b,c,d){var f=b.originalEvent;if(b.target===h[0])if(f&&b.type==="tooltiphide"&&/mouse(leave|enter)/.test(f.type)&&a(f.relatedTarget).closest(p[0]).length)try{b.preventDefault()}catch(g){}else(!f||f&&!f.solo)&&e[b.type.replace("tooltip","")](b,d)}).bind("tooltipfocus"+j,function(b){if(b.isDefaultPrevented()||b.target!==h[0])return;var c=a(x).filter("["+l+"]"),d=r.modal.zindex+c.length,e=parseInt(h[0].style.zIndex,10);p[0].style.zIndex=d-2,c.each(function(){this.style.zIndex>e&&(this.style.zIndex-=1)}),c.end().filter("."+z).qtip("blur",b.originalEvent),h.addClass(z)[0].style.zIndex=d;try{b.preventDefault()}catch(f){}}).bind("tooltiphide"+j,function(b){b.target===h[0]&&a("["+l+"]").filter(":visible").not(h).last().qtip("focus",b)}),f.escape&&a(document).unbind(k).bind("keydown"+k,function(a){a.keyCode===27&&h.hasClass(z)&&d.hide(a)}),f.blur&&g.overlay.unbind(k).bind("click"+k,function(a){h.hasClass(z)&&d.hide(a)}),q(),e):e},create:function(){function d(){p.css({height:a(window).height(),width:a(window).width()})}var b=a(i);return b.length?g.overlay=b.insertAfter(a(x).last()):(p=g.overlay=a("<div />",{id:i.substr(1),html:"<div></div>",mousedown:function(){return c}}).hide().insertAfter(a(x).last()),a(window).unbind(j).bind("resize"+j,d),d(),p)},toggle:function(d,g,i){if(d&&d.isDefaultPrevented())return e;var j=f.effect,n=g?"show":"hide",o=p.is(":visible"),q=a("["+l+"]").filter(":visible").not(h),r;return p||(p=e.create()),p.is(":animated")&&o===g||!g&&q.length?e:(g?(p.css({left:0,top:0}),p.toggleClass("blurs",f.blur),f.stealfocus!==c&&(m.bind("focusin"+k,t),s(a("body *")))):m.unbind("focusin"+k),p.stop(b,c),a.isFunction(j)?j.call(p,g):j===c?p[n]():p.fadeTo(parseInt(i,10)||90,g?1:0,function(){g||a(this).hide()}),g||p.queue(function(a){p.css({left:"",top:""}),a()}),e)},show:function(a,c){return e.toggle(a,b,c)},hide:function(a,b){return e.toggle(a,c,b)},destroy:function(){var b=p;return b&&(b=a("["+l+"]").not(h).length<1,b?(g.overlay.remove(),a(document).unbind(j)):g.overlay.unbind(j+d.id),m.undelegate("*","focusin"+k)),h.removeAttr(l).unbind(j)}}),e.init()}function O(b){var c=this,d=b.elements,e=d.tooltip,f=".bgiframe-"+b.id;a.extend(c,{init:function(){d.bgiframe=a('<iframe class="ui-tooltip-bgiframe" frameborder="0" tabindex="-1" src="javascript:\'\';" style="display:block; position:absolute; z-index:-1; filter:alpha(opacity=0); -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";"></iframe>'),d.bgiframe.appendTo(e),e.bind("tooltipmove"+f,c.adjust)},adjust:function(){var a=b.get("dimensions"),c=b.plugins.tip,f=d.tip,g,h;h=parseInt(e.css("border-left-width"),10)||0,h={left:-h,top:-h},c&&f&&(g=c.corner.precedance==="x"?["width","left"]:["height","top"],h[g[1]]-=f[g[0]]()),d.bgiframe.css(h).css(a)},destroy:function(){d.bgiframe.remove(),e.unbind(f)}}),c.init()}"use strict";var b=!0,c=!1,d=null,e="x",f="y",g="width",h="height",i="top",j="left",k="bottom",l="right",m="center",n="flip",o="flipinvert",p="shift",q,r,s,t={},u="ui-tooltip",v="ui-widget",w="ui-state-disabled",x="div.qtip."+u,y=u+"-default",z=u+"-focus",A=u+"-hover",B=u+"-fluid",C="-31000px",D="_replacedByqTip",E="oldtitle",F;q=a.fn.qtip=function(e,f,g){var h=(""+e).toLowerCase(),i=d,j=a.makeArray(arguments).slice(1),k=j[j.length-1],l=this[0]?a.data(this[0],"qtip"):d;if(!arguments.length&&l||h==="api")return l;if("string"==typeof e)return this.each(function(){var d=a.data(this,"qtip");if(!d)return b;k&&k.timeStamp&&(d.cache.event=k);if(h!=="option"&&h!=="options"||!f)d[h]&&d[h].apply(d[h],j);else if(a.isPlainObject(f)||g!==undefined)d.set(f,g);else return i=d.get(f),c}),i!==d?i:this;if("object"==typeof e||!arguments.length)return l=H(a.extend(b,{},e)),q.bind.call(this,l,k)},q.bind=function(d,e){return this.each(function(f){function m(b){function d(){k.render(typeof b=="object"||g.show.ready),h.show.add(h.hide).unbind(j)}if(k.cache.disabled)return c;k.cache.event=a.extend({},b),k.cache.target=b?a(b.target):[undefined],g.show.delay>0?(clearTimeout(k.timers.show),k.timers.show=setTimeout(d,g.show.delay),i.show!==i.hide&&h.hide.bind(i.hide,function(){clearTimeout(k.timers.show)})):d()}var g,h,i,j,k,l;l=a.isArray(d.id)?d.id[f]:d.id,l=!l||l===c||l.length<1||t[l]?q.nextid++:t[l]=l,j=".qtip-"+l+"-create",k=J.call(this,l,d);if(k===c)return b;g=k.options,a.each(r,function(){this.initialize==="initialize"&&this(k)}),h={show:g.show.target,hide:g.hide.target},i={show:a.trim(""+g.show.event).replace(/ /g,j+" ")+j,hide:a.trim(""+g.hide.event).replace(/ /g,j+" ")+j},/mouse(over|enter)/i.test(i.show)&&!/mouse(out|leave)/i.test(i.hide)&&(i.hide+=" mouseleave"+j),h.show.bind("mousemove"+j,function(a){s={pageX:a.pageX,pageY:a.pageY,type:"mousemove"},k.cache.onTarget=b}),h.show.bind(i.show,m),(g.show.ready||g.prerender)&&m(e)})},r=q.plugins={Corner:function(a){a=(""+a).replace(/([A-Z])/," $1").replace(/middle/gi,m).toLowerCase(),this.x=(a.match(/left|right/i)||a.match(/center/)||["inherit"])[0].toLowerCase(),this.y=(a.match(/top|bottom|center/i)||["inherit"])[0].toLowerCase();var b=a.charAt(0);this.precedance=b==="t"||b==="b"?f:e,this.string=function(){return this.precedance===f?this.y+this.x:this.x+this.y},this.abbrev=function(){var a=this.x.substr(0,1),b=this.y.substr(0,1);return a===b?a:this.precedance===f?b+a:a+b},this.invertx=function(a){this.x=this.x===j?l:this.x===l?j:a||this.x},this.inverty=function(a){this.y=this.y===i?k:this.y===k?i:a||this.y},this.clone=function(){return{x:this.x,y:this.y,precedance:this.precedance,string:this.string,abbrev:this.abbrev,clone:this.clone,invertx:this.invertx,inverty:this.inverty}}},offset:function(b,c){function j(a,b){d.left+=b*a.scrollLeft(),d.top+=b*a.scrollTop()}var d=b.offset(),e=b.closest("body")[0],f=c,g,h,i;if(f){do f.css("position")!=="static"&&(h=f.position(),d.left-=h.left+(parseInt(f.css("borderLeftWidth"),10)||0)+(parseInt(f.css("marginLeft"),10)||0),d.top-=h.top+(parseInt(f.css("borderTopWidth"),10)||0)+(parseInt(f.css("marginTop"),10)||0),!g&&(i=f.css("overflow"))!=="hidden"&&i!=="visible"&&(g=f));while((f=a(f[0].offsetParent)).length);g&&g[0]!==e&&j(g,1)}return d},iOS:parseFloat((""+(/CPU.*OS ([0-9_]{1,5})|(CPU like).*AppleWebKit.*Mobile/i.exec(navigator.userAgent)||[0,""])[1]).replace("undefined","3_2").replace("_",".").replace("_",""))||c,fn:{attr:function(b,c){if(this.length){var d=this[0],e="title",f=a.data(d,"qtip");if(b===e&&f&&"object"==typeof f&&f.options.suppress)return arguments.length<2?a.attr(d,E):(f&&f.options.content.attr===e&&f.cache.attr&&f.set("content.text",c),this.attr(E,c))}return a.fn["attr"+D].apply(this,arguments)},clone:function(b){var c=a([]),d="title",e=a.fn["clone"+D].apply(this,arguments);return b||e.filter("["+E+"]").attr("title",function(){return a.attr(this,E)}).removeAttr(E),e}}},a.each(r.fn,function(c,d){if(!d||a.fn[c+D])return b;var e=a.fn[c+D]=a.fn[c];a.fn[c]=function(){return d.apply(this,arguments)||e.apply(this,arguments)}}),a.ui||(a["cleanData"+D]=a.cleanData,a.cleanData=function(b){for(var c=0,d;(d=b[c])!==undefined;c++)try{a(d).triggerHandler("removeqtip")}catch(e){}a["cleanData"+D](b)}),q.version="@VERSION",q.nextid=0,q.inactiveEvents="click dblclick mousedown mouseup mousemove mouseleave mouseenter".split(" "),q.zindex=15e3,q.defaults={prerender:c,id:c,overwrite:b,suppress:b,content:{text:b,attr:"title",title:{text:c,button:c}},position:{my:"top left",at:"bottom right",target:c,container:c,viewport:c,adjust:{x:0,y:0,mouse:b,resize:b,method:"flip flip"},effect:function(b,d,e){a(this).animate(d,{duration:200,queue:c})}},show:{target:c,event:"mouseenter",effect:b,delay:90,solo:c,ready:c,autofocus:c},hide:{target:c,event:"mouseleave",effect:b,delay:0,fixed:c,inactive:c,leave:"window",distance:c},style:{classes:"",widget:c,width:c,height:c,def:b},events:{render:d,move:d,show:d,hide:d,toggle:d,visible:d,hidden:d,focus:d,blur:d}},r.svg=function(b,c,d,e){var f=a(document),g=c[0],h={width:0,height:0,position:{top:1e10,left:1e10}},i,j,k,l,m;while(!g.getBBox)g=g.parentNode;if(g.getBBox&&g.parentNode){i=g.getBBox(),j=g.getScreenCTM(),k=g.farthestViewportElement||g;if(!k.createSVGPoint)return h;l=k.createSVGPoint(),l.x=i.x,l.y=i.y,m=l.matrixTransform(j),h.position.left=m.x,h.position.top=m.y,l.x+=i.width,l.y+=i.height,m=l.matrixTransform(j),h.width=m.x-h.position.left,h.height=m.y-h.position.top,h.position.left+=f.scrollLeft(),h.position.top+=f.scrollTop()}return h},r.ajax=function(a){var b=a.plugins.ajax;return"object"==typeof b?b:a.plugins.ajax=new K(a)},r.ajax.initialize="render",r.ajax.sanitize=function(a){var b=a.content,c;b&&"ajax"in b&&(c=b.ajax,typeof c!="object"&&(c=a.content.ajax={url:c}),"boolean"!=typeof c.once&&c.once&&(c.once=!!c.once))},a.extend(b,q.defaults,{content:{ajax:{loading:b,once:b}}}),r.tip=function(a){var b=a.plugins.tip;return"object"==typeof b?b:a.plugins.tip=new M(a)},r.tip.initialize="render",r.tip.sanitize=function(a){var c=a.style,d;c&&"tip"in c&&(d=a.style.tip,typeof d!="object"&&(a.style.tip={corner:d}),/string|boolean/i.test(typeof d.corner)||(d.corner=b),typeof d.width!="number"&&delete d.width,typeof d.height!="number"&&delete d.height,typeof d.border!="number"&&d.border!==b&&delete d.border,typeof d.offset!="number"&&delete d.offset)},a.extend(b,q.defaults,{style:{tip:{corner:b,mimic:c,width:6,height:6,border:b,offset:0}}}),r.modal=function(a){var b=a.plugins.modal;return"object"==typeof b?b:a.plugins.modal=new N(a)},r.modal.initialize="render",r.modal.sanitize=function(a){a.show&&(typeof a.show.modal!="object"?a.show.modal={on:!!a.show.modal}:typeof a.show.modal.on=="undefined"&&(a.show.modal.on=b))},r.modal.zindex=q.zindex-200,r.modal.focusable=["a[href]","area[href]","input","select","textarea","button","iframe","object","embed","[tabindex]","[contenteditable]"],a.extend(b,q.defaults,{show:{modal:{on:c,effect:b,blur:b,stealfocus:b,escape:b}}}),r.viewport=function(a,b,c,d,n,q,r){function J(a,c,d,e,f,g,h,i,j){var k=b[f],l=v[a],n=w[a],q=d===p,r=-C.offset[f]+B.offset[f]+B["scroll"+f],s=l===f?j:l===g?-j:-j/2,t=n===f?i:n===g?-i:-i/2,u=E&&E.size?E.size[h]||0:0,x=E&&E.corner&&E.corner.precedance===a&&!q?u:0,y=r-k+x,z=k+j-B[h]-r+x,A=s-(v.precedance===a||l===v[c]?t:0)-(n===m?i/2:0);return q?(x=E&&E.corner&&E.corner.precedance===c?u:0,A=(l===f?1:-1)*s-x,b[f]+=y>0?y:z>0?-z:0,b[f]=Math.max(-C.offset[f]+B.offset[f]+(x&&E.corner[a]===m?E.offset:0),k-A,Math.min(Math.max(-C.offset[f]+B.offset[f]+B[h],k+A),b[f]))):(e*=d===o?2:0,y>0&&(l!==f||z>0)?(b[f]-=A+e,H["invert"+a](f)):z>0&&(l!==g||y>0)&&(b[f]-=(l===m?-A:A)+e,H["invert"+a](g)),b[f]<r&&-b[f]>z&&(b[f]=k,H=undefined)),b[f]-k}var s=c.target,t=a.elements.tooltip,v=c.my,w=c.at,x=c.adjust,y=x.method.split(" "),z=y[0],A=y[1]||y[0],B=c.viewport,C=c.container,D=a.cache,E=a.plugins.tip,F={left:0,top:0},G,H,I;if(!B.jquery||s[0]===window||s[0]===document.body||x.method==="none")return F;G=t.css("position")==="fixed",B={elem:B,height:B[(B[0]===window?"h":"outerH")+"eight"](),width:B[(B[0]===window?"w":"outerW")+"idth"](),scrollleft:G?0:B.scrollLeft(),scrolltop:G?0:B.scrollTop(),offset:B.offset()||{left:0,top:0}},C={elem:C,scrollLeft:C.scrollLeft(),scrollTop:C.scrollTop(),offset:C.offset()||{left:0,top:0}};if(z!=="shift"||A!=="shift")H=v.clone();return F={left:z!=="none"?J(e,f,z,x.x,j,l,g,d,q):0,top:A!=="none"?J(f,e,A,x.y,i,k,h,n,r):0},H&&D.lastClass!==(I=u+"-pos-"+H.abbrev())&&t.removeClass(a.cache.lastClass).addClass(a.cache.lastClass=I),F},r.imagemap=function(b,c,d,e){function v(a,b,c){var d=0,e=1,f=1,g=0,h=0,n=a.width,o=a.height;while(n>0&&o>0&&e>0&&f>0){n=Math.floor(n/2),o=Math.floor(o/2),c.x===j?e=n:c.x===l?e=a.width-n:e+=Math.floor(n/2),c.y===i?f=o:c.y===k?f=a.height-o:f+=Math.floor(o/2),d=b.length;while(d--){if(b.length<2)break;g=b[d][0]-a.position.left,h=b[d][1]-a.position.top,(c.x===j&&g>=e||c.x===l&&g<=e||c.x===m&&(g<e||g>a.width-e)||c.y===i&&h>=f||c.y===k&&h<=f||c.y===m&&(h<f||h>a.height-f))&&b.splice(d,1)}}return{left:b[0][0],top:b[0][1]}}c.jquery||(c=a(c));var f=b.cache.areas={},g=(c[0].shape||c.attr("shape")).toLowerCase(),h=c[0].coords||c.attr("coords"),n=h.split(","),o=[],p=a('img[usemap="#'+c.parent("map").attr("name")+'"]'),q=p.offset(),r={width:0,height:0,position:{top:1e10,right:0,bottom:0,left:1e10}},s=0,t=0,u;q.left+=Math.ceil((p.outerWidth()-p.width())/2),q.top+=Math.ceil((p.outerHeight()-p.height())/2);if(g==="poly"){s=n.length;while(s--)t=[parseInt(n[--s],10),parseInt(n[s+1],10)],t[0]>r.position.right&&(r.position.right=t[0]),t[0]<r.position.left&&(r.position.left=t[0]),t[1]>r.position.bottom&&(r.position.bottom=t[1]),t[1]<r.position.top&&(r.position.top=t[1]),o.push(t)}else{s=-1;while(s++<n.length)o.push(parseInt(n[s],10))}switch(g){case"rect":r={width:Math.abs(o[2]-o[0]),height:Math.abs(o[3]-o[1]),position:{left:Math.min(o[0],o[2]),top:Math.min(o[1],o[3])}};break;case"circle":r={width:o[2]+2,height:o[2]+2,position:{left:o[0],top:o[1]}};break;case"poly":r.width=Math.abs(r.position.right-r.position.left),r.height=Math.abs(r.position.bottom-r.position.top),d.abbrev()==="c"?r.position={left:r.position.left+r.width/2,top:r.position.top+r.height/2}:(f[d+h]||(r.position=v(r,o.slice(),d),e&&(e[0]==="flip"||e[1]==="flip")&&(r.offset=v(r,o.slice(),{x:d.x===j?l:d.x===l?j:m,y:d.y===i?k:d.y===k?i:m}),r.offset.left-=r.position.left,r.offset.top-=r.position.top),f[d+h]=r),r=f[d+h]),r.width=r.height=0}return r.position.left+=q.left,r.position.top+=q.top,r},r.bgiframe=function(b){var d=a.browser,e=b.plugins.bgiframe;return a("select, object").length<1||!d.msie||(""+d.version).charAt(0)!=="6"?c:"object"==typeof e?e:b.plugins.bgiframe=new O(b)},r.bgiframe.initialize="render"});
|
1 |
+
/* qTip2 v2.1.1 None | qtip2.com | Licensed MIT, GPL | Thu Jul 11 2013 14:03:06 */
|
2 |
+
(function(t,e,i){(function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery","imagesloaded"],t):jQuery&&!jQuery.fn.qtip&&t(jQuery)})(function(s){function o(t,e,i,o){this.id=i,this.target=t,this.tooltip=C,this.elements=elements={target:t},this._id=z+"-"+i,this.timers={img:{}},this.options=e,this.plugins={},this.cache=cache={event:{},target:s(),disabled:T,attr:o,onTooltip:T,lastClass:""},this.rendered=this.destroyed=this.disabled=this.waiting=this.hiddenDuringWait=this.positioning=this.triggering=T}function n(t){return t===C||"object"!==s.type(t)}function r(t){return!(s.isFunction(t)||t&&t.attr||t.length||"object"===s.type(t)&&(t.jquery||t.then))}function a(t){var e,i,o,a;return n(t)?T:(n(t.metadata)&&(t.metadata={type:t.metadata}),"content"in t&&(e=t.content,n(e)||e.jquery||e.done?e=t.content={text:i=r(e)?T:e}:i=e.text,"ajax"in e&&(o=e.ajax,a=o&&o.once!==T,delete e.ajax,e.text=function(t,e){var n=i||s(this).attr(e.options.content.attr)||"Loading...",r=s.ajax(s.extend({},o,{context:e})).then(o.success,C,o.error).then(function(t){return t&&a&&e.set("content.text",t),t},function(t,i,s){e.destroyed||0===t.status||e.set("content.text",i+": "+s)});return a?n:(e.set("content.text",n),r)}),"title"in e&&(n(e.title)||(e.button=e.title.button,e.title=e.title.text),r(e.title||T)&&(e.title=T))),"position"in t&&n(t.position)&&(t.position={my:t.position,at:t.position}),"show"in t&&n(t.show)&&(t.show=t.show.jquery?{target:t.show}:t.show===x?{ready:x}:{event:t.show}),"hide"in t&&n(t.hide)&&(t.hide=t.hide.jquery?{target:t.hide}:{event:t.hide}),"style"in t&&n(t.style)&&(t.style={classes:t.style}),s.each(B,function(){this.sanitize&&this.sanitize(t)}),t)}function h(t,e){for(var i,s=0,o=t,n=e.split(".");o=o[n[s++]];)n.length>s&&(i=o);return[i||t,n.pop()]}function d(t,e){var i,s,o;for(i in this.checks)for(s in this.checks[i])(o=RegExp(s,"i").exec(t))&&(e.push(o),("builtin"===i||this.plugins[i])&&this.checks[i][s].apply(this.plugins[i]||this,e))}function l(t){return A.concat("").join(t?"-"+t+" ":" ")}function c(t){if(this.tooltip.hasClass(M))return T;clearTimeout(this.timers.show),clearTimeout(this.timers.hide);var e=s.proxy(function(){this.toggle(x,t)},this);this.options.show.delay>0?this.timers.show=setTimeout(e,this.options.show.delay):e()}function u(t){if(this.tooltip.hasClass(M))return T;var e=s(t.relatedTarget),i=e.closest(F)[0]===this.tooltip[0],o=e[0]===this.options.show.target[0];if(clearTimeout(this.timers.show),clearTimeout(this.timers.hide),this!==e[0]&&"mouse"===this.options.position.target&&i||this.options.hide.fixed&&/mouse(out|leave|move)/.test(t.type)&&(i||o))try{t.preventDefault(),t.stopImmediatePropagation()}catch(n){}else{var r=s.proxy(function(){this.toggle(T,t)},this);this.options.hide.delay>0?this.timers.hide=setTimeout(r,this.options.hide.delay):r()}}function p(t){return this.tooltip.hasClass(M)||!this.options.hide.inactive?T:(clearTimeout(this.timers.inactive),this.timers.inactive=setTimeout(s.proxy(function(){this.hide(t)},this),this.options.hide.inactive),i)}function f(t){this.rendered&&this.tooltip[0].offsetWidth>0&&this.reposition(t)}function g(t,i,o){s(e.body).delegate(t,(i.split?i:i.join(V+" "))+V,function(){var t=v.api[s.attr(this,k)];t&&!t.disabled&&o.apply(t,arguments)})}function m(t,i,n){var r,h,d,l,c,u=s(e.body),p=t[0]===e?u:t,f=t.metadata?t.metadata(n.metadata):C,g="html5"===n.metadata.type&&f?f[n.metadata.name]:C,m=t.data(n.metadata.name||"qtipopts");try{m="string"==typeof m?s.parseJSON(m):m}catch(y){}if(l=s.extend(x,{},v.defaults,n,"object"==typeof m?a(m):C,a(g||f)),h=l.position,l.id=i,"boolean"==typeof l.content.text){if(d=t.attr(l.content.attr),l.content.attr===T||!d)return T;l.content.text=d}if(h.container.length||(h.container=u),h.target===T&&(h.target=p),l.show.target===T&&(l.show.target=p),l.show.solo===x&&(l.show.solo=h.container.closest("body")),l.hide.target===T&&(l.hide.target=p),l.position.viewport===x&&(l.position.viewport=h.container),h.container=h.container.eq(0),h.at=new b(h.at,x),h.my=new b(h.my),t.data(z))if(l.overwrite)t.qtip("destroy");else if(l.overwrite===T)return T;return t.attr(L,i),l.suppress&&(c=t.attr("title"))&&t.removeAttr("title").attr(P,c).attr("title",""),r=new o(t,l,i,!!d),t.data(z,r),t.one("remove.qtip-"+i+" removeqtip.qtip-"+i,function(){var t;(t=s(this).data(z))&&t.destroy()}),r}var v,y,b,w,_,x=!0,T=!1,C=null,j="x",q="y",W="top",E="left",S="bottom",O="right",R="center",B={},z="qtip",L="data-hasqtip",k="data-qtip-id",A=["ui-widget","ui-tooltip"],F="."+z,D="click dblclick mousedown mouseup mousemove mouseleave mouseenter".split(" "),X=z+"-fixed",$=z+"-default",Y=z+"-focus",I=z+"-hover",M=z+"-disabled",N="_replacedByqTip",P="oldtitle";BROWSER={ie:function(){for(var t=3,i=e.createElement("div");(i.innerHTML="<!--[if gt IE "+ ++t+"]><i></i><![endif]-->")&&i.getElementsByTagName("i")[0];);return t>4?t:0/0}(),iOS:parseFloat((""+(/CPU.*OS ([0-9_]{1,5})|(CPU like).*AppleWebKit.*Mobile/i.exec(navigator.userAgent)||[0,""])[1]).replace("undefined","3_2").replace("_",".").replace("_",""))||T},y=o.prototype,y.render=function(t){if(this.rendered||this.destroyed)return this;var e=this,i=this.options,o=this.cache,n=this.elements,r=i.content.text,a=i.content.title,h=i.content.button,d=i.position,l="."+this._id+" ",c=[];return s.attr(this.target[0],"aria-describedby",this._id),this.tooltip=n.tooltip=tooltip=s("<div/>",{id:this._id,"class":[z,$,i.style.classes,z+"-pos-"+i.position.my.abbrev()].join(" "),width:i.style.width||"",height:i.style.height||"",tracking:"mouse"===d.target&&d.adjust.mouse,role:"alert","aria-live":"polite","aria-atomic":T,"aria-describedby":this._id+"-content","aria-hidden":x}).toggleClass(M,this.disabled).attr(k,this.id).data(z,this).appendTo(d.container).append(n.content=s("<div />",{"class":z+"-content",id:this._id+"-content","aria-atomic":x})),this.rendered=-1,this.positioning=x,a&&(this._createTitle(),s.isFunction(a)||c.push(this._updateTitle(a,T))),h&&this._createButton(),s.isFunction(r)||c.push(this._updateContent(r,T)),this.rendered=x,this._setWidget(),s.each(i.events,function(t,e){s.isFunction(e)&&tooltip.bind(("toggle"===t?["tooltipshow","tooltiphide"]:["tooltip"+t]).join(l)+l,e)}),s.each(B,function(t){var i;"render"===this.initialize&&(i=this(e))&&(e.plugins[t]=i)}),this._assignEvents(),s.when.apply(s,c).then(function(){e._trigger("render"),e.positioning=T,e.hiddenDuringWait||!i.show.ready&&!t||e.toggle(x,o.event,T),e.hiddenDuringWait=T}),v.api[this.id]=this,this},y.destroy=function(t){function e(){if(!this.destroyed){this.destroyed=x;var t=this.target,e=t.attr(P);this.rendered&&this.tooltip.stop(1,0).find("*").remove().end().remove(),s.each(this.plugins,function(){this.destroy&&this.destroy()}),clearTimeout(this.timers.show),clearTimeout(this.timers.hide),this._unassignEvents(),t.removeData(z).removeAttr(k).removeAttr("aria-describedby"),this.options.suppress&&e&&t.attr("title",e).removeAttr(P),this._unbind(t),this.options=this.elements=this.cache=this.timers=this.plugins=this.mouse=C,delete v.api[this.id]}}return this.destroyed?this.target:(t!==x&&this.rendered?(tooltip.one("tooltiphidden",s.proxy(e,this)),!this.triggering&&this.hide()):e.call(this),this.target)},w=y.checks={builtin:{"^id$":function(t,e,i,o){var n=i===x?v.nextid:i,r=z+"-"+n;n!==T&&n.length>0&&!s("#"+r).length?(this._id=r,this.rendered&&(this.tooltip[0].id=this._id,this.elements.content[0].id=this._id+"-content",this.elements.title[0].id=this._id+"-title")):t[e]=o},"^prerender":function(t,e,i){i&&!this.rendered&&this.render(this.options.show.ready)},"^content.text$":function(t,e,i){this._updateContent(i)},"^content.attr$":function(t,e,i,s){this.options.content.text===this.target.attr(s)&&this._updateContent(this.target.attr(i))},"^content.title$":function(t,e,s){return s?(s&&!this.elements.title&&this._createTitle(),this._updateTitle(s),i):this._removeTitle()},"^content.button$":function(t,e,i){this._updateButton(i)},"^content.title.(text|button)$":function(t,e,i){this.set("content."+e,i)},"^position.(my|at)$":function(t,e,i){"string"==typeof i&&(t[e]=new b(i,"at"===e))},"^position.container$":function(t,e,i){this.tooltip.appendTo(i)},"^show.ready$":function(t,e,i){i&&(!this.rendered&&this.render(x)||this.toggle(x))},"^style.classes$":function(t,e,i,s){this.tooltip.removeClass(s).addClass(i)},"^style.width|height":function(t,e,i){this.tooltip.css(e,i)},"^style.widget|content.title":function(){this._setWidget()},"^style.def":function(t,e,i){this.tooltip.toggleClass($,!!i)},"^events.(render|show|move|hide|focus|blur)$":function(t,e,i){tooltip[(s.isFunction(i)?"":"un")+"bind"]("tooltip"+e,i)},"^(show|hide|position).(event|target|fixed|inactive|leave|distance|viewport|adjust)":function(){var t=this.options.position;tooltip.attr("tracking","mouse"===t.target&&t.adjust.mouse),this._unassignEvents(),this._assignEvents()}}},y.get=function(t){if(this.destroyed)return this;var e=h(this.options,t.toLowerCase()),i=e[0][e[1]];return i.precedance?i.string():i};var H=/^position\.(my|at|adjust|target|container|viewport)|style|content|show\.ready/i,Q=/^prerender|show\.ready/i;y.set=function(t,e){if(this.destroyed)return this;var o,n=this.rendered,r=T,l=this.options;return this.checks,"string"==typeof t?(o=t,t={},t[o]=e):t=s.extend({},t),s.each(t,function(e,o){if(!n&&!Q.test(e))return delete t[e],i;var a,d=h(l,e.toLowerCase());a=d[0][d[1]],d[0][d[1]]=o&&o.nodeType?s(o):o,r=H.test(e)||r,t[e]=[d[0],d[1],o,a]}),a(l),this.positioning=x,s.each(t,s.proxy(d,this)),this.positioning=T,this.rendered&&this.tooltip[0].offsetWidth>0&&r&&this.reposition("mouse"===l.position.target?C:this.cache.event),this},y._update=function(t,e){var i=this,o=this.cache;return this.rendered&&t?(s.isFunction(t)&&(t=t.call(this.elements.target,o.event,this)||""),s.isFunction(t.then)?(o.waiting=x,t.then(function(t){return o.waiting=T,i._update(t,e)},C,function(t){return i._update(t,e)})):t===T||!t&&""!==t?T:(t.jquery&&t.length>0?e.children().detach().end().append(t.css({display:"block"})):e.html(t),o.waiting=x,(s.fn.imagesLoaded?e.imagesLoaded():s.Deferred().resolve(s([]))).done(function(t){o.waiting=T,t.length&&i.rendered&&i.tooltip[0].offsetWidth>0&&i.reposition(o.event,!t.length)}).promise())):T},y._updateContent=function(t,e){this._update(t,this.elements.content,e)},y._updateTitle=function(t,e){this._update(t,this.elements.title,e)===T&&this._removeTitle(T)},y._createTitle=function(){var t=this.elements,e=this._id+"-title";t.titlebar&&this._removeTitle(),t.titlebar=s("<div />",{"class":z+"-titlebar "+(this.options.style.widget?l("header"):"")}).append(t.title=s("<div />",{id:e,"class":z+"-title","aria-atomic":x})).insertBefore(t.content).delegate(".qtip-close","mousedown keydown mouseup keyup mouseout",function(t){s(this).toggleClass("ui-state-active ui-state-focus","down"===t.type.substr(-4))}).delegate(".qtip-close","mouseover mouseout",function(t){s(this).toggleClass("ui-state-hover","mouseover"===t.type)}),this.options.content.button&&this._createButton()},y._removeTitle=function(t){var e=this.elements;e.title&&(e.titlebar.remove(),e.titlebar=e.title=e.button=C,t!==T&&this.reposition())},y.reposition=function(i,o){if(!this.rendered||this.positioning||this.destroyed)return this;this.positioning=x;var n,r,a=this.cache,h=this.tooltip,d=this.options.position,l=d.target,c=d.my,u=d.at,p=d.viewport,f=d.container,g=d.adjust,m=g.method.split(" "),v=h.outerWidth(T),y=h.outerHeight(T),b=0,w=0,_=h.css("position"),C={left:0,top:0},j=h[0].offsetWidth>0,q=i&&"scroll"===i.type,z=s(t),L=f[0].ownerDocument,k=this.mouse;if(s.isArray(l)&&2===l.length)u={x:E,y:W},C={left:l[0],top:l[1]};else if("mouse"===l&&(i&&i.pageX||a.event.pageX))u={x:E,y:W},i=!k||!k.pageX||!g.mouse&&i&&i.pageX?(!i||"resize"!==i.type&&"scroll"!==i.type?i&&i.pageX&&"mousemove"===i.type?i:(!g.mouse||this.options.show.distance)&&a.origin&&a.origin.pageX?a.origin:i:a.event)||i||a.event||k||{}:k,"static"!==_&&(C=f.offset()),L.body.offsetWidth!==(t.innerWidth||L.documentElement.clientWidth)&&(r=s(L.body).offset()),C={left:i.pageX-C.left+(r&&r.left||0),top:i.pageY-C.top+(r&&r.top||0)},g.mouse&&q&&(C.left-=k.scrollX-z.scrollLeft(),C.top-=k.scrollY-z.scrollTop());else{if("event"===l&&i&&i.target&&"scroll"!==i.type&&"resize"!==i.type?a.target=s(i.target):"event"!==l&&(a.target=s(l.jquery?l:elements.target)),l=a.target,l=s(l).eq(0),0===l.length)return this;l[0]===e||l[0]===t?(b=BROWSER.iOS?t.innerWidth:l.width(),w=BROWSER.iOS?t.innerHeight:l.height(),l[0]===t&&(C={top:(p||l).scrollTop(),left:(p||l).scrollLeft()})):B.imagemap&&l.is("area")?n=B.imagemap(this,l,u,B.viewport?m:T):B.svg&&l[0].ownerSVGElement?n=B.svg(this,l,u,B.viewport?m:T):(b=l.outerWidth(T),w=l.outerHeight(T),C=l.offset()),n&&(b=n.width,w=n.height,r=n.offset,C=n.position),C=this.reposition.offset(l,C,f),(BROWSER.iOS>3.1&&4.1>BROWSER.iOS||BROWSER.iOS>=4.3&&4.33>BROWSER.iOS||!BROWSER.iOS&&"fixed"===_)&&(C.left-=z.scrollLeft(),C.top-=z.scrollTop()),(!n||n&&n.adjustable!==T)&&(C.left+=u.x===O?b:u.x===R?b/2:0,C.top+=u.y===S?w:u.y===R?w/2:0)}return C.left+=g.x+(c.x===O?-v:c.x===R?-v/2:0),C.top+=g.y+(c.y===S?-y:c.y===R?-y/2:0),B.viewport?(C.adjusted=B.viewport(this,C,d,b,w,v,y),r&&C.adjusted.left&&(C.left+=r.left),r&&C.adjusted.top&&(C.top+=r.top)):C.adjusted={left:0,top:0},this._trigger("move",[C,p.elem||p],i)?(delete C.adjusted,o===T||!j||isNaN(C.left)||isNaN(C.top)||"mouse"===l||!s.isFunction(d.effect)?h.css(C):s.isFunction(d.effect)&&(d.effect.call(h,this,s.extend({},C)),h.queue(function(t){s(this).css({opacity:"",height:""}),BROWSER.ie&&this.style.removeAttribute("filter"),t()})),this.positioning=T,this):this},y.reposition.offset=function(t,i,o){function n(t,e){i.left+=e*t.scrollLeft(),i.top+=e*t.scrollTop()}if(!o[0])return i;var r,a,h,d,l=s(t[0].ownerDocument),c=!!BROWSER.ie&&"CSS1Compat"!==e.compatMode,u=o[0];do"static"!==(a=s.css(u,"position"))&&("fixed"===a?(h=u.getBoundingClientRect(),n(l,-1)):(h=s(u).position(),h.left+=parseFloat(s.css(u,"borderLeftWidth"))||0,h.top+=parseFloat(s.css(u,"borderTopWidth"))||0),i.left-=h.left+(parseFloat(s.css(u,"marginLeft"))||0),i.top-=h.top+(parseFloat(s.css(u,"marginTop"))||0),r||"hidden"===(d=s.css(u,"overflow"))||"visible"===d||(r=s(u)));while(u=u.offsetParent);return r&&(r[0]!==l[0]||c)&&n(r,1),i};var U=(b=y.reposition.Corner=function(t,e){t=(""+t).replace(/([A-Z])/," $1").replace(/middle/gi,R).toLowerCase(),this.x=(t.match(/left|right/i)||t.match(/center/)||["inherit"])[0].toLowerCase(),this.y=(t.match(/top|bottom|center/i)||["inherit"])[0].toLowerCase(),this.forceY=!!e;var i=t.charAt(0);this.precedance="t"===i||"b"===i?q:j}).prototype;U.invert=function(t,e){this[t]=this[t]===E?O:this[t]===O?E:e||this[t]},U.string=function(){var t=this.x,e=this.y;return t===e?t:this.precedance===q||this.forceY&&"center"!==e?e+" "+t:t+" "+e},U.abbrev=function(){var t=this.string().split(" ");return t[0].charAt(0)+(t[1]&&t[1].charAt(0)||"")},U.clone=function(){return new b(this.string(),this.forceY)},y.toggle=function(t,i){var o=this.cache,n=this.options,r=this.tooltip;if(i){if(/over|enter/.test(i.type)&&/out|leave/.test(o.event.type)&&n.show.target.add(i.target).length===n.show.target.length&&r.has(i.relatedTarget).length)return this;o.event=s.extend({},i)}if(this.waiting&&!t&&(this.hiddenDuringWait=x),!this.rendered)return t?this.render(1):this;if(this.destroyed||this.disabled)return this;var a,h,d=t?"show":"hide",l=this.options[d],c=(this.options[t?"hide":"show"],this.options.position),u=this.options.content,p=this.tooltip.css("width"),f=this.tooltip[0].offsetWidth>0,g=t||1===l.target.length,m=!i||2>l.target.length||o.target[0]===i.target;return(typeof t).search("boolean|number")&&(t=!f),a=!r.is(":animated")&&f===t&&m,h=a?C:!!this._trigger(d,[90]),h!==T&&t&&this.focus(i),!h||a?this:(s.attr(r[0],"aria-hidden",!t),t?(o.origin=s.extend({},this.mouse),s.isFunction(u.text)&&this._updateContent(u.text,T),s.isFunction(u.title)&&this._updateTitle(u.title,T),!_&&"mouse"===c.target&&c.adjust.mouse&&(s(e).bind("mousemove."+z,this._storeMouse),_=x),p||r.css("width",r.outerWidth(T)),this.reposition(i,arguments[2]),p||r.css("width",""),l.solo&&("string"==typeof l.solo?s(l.solo):s(F,l.solo)).not(r).not(l.target).qtip("hide",s.Event("tooltipsolo"))):(clearTimeout(this.timers.show),delete o.origin,_&&!s(F+'[tracking="true"]:visible',l.solo).not(r).length&&(s(e).unbind("mousemove."+z),_=T),this.blur(i)),after=s.proxy(function(){t?(BROWSER.ie&&r[0].style.removeAttribute("filter"),r.css("overflow",""),"string"==typeof l.autofocus&&s(this.options.show.autofocus,r).focus(),this.options.show.target.trigger("qtip-"+this.id+"-inactive")):r.css({display:"",visibility:"",opacity:"",left:"",top:""}),this._trigger(t?"visible":"hidden")},this),l.effect===T||g===T?(r[d](),after()):s.isFunction(l.effect)?(r.stop(1,1),l.effect.call(r,this),r.queue("fx",function(t){after(),t()})):r.fadeTo(90,t?1:0,after),t&&l.target.trigger("qtip-"+this.id+"-inactive"),this)},y.show=function(t){return this.toggle(x,t)},y.hide=function(t){return this.toggle(T,t)},y.focus=function(t){if(!this.rendered||this.destroyed)return this;var e=s(F),i=this.tooltip,o=parseInt(i[0].style.zIndex,10),n=v.zindex+e.length;return i.hasClass(Y)||this._trigger("focus",[n],t)&&(o!==n&&(e.each(function(){this.style.zIndex>o&&(this.style.zIndex=this.style.zIndex-1)}),e.filter("."+Y).qtip("blur",t)),i.addClass(Y)[0].style.zIndex=n),this},y.blur=function(t){return!this.rendered||this.destroyed?this:(this.tooltip.removeClass(Y),this._trigger("blur",[this.tooltip.css("zIndex")],t),this)},y.disable=function(t){return this.destroyed?this:("boolean"!=typeof t&&(t=!(this.tooltip.hasClass(M)||this.disabled)),this.rendered&&this.tooltip.toggleClass(M,t).attr("aria-disabled",t),this.disabled=!!t,this)},y.enable=function(){return this.disable(T)},y._createButton=function(){var t=this,e=this.elements,i=e.tooltip,o=this.options.content.button,n="string"==typeof o,r=n?o:"Close tooltip";e.button&&e.button.remove(),e.button=o.jquery?o:s("<a />",{"class":"qtip-close "+(this.options.style.widget?"":z+"-icon"),title:r,"aria-label":r}).prepend(s("<span />",{"class":"ui-icon ui-icon-close",html:"×"})),e.button.appendTo(e.titlebar||i).attr("role","button").click(function(e){return i.hasClass(M)||t.hide(e),T})},y._updateButton=function(t){if(!this.rendered)return T;var e=this.elements.button;t?this._createButton():e.remove()},y._setWidget=function(){var t=this.options.style.widget,e=this.elements,i=e.tooltip,s=i.hasClass(M);i.removeClass(M),M=t?"ui-state-disabled":"qtip-disabled",i.toggleClass(M,s),i.toggleClass("ui-helper-reset "+l(),t).toggleClass($,this.options.style.def&&!t),e.content&&e.content.toggleClass(l("content"),t),e.titlebar&&e.titlebar.toggleClass(l("header"),t),e.button&&e.button.toggleClass(z+"-icon",!t)},y._storeMouse=function(i){this.mouse={pageX:i.pageX,pageY:i.pageY,type:"mousemove",scrollX:t.pageXOffset||e.body.scrollLeft||e.documentElement.scrollLeft,scrollY:t.pageYOffset||e.body.scrollTop||e.documentElement.scrollTop}},y._bind=function(t,e,i,o,n){var r="."+this._id+(o?"-"+o:"");e.length&&s(t).bind((e.split?e:e.join(r+" "))+r,s.proxy(i,n||this))},y._unbind=function(t,e){s(t).unbind("."+this._id+(e?"-"+e:""))};var V="."+z;s(function(){g(F,["mouseenter","mouseleave"],function(t){var e="mouseenter"===t.type,i=s(t.currentTarget),o=s(t.relatedTarget||t.target),n=this.options;e?(this.focus(t),i.hasClass(X)&&!i.hasClass(M)&&clearTimeout(this.timers.hide)):"mouse"===n.position.target&&n.hide.event&&n.show.target&&!o.closest(n.show.target[0]).length&&this.hide(t),i.toggleClass(I,e)}),g("["+k+"]",D,p)}),y._trigger=function(t,e,i){var o=s.Event("tooltip"+t);return o.originalEvent=i&&s.extend({},i)||this.cache.event||C,this.triggering=x,this.tooltip.trigger(o,[this].concat(e||[])),this.triggering=T,!o.isDefaultPrevented()},y._assignEvents=function(){var o=this.options,n=o.position,r=this.tooltip,a=o.show.target,h=o.hide.target,d=n.container,l=n.viewport,g=s(e),m=(s(e.body),s(t)),y=o.show.event?s.trim(""+o.show.event).split(" "):[],b=o.hide.event?s.trim(""+o.hide.event).split(" "):[],w=[];/mouse(out|leave)/i.test(o.hide.event)&&"window"===o.hide.leave&&this._bind(g,["mouseout","blur"],function(t){/select|option/.test(t.target.nodeName)||t.relatedTarget||this.hide(t)}),o.hide.fixed?h=h.add(r.addClass(X)):/mouse(over|enter)/i.test(o.show.event)&&this._bind(h,"mouseleave",function(){clearTimeout(this.timers.show)}),(""+o.hide.event).indexOf("unfocus")>-1&&this._bind(d.closest("html"),["mousedown","touchstart"],function(t){var e=s(t.target),i=this.rendered&&!this.tooltip.hasClass(M)&&this.tooltip[0].offsetWidth>0,o=e.parents(F).filter(this.tooltip[0]).length>0;e[0]===this.target[0]||e[0]===this.tooltip[0]||o||this.target.has(e[0]).length||!i||this.hide(t)}),"number"==typeof o.hide.inactive&&(this._bind(a,"qtip-"+this.id+"-inactive",p),this._bind(h.add(r),v.inactiveEvents,p,"-inactive")),b=s.map(b,function(t){var e=s.inArray(t,y);return e>-1&&h.add(a).length===h.length?(w.push(y.splice(e,1)[0]),i):t}),this._bind(a,y,c),this._bind(h,b,u),this._bind(a,w,function(t){(this.tooltip[0].offsetWidth>0?u:c).call(this,t)}),this._bind(a.add(r),"mousemove",function(t){if("number"==typeof o.hide.distance){var e=this.cache.origin||{},i=this.options.hide.distance,s=Math.abs;(s(t.pageX-e.pageX)>=i||s(t.pageY-e.pageY)>=i)&&this.hide(t)}this._storeMouse(t)}),"mouse"===n.target&&n.adjust.mouse&&(o.hide.event&&this._bind(a,["mouseenter","mouseleave"],function(t){this.cache.onTarget="mouseenter"===t.type}),this._bind(g,"mousemove",function(t){this.rendered&&this.cache.onTarget&&!this.tooltip.hasClass(M)&&this.tooltip[0].offsetWidth>0&&this.reposition(t)})),(n.adjust.resize||l.length)&&this._bind(s.event.special.resize?l:m,"resize",f),n.adjust.scroll&&this._bind(m.add(n.container),"scroll",f)},y._unassignEvents=function(){var i=[this.options.show.target[0],this.options.hide.target[0],this.rendered&&this.tooltip[0],this.options.position.container[0],this.options.position.viewport[0],this.options.position.container.closest("html")[0],t,e];this.rendered?this._unbind(s([]).pushStack(s.grep(i,function(t){return"object"==typeof t}))):s(i[0]).unbind("."+this._id+"-create")},v=s.fn.qtip=function(t,e,o){var n=(""+t).toLowerCase(),r=C,h=s.makeArray(arguments).slice(1),d=h[h.length-1],l=this[0]?s.data(this[0],z):C;return!arguments.length&&l||"api"===n?l:"string"==typeof t?(this.each(function(){var t=s.data(this,z);if(!t)return x;if(d&&d.timeStamp&&(t.cache.event=d),!e||"option"!==n&&"options"!==n)t[n]&&t[n].apply(t,h);else{if(o===i&&!s.isPlainObject(e))return r=t.get(e),T;t.set(e,o)}}),r!==C?r:this):"object"!=typeof t&&arguments.length?i:(l=a(s.extend(x,{},t)),v.bind.call(this,l,d))},v.bind=function(t,e){return this.each(function(o){function n(t){function e(){l.render("object"==typeof t||r.show.ready),a.show.add(a.hide).unbind(d)}return l.disabled?T:(l.cache.event=s.extend({},t),l.cache.target=t?s(t.target):[i],r.show.delay>0?(clearTimeout(l.timers.show),l.timers.show=setTimeout(e,r.show.delay),h.show!==h.hide&&a.hide.bind(h.hide,function(){clearTimeout(l.timers.show)})):e(),i)}var r,a,h,d,l,c;return c=s.isArray(t.id)?t.id[o]:t.id,c=!c||c===T||1>c.length||v.api[c]?v.nextid++:c,d=".qtip-"+c+"-create",l=m(s(this),c,t),l===T?x:(v.api[c]=l,r=l.options,s.each(B,function(){"initialize"===this.initialize&&this(l)}),a={show:r.show.target,hide:r.hide.target},h={show:s.trim(""+r.show.event).replace(/ /g,d+" ")+d,hide:s.trim(""+r.hide.event).replace(/ /g,d+" ")+d},/mouse(over|enter)/i.test(h.show)&&!/mouse(out|leave)/i.test(h.hide)&&(h.hide+=" mouseleave"+d),a.show.bind("mousemove"+d,function(t){l._storeMouse(t),l.cache.onTarget=x}),a.show.bind(h.show,n),(r.show.ready||r.prerender)&&n(e),i)})},v.api={},s.each({attr:function(t,e){if(this.length){var i=this[0],o="title",n=s.data(i,"qtip");if(t===o&&n&&"object"==typeof n&&n.options.suppress)return 2>arguments.length?s.attr(i,P):(n&&n.options.content.attr===o&&n.cache.attr&&n.set("content.text",e),this.attr(P,e))}return s.fn["attr"+N].apply(this,arguments)},clone:function(t){var e=(s([]),s.fn["clone"+N].apply(this,arguments));return t||e.filter("["+P+"]").attr("title",function(){return s.attr(this,P)}).removeAttr(P),e}},function(t,e){if(!e||s.fn[t+N])return x;var i=s.fn[t+N]=s.fn[t];s.fn[t]=function(){return e.apply(this,arguments)||i.apply(this,arguments)}}),s.ui||(s["cleanData"+N]=s.cleanData,s.cleanData=function(t){for(var e,i=0;(e=s(t[i])).length;i++)if(e.attr(L))try{e.triggerHandler("removeqtip")}catch(o){}s["cleanData"+N].apply(this,arguments)}),v.version="2.1.1",v.nextid=0,v.inactiveEvents=D,v.zindex=15e3,v.defaults={prerender:T,id:T,overwrite:x,suppress:x,content:{text:x,attr:"title",title:T,button:T},position:{my:"top left",at:"bottom right",target:T,container:T,viewport:T,adjust:{x:0,y:0,mouse:x,scroll:x,resize:x,method:"flipinvert flipinvert"},effect:function(t,e){s(this).animate(e,{duration:200,queue:T})}},show:{target:T,event:"mouseenter",effect:x,delay:90,solo:T,ready:T,autofocus:T},hide:{target:T,event:"mouseleave",effect:x,delay:0,fixed:T,inactive:T,leave:"window",distance:T},style:{classes:"",widget:T,width:T,height:T,def:x},events:{render:C,move:C,show:C,hide:C,toggle:C,visible:C,hidden:C,focus:C,blur:C}}})})(window,document);
|
js/time-picker.min.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
/*! event-organiser 2.4.
|
2 |
!function($){function Timepicker(){this._curInst=null,this._disabledInputs=[],this._timepickerShowing=!1,this._inDialog=!1,this._dialogClass="ui-timepicker-dialog",this._mainDivId="ui-timepicker-div",this._inlineClass="ui-timepicker-inline",this._currentClass="ui-timepicker-current",this._dayOverClass="ui-timepicker-days-cell-over",this.regional=[],this.regional[""]={hourText:"Hour",minuteText:"Minute",amPmText:["AM","PM"],closeButtonText:"Done",nowButtonText:"Now",deselectButtonText:"Deselect"},this._defaults={showOn:"focus",button:null,showAnim:"fadeIn",showOptions:{},appendText:"",beforeShow:null,onSelect:null,onClose:null,timeSeparator:":",periodSeparator:" ",showPeriod:!1,showPeriodLabels:!0,showLeadingZero:!0,showMinutesLeadingZero:!0,altField:"",defaultTime:"now",myPosition:"left top",atPosition:"left bottom",onHourShow:null,onMinuteShow:null,hours:{starts:0,ends:23},minutes:{starts:0,ends:55,interval:5},rows:4,showHours:!0,showMinutes:!0,optionalMinutes:!1,showCloseButton:!1,showNowButton:!1,showDeselectButton:!1},$.extend(this._defaults,this.regional[""]),this.tpDiv=$('<div id="'+this._mainDivId+'" class="ui-timepicker ui-widget ui-helper-clearfix ui-corner-all " style="display: none"></div>')}function extendRemove(a,b){$.extend(a,b);for(var c in b)(null==b[c]||void 0==b[c])&&(a[c]=b[c]);return a}$.extend($.ui,{timepicker:{version:"0.3.1"}});var PROP_NAME="timepicker",tpuuid=(new Date).getTime();$.extend(Timepicker.prototype,{markerClassName:"hasTimepicker",log:function(){},_widgetTimepicker:function(){return this.tpDiv},setDefaults:function(a){return extendRemove(this._defaults,a||{}),this},_attachTimepicker:function(target,settings){var inlineSettings=null;for(var attrName in this._defaults){var attrValue=target.getAttribute("time:"+attrName);if(attrValue){inlineSettings=inlineSettings||{};try{inlineSettings[attrName]=eval(attrValue)}catch(err){inlineSettings[attrName]=attrValue}}}var nodeName=target.nodeName.toLowerCase(),inline="div"==nodeName||"span"==nodeName;target.id||(this.uuid+=1,target.id="tp"+this.uuid);var inst=this._newInst($(target),inline);inst.settings=$.extend({},settings||{},inlineSettings||{}),"input"==nodeName?(this._connectTimepicker(target,inst),this._setTimeFromField(inst)):inline&&this._inlineTimepicker(target,inst)},_newInst:function(a,b){var c=a[0].id.replace(/([^A-Za-z0-9_-])/g,"\\\\$1");return{id:c,input:a,inline:b,tpDiv:b?$('<div class="'+this._inlineClass+' ui-timepicker ui-widget ui-helper-clearfix"></div>'):this.tpDiv}},_connectTimepicker:function(a,b){var c=$(a);b.append=$([]),b.trigger=$([]),c.hasClass(this.markerClassName)||(this._attachments(c,b),c.addClass(this.markerClassName).keydown(this._doKeyDown).keyup(this._doKeyUp).bind("setData.timepicker",function(a,c,d){b.settings[c]=d}).bind("getData.timepicker",function(a,c){return this._get(b,c)}),$.data(a,PROP_NAME,b))},_doKeyDown:function(a){var b=$.timepicker._getInst(a.target),c=!0;if(b._keyEvent=!0,$.timepicker._timepickerShowing)switch(a.keyCode){case 9:$.timepicker._hideTimepicker(),c=!1;break;case 13:return $.timepicker._updateSelectedValue(b),$.timepicker._hideTimepicker(),!1;case 27:$.timepicker._hideTimepicker();break;default:c=!1}else 36==a.keyCode&&a.ctrlKey?$.timepicker._showTimepicker(this):c=!1;c&&(a.preventDefault(),a.stopPropagation())},_doKeyUp:function(a){var b=$.timepicker._getInst(a.target);$.timepicker._setTimeFromField(b),$.timepicker._updateTimepicker(b)},_attachments:function(a,b){var c=this._get(b,"appendText"),d=this._get(b,"isRTL");b.append&&b.append.remove(),c&&(b.append=$('<span class="'+this._appendClass+'">'+c+"</span>"),a[d?"before":"after"](b.append)),a.unbind("focus.timepicker",this._showTimepicker),a.unbind("click.timepicker",this._adjustZIndex),b.trigger&&b.trigger.remove();var e=this._get(b,"showOn");if(("focus"==e||"both"==e)&&(a.bind("focus.timepicker",this._showTimepicker),a.bind("click.timepicker",this._adjustZIndex)),"button"==e||"both"==e){var f=this._get(b,"button");$(f).bind("click.timepicker",function(){return $.timepicker._timepickerShowing&&$.timepicker._lastInput==a[0]?$.timepicker._hideTimepicker():b.input.is(":disabled")||$.timepicker._showTimepicker(a[0]),!1})}},_inlineTimepicker:function(a,b){var c=$(a);c.hasClass(this.markerClassName)||(c.addClass(this.markerClassName).append(b.tpDiv).bind("setData.timepicker",function(a,c,d){b.settings[c]=d}).bind("getData.timepicker",function(a,c){return this._get(b,c)}),$.data(a,PROP_NAME,b),this._setTimeFromField(b),this._updateTimepicker(b),b.tpDiv.show())},_adjustZIndex:function(a){a=a.target||a;var b=$.timepicker._getInst(a);b.tpDiv.css("zIndex",$.timepicker._getZIndex(a)+1)},_showTimepicker:function(a){if(a=a.target||a,"input"!=a.nodeName.toLowerCase()&&(a=$("input",a.parentNode)[0]),!$.timepicker._isDisabledTimepicker(a)&&$.timepicker._lastInput!=a){$.timepicker._hideTimepicker();var b=$.timepicker._getInst(a);$.timepicker._curInst&&$.timepicker._curInst!=b&&$.timepicker._curInst.tpDiv.stop(!0,!0);var c=$.timepicker._get(b,"beforeShow");extendRemove(b.settings,c?c.apply(a,[a,b]):{}),b.lastVal=null,$.timepicker._lastInput=a,$.timepicker._setTimeFromField(b),$.timepicker._inDialog&&(a.value=""),$.timepicker._pos||($.timepicker._pos=$.timepicker._findPos(a),$.timepicker._pos[1]+=a.offsetHeight);var d=!1;$(a).parents().each(function(){return d|="fixed"==$(this).css("position"),!d}),d&&$.browser.opera&&($.timepicker._pos[0]-=document.documentElement.scrollLeft,$.timepicker._pos[1]-=document.documentElement.scrollTop);var e={left:$.timepicker._pos[0],top:$.timepicker._pos[1]};if($.timepicker._pos=null,b.tpDiv.css({position:"absolute",display:"block",top:"-1000px"}),$.timepicker._updateTimepicker(b),b.inline||"object"!=typeof $.ui.position||(b.tpDiv.position({of:b.input,my:$.timepicker._get(b,"myPosition"),at:$.timepicker._get(b,"atPosition"),collision:"flip"}),e=b.tpDiv.offset(),$.timepicker._pos=[e.top,e.left]),b._hoursClicked=!1,b._minutesClicked=!1,e=$.timepicker._checkOffset(b,e,d),b.tpDiv.css({position:$.timepicker._inDialog&&$.blockUI?"static":d?"fixed":"absolute",display:"none",left:e.left+"px",top:e.top+"px"}),!b.inline){var f=$.timepicker._get(b,"showAnim"),g=$.timepicker._get(b,"duration"),h=function(){$.timepicker._timepickerShowing=!0;var a=$.timepicker._getBorders(b.tpDiv);b.tpDiv.find("iframe.ui-timepicker-cover").css({left:-a[0],top:-a[1],width:b.tpDiv.outerWidth(),height:b.tpDiv.outerHeight()})};$.timepicker._adjustZIndex(a),$.effects&&$.effects[f]?b.tpDiv.show(f,$.timepicker._get(b,"showOptions"),g,h):b.tpDiv[f||"show"](f?g:null,h),f&&g||h(),b.input.is(":visible")&&!b.input.is(":disabled")&&b.input.focus(),$.timepicker._curInst=b}}},_getZIndex:function(a){for(var b,c,d=$(a);d.length&&d[0]!==document;){if(b=d.css("position"),("absolute"===b||"relative"===b||"fixed"===b)&&(c=parseInt(d.css("zIndex"),10),!isNaN(c)&&0!==c))return c;d=d.parent()}},_refreshTimepicker:function(a){var b=this._getInst(a);b&&this._updateTimepicker(b)},_updateTimepicker:function(a){a.tpDiv.empty().append(this._generateHTML(a)),this._rebindDialogEvents(a)},_rebindDialogEvents:function(a){var b=$.timepicker._getBorders(a.tpDiv),c=this;a.tpDiv.find("iframe.ui-timepicker-cover").css({left:-b[0],top:-b[1],width:a.tpDiv.outerWidth(),height:a.tpDiv.outerHeight()}).end().find(".ui-timepicker-minute-cell").unbind().bind("click",{fromDoubleClick:!1},$.proxy($.timepicker.selectMinutes,this)).bind("dblclick",{fromDoubleClick:!0},$.proxy($.timepicker.selectMinutes,this)).end().find(".ui-timepicker-hour-cell").unbind().bind("click",{fromDoubleClick:!1},$.proxy($.timepicker.selectHours,this)).bind("dblclick",{fromDoubleClick:!0},$.proxy($.timepicker.selectHours,this)).end().find(".ui-timepicker td a").unbind().bind("mouseout",function(){$(this).removeClass("ui-state-hover"),-1!=this.className.indexOf("ui-timepicker-prev")&&$(this).removeClass("ui-timepicker-prev-hover"),-1!=this.className.indexOf("ui-timepicker-next")&&$(this).removeClass("ui-timepicker-next-hover")}).bind("mouseover",function(){c._isDisabledTimepicker(a.inline?a.tpDiv.parent()[0]:a.input[0])||($(this).parents(".ui-timepicker-calendar").find("a").removeClass("ui-state-hover"),$(this).addClass("ui-state-hover"),-1!=this.className.indexOf("ui-timepicker-prev")&&$(this).addClass("ui-timepicker-prev-hover"),-1!=this.className.indexOf("ui-timepicker-next")&&$(this).addClass("ui-timepicker-next-hover"))}).end().find("."+this._dayOverClass+" a").trigger("mouseover").end().find(".ui-timepicker-now").bind("click",function(a){$.timepicker.selectNow(a)}).end().find(".ui-timepicker-deselect").bind("click",function(a){$.timepicker.deselectTime(a)}).end().find(".ui-timepicker-close").bind("click",function(){$.timepicker._hideTimepicker()}).end()},_generateHTML:function(a){var b,c,d,e,f=1==this._get(a,"showPeriod"),g=1==this._get(a,"showPeriodLabels"),h=1==this._get(a,"showLeadingZero"),i=1==this._get(a,"showHours"),j=1==this._get(a,"showMinutes"),k=this._get(a,"amPmText"),l=this._get(a,"rows"),m=0,n=0,o=0,p=0,q=0,r=0,s=Array(),t=this._get(a,"hours"),u=null,v=0,w=this._get(a,"hourText"),x=this._get(a,"showCloseButton"),y=this._get(a,"closeButtonText"),z=this._get(a,"showNowButton"),A=this._get(a,"nowButtonText"),B=this._get(a,"showDeselectButton"),C=this._get(a,"deselectButtonText"),D=x||z||B;for(b=t.starts;b<=t.ends;b++)s.push(b);if(u=Math.ceil(s.length/l),g){for(v=0;v<s.length;v++)s[v]<12?o++:p++;v=0,m=Math.floor(o/s.length*l),n=Math.floor(p/s.length*l),l!=m+n&&(o&&(!p||!m||n&&o/m>=p/n)?m++:n++),q=Math.min(m,1),r=m+1,u=Math.ceil(Math.max(o/m,p/n))}if(e='<table class="ui-timepicker-table ui-widget-content ui-corner-all"><tr>',i){for(e+='<td class="ui-timepicker-hours"><div class="ui-timepicker-title ui-widget-header ui-helper-clearfix ui-corner-all">'+w+"</div>"+'<table class="ui-timepicker">',c=1;l>=c;c++){for(e+="<tr>",c==q&&g&&(e+='<th rowspan="'+m.toString()+'" class="periods" scope="row">'+k[0]+"</th>"),c==r&&g&&(e+='<th rowspan="'+n.toString()+'" class="periods" scope="row">'+k[1]+"</th>"),d=1;u>=d;d++)g&&r>c&&s[v]>=12?e+=this._generateHTMLHourCell(a,void 0,f,h):(e+=this._generateHTMLHourCell(a,s[v],f,h),v++);e+="</tr>"}e+="</tr></table></td>"}if(j&&(e+='<td class="ui-timepicker-minutes">',e+=this._generateHTMLMinutes(a),e+="</td>"),e+="</tr>",D){var E='<tr><td colspan="3"><div class="ui-timepicker-buttonpane ui-widget-content">';z&&(E+='<button type="button" class="ui-timepicker-now ui-state-default ui-corner-all" data-timepicker-instance-id="#'+a.id.replace(/\\\\/g,"\\")+'" >'+A+"</button>"),B&&(E+='<button type="button" class="ui-timepicker-deselect ui-state-default ui-corner-all" data-timepicker-instance-id="#'+a.id.replace(/\\\\/g,"\\")+'" >'+C+"</button>"),x&&(E+='<button type="button" class="ui-timepicker-close ui-state-default ui-corner-all" data-timepicker-instance-id="#'+a.id.replace(/\\\\/g,"\\")+'" >'+y+"</button>"),e+=E+"</div></td></tr>"}return e+="</table>",e+=$.browser.msie&&parseInt($.browser.version,10)<7&&!a.inline?'<iframe src="javascript:false;" class="ui-timepicker-cover" frameborder="0"></iframe>':""},_updateMinuteDisplay:function(a){var b=this._generateHTMLMinutes(a);a.tpDiv.find("td.ui-timepicker-minutes").html(b),this._rebindDialogEvents(a)},_generateHTMLMinutes:function(a){var b,c,d="",e=this._get(a,"rows"),f=Array(),g=this._get(a,"minutes"),h=null,i=0,j=1==this._get(a,"showMinutesLeadingZero"),k=this._get(a,"onMinuteShow"),l=this._get(a,"minuteText");for(g.starts||(g.starts=0),g.ends||(g.ends=59),b=g.starts;b<=g.ends;b+=g.interval)f.push(b);if(h=Math.round(f.length/e+.49),k&&0==k.apply(a.input?a.input[0]:null,[a.hours,a.minutes]))for(i=0;i<f.length;i+=1)if(b=f[i],k.apply(a.input?a.input[0]:null,[a.hours,b])){a.minutes=b;break}for(d+='<div class="ui-timepicker-title ui-widget-header ui-helper-clearfix ui-corner-all">'+l+"</div>"+'<table class="ui-timepicker">',i=0,c=1;e>=c;c++){for(d+="<tr>";c*h>i;){b=f[i];var m="";void 0!==b&&(m=10>b&&j?"0"+b.toString():b.toString()),d+=this._generateHTMLMinuteCell(a,b,m),i++}d+="</tr>"}return d+="</table>"},_generateHTMLHourCell:function(a,b,c,d){var e=b;b>12&&c&&(e=b-12),0==e&&c&&(e=12),10>e&&d&&(e="0"+e);var f="",g=!0,h=this._get(a,"onHourShow");return void 0==b?f='<td><span class="ui-state-default ui-state-disabled"> </span></td>':(h&&(g=h.apply(a.input?a.input[0]:null,[b])),f=g?'<td class="ui-timepicker-hour-cell" data-timepicker-instance-id="#'+a.id.replace(/\\\\/g,"\\")+'" data-hour="'+b.toString()+'">'+'<a class="ui-state-default '+(b==a.hours?"ui-state-active":"")+'">'+e.toString()+"</a></td>":'<td><span class="ui-state-default ui-state-disabled '+(b==a.hours?" ui-state-active ":" ")+'">'+e.toString()+"</span>"+"</td>")},_generateHTMLMinuteCell:function(a,b,c){var d="",e=!0,f=this._get(a,"onMinuteShow");return f&&(e=f.apply(a.input?a.input[0]:null,[a.hours,b])),d=void 0==b?'<td><span class="ui-state-default ui-state-disabled"> </span></td>':e?'<td class="ui-timepicker-minute-cell" data-timepicker-instance-id="#'+a.id.replace(/\\\\/g,"\\")+'" data-minute="'+b.toString()+'" >'+'<a class="ui-state-default '+(b==a.minutes?"ui-state-active":"")+'" >'+c+"</a></td>":'<td><span class="ui-state-default ui-state-disabled" >'+c+"</span>"+"</td>"},_destroyTimepicker:function(a){var b=$(a),c=$.data(a,PROP_NAME);if(b.hasClass(this.markerClassName)){var d=a.nodeName.toLowerCase();$.removeData(a,PROP_NAME),"input"==d?(c.append.remove(),c.trigger.remove(),b.removeClass(this.markerClassName).unbind("focus.timepicker",this._showTimepicker).unbind("click.timepicker",this._adjustZIndex)):("div"==d||"span"==d)&&b.removeClass(this.markerClassName).empty()}},_enableTimepicker:function(a){var b=$(a),c=b.attr("id"),d=$.data(a,PROP_NAME);if(b.hasClass(this.markerClassName)){var e=a.nodeName.toLowerCase();if("input"==e){a.disabled=!1;var f=this._get(d,"button");$(f).removeClass("ui-state-disabled").disabled=!1,d.trigger.filter("button").each(function(){this.disabled=!1}).end()}else if("div"==e||"span"==e){var g=b.children("."+this._inlineClass);g.children().removeClass("ui-state-disabled"),g.find("button").each(function(){this.disabled=!1})}this._disabledInputs=$.map(this._disabledInputs,function(a){return a==c?null:a})}},_disableTimepicker:function(a){var b=$(a),c=$.data(a,PROP_NAME);if(b.hasClass(this.markerClassName)){var d=a.nodeName.toLowerCase();if("input"==d){var e=this._get(c,"button");$(e).addClass("ui-state-disabled").disabled=!0,a.disabled=!0,c.trigger.filter("button").each(function(){this.disabled=!0}).end()}else if("div"==d||"span"==d){var f=b.children("."+this._inlineClass);f.children().addClass("ui-state-disabled"),f.find("button").each(function(){this.disabled=!0})}this._disabledInputs=$.map(this._disabledInputs,function(b){return b==a?null:b}),this._disabledInputs[this._disabledInputs.length]=b.attr("id")}},_isDisabledTimepicker:function(a){if(!a)return!1;for(var b=0;b<this._disabledInputs.length;b++)if(this._disabledInputs[b]==a)return!0;return!1},_checkOffset:function(a,b,c){var d=a.tpDiv.outerWidth(),e=a.tpDiv.outerHeight(),f=a.input?a.input.outerWidth():0,g=a.input?a.input.outerHeight():0,h=document.documentElement.clientWidth+$(document).scrollLeft(),i=document.documentElement.clientHeight+$(document).scrollTop();return b.left-=this._get(a,"isRTL")?d-f:0,b.left-=c&&b.left==a.input.offset().left?$(document).scrollLeft():0,b.top-=c&&b.top==a.input.offset().top+g?$(document).scrollTop():0,b.left-=Math.min(b.left,b.left+d>h&&h>d?Math.abs(b.left+d-h):0),b.top-=Math.min(b.top,b.top+e>i&&i>e?Math.abs(e+g):0),b},_findPos:function(a){for(var b=this._getInst(a),c=this._get(b,"isRTL");a&&("hidden"==a.type||1!=a.nodeType);)a=a[c?"previousSibling":"nextSibling"];var d=$(a).offset();return[d.left,d.top]},_getBorders:function(a){var b=function(a){return{thin:1,medium:2,thick:3}[a]||a};return[parseFloat(b(a.css("border-left-width"))),parseFloat(b(a.css("border-top-width")))]},_checkExternalClick:function(a){if($.timepicker._curInst){var b=$(a.target);b[0].id==$.timepicker._mainDivId||0!=b.parents("#"+$.timepicker._mainDivId).length||b.hasClass($.timepicker.markerClassName)||b.hasClass($.timepicker._triggerClass)||!$.timepicker._timepickerShowing||$.timepicker._inDialog&&$.blockUI||$.timepicker._hideTimepicker()}},_hideTimepicker:function(a){var b=this._curInst;if(b&&(!a||b==$.data(a,PROP_NAME))&&this._timepickerShowing){var c=this._get(b,"showAnim"),d=this._get(b,"duration"),e=function(){$.timepicker._tidyDialog(b),this._curInst=null};$.effects&&$.effects[c]?b.tpDiv.hide(c,$.timepicker._get(b,"showOptions"),d,e):b.tpDiv["slideDown"==c?"slideUp":"fadeIn"==c?"fadeOut":"hide"](c?d:null,e),c||e(),this._timepickerShowing=!1,this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),$.blockUI&&($.unblockUI(),$("body").append(this.tpDiv))),this._inDialog=!1;var f=this._get(b,"onClose");f&&f.apply(b.input?b.input[0]:null,[b.input?b.input.val():"",b])}},_tidyDialog:function(a){a.tpDiv.removeClass(this._dialogClass).unbind(".ui-timepicker")},_getInst:function(a){try{return $.data(a,PROP_NAME)}catch(b){throw"Missing instance data for this timepicker"}},_get:function(a,b){return void 0!==a.settings[b]?a.settings[b]:this._defaults[b]},_setTimeFromField:function(a){if(a.input.val()!=a.lastVal){var b=this._get(a,"defaultTime"),c="now"==b?this._getCurrentTimeRounded(a):b;if(0==a.inline&&""!=a.input.val()&&(c=a.input.val()),c instanceof Date)a.hours=c.getHours(),a.minutes=c.getMinutes();else{var d=a.lastVal=c;if(""==c)a.hours=-1,a.minutes=-1;else{var e=this.parseTime(a,d);a.hours=e.hours,a.minutes=e.minutes}}$.timepicker._updateTimepicker(a)}},_optionTimepicker:function(a,b,c){var d=this._getInst(a);if(2==arguments.length&&"string"==typeof b)return"defaults"==b?$.extend({},$.timepicker._defaults):d?"all"==b?$.extend({},d.settings):this._get(d,b):null;var e=b||{};"string"==typeof b&&(e={},e[b]=c),d&&(this._curInst==d&&this._hideTimepicker(),extendRemove(d.settings,e),this._updateTimepicker(d))},_setTimeTimepicker:function(a,b){var c=this._getInst(a);c&&(this._setTime(c,b),this._updateTimepicker(c),this._updateAlternate(c,b))},_setTime:function(a,b,c){var d=a.hours,e=a.minutes;b=this.parseTime(a,b),a.hours=b.hours,a.minutes=b.minutes,d==a.hours&&e==a.minuts||c||a.input.trigger("change"),this._updateTimepicker(a),this._updateSelectedValue(a)},_getCurrentTimeRounded:function(){var a=new Date,b=a.getMinutes(),c=5*Math.round(b/5);return a.setMinutes(c),a},parseTime:function(a,b){var c=new Object;c.hours=-1,c.minutes=-1;var d=this._get(a,"timeSeparator"),e=this._get(a,"amPmText"),f=this._get(a,"showHours"),g=this._get(a,"showMinutes"),h=this._get(a,"optionalMinutes"),i=1==this._get(a,"showPeriod"),j=b.indexOf(d);if(-1!=j?(c.hours=parseInt(b.substr(0,j),10),c.minutes=parseInt(b.substr(j+1),10)):!f||g&&!h?!f&&g&&(c.minutes=parseInt(b,10)):c.hours=parseInt(b,10),f){var k=b.toUpperCase();c.hours<12&&i&&-1!=k.indexOf(e[1].toUpperCase())&&(c.hours+=12),12==c.hours&&i&&-1!=k.indexOf(e[0].toUpperCase())&&(c.hours=0)}return c},selectNow:function(a){var b=$(a.target).attr("data-timepicker-instance-id"),c=$(b),d=this._getInst(c[0]),e=new Date;d.hours=e.getHours(),d.minutes=e.getMinutes(),this._updateSelectedValue(d),this._updateTimepicker(d),this._hideTimepicker()},deselectTime:function(a){var b=$(a.target).attr("data-timepicker-instance-id"),c=$(b),d=this._getInst(c[0]);d.hours=-1,d.minutes=-1,this._updateSelectedValue(d),this._hideTimepicker()},selectHours:function(a){var b=$(a.currentTarget),c=b.attr("data-timepicker-instance-id"),d=parseInt(b.attr("data-hour")),e=a.data.fromDoubleClick,f=$(c),g=this._getInst(f[0]),h=1==this._get(g,"showMinutes");if($.timepicker._isDisabledTimepicker(f.attr("id")))return!1;b.parents(".ui-timepicker-hours:first").find("a").removeClass("ui-state-active"),b.children("a").addClass("ui-state-active"),g.hours=d;var i=this._get(g,"onMinuteShow");return i&&this._updateMinuteDisplay(g),this._updateSelectedValue(g),g._hoursClicked=!0,(g._minutesClicked||e||0==h)&&$.timepicker._hideTimepicker(),!1},selectMinutes:function(a){var b=$(a.currentTarget),c=b.attr("data-timepicker-instance-id"),d=parseInt(b.attr("data-minute")),e=a.data.fromDoubleClick,f=$(c),g=this._getInst(f[0]),h=1==this._get(g,"showHours");return $.timepicker._isDisabledTimepicker(f.attr("id"))?!1:(b.parents(".ui-timepicker-minutes:first").find("a").removeClass("ui-state-active"),b.children("a").addClass("ui-state-active"),g.minutes=d,this._updateSelectedValue(g),g._minutesClicked=!0,g._hoursClicked||e||0==h?($.timepicker._hideTimepicker(),!1):!1)},_updateSelectedValue:function(a){var b=this._getParsedTime(a);a.input&&(a.input.val(b),a.input.trigger("change"));var c=this._get(a,"onSelect");return c&&c.apply(a.input?a.input[0]:null,[b,a]),this._updateAlternate(a,b),b},_getParsedTime:function(a){if(-1==a.hours&&-1==a.minutes)return"";(a.hours<a.hours.starts||a.hours>a.hours.ends)&&(a.hours=0),(a.minutes<a.minutes.starts||a.minutes>a.minutes.ends)&&(a.minutes=0);var b="",c=1==this._get(a,"showPeriod"),d=1==this._get(a,"showLeadingZero"),e=1==this._get(a,"showHours"),f=1==this._get(a,"showMinutes"),g=1==this._get(a,"optionalMinutes"),h=this._get(a,"amPmText"),i=a.hours?a.hours:0,j=a.minutes?a.minutes:0,k=i?i:0,l="";c&&(0==a.hours&&(k=12),a.hours<12?b=h[0]:(b=h[1],k>12&&(k-=12)));var m=k.toString();d&&10>k&&(m="0"+m);var n=j.toString();return 10>j&&(n="0"+n),e&&(l+=m),!e||!f||g&&0==n||(l+=this._get(a,"timeSeparator")),!f||g&&0==n||(l+=n),e&&b.length>0&&(l+=this._get(a,"periodSeparator")+b),l},_updateAlternate:function(a,b){var c=this._get(a,"altField");c&&$(c).each(function(a,c){$(c).val(b)})},_getTimeTimepicker:function(a){var b=this._getInst(a);return this._getParsedTime(b)},_getHourTimepicker:function(a){var b=this._getInst(a);return void 0==b?-1:b.hours},_getMinuteTimepicker:function(a){var b=this._getInst(a);return void 0==b?-1:b.minutes}}),$.fn.timepicker=function(a){$.timepicker.initialized||($(document).mousedown($.timepicker._checkExternalClick).find("body").append($.timepicker.tpDiv),$.timepicker.initialized=!0);var b=Array.prototype.slice.call(arguments,1);return"string"!=typeof a||"getTime"!=a&&"getHour"!=a&&"getMinute"!=a?"option"==a&&2==arguments.length&&"string"==typeof arguments[1]?$.timepicker["_"+a+"Timepicker"].apply($.timepicker,[this[0]].concat(b)):this.each(function(){"string"==typeof a?$.timepicker["_"+a+"Timepicker"].apply($.timepicker,[this].concat(b)):$.timepicker._attachTimepicker(this,a)}):$.timepicker["_"+a+"Timepicker"].apply($.timepicker,[this[0]].concat(b))},$.timepicker=new Timepicker,$.timepicker.initialized=!1,$.timepicker.uuid=(new Date).getTime(),$.timepicker.version="0.3.1",window["TP_jQuery_"+tpuuid]=$}(jQuery);
|
1 |
+
/*! event-organiser 2.4.1 2013-11-13 22:37 */
|
2 |
!function($){function Timepicker(){this._curInst=null,this._disabledInputs=[],this._timepickerShowing=!1,this._inDialog=!1,this._dialogClass="ui-timepicker-dialog",this._mainDivId="ui-timepicker-div",this._inlineClass="ui-timepicker-inline",this._currentClass="ui-timepicker-current",this._dayOverClass="ui-timepicker-days-cell-over",this.regional=[],this.regional[""]={hourText:"Hour",minuteText:"Minute",amPmText:["AM","PM"],closeButtonText:"Done",nowButtonText:"Now",deselectButtonText:"Deselect"},this._defaults={showOn:"focus",button:null,showAnim:"fadeIn",showOptions:{},appendText:"",beforeShow:null,onSelect:null,onClose:null,timeSeparator:":",periodSeparator:" ",showPeriod:!1,showPeriodLabels:!0,showLeadingZero:!0,showMinutesLeadingZero:!0,altField:"",defaultTime:"now",myPosition:"left top",atPosition:"left bottom",onHourShow:null,onMinuteShow:null,hours:{starts:0,ends:23},minutes:{starts:0,ends:55,interval:5},rows:4,showHours:!0,showMinutes:!0,optionalMinutes:!1,showCloseButton:!1,showNowButton:!1,showDeselectButton:!1},$.extend(this._defaults,this.regional[""]),this.tpDiv=$('<div id="'+this._mainDivId+'" class="ui-timepicker ui-widget ui-helper-clearfix ui-corner-all " style="display: none"></div>')}function extendRemove(a,b){$.extend(a,b);for(var c in b)(null==b[c]||void 0==b[c])&&(a[c]=b[c]);return a}$.extend($.ui,{timepicker:{version:"0.3.1"}});var PROP_NAME="timepicker",tpuuid=(new Date).getTime();$.extend(Timepicker.prototype,{markerClassName:"hasTimepicker",log:function(){},_widgetTimepicker:function(){return this.tpDiv},setDefaults:function(a){return extendRemove(this._defaults,a||{}),this},_attachTimepicker:function(target,settings){var inlineSettings=null;for(var attrName in this._defaults){var attrValue=target.getAttribute("time:"+attrName);if(attrValue){inlineSettings=inlineSettings||{};try{inlineSettings[attrName]=eval(attrValue)}catch(err){inlineSettings[attrName]=attrValue}}}var nodeName=target.nodeName.toLowerCase(),inline="div"==nodeName||"span"==nodeName;target.id||(this.uuid+=1,target.id="tp"+this.uuid);var inst=this._newInst($(target),inline);inst.settings=$.extend({},settings||{},inlineSettings||{}),"input"==nodeName?(this._connectTimepicker(target,inst),this._setTimeFromField(inst)):inline&&this._inlineTimepicker(target,inst)},_newInst:function(a,b){var c=a[0].id.replace(/([^A-Za-z0-9_-])/g,"\\\\$1");return{id:c,input:a,inline:b,tpDiv:b?$('<div class="'+this._inlineClass+' ui-timepicker ui-widget ui-helper-clearfix"></div>'):this.tpDiv}},_connectTimepicker:function(a,b){var c=$(a);b.append=$([]),b.trigger=$([]),c.hasClass(this.markerClassName)||(this._attachments(c,b),c.addClass(this.markerClassName).keydown(this._doKeyDown).keyup(this._doKeyUp).bind("setData.timepicker",function(a,c,d){b.settings[c]=d}).bind("getData.timepicker",function(a,c){return this._get(b,c)}),$.data(a,PROP_NAME,b))},_doKeyDown:function(a){var b=$.timepicker._getInst(a.target),c=!0;if(b._keyEvent=!0,$.timepicker._timepickerShowing)switch(a.keyCode){case 9:$.timepicker._hideTimepicker(),c=!1;break;case 13:return $.timepicker._updateSelectedValue(b),$.timepicker._hideTimepicker(),!1;case 27:$.timepicker._hideTimepicker();break;default:c=!1}else 36==a.keyCode&&a.ctrlKey?$.timepicker._showTimepicker(this):c=!1;c&&(a.preventDefault(),a.stopPropagation())},_doKeyUp:function(a){var b=$.timepicker._getInst(a.target);$.timepicker._setTimeFromField(b),$.timepicker._updateTimepicker(b)},_attachments:function(a,b){var c=this._get(b,"appendText"),d=this._get(b,"isRTL");b.append&&b.append.remove(),c&&(b.append=$('<span class="'+this._appendClass+'">'+c+"</span>"),a[d?"before":"after"](b.append)),a.unbind("focus.timepicker",this._showTimepicker),a.unbind("click.timepicker",this._adjustZIndex),b.trigger&&b.trigger.remove();var e=this._get(b,"showOn");if(("focus"==e||"both"==e)&&(a.bind("focus.timepicker",this._showTimepicker),a.bind("click.timepicker",this._adjustZIndex)),"button"==e||"both"==e){var f=this._get(b,"button");$(f).bind("click.timepicker",function(){return $.timepicker._timepickerShowing&&$.timepicker._lastInput==a[0]?$.timepicker._hideTimepicker():b.input.is(":disabled")||$.timepicker._showTimepicker(a[0]),!1})}},_inlineTimepicker:function(a,b){var c=$(a);c.hasClass(this.markerClassName)||(c.addClass(this.markerClassName).append(b.tpDiv).bind("setData.timepicker",function(a,c,d){b.settings[c]=d}).bind("getData.timepicker",function(a,c){return this._get(b,c)}),$.data(a,PROP_NAME,b),this._setTimeFromField(b),this._updateTimepicker(b),b.tpDiv.show())},_adjustZIndex:function(a){a=a.target||a;var b=$.timepicker._getInst(a);b.tpDiv.css("zIndex",$.timepicker._getZIndex(a)+1)},_showTimepicker:function(a){if(a=a.target||a,"input"!=a.nodeName.toLowerCase()&&(a=$("input",a.parentNode)[0]),!$.timepicker._isDisabledTimepicker(a)&&$.timepicker._lastInput!=a){$.timepicker._hideTimepicker();var b=$.timepicker._getInst(a);$.timepicker._curInst&&$.timepicker._curInst!=b&&$.timepicker._curInst.tpDiv.stop(!0,!0);var c=$.timepicker._get(b,"beforeShow");extendRemove(b.settings,c?c.apply(a,[a,b]):{}),b.lastVal=null,$.timepicker._lastInput=a,$.timepicker._setTimeFromField(b),$.timepicker._inDialog&&(a.value=""),$.timepicker._pos||($.timepicker._pos=$.timepicker._findPos(a),$.timepicker._pos[1]+=a.offsetHeight);var d=!1;$(a).parents().each(function(){return d|="fixed"==$(this).css("position"),!d}),d&&$.browser.opera&&($.timepicker._pos[0]-=document.documentElement.scrollLeft,$.timepicker._pos[1]-=document.documentElement.scrollTop);var e={left:$.timepicker._pos[0],top:$.timepicker._pos[1]};if($.timepicker._pos=null,b.tpDiv.css({position:"absolute",display:"block",top:"-1000px"}),$.timepicker._updateTimepicker(b),b.inline||"object"!=typeof $.ui.position||(b.tpDiv.position({of:b.input,my:$.timepicker._get(b,"myPosition"),at:$.timepicker._get(b,"atPosition"),collision:"flip"}),e=b.tpDiv.offset(),$.timepicker._pos=[e.top,e.left]),b._hoursClicked=!1,b._minutesClicked=!1,e=$.timepicker._checkOffset(b,e,d),b.tpDiv.css({position:$.timepicker._inDialog&&$.blockUI?"static":d?"fixed":"absolute",display:"none",left:e.left+"px",top:e.top+"px"}),!b.inline){var f=$.timepicker._get(b,"showAnim"),g=$.timepicker._get(b,"duration"),h=function(){$.timepicker._timepickerShowing=!0;var a=$.timepicker._getBorders(b.tpDiv);b.tpDiv.find("iframe.ui-timepicker-cover").css({left:-a[0],top:-a[1],width:b.tpDiv.outerWidth(),height:b.tpDiv.outerHeight()})};$.timepicker._adjustZIndex(a),$.effects&&$.effects[f]?b.tpDiv.show(f,$.timepicker._get(b,"showOptions"),g,h):b.tpDiv[f||"show"](f?g:null,h),f&&g||h(),b.input.is(":visible")&&!b.input.is(":disabled")&&b.input.focus(),$.timepicker._curInst=b}}},_getZIndex:function(a){for(var b,c,d=$(a);d.length&&d[0]!==document;){if(b=d.css("position"),("absolute"===b||"relative"===b||"fixed"===b)&&(c=parseInt(d.css("zIndex"),10),!isNaN(c)&&0!==c))return c;d=d.parent()}},_refreshTimepicker:function(a){var b=this._getInst(a);b&&this._updateTimepicker(b)},_updateTimepicker:function(a){a.tpDiv.empty().append(this._generateHTML(a)),this._rebindDialogEvents(a)},_rebindDialogEvents:function(a){var b=$.timepicker._getBorders(a.tpDiv),c=this;a.tpDiv.find("iframe.ui-timepicker-cover").css({left:-b[0],top:-b[1],width:a.tpDiv.outerWidth(),height:a.tpDiv.outerHeight()}).end().find(".ui-timepicker-minute-cell").unbind().bind("click",{fromDoubleClick:!1},$.proxy($.timepicker.selectMinutes,this)).bind("dblclick",{fromDoubleClick:!0},$.proxy($.timepicker.selectMinutes,this)).end().find(".ui-timepicker-hour-cell").unbind().bind("click",{fromDoubleClick:!1},$.proxy($.timepicker.selectHours,this)).bind("dblclick",{fromDoubleClick:!0},$.proxy($.timepicker.selectHours,this)).end().find(".ui-timepicker td a").unbind().bind("mouseout",function(){$(this).removeClass("ui-state-hover"),-1!=this.className.indexOf("ui-timepicker-prev")&&$(this).removeClass("ui-timepicker-prev-hover"),-1!=this.className.indexOf("ui-timepicker-next")&&$(this).removeClass("ui-timepicker-next-hover")}).bind("mouseover",function(){c._isDisabledTimepicker(a.inline?a.tpDiv.parent()[0]:a.input[0])||($(this).parents(".ui-timepicker-calendar").find("a").removeClass("ui-state-hover"),$(this).addClass("ui-state-hover"),-1!=this.className.indexOf("ui-timepicker-prev")&&$(this).addClass("ui-timepicker-prev-hover"),-1!=this.className.indexOf("ui-timepicker-next")&&$(this).addClass("ui-timepicker-next-hover"))}).end().find("."+this._dayOverClass+" a").trigger("mouseover").end().find(".ui-timepicker-now").bind("click",function(a){$.timepicker.selectNow(a)}).end().find(".ui-timepicker-deselect").bind("click",function(a){$.timepicker.deselectTime(a)}).end().find(".ui-timepicker-close").bind("click",function(){$.timepicker._hideTimepicker()}).end()},_generateHTML:function(a){var b,c,d,e,f=1==this._get(a,"showPeriod"),g=1==this._get(a,"showPeriodLabels"),h=1==this._get(a,"showLeadingZero"),i=1==this._get(a,"showHours"),j=1==this._get(a,"showMinutes"),k=this._get(a,"amPmText"),l=this._get(a,"rows"),m=0,n=0,o=0,p=0,q=0,r=0,s=Array(),t=this._get(a,"hours"),u=null,v=0,w=this._get(a,"hourText"),x=this._get(a,"showCloseButton"),y=this._get(a,"closeButtonText"),z=this._get(a,"showNowButton"),A=this._get(a,"nowButtonText"),B=this._get(a,"showDeselectButton"),C=this._get(a,"deselectButtonText"),D=x||z||B;for(b=t.starts;b<=t.ends;b++)s.push(b);if(u=Math.ceil(s.length/l),g){for(v=0;v<s.length;v++)s[v]<12?o++:p++;v=0,m=Math.floor(o/s.length*l),n=Math.floor(p/s.length*l),l!=m+n&&(o&&(!p||!m||n&&o/m>=p/n)?m++:n++),q=Math.min(m,1),r=m+1,u=Math.ceil(Math.max(o/m,p/n))}if(e='<table class="ui-timepicker-table ui-widget-content ui-corner-all"><tr>',i){for(e+='<td class="ui-timepicker-hours"><div class="ui-timepicker-title ui-widget-header ui-helper-clearfix ui-corner-all">'+w+"</div>"+'<table class="ui-timepicker">',c=1;l>=c;c++){for(e+="<tr>",c==q&&g&&(e+='<th rowspan="'+m.toString()+'" class="periods" scope="row">'+k[0]+"</th>"),c==r&&g&&(e+='<th rowspan="'+n.toString()+'" class="periods" scope="row">'+k[1]+"</th>"),d=1;u>=d;d++)g&&r>c&&s[v]>=12?e+=this._generateHTMLHourCell(a,void 0,f,h):(e+=this._generateHTMLHourCell(a,s[v],f,h),v++);e+="</tr>"}e+="</tr></table></td>"}if(j&&(e+='<td class="ui-timepicker-minutes">',e+=this._generateHTMLMinutes(a),e+="</td>"),e+="</tr>",D){var E='<tr><td colspan="3"><div class="ui-timepicker-buttonpane ui-widget-content">';z&&(E+='<button type="button" class="ui-timepicker-now ui-state-default ui-corner-all" data-timepicker-instance-id="#'+a.id.replace(/\\\\/g,"\\")+'" >'+A+"</button>"),B&&(E+='<button type="button" class="ui-timepicker-deselect ui-state-default ui-corner-all" data-timepicker-instance-id="#'+a.id.replace(/\\\\/g,"\\")+'" >'+C+"</button>"),x&&(E+='<button type="button" class="ui-timepicker-close ui-state-default ui-corner-all" data-timepicker-instance-id="#'+a.id.replace(/\\\\/g,"\\")+'" >'+y+"</button>"),e+=E+"</div></td></tr>"}return e+="</table>",e+=$.browser.msie&&parseInt($.browser.version,10)<7&&!a.inline?'<iframe src="javascript:false;" class="ui-timepicker-cover" frameborder="0"></iframe>':""},_updateMinuteDisplay:function(a){var b=this._generateHTMLMinutes(a);a.tpDiv.find("td.ui-timepicker-minutes").html(b),this._rebindDialogEvents(a)},_generateHTMLMinutes:function(a){var b,c,d="",e=this._get(a,"rows"),f=Array(),g=this._get(a,"minutes"),h=null,i=0,j=1==this._get(a,"showMinutesLeadingZero"),k=this._get(a,"onMinuteShow"),l=this._get(a,"minuteText");for(g.starts||(g.starts=0),g.ends||(g.ends=59),b=g.starts;b<=g.ends;b+=g.interval)f.push(b);if(h=Math.round(f.length/e+.49),k&&0==k.apply(a.input?a.input[0]:null,[a.hours,a.minutes]))for(i=0;i<f.length;i+=1)if(b=f[i],k.apply(a.input?a.input[0]:null,[a.hours,b])){a.minutes=b;break}for(d+='<div class="ui-timepicker-title ui-widget-header ui-helper-clearfix ui-corner-all">'+l+"</div>"+'<table class="ui-timepicker">',i=0,c=1;e>=c;c++){for(d+="<tr>";c*h>i;){b=f[i];var m="";void 0!==b&&(m=10>b&&j?"0"+b.toString():b.toString()),d+=this._generateHTMLMinuteCell(a,b,m),i++}d+="</tr>"}return d+="</table>"},_generateHTMLHourCell:function(a,b,c,d){var e=b;b>12&&c&&(e=b-12),0==e&&c&&(e=12),10>e&&d&&(e="0"+e);var f="",g=!0,h=this._get(a,"onHourShow");return void 0==b?f='<td><span class="ui-state-default ui-state-disabled"> </span></td>':(h&&(g=h.apply(a.input?a.input[0]:null,[b])),f=g?'<td class="ui-timepicker-hour-cell" data-timepicker-instance-id="#'+a.id.replace(/\\\\/g,"\\")+'" data-hour="'+b.toString()+'">'+'<a class="ui-state-default '+(b==a.hours?"ui-state-active":"")+'">'+e.toString()+"</a></td>":'<td><span class="ui-state-default ui-state-disabled '+(b==a.hours?" ui-state-active ":" ")+'">'+e.toString()+"</span>"+"</td>")},_generateHTMLMinuteCell:function(a,b,c){var d="",e=!0,f=this._get(a,"onMinuteShow");return f&&(e=f.apply(a.input?a.input[0]:null,[a.hours,b])),d=void 0==b?'<td><span class="ui-state-default ui-state-disabled"> </span></td>':e?'<td class="ui-timepicker-minute-cell" data-timepicker-instance-id="#'+a.id.replace(/\\\\/g,"\\")+'" data-minute="'+b.toString()+'" >'+'<a class="ui-state-default '+(b==a.minutes?"ui-state-active":"")+'" >'+c+"</a></td>":'<td><span class="ui-state-default ui-state-disabled" >'+c+"</span>"+"</td>"},_destroyTimepicker:function(a){var b=$(a),c=$.data(a,PROP_NAME);if(b.hasClass(this.markerClassName)){var d=a.nodeName.toLowerCase();$.removeData(a,PROP_NAME),"input"==d?(c.append.remove(),c.trigger.remove(),b.removeClass(this.markerClassName).unbind("focus.timepicker",this._showTimepicker).unbind("click.timepicker",this._adjustZIndex)):("div"==d||"span"==d)&&b.removeClass(this.markerClassName).empty()}},_enableTimepicker:function(a){var b=$(a),c=b.attr("id"),d=$.data(a,PROP_NAME);if(b.hasClass(this.markerClassName)){var e=a.nodeName.toLowerCase();if("input"==e){a.disabled=!1;var f=this._get(d,"button");$(f).removeClass("ui-state-disabled").disabled=!1,d.trigger.filter("button").each(function(){this.disabled=!1}).end()}else if("div"==e||"span"==e){var g=b.children("."+this._inlineClass);g.children().removeClass("ui-state-disabled"),g.find("button").each(function(){this.disabled=!1})}this._disabledInputs=$.map(this._disabledInputs,function(a){return a==c?null:a})}},_disableTimepicker:function(a){var b=$(a),c=$.data(a,PROP_NAME);if(b.hasClass(this.markerClassName)){var d=a.nodeName.toLowerCase();if("input"==d){var e=this._get(c,"button");$(e).addClass("ui-state-disabled").disabled=!0,a.disabled=!0,c.trigger.filter("button").each(function(){this.disabled=!0}).end()}else if("div"==d||"span"==d){var f=b.children("."+this._inlineClass);f.children().addClass("ui-state-disabled"),f.find("button").each(function(){this.disabled=!0})}this._disabledInputs=$.map(this._disabledInputs,function(b){return b==a?null:b}),this._disabledInputs[this._disabledInputs.length]=b.attr("id")}},_isDisabledTimepicker:function(a){if(!a)return!1;for(var b=0;b<this._disabledInputs.length;b++)if(this._disabledInputs[b]==a)return!0;return!1},_checkOffset:function(a,b,c){var d=a.tpDiv.outerWidth(),e=a.tpDiv.outerHeight(),f=a.input?a.input.outerWidth():0,g=a.input?a.input.outerHeight():0,h=document.documentElement.clientWidth+$(document).scrollLeft(),i=document.documentElement.clientHeight+$(document).scrollTop();return b.left-=this._get(a,"isRTL")?d-f:0,b.left-=c&&b.left==a.input.offset().left?$(document).scrollLeft():0,b.top-=c&&b.top==a.input.offset().top+g?$(document).scrollTop():0,b.left-=Math.min(b.left,b.left+d>h&&h>d?Math.abs(b.left+d-h):0),b.top-=Math.min(b.top,b.top+e>i&&i>e?Math.abs(e+g):0),b},_findPos:function(a){for(var b=this._getInst(a),c=this._get(b,"isRTL");a&&("hidden"==a.type||1!=a.nodeType);)a=a[c?"previousSibling":"nextSibling"];var d=$(a).offset();return[d.left,d.top]},_getBorders:function(a){var b=function(a){return{thin:1,medium:2,thick:3}[a]||a};return[parseFloat(b(a.css("border-left-width"))),parseFloat(b(a.css("border-top-width")))]},_checkExternalClick:function(a){if($.timepicker._curInst){var b=$(a.target);b[0].id==$.timepicker._mainDivId||0!=b.parents("#"+$.timepicker._mainDivId).length||b.hasClass($.timepicker.markerClassName)||b.hasClass($.timepicker._triggerClass)||!$.timepicker._timepickerShowing||$.timepicker._inDialog&&$.blockUI||$.timepicker._hideTimepicker()}},_hideTimepicker:function(a){var b=this._curInst;if(b&&(!a||b==$.data(a,PROP_NAME))&&this._timepickerShowing){var c=this._get(b,"showAnim"),d=this._get(b,"duration"),e=function(){$.timepicker._tidyDialog(b),this._curInst=null};$.effects&&$.effects[c]?b.tpDiv.hide(c,$.timepicker._get(b,"showOptions"),d,e):b.tpDiv["slideDown"==c?"slideUp":"fadeIn"==c?"fadeOut":"hide"](c?d:null,e),c||e(),this._timepickerShowing=!1,this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),$.blockUI&&($.unblockUI(),$("body").append(this.tpDiv))),this._inDialog=!1;var f=this._get(b,"onClose");f&&f.apply(b.input?b.input[0]:null,[b.input?b.input.val():"",b])}},_tidyDialog:function(a){a.tpDiv.removeClass(this._dialogClass).unbind(".ui-timepicker")},_getInst:function(a){try{return $.data(a,PROP_NAME)}catch(b){throw"Missing instance data for this timepicker"}},_get:function(a,b){return void 0!==a.settings[b]?a.settings[b]:this._defaults[b]},_setTimeFromField:function(a){if(a.input.val()!=a.lastVal){var b=this._get(a,"defaultTime"),c="now"==b?this._getCurrentTimeRounded(a):b;if(0==a.inline&&""!=a.input.val()&&(c=a.input.val()),c instanceof Date)a.hours=c.getHours(),a.minutes=c.getMinutes();else{var d=a.lastVal=c;if(""==c)a.hours=-1,a.minutes=-1;else{var e=this.parseTime(a,d);a.hours=e.hours,a.minutes=e.minutes}}$.timepicker._updateTimepicker(a)}},_optionTimepicker:function(a,b,c){var d=this._getInst(a);if(2==arguments.length&&"string"==typeof b)return"defaults"==b?$.extend({},$.timepicker._defaults):d?"all"==b?$.extend({},d.settings):this._get(d,b):null;var e=b||{};"string"==typeof b&&(e={},e[b]=c),d&&(this._curInst==d&&this._hideTimepicker(),extendRemove(d.settings,e),this._updateTimepicker(d))},_setTimeTimepicker:function(a,b){var c=this._getInst(a);c&&(this._setTime(c,b),this._updateTimepicker(c),this._updateAlternate(c,b))},_setTime:function(a,b,c){var d=a.hours,e=a.minutes;b=this.parseTime(a,b),a.hours=b.hours,a.minutes=b.minutes,d==a.hours&&e==a.minuts||c||a.input.trigger("change"),this._updateTimepicker(a),this._updateSelectedValue(a)},_getCurrentTimeRounded:function(){var a=new Date,b=a.getMinutes(),c=5*Math.round(b/5);return a.setMinutes(c),a},parseTime:function(a,b){var c=new Object;c.hours=-1,c.minutes=-1;var d=this._get(a,"timeSeparator"),e=this._get(a,"amPmText"),f=this._get(a,"showHours"),g=this._get(a,"showMinutes"),h=this._get(a,"optionalMinutes"),i=1==this._get(a,"showPeriod"),j=b.indexOf(d);if(-1!=j?(c.hours=parseInt(b.substr(0,j),10),c.minutes=parseInt(b.substr(j+1),10)):!f||g&&!h?!f&&g&&(c.minutes=parseInt(b,10)):c.hours=parseInt(b,10),f){var k=b.toUpperCase();c.hours<12&&i&&-1!=k.indexOf(e[1].toUpperCase())&&(c.hours+=12),12==c.hours&&i&&-1!=k.indexOf(e[0].toUpperCase())&&(c.hours=0)}return c},selectNow:function(a){var b=$(a.target).attr("data-timepicker-instance-id"),c=$(b),d=this._getInst(c[0]),e=new Date;d.hours=e.getHours(),d.minutes=e.getMinutes(),this._updateSelectedValue(d),this._updateTimepicker(d),this._hideTimepicker()},deselectTime:function(a){var b=$(a.target).attr("data-timepicker-instance-id"),c=$(b),d=this._getInst(c[0]);d.hours=-1,d.minutes=-1,this._updateSelectedValue(d),this._hideTimepicker()},selectHours:function(a){var b=$(a.currentTarget),c=b.attr("data-timepicker-instance-id"),d=parseInt(b.attr("data-hour")),e=a.data.fromDoubleClick,f=$(c),g=this._getInst(f[0]),h=1==this._get(g,"showMinutes");if($.timepicker._isDisabledTimepicker(f.attr("id")))return!1;b.parents(".ui-timepicker-hours:first").find("a").removeClass("ui-state-active"),b.children("a").addClass("ui-state-active"),g.hours=d;var i=this._get(g,"onMinuteShow");return i&&this._updateMinuteDisplay(g),this._updateSelectedValue(g),g._hoursClicked=!0,(g._minutesClicked||e||0==h)&&$.timepicker._hideTimepicker(),!1},selectMinutes:function(a){var b=$(a.currentTarget),c=b.attr("data-timepicker-instance-id"),d=parseInt(b.attr("data-minute")),e=a.data.fromDoubleClick,f=$(c),g=this._getInst(f[0]),h=1==this._get(g,"showHours");return $.timepicker._isDisabledTimepicker(f.attr("id"))?!1:(b.parents(".ui-timepicker-minutes:first").find("a").removeClass("ui-state-active"),b.children("a").addClass("ui-state-active"),g.minutes=d,this._updateSelectedValue(g),g._minutesClicked=!0,g._hoursClicked||e||0==h?($.timepicker._hideTimepicker(),!1):!1)},_updateSelectedValue:function(a){var b=this._getParsedTime(a);a.input&&(a.input.val(b),a.input.trigger("change"));var c=this._get(a,"onSelect");return c&&c.apply(a.input?a.input[0]:null,[b,a]),this._updateAlternate(a,b),b},_getParsedTime:function(a){if(-1==a.hours&&-1==a.minutes)return"";(a.hours<a.hours.starts||a.hours>a.hours.ends)&&(a.hours=0),(a.minutes<a.minutes.starts||a.minutes>a.minutes.ends)&&(a.minutes=0);var b="",c=1==this._get(a,"showPeriod"),d=1==this._get(a,"showLeadingZero"),e=1==this._get(a,"showHours"),f=1==this._get(a,"showMinutes"),g=1==this._get(a,"optionalMinutes"),h=this._get(a,"amPmText"),i=a.hours?a.hours:0,j=a.minutes?a.minutes:0,k=i?i:0,l="";c&&(0==a.hours&&(k=12),a.hours<12?b=h[0]:(b=h[1],k>12&&(k-=12)));var m=k.toString();d&&10>k&&(m="0"+m);var n=j.toString();return 10>j&&(n="0"+n),e&&(l+=m),!e||!f||g&&0==n||(l+=this._get(a,"timeSeparator")),!f||g&&0==n||(l+=n),e&&b.length>0&&(l+=this._get(a,"periodSeparator")+b),l},_updateAlternate:function(a,b){var c=this._get(a,"altField");c&&$(c).each(function(a,c){$(c).val(b)})},_getTimeTimepicker:function(a){var b=this._getInst(a);return this._getParsedTime(b)},_getHourTimepicker:function(a){var b=this._getInst(a);return void 0==b?-1:b.hours},_getMinuteTimepicker:function(a){var b=this._getInst(a);return void 0==b?-1:b.minutes}}),$.fn.timepicker=function(a){$.timepicker.initialized||($(document).mousedown($.timepicker._checkExternalClick).find("body").append($.timepicker.tpDiv),$.timepicker.initialized=!0);var b=Array.prototype.slice.call(arguments,1);return"string"!=typeof a||"getTime"!=a&&"getHour"!=a&&"getMinute"!=a?"option"==a&&2==arguments.length&&"string"==typeof arguments[1]?$.timepicker["_"+a+"Timepicker"].apply($.timepicker,[this[0]].concat(b)):this.each(function(){"string"==typeof a?$.timepicker["_"+a+"Timepicker"].apply($.timepicker,[this].concat(b)):$.timepicker._attachTimepicker(this,a)}):$.timepicker["_"+a+"Timepicker"].apply($.timepicker,[this[0]].concat(b))},$.timepicker=new Timepicker,$.timepicker.initialized=!1,$.timepicker.uuid=(new Date).getTime(),$.timepicker.version="0.3.1",window["TP_jQuery_"+tpuuid]=$}(jQuery);
|
js/venues.min.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
/*! event-organiser 2.4.
|
2 |
function eo_initialize_map(a,b){if("undefined"!=typeof google){var c=new google.maps.LatLng(a,b),d={zoom:15,center:c,mapTypeId:google.maps.MapTypeId.ROADMAP};if(map=new google.maps.Map(document.getElementById("venuemap"),d),"undefined"!=typeof EO_Venue)var e=!0;else var e=!1;marker=new google.maps.Marker({position:c,map:map,draggable:e,icon:eo_venue.marker?eo_venue.marker:null}),"undefined"!=typeof EO_Venue&&google.maps.event.addListener(marker,"dragend",function(a){jQuery("#eo_venue_Lat").val(a.latLng.lat().toFixed(6)),jQuery("#eo_venue_Lng").val(a.latLng.lng().toFixed(6)),map.setCenter(marker.position)})}}function eventorganiser_code_address(a){var b=new google.maps.Geocoder;b.geocode({address:a},function(a,b){if(b==google.maps.GeocoderStatus.OK){if(marker.setMap(null),map.setCenter(a[0].geometry.location),"undefined"!=typeof EO_Venue)var c=!0;else var c=!1;marker=new google.maps.Marker({map:map,position:a[0].geometry.location,draggable:c,icon:eo_venue.marker?eo_venue.marker:null}),map.setZoom(15),"undefined"!=typeof EO_Venue&&google.maps.event.addListener(marker,"dragend",function(a){jQuery("#eo_venue_Lat").val(a.latLng.lat().toFixed(6)),jQuery("#eo_venue_Lng").val(a.latLng.lng().toFixed(6)),map.setCenter(marker.position)}),jQuery("#eo_venue_Lat").val(a[0].geometry.location.lat()),jQuery("#eo_venue_Lng").val(a[0].geometry.location.lng())}})}var map,marker,eo_venue=eo_venue||{marker:!1};jQuery(document).ready(function(){if("undefined"!=typeof EO_Venue&&postboxes.add_postbox_toggles(pagenow),"undefined"!=typeof google){var a=jQuery("#eo_venue_Lat").val(),b=jQuery("#eo_venue_Lng").val();if("undefined"!=typeof a&&"undefined"!=typeof b){if(eo_initialize_map(a,b),0==a&&0==b){if("undefined"!=typeof EO_Venue){var c=EO_Venue.location.split("/");c=c[c.length-1]}"undefined"!=typeof c&&c?eventorganiser_code_address(c):map.setZoom(1)}jQuery(".eo_addressInput").change(function(){var a=[];jQuery(".eo_addressInput").each(function(){a.push(jQuery(this).val())}),eventorganiser_code_address(a.join(", "))})}}});
|
1 |
+
/*! event-organiser 2.4.1 2013-11-13 22:37 */
|
2 |
function eo_initialize_map(a,b){if("undefined"!=typeof google){var c=new google.maps.LatLng(a,b),d={zoom:15,center:c,mapTypeId:google.maps.MapTypeId.ROADMAP};if(map=new google.maps.Map(document.getElementById("venuemap"),d),"undefined"!=typeof EO_Venue)var e=!0;else var e=!1;marker=new google.maps.Marker({position:c,map:map,draggable:e,icon:eo_venue.marker?eo_venue.marker:null}),"undefined"!=typeof EO_Venue&&google.maps.event.addListener(marker,"dragend",function(a){jQuery("#eo_venue_Lat").val(a.latLng.lat().toFixed(6)),jQuery("#eo_venue_Lng").val(a.latLng.lng().toFixed(6)),map.setCenter(marker.position)})}}function eventorganiser_code_address(a){var b=new google.maps.Geocoder;b.geocode({address:a},function(a,b){if(b==google.maps.GeocoderStatus.OK){if(marker.setMap(null),map.setCenter(a[0].geometry.location),"undefined"!=typeof EO_Venue)var c=!0;else var c=!1;marker=new google.maps.Marker({map:map,position:a[0].geometry.location,draggable:c,icon:eo_venue.marker?eo_venue.marker:null}),map.setZoom(15),"undefined"!=typeof EO_Venue&&google.maps.event.addListener(marker,"dragend",function(a){jQuery("#eo_venue_Lat").val(a.latLng.lat().toFixed(6)),jQuery("#eo_venue_Lng").val(a.latLng.lng().toFixed(6)),map.setCenter(marker.position)}),jQuery("#eo_venue_Lat").val(a[0].geometry.location.lat()),jQuery("#eo_venue_Lng").val(a[0].geometry.location.lng())}})}var map,marker,eo_venue=eo_venue||{marker:!1};jQuery(document).ready(function(){if("undefined"!=typeof EO_Venue&&postboxes.add_postbox_toggles(pagenow),"undefined"!=typeof google){var a=jQuery("#eo_venue_Lat").val(),b=jQuery("#eo_venue_Lng").val();if("undefined"!=typeof a&&"undefined"!=typeof b){if(eo_initialize_map(a,b),0==a&&0==b){if("undefined"!=typeof EO_Venue){var c=EO_Venue.location.split("/");c=c[c.length-1]}"undefined"!=typeof c&&c?eventorganiser_code_address(c):map.setZoom(1)}jQuery(".eo_addressInput").change(function(){var a=[];jQuery(".eo_addressInput").each(function(){a.push(jQuery(this).val())}),eventorganiser_code_address(a.join(", "))})}}});
|
languages/eventorganiser-ar.mo
CHANGED
Binary file
|
languages/eventorganiser-ar.po
CHANGED
@@ -1,15 +1,15 @@
|
|
1 |
msgid ""
|
2 |
-
msgstr "
|
|
|
3 |
"Report-Msgid-Bugs-To: stephenh1988@gmail.com\n"
|
4 |
"POT-Creation-Date: 2008-09-01 09:37+0000\n"
|
5 |
-
"PO-Revision-Date: 2013-
|
6 |
-
"Last-Translator:
|
7 |
"Language-Team: \n"
|
8 |
"Language: Arabic\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
""
|
13 |
|
14 |
#: ../templates/taxonomy-event-category.php:49
|
15 |
#: ../templates/taxonomy-event-category.php:107
|
@@ -67,18 +67,11 @@ msgid "24 hour time"
|
|
67 |
msgstr "24 ساعة"
|
68 |
|
69 |
#: ../includes/event-organiser-register.php:604
|
70 |
-
msgid "<h4>City & State Fields Added</h4>City and state / province fields for "
|
71 |
-
"venues have now been added. </br> If you'd like, Event Organiser can <a "
|
72 |
-
"href='%s'>attempt to auto-fill them</a>. You can always manually change the "
|
73 |
-
"details aftewards."
|
74 |
msgstr ""
|
75 |
|
76 |
#: ../includes/event-organiser-register.php:611
|
77 |
-
msgid "<h4>The Default Templates Have Changed</h4>Don't panic! If you've set up "
|
78 |
-
"your own templates in your theme you won't notice any change. </br> If you "
|
79 |
-
"haven't and want the old templates back, <a "
|
80 |
-
"href='http://wp-event-organiser.com/blog/new-default-templates-in-1-7'>see "
|
81 |
-
"this post<a/>."
|
82 |
msgstr ""
|
83 |
|
84 |
#: ../classes/class-eo-widget-categories.php:10
|
@@ -98,8 +91,7 @@ msgid "Add Event"
|
|
98 |
msgstr ""
|
99 |
|
100 |
#: ../event-organiser-go-pro.php:82
|
101 |
-
msgid "Add information on your venue pages with venue custom fields, or give your "
|
102 |
-
"venues more attentioned with their own 'featured image'"
|
103 |
msgstr ""
|
104 |
|
105 |
#: ../event-organiser-venues.php:230
|
@@ -156,8 +148,7 @@ msgid "All Categories"
|
|
156 |
msgstr ""
|
157 |
|
158 |
#: ../includes/event-organiser-cpt.php:428
|
159 |
-
msgid "All dates and times must be entered in the specified format. This format can "
|
160 |
-
"changed in the settings page."
|
161 |
msgstr ""
|
162 |
|
163 |
#: ../includes/event-organiser-ajax.php:540
|
@@ -214,8 +205,7 @@ msgid "Author"
|
|
214 |
msgstr ""
|
215 |
|
216 |
#: ../event-organiser-debug.php:76
|
217 |
-
msgid "Below any <strong>known</strong> plug-in and theme conflicts are highlighted "
|
218 |
-
"in red."
|
219 |
msgstr ""
|
220 |
|
221 |
#: ../includes/event-organiser-ajax.php:347
|
@@ -227,9 +217,7 @@ msgid "But that's not all …"
|
|
227 |
msgstr ""
|
228 |
|
229 |
#: ../includes/event-organiser-cpt.php:479
|
230 |
-
msgid "By clicking the relevant tab, you can view events in Month, Week or Day "
|
231 |
-
"mode. You can also filter the events by events by category and venue. The "
|
232 |
-
"'go to date' button allows you to quickly jump to a specific date."
|
233 |
msgstr ""
|
234 |
|
235 |
#: ../event-organiser-calendar.php:203
|
@@ -252,8 +240,7 @@ msgid "Categories"
|
|
252 |
msgstr "تصنيفات"
|
253 |
|
254 |
#: ../event-organiser-settings.php:235
|
255 |
-
msgid "Check this option to prevent any stylesheets from Event Organiser being "
|
256 |
-
"loaded on the front-end"
|
257 |
msgstr ""
|
258 |
|
259 |
#: ../event-organiser-edit.php:76
|
@@ -261,8 +248,7 @@ msgid "Check to edit this event and its reoccurrences"
|
|
261 |
msgstr ""
|
262 |
|
263 |
#: ../event-organiser-settings.php:600
|
264 |
-
msgid "Choose a custom permalink structure for events, venues, event categories and "
|
265 |
-
"event tags."
|
266 |
msgstr ""
|
267 |
|
268 |
#: ../includes/event-organiser-cpt.php:104
|
@@ -270,8 +256,7 @@ msgid "Choose from the most used tags"
|
|
270 |
msgstr ""
|
271 |
|
272 |
#: ../includes/event-organiser-cpt.php:437
|
273 |
-
msgid "Choose the reoccurrence end date. No further occurrences are added after "
|
274 |
-
"this date, but an occurrence that starts before may finish after this date."
|
275 |
msgstr ""
|
276 |
|
277 |
#: ../includes/event-organiser-venue-functions.php:883
|
@@ -432,8 +417,7 @@ msgstr ""
|
|
432 |
|
433 |
#: ../event-organiser-settings.php:129
|
434 |
#: ../event-organiser-settings.php:156
|
435 |
-
msgid "Display past events on calendars, event lists and archives (this can be "
|
436 |
-
"over-ridden by shortcode attributes and widget options)."
|
437 |
msgstr ""
|
438 |
|
439 |
#: ../classes/class-eo-calendar-widget.php:22
|
@@ -492,8 +476,7 @@ msgid "Edit Tag"
|
|
492 |
msgstr ""
|
493 |
|
494 |
#: ../includes/event-organiser-cpt.php:467
|
495 |
-
msgid "Edit takes you to the editing screen for that venue. You can also reach that "
|
496 |
-
"screen by clicking on the venue title."
|
497 |
msgstr ""
|
498 |
|
499 |
#: ../event-organiser-venues.php:267
|
@@ -585,13 +568,11 @@ msgid "Event Organiser Extensions"
|
|
585 |
msgstr ""
|
586 |
|
587 |
#: ../event-organiser-add-ons.php:99
|
588 |
-
msgid "Event Organiser offers a range of extension which add additional features to "
|
589 |
-
"the plug-in."
|
590 |
msgstr ""
|
591 |
|
592 |
#: ../event-organiser-go-pro.php:55
|
593 |
-
msgid "Event Organiser Pro is a premium add-on bringing advanced booking management "
|
594 |
-
"to Event Organiser."
|
595 |
msgstr ""
|
596 |
|
597 |
#: ../event-organiser-settings.php:28
|
@@ -615,8 +596,7 @@ msgid "Event saved."
|
|
615 |
msgstr ""
|
616 |
|
617 |
#: ../includes/event-organiser-cpt.php:226
|
618 |
-
msgid "Event scheduled for: <strong>%1$s</strong>. <a target=\"_blank\" "
|
619 |
-
"href=\"%2$s\">Preview event</a>"
|
620 |
msgstr ""
|
621 |
|
622 |
#: ../includes/event-organiser-cpt.php:225
|
@@ -801,11 +781,7 @@ msgid "Flexible Booking Options"
|
|
801 |
msgstr ""
|
802 |
|
803 |
#: ../event-organiser-settings.php:212
|
804 |
-
msgid "For each of the pages, the corresponding template is used. To use your own "
|
805 |
-
"template simply give it the same name and store in your theme folder. By "
|
806 |
-
"default, if Event Organiser cannot find a template in your theme directory, "
|
807 |
-
"it will use its own default template. To prevent this, uncheck this option. "
|
808 |
-
"WordPress will then decide which template from your theme's folder to use."
|
809 |
msgstr ""
|
810 |
|
811 |
#: ../includes/event-organiser-cpt.php:490
|
@@ -813,8 +789,7 @@ msgid "For more information"
|
|
813 |
msgstr ""
|
814 |
|
815 |
#: ../event-organiser-settings.php:224
|
816 |
-
msgid "For more information see documentation <a href='%s'>on editing the "
|
817 |
-
"templates</a>"
|
818 |
msgstr ""
|
819 |
|
820 |
#: ../includes/event-organiser-register.php:235
|
@@ -844,9 +819,7 @@ msgid "Get Link"
|
|
844 |
msgstr ""
|
845 |
|
846 |
#: ../event-organiser-go-pro.php:77
|
847 |
-
msgid "Give your users the ability to search and filter through your events with "
|
848 |
-
"the event search shortcode. Event Organiser Pro also adds a text editor "
|
849 |
-
"button to make inserting and configuring your shortcodes that bit easier. "
|
850 |
msgstr ""
|
851 |
|
852 |
#: ../event-organiser-go-pro.php:25
|
@@ -886,31 +859,23 @@ msgid "Hour"
|
|
886 |
msgstr ""
|
887 |
|
888 |
#: ../includes/event-organiser-cpt.php:465
|
889 |
-
msgid "Hovering over a row in the venues list will display action links that allow "
|
890 |
-
"you to manage that venue. You can perform the following actions:"
|
891 |
msgstr ""
|
892 |
|
893 |
#: ../event-organiser-settings.php:177
|
894 |
-
msgid "If 'no' is selected, an occurrence of an event is only past when it has "
|
895 |
-
"finished. Otherwise, an occurrence is considered 'past' as soon as it "
|
896 |
-
"starts."
|
897 |
msgstr ""
|
898 |
|
899 |
#: ../includes/event-organiser-cpt.php:438
|
900 |
-
msgid "If monthly reoccurrence is selected, select whether this should repeat on "
|
901 |
-
"that date of the month (e.g. on the 24th) or on the day of the month (e.g. "
|
902 |
-
"on the third Tuesday) "
|
903 |
msgstr ""
|
904 |
|
905 |
#: ../event-organiser-settings.php:165
|
906 |
-
msgid "If selected only one occurrence of an event will be displayed on event lists "
|
907 |
-
"and archives (this can be over-ridden by shortcode attributes and widget "
|
908 |
-
"options."
|
909 |
msgstr ""
|
910 |
|
911 |
#: ../event-organiser-settings.php:186
|
912 |
-
msgid "If selected the event will be automatically trashed 24 hours after the last "
|
913 |
-
"occurrence finishes."
|
914 |
msgstr ""
|
915 |
|
916 |
#: ../event-organiser-settings.php:195
|
@@ -918,14 +883,11 @@ msgid "If selected, visitors can subscribe to your events with the url: %s"
|
|
918 |
msgstr ""
|
919 |
|
920 |
#: ../includes/event-organiser-cpt.php:439
|
921 |
-
msgid "If weekly reoccurrence is selected, select which days of the week the event "
|
922 |
-
"should be repeated. If no days are selected, the day of the start date is "
|
923 |
-
"used"
|
924 |
msgstr ""
|
925 |
|
926 |
#: ../event-organiser-settings.php:250
|
927 |
-
msgid "If you have pretty permalinks enabled, select to have pretty premalinks for "
|
928 |
-
"events."
|
929 |
msgstr ""
|
930 |
|
931 |
#: ../event-organiser-settings.php:21
|
@@ -968,13 +930,11 @@ msgstr ""
|
|
968 |
|
969 |
#: ../includes/class-event-organiser-im-export.php:618
|
970 |
#: ../includes/class-eo-ical-parser.php:482
|
971 |
-
msgid "Invalid datetime. Date expected in YYYYMMDDTHHiissZ or YYYYMMDDTHHiiss "
|
972 |
-
"format."
|
973 |
msgstr ""
|
974 |
|
975 |
#: ../includes/class-event-organiser-im-export.php:78
|
976 |
-
msgid "Invalid file uploaded. The file must be a ics calendar file of type "
|
977 |
-
"'text/calendar', no larger than 2MB."
|
978 |
msgstr ""
|
979 |
|
980 |
#: ../includes/event.php:548
|
@@ -982,8 +942,7 @@ msgid "Invalid monthly schedule (invalid ordinal)"
|
|
982 |
msgstr ""
|
983 |
|
984 |
#: ../event-organiser-debug.php:245
|
985 |
-
msgid "Known plug-in & theme conflicts, highlighted in red, may be minor or have a "
|
986 |
-
"simple resolution. Please contact support."
|
987 |
msgstr ""
|
988 |
|
989 |
#: ../includes/event-organiser-register.php:235
|
@@ -1064,8 +1023,7 @@ msgid "months"
|
|
1064 |
msgstr ""
|
1065 |
|
1066 |
#: ../event-organiser-debug.php:72
|
1067 |
-
msgid "Most bugs arise from theme or plug-in conflicts. You can check this by "
|
1068 |
-
"disabling all other plug-ins and switching to TwentyTweleve."
|
1069 |
msgstr ""
|
1070 |
|
1071 |
#: ../includes/event-organiser-cpt.php:69
|
@@ -1164,8 +1122,7 @@ msgid "one time only"
|
|
1164 |
msgstr ""
|
1165 |
|
1166 |
#: ../includes/event-organiser-cpt.php:448
|
1167 |
-
msgid "Only pre-existing venues can be selected. To add a venue, go to the venues "
|
1168 |
-
"page."
|
1169 |
msgstr ""
|
1170 |
|
1171 |
#: ../classes/class-eo-event-list-widget.php:55
|
@@ -1205,8 +1162,7 @@ msgid "Permissions"
|
|
1205 |
msgstr "أذونات"
|
1206 |
|
1207 |
#: ../event-organiser-settings.php:601
|
1208 |
-
msgid "Please note to enable these structures you must first have pretty permalinks "
|
1209 |
-
"enabled on WordPress in Settings > Permalinks."
|
1210 |
msgstr ""
|
1211 |
|
1212 |
#: ../includes/event-organiser-cpt.php:96
|
@@ -1334,9 +1290,7 @@ msgid "Selecting a venue"
|
|
1334 |
msgstr ""
|
1335 |
|
1336 |
#: ../event-organiser-go-pro.php:72
|
1337 |
-
msgid "Sell tickets for specific dates or sell tickets for all dates of an event - "
|
1338 |
-
"such as booking places on a course. You can offer multiple tickets, and "
|
1339 |
-
"customise the booking form to suit your needs."
|
1340 |
msgstr ""
|
1341 |
|
1342 |
#: ../includes/event-organiser-cpt.php:107
|
@@ -1439,23 +1393,19 @@ msgid "Templates"
|
|
1439 |
msgstr "قوالب"
|
1440 |
|
1441 |
#: ../event-organiser-debug.php:67
|
1442 |
-
msgid "The 'system info' link in under the Events admin tab is only visible to "
|
1443 |
-
"admins and only when <code>WP_DEBUG</code> is set to <code>true</code>."
|
1444 |
msgstr ""
|
1445 |
|
1446 |
#: ../includes/event-organiser-cpt.php:427
|
1447 |
-
msgid "The end date is the date the event finishes. If the event is a reoccuring "
|
1448 |
-
"event, this is the end date of the first occurrence."
|
1449 |
msgstr ""
|
1450 |
|
1451 |
#: ../includes/class-event-organiser-im-export.php:101
|
1452 |
-
msgid "The export button below generates an ICS file of your events that can be "
|
1453 |
-
"imported in to other calendar applications such as Google Calendar."
|
1454 |
msgstr ""
|
1455 |
|
1456 |
#: ../includes/event-organiser-cpt.php:426
|
1457 |
-
msgid "The start date is the date the event starts. If the event is a reoccuring "
|
1458 |
-
"event, this is the start date of the first occurrence."
|
1459 |
msgstr ""
|
1460 |
|
1461 |
#: ../classes/class-eventorganiser-shortcodes.php:356
|
@@ -1504,13 +1454,11 @@ msgid "This event reoccurs"
|
|
1504 |
msgstr ""
|
1505 |
|
1506 |
#: ../templates/single-event.php:60
|
1507 |
-
msgid "This event was posted by <a href=\"%5$s\">%4$s</a>. Bookmark the <a "
|
1508 |
-
"href=\"%2$s\" title=\"Permalink to %3$s\" rel=\"bookmark\">permalink</a>."
|
1509 |
msgstr ""
|
1510 |
|
1511 |
#: ../templates/single-event.php:58
|
1512 |
-
msgid "This event was posted in %1$s by <a href=\"%5$s\">%4$s</a>. Bookmark the <a "
|
1513 |
-
"href=\"%2$s\" title=\"Permalink to %3$s\" rel=\"bookmark\">permalink</a>."
|
1514 |
msgstr ""
|
1515 |
|
1516 |
#: ../includes/event-organiser-register.php:233
|
@@ -1522,20 +1470,15 @@ msgid "This is a reoccurring event"
|
|
1522 |
msgstr "هذا الحدث متكرر"
|
1523 |
|
1524 |
#: ../includes/event-organiser-cpt.php:459
|
1525 |
-
msgid "This is the list of all saved events. Note that <strong> reoccurring events "
|
1526 |
-
"appear as a single row </strong> in the table and the start and end date "
|
1527 |
-
"refers to the first occurrence of that event."
|
1528 |
msgstr ""
|
1529 |
|
1530 |
#: ../event-organiser-debug.php:65
|
1531 |
-
msgid "This page highlights useful information for debugging. If you're reporting a "
|
1532 |
-
"bug, please include this information."
|
1533 |
msgstr "هذه الصفحة "
|
1534 |
|
1535 |
#: ../includes/event-organiser-cpt.php:478
|
1536 |
-
msgid "This page shows all (occurrances of) events. You can view the summary of an "
|
1537 |
-
"event by clicking on it. If you have the necessary permissions, a link to "
|
1538 |
-
"the event's edit page will appear also."
|
1539 |
msgstr ""
|
1540 |
|
1541 |
#: ../event-organiser-settings.php:113
|
@@ -1554,15 +1497,11 @@ msgid "Title:"
|
|
1554 |
msgstr ""
|
1555 |
|
1556 |
#: ../event-organiser-debug.php:74
|
1557 |
-
msgid "To help speed things along, if you report a bug please indicate if you have "
|
1558 |
-
"done so. Once the plug-in or theme has been identified it is often easy to "
|
1559 |
-
"resolve the issue."
|
1560 |
msgstr ""
|
1561 |
|
1562 |
#: ../includes/event-organiser-cpt.php:434
|
1563 |
-
msgid "To repeat an event according to some regular pattern, use the reoccurrence "
|
1564 |
-
"dropdown menu to select how the event is to repeat. Further options then "
|
1565 |
-
"appear, "
|
1566 |
msgstr ""
|
1567 |
|
1568 |
#: ../event-organiser-calendar.php:54
|
@@ -1737,17 +1676,11 @@ msgid "Yes"
|
|
1737 |
msgstr "نعم"
|
1738 |
|
1739 |
#: ../includes/event-organiser-cpt.php:484
|
1740 |
-
msgid "You can create an event on this Calendar, by clicking on day or dragging "
|
1741 |
-
"over multiple days (in Month view) or multiple times (in Week and Day view). "
|
1742 |
-
"You can give the event a title, specify a venue and provide a descripton. "
|
1743 |
-
"The event can be immediately published or saved as a draft. In any case, the "
|
1744 |
-
"event is created and you are forwarded to that event's edit page."
|
1745 |
msgstr ""
|
1746 |
|
1747 |
#: ../classes/class-eo-event-list-widget.php:80
|
1748 |
-
msgid "You can use specified tags as placeholders for event information which you "
|
1749 |
-
"want to appear in the widget. <a href=\"%s\" target=\"_blank\"> Find out "
|
1750 |
-
"more</a>."
|
1751 |
msgstr ""
|
1752 |
|
1753 |
#: ../event-organiser-venues.php:115
|
@@ -1780,8 +1713,7 @@ msgid "You do not have sufficient permissions to import events."
|
|
1780 |
msgstr ""
|
1781 |
|
1782 |
#: ../event-organiser-settings.php:602
|
1783 |
-
msgid "You may also need to go to WordPress Settings > Permalinks and click 'Save "
|
1784 |
-
"Changes' before any changes will take effect."
|
1785 |
msgstr ""
|
1786 |
|
1787 |
#: ../event-organiser-settings.php:145
|
1 |
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: Event Organiser\n"
|
4 |
"Report-Msgid-Bugs-To: stephenh1988@gmail.com\n"
|
5 |
"POT-Creation-Date: 2008-09-01 09:37+0000\n"
|
6 |
+
"PO-Revision-Date: 2013-11-19 18:45+0100\n"
|
7 |
+
"Last-Translator: Stephen Harris <contact@stephenharris.info>\n"
|
8 |
"Language-Team: \n"
|
9 |
"Language: Arabic\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
|
|
13 |
|
14 |
#: ../templates/taxonomy-event-category.php:49
|
15 |
#: ../templates/taxonomy-event-category.php:107
|
67 |
msgstr "24 ساعة"
|
68 |
|
69 |
#: ../includes/event-organiser-register.php:604
|
70 |
+
msgid "<h4>City & State Fields Added</h4>City and state / province fields for venues have now been added. </br> If you'd like, Event Organiser can <a href='%s'>attempt to auto-fill them</a>. You can always manually change the details aftewards."
|
|
|
|
|
|
|
71 |
msgstr ""
|
72 |
|
73 |
#: ../includes/event-organiser-register.php:611
|
74 |
+
msgid "<h4>The Default Templates Have Changed</h4>Don't panic! If you've set up your own templates in your theme you won't notice any change. </br> If you haven't and want the old templates back, <a href='http://wp-event-organiser.com/blog/new-default-templates-in-1-7'>see this post<a/>."
|
|
|
|
|
|
|
|
|
75 |
msgstr ""
|
76 |
|
77 |
#: ../classes/class-eo-widget-categories.php:10
|
91 |
msgstr ""
|
92 |
|
93 |
#: ../event-organiser-go-pro.php:82
|
94 |
+
msgid "Add information on your venue pages with venue custom fields, or give your venues more attentioned with their own 'featured image'"
|
|
|
95 |
msgstr ""
|
96 |
|
97 |
#: ../event-organiser-venues.php:230
|
148 |
msgstr ""
|
149 |
|
150 |
#: ../includes/event-organiser-cpt.php:428
|
151 |
+
msgid "All dates and times must be entered in the specified format. This format can changed in the settings page."
|
|
|
152 |
msgstr ""
|
153 |
|
154 |
#: ../includes/event-organiser-ajax.php:540
|
205 |
msgstr ""
|
206 |
|
207 |
#: ../event-organiser-debug.php:76
|
208 |
+
msgid "Below any <strong>known</strong> plug-in and theme conflicts are highlighted in red."
|
|
|
209 |
msgstr ""
|
210 |
|
211 |
#: ../includes/event-organiser-ajax.php:347
|
217 |
msgstr ""
|
218 |
|
219 |
#: ../includes/event-organiser-cpt.php:479
|
220 |
+
msgid "By clicking the relevant tab, you can view events in Month, Week or Day mode. You can also filter the events by events by category and venue. The 'go to date' button allows you to quickly jump to a specific date."
|
|
|
|
|
221 |
msgstr ""
|
222 |
|
223 |
#: ../event-organiser-calendar.php:203
|
240 |
msgstr "تصنيفات"
|
241 |
|
242 |
#: ../event-organiser-settings.php:235
|
243 |
+
msgid "Check this option to prevent any stylesheets from Event Organiser being loaded on the front-end"
|
|
|
244 |
msgstr ""
|
245 |
|
246 |
#: ../event-organiser-edit.php:76
|
248 |
msgstr ""
|
249 |
|
250 |
#: ../event-organiser-settings.php:600
|
251 |
+
msgid "Choose a custom permalink structure for events, venues, event categories and event tags."
|
|
|
252 |
msgstr ""
|
253 |
|
254 |
#: ../includes/event-organiser-cpt.php:104
|
256 |
msgstr ""
|
257 |
|
258 |
#: ../includes/event-organiser-cpt.php:437
|
259 |
+
msgid "Choose the reoccurrence end date. No further occurrences are added after this date, but an occurrence that starts before may finish after this date."
|
|
|
260 |
msgstr ""
|
261 |
|
262 |
#: ../includes/event-organiser-venue-functions.php:883
|
417 |
|
418 |
#: ../event-organiser-settings.php:129
|
419 |
#: ../event-organiser-settings.php:156
|
420 |
+
msgid "Display past events on calendars, event lists and archives (this can be over-ridden by shortcode attributes and widget options)."
|
|
|
421 |
msgstr ""
|
422 |
|
423 |
#: ../classes/class-eo-calendar-widget.php:22
|
476 |
msgstr ""
|
477 |
|
478 |
#: ../includes/event-organiser-cpt.php:467
|
479 |
+
msgid "Edit takes you to the editing screen for that venue. You can also reach that screen by clicking on the venue title."
|
|
|
480 |
msgstr ""
|
481 |
|
482 |
#: ../event-organiser-venues.php:267
|
568 |
msgstr ""
|
569 |
|
570 |
#: ../event-organiser-add-ons.php:99
|
571 |
+
msgid "Event Organiser offers a range of extension which add additional features to the plug-in."
|
|
|
572 |
msgstr ""
|
573 |
|
574 |
#: ../event-organiser-go-pro.php:55
|
575 |
+
msgid "Event Organiser Pro is a premium add-on bringing advanced booking management to Event Organiser."
|
|
|
576 |
msgstr ""
|
577 |
|
578 |
#: ../event-organiser-settings.php:28
|
596 |
msgstr ""
|
597 |
|
598 |
#: ../includes/event-organiser-cpt.php:226
|
599 |
+
msgid "Event scheduled for: <strong>%1$s</strong>. <a target=\"_blank\" href=\"%2$s\">Preview event</a>"
|
|
|
600 |
msgstr ""
|
601 |
|
602 |
#: ../includes/event-organiser-cpt.php:225
|
781 |
msgstr ""
|
782 |
|
783 |
#: ../event-organiser-settings.php:212
|
784 |
+
msgid "For each of the pages, the corresponding template is used. To use your own template simply give it the same name and store in your theme folder. By default, if Event Organiser cannot find a template in your theme directory, it will use its own default template. To prevent this, uncheck this option. WordPress will then decide which template from your theme's folder to use."
|
|
|
|
|
|
|
|
|
785 |
msgstr ""
|
786 |
|
787 |
#: ../includes/event-organiser-cpt.php:490
|
789 |
msgstr ""
|
790 |
|
791 |
#: ../event-organiser-settings.php:224
|
792 |
+
msgid "For more information see documentation <a href='%s'>on editing the templates</a>"
|
|
|
793 |
msgstr ""
|
794 |
|
795 |
#: ../includes/event-organiser-register.php:235
|
819 |
msgstr ""
|
820 |
|
821 |
#: ../event-organiser-go-pro.php:77
|
822 |
+
msgid "Give your users the ability to search and filter through your events with the event search shortcode. Event Organiser Pro also adds a text editor button to make inserting and configuring your shortcodes that bit easier. "
|
|
|
|
|
823 |
msgstr ""
|
824 |
|
825 |
#: ../event-organiser-go-pro.php:25
|
859 |
msgstr ""
|
860 |
|
861 |
#: ../includes/event-organiser-cpt.php:465
|
862 |
+
msgid "Hovering over a row in the venues list will display action links that allow you to manage that venue. You can perform the following actions:"
|
|
|
863 |
msgstr ""
|
864 |
|
865 |
#: ../event-organiser-settings.php:177
|
866 |
+
msgid "If 'no' is selected, an occurrence of an event is only past when it has finished. Otherwise, an occurrence is considered 'past' as soon as it starts."
|
|
|
|
|
867 |
msgstr ""
|
868 |
|
869 |
#: ../includes/event-organiser-cpt.php:438
|
870 |
+
msgid "If monthly reoccurrence is selected, select whether this should repeat on that date of the month (e.g. on the 24th) or on the day of the month (e.g. on the third Tuesday) "
|
|
|
|
|
871 |
msgstr ""
|
872 |
|
873 |
#: ../event-organiser-settings.php:165
|
874 |
+
msgid "If selected only one occurrence of an event will be displayed on event lists and archives (this can be over-ridden by shortcode attributes and widget options."
|
|
|
|
|
875 |
msgstr ""
|
876 |
|
877 |
#: ../event-organiser-settings.php:186
|
878 |
+
msgid "If selected the event will be automatically trashed 24 hours after the last occurrence finishes."
|
|
|
879 |
msgstr ""
|
880 |
|
881 |
#: ../event-organiser-settings.php:195
|
883 |
msgstr ""
|
884 |
|
885 |
#: ../includes/event-organiser-cpt.php:439
|
886 |
+
msgid "If weekly reoccurrence is selected, select which days of the week the event should be repeated. If no days are selected, the day of the start date is used"
|
|
|
|
|
887 |
msgstr ""
|
888 |
|
889 |
#: ../event-organiser-settings.php:250
|
890 |
+
msgid "If you have pretty permalinks enabled, select to have pretty premalinks for events."
|
|
|
891 |
msgstr ""
|
892 |
|
893 |
#: ../event-organiser-settings.php:21
|
930 |
|
931 |
#: ../includes/class-event-organiser-im-export.php:618
|
932 |
#: ../includes/class-eo-ical-parser.php:482
|
933 |
+
msgid "Invalid datetime. Date expected in YYYYMMDDTHHiissZ or YYYYMMDDTHHiiss format."
|
|
|
934 |
msgstr ""
|
935 |
|
936 |
#: ../includes/class-event-organiser-im-export.php:78
|
937 |
+
msgid "Invalid file uploaded. The file must be a ics calendar file of type 'text/calendar', no larger than 2MB."
|
|
|
938 |
msgstr ""
|
939 |
|
940 |
#: ../includes/event.php:548
|
942 |
msgstr ""
|
943 |
|
944 |
#: ../event-organiser-debug.php:245
|
945 |
+
msgid "Known plug-in & theme conflicts, highlighted in red, may be minor or have a simple resolution. Please contact support."
|
|
|
946 |
msgstr ""
|
947 |
|
948 |
#: ../includes/event-organiser-register.php:235
|
1023 |
msgstr ""
|
1024 |
|
1025 |
#: ../event-organiser-debug.php:72
|
1026 |
+
msgid "Most bugs arise from theme or plug-in conflicts. You can check this by disabling all other plug-ins and switching to TwentyTweleve."
|
|
|
1027 |
msgstr ""
|
1028 |
|
1029 |
#: ../includes/event-organiser-cpt.php:69
|
1122 |
msgstr ""
|
1123 |
|
1124 |
#: ../includes/event-organiser-cpt.php:448
|
1125 |
+
msgid "Only pre-existing venues can be selected. To add a venue, go to the venues page."
|
|
|
1126 |
msgstr ""
|
1127 |
|
1128 |
#: ../classes/class-eo-event-list-widget.php:55
|
1162 |
msgstr "أذونات"
|
1163 |
|
1164 |
#: ../event-organiser-settings.php:601
|
1165 |
+
msgid "Please note to enable these structures you must first have pretty permalinks enabled on WordPress in Settings > Permalinks."
|
|
|
1166 |
msgstr ""
|
1167 |
|
1168 |
#: ../includes/event-organiser-cpt.php:96
|
1290 |
msgstr ""
|
1291 |
|
1292 |
#: ../event-organiser-go-pro.php:72
|
1293 |
+
msgid "Sell tickets for specific dates or sell tickets for all dates of an event - such as booking places on a course. You can offer multiple tickets, and customise the booking form to suit your needs."
|
|
|
|
|
1294 |
msgstr ""
|
1295 |
|
1296 |
#: ../includes/event-organiser-cpt.php:107
|
1393 |
msgstr "قوالب"
|
1394 |
|
1395 |
#: ../event-organiser-debug.php:67
|
1396 |
+
msgid "The 'system info' link in under the Events admin tab is only visible to admins and only when <code>WP_DEBUG</code> is set to <code>true</code>."
|
|
|
1397 |
msgstr ""
|
1398 |
|
1399 |
#: ../includes/event-organiser-cpt.php:427
|
1400 |
+
msgid "The end date is the date the event finishes. If the event is a reoccuring event, this is the end date of the first occurrence."
|
|
|
1401 |
msgstr ""
|
1402 |
|
1403 |
#: ../includes/class-event-organiser-im-export.php:101
|
1404 |
+
msgid "The export button below generates an ICS file of your events that can be imported in to other calendar applications such as Google Calendar."
|
|
|
1405 |
msgstr ""
|
1406 |
|
1407 |
#: ../includes/event-organiser-cpt.php:426
|
1408 |
+
msgid "The start date is the date the event starts. If the event is a reoccuring event, this is the start date of the first occurrence."
|
|
|
1409 |
msgstr ""
|
1410 |
|
1411 |
#: ../classes/class-eventorganiser-shortcodes.php:356
|
1454 |
msgstr ""
|
1455 |
|
1456 |
#: ../templates/single-event.php:60
|
1457 |
+
msgid "This event was posted by <a href=\"%5$s\">%4$s</a>. Bookmark the <a href=\"%2$s\" title=\"Permalink to %3$s\" rel=\"bookmark\">permalink</a>."
|
|
|
1458 |
msgstr ""
|
1459 |
|
1460 |
#: ../templates/single-event.php:58
|
1461 |
+
msgid "This event was posted in %1$s by <a href=\"%5$s\">%4$s</a>. Bookmark the <a href=\"%2$s\" title=\"Permalink to %3$s\" rel=\"bookmark\">permalink</a>."
|
|
|
1462 |
msgstr ""
|
1463 |
|
1464 |
#: ../includes/event-organiser-register.php:233
|
1470 |
msgstr "هذا الحدث متكرر"
|
1471 |
|
1472 |
#: ../includes/event-organiser-cpt.php:459
|
1473 |
+
msgid "This is the list of all saved events. Note that <strong> reoccurring events appear as a single row </strong> in the table and the start and end date refers to the first occurrence of that event."
|
|
|
|
|
1474 |
msgstr ""
|
1475 |
|
1476 |
#: ../event-organiser-debug.php:65
|
1477 |
+
msgid "This page highlights useful information for debugging. If you're reporting a bug, please include this information."
|
|
|
1478 |
msgstr "هذه الصفحة "
|
1479 |
|
1480 |
#: ../includes/event-organiser-cpt.php:478
|
1481 |
+
msgid "This page shows all (occurrances of) events. You can view the summary of an event by clicking on it. If you have the necessary permissions, a link to the event's edit page will appear also."
|
|
|
|
|
1482 |
msgstr ""
|
1483 |
|
1484 |
#: ../event-organiser-settings.php:113
|
1497 |
msgstr ""
|
1498 |
|
1499 |
#: ../event-organiser-debug.php:74
|
1500 |
+
msgid "To help speed things along, if you report a bug please indicate if you have done so. Once the plug-in or theme has been identified it is often easy to resolve the issue."
|
|
|
|
|
1501 |
msgstr ""
|
1502 |
|
1503 |
#: ../includes/event-organiser-cpt.php:434
|
1504 |
+
msgid "To repeat an event according to some regular pattern, use the reoccurrence dropdown menu to select how the event is to repeat. Further options then appear, "
|
|
|
|
|
1505 |
msgstr ""
|
1506 |
|
1507 |
#: ../event-organiser-calendar.php:54
|
1676 |
msgstr "نعم"
|
1677 |
|
1678 |
#: ../includes/event-organiser-cpt.php:484
|
1679 |
+
msgid "You can create an event on this Calendar, by clicking on day or dragging over multiple days (in Month view) or multiple times (in Week and Day view). You can give the event a title, specify a venue and provide a descripton. The event can be immediately published or saved as a draft. In any case, the event is created and you are forwarded to that event's edit page."
|
|
|
|
|
|
|
|
|
1680 |
msgstr ""
|
1681 |
|
1682 |
#: ../classes/class-eo-event-list-widget.php:80
|
1683 |
+
msgid "You can use specified tags as placeholders for event information which you want to appear in the widget. <a href=\"%s\" target=\"_blank\"> Find out more</a>."
|
|
|
|
|
1684 |
msgstr ""
|
1685 |
|
1686 |
#: ../event-organiser-venues.php:115
|
1713 |
msgstr ""
|
1714 |
|
1715 |
#: ../event-organiser-settings.php:602
|
1716 |
+
msgid "You may also need to go to WordPress Settings > Permalinks and click 'Save Changes' before any changes will take effect."
|
|
|
1717 |
msgstr ""
|
1718 |
|
1719 |
#: ../event-organiser-settings.php:145
|
languages/eventorganiser-ca.mo
ADDED
Binary file
|
languages/eventorganiser-ca.po
ADDED
@@ -0,0 +1,1792 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr "Project-Id-Version: Event Organiser\n"
|
3 |
+
"Report-Msgid-Bugs-To: stephenh1988@gmail.com\n"
|
4 |
+
"POT-Creation-Date: 2008-09-01 09:37+0000\n"
|
5 |
+
"PO-Revision-Date: 2013-11-15 05:44:58+0000\n"
|
6 |
+
"Last-Translator: marc.antje <marc.antje@gmail.com>\n"
|
7 |
+
"Language-Team: \n"
|
8 |
+
"Language: Catalan; Valencian\n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
""
|
13 |
+
|
14 |
+
#: ../templates/taxonomy-event-category.php:49
|
15 |
+
#: ../templates/taxonomy-event-category.php:107
|
16 |
+
#: ../templates/archive-event.php:56
|
17 |
+
#: ../templates/archive-event.php:111
|
18 |
+
#: ../templates/taxonomy-event-tag.php:49
|
19 |
+
#: ../templates/taxonomy-event-tag.php:107
|
20 |
+
#: ../templates/taxonomy-event-venue.php:49
|
21 |
+
#: ../templates/taxonomy-event-venue.php:106
|
22 |
+
msgid " <span class=\"meta-nav\">←</span> Newer events"
|
23 |
+
msgstr ""
|
24 |
+
|
25 |
+
#: ../includes/class-event-organiser-im-export.php:335
|
26 |
+
msgid "%d categories were created"
|
27 |
+
msgstr "S'na creat categories %d "
|
28 |
+
|
29 |
+
#: ../includes/class-event-organiser-im-export.php:324
|
30 |
+
msgid "%d events were successfully imported"
|
31 |
+
msgstr ""
|
32 |
+
|
33 |
+
#: ../includes/class-event-organiser-im-export.php:329
|
34 |
+
msgid "%d venues were created"
|
35 |
+
msgstr ""
|
36 |
+
|
37 |
+
#: ../event-organiser-debug.php:416
|
38 |
+
msgid "%s has only been tested up to %s %s"
|
39 |
+
msgstr ""
|
40 |
+
|
41 |
+
#: ../event-organiser-debug.php:423
|
42 |
+
msgid "%s requires %s version %s or higher"
|
43 |
+
msgstr ""
|
44 |
+
|
45 |
+
#: ../event-organiser-manage.php:200
|
46 |
+
msgid "— No Change —"
|
47 |
+
msgstr ""
|
48 |
+
|
49 |
+
#: ../classes/class-eo-event-list-widget.php:90
|
50 |
+
msgid "'No events' message"
|
51 |
+
msgstr ""
|
52 |
+
|
53 |
+
#: ../includes/class-event-organiser-im-export.php:333
|
54 |
+
msgid "1 category was created"
|
55 |
+
msgstr ""
|
56 |
+
|
57 |
+
#: ../includes/class-event-organiser-im-export.php:322
|
58 |
+
msgid "1 event was successfully imported"
|
59 |
+
msgstr ""
|
60 |
+
|
61 |
+
#: ../includes/class-event-organiser-im-export.php:327
|
62 |
+
msgid "1 venue was created"
|
63 |
+
msgstr ""
|
64 |
+
|
65 |
+
#: ../event-organiser-calendar.php:210
|
66 |
+
msgid "24 hour time"
|
67 |
+
msgstr ""
|
68 |
+
|
69 |
+
#: ../includes/event-organiser-register.php:604
|
70 |
+
msgid "<h4>City & State Fields Added</h4>City and state / province fields for "
|
71 |
+
"venues have now been added. </br> If you'd like, Event Organiser can <a "
|
72 |
+
"href='%s'>attempt to auto-fill them</a>. You can always manually change the "
|
73 |
+
"details aftewards."
|
74 |
+
msgstr ""
|
75 |
+
|
76 |
+
#: ../includes/event-organiser-register.php:611
|
77 |
+
msgid "<h4>The Default Templates Have Changed</h4>Don't panic! If you've set up "
|
78 |
+
"your own templates in your theme you won't notice any change. </br> If you "
|
79 |
+
"haven't and want the old templates back, <a "
|
80 |
+
"href='http://wp-event-organiser.com/blog/new-default-templates-in-1-7'>see "
|
81 |
+
"this post<a/>."
|
82 |
+
msgstr ""
|
83 |
+
|
84 |
+
#: ../classes/class-eo-widget-categories.php:10
|
85 |
+
msgid "A list or dropdown of event categories"
|
86 |
+
msgstr ""
|
87 |
+
|
88 |
+
#: ../classes/class-eo-widget-venues.php:11
|
89 |
+
msgid "A list or dropdown of event venues"
|
90 |
+
msgstr ""
|
91 |
+
|
92 |
+
#: ../event-organiser-settings.php:132
|
93 |
+
msgid "Add an 'events' link to the navigation menu:"
|
94 |
+
msgstr ""
|
95 |
+
|
96 |
+
#: ../includes/event-organiser-cpt.php:483
|
97 |
+
msgid "Add Event"
|
98 |
+
msgstr ""
|
99 |
+
|
100 |
+
#: ../event-organiser-go-pro.php:82
|
101 |
+
msgid "Add information on your venue pages with venue custom fields, or give your "
|
102 |
+
"venues more attentioned with their own 'featured image'"
|
103 |
+
msgstr ""
|
104 |
+
|
105 |
+
#: ../event-organiser-venues.php:230
|
106 |
+
#: ../event-organiser-venues.php:268
|
107 |
+
msgid "Add New"
|
108 |
+
msgstr "Afegeix nou"
|
109 |
+
|
110 |
+
#: ../includes/event-organiser-cpt.php:68
|
111 |
+
msgid "Add New Category"
|
112 |
+
msgstr "Afegeix una nova categoria"
|
113 |
+
|
114 |
+
#: ../includes/event-organiser-cpt.php:143
|
115 |
+
msgid "Add New Event"
|
116 |
+
msgstr "Afegeix un nou esdeveniment"
|
117 |
+
|
118 |
+
#: ../includes/event-organiser-cpt.php:101
|
119 |
+
msgid "Add New Tag"
|
120 |
+
msgstr "Afegeix una nova etiqueta"
|
121 |
+
|
122 |
+
#: ../event-organiser-venues.php:272
|
123 |
+
msgid "Add New Venue"
|
124 |
+
msgstr "Afegeix un nou lloc"
|
125 |
+
|
126 |
+
#: ../includes/event-organiser-cpt.php:106
|
127 |
+
msgid "Add or remove tags"
|
128 |
+
msgstr "Afegeix o elimina etiquetes"
|
129 |
+
|
130 |
+
#: ../includes/event-organiser-cpt.php:38
|
131 |
+
msgid "Add or remove venues"
|
132 |
+
msgstr "Afefeix o elimina llocs"
|
133 |
+
|
134 |
+
#: ../includes/event-organiser-ajax.php:545
|
135 |
+
msgid "Add To Google Calendar"
|
136 |
+
msgstr ""
|
137 |
+
|
138 |
+
#: ../event-organiser-venues.php:345
|
139 |
+
msgid "Add Venue"
|
140 |
+
msgstr ""
|
141 |
+
|
142 |
+
#: ../event-organiser-settings.php:57
|
143 |
+
msgid "Add-on Licence keys"
|
144 |
+
msgstr ""
|
145 |
+
|
146 |
+
#: ../event-organiser-go-pro.php:76
|
147 |
+
msgid "Additional shortcodes & improved UI"
|
148 |
+
msgstr ""
|
149 |
+
|
150 |
+
#: ../includes/event-organiser-venue-functions.php:882
|
151 |
+
msgid "Address"
|
152 |
+
msgstr ""
|
153 |
+
|
154 |
+
#: ../includes/event-organiser-cpt.php:63
|
155 |
+
msgid "All Categories"
|
156 |
+
msgstr "Totes les Categories"
|
157 |
+
|
158 |
+
#: ../includes/event-organiser-cpt.php:428
|
159 |
+
msgid "All dates and times must be entered in the specified format. This format can "
|
160 |
+
"changed in the settings page."
|
161 |
+
msgstr ""
|
162 |
+
|
163 |
+
#: ../includes/event-organiser-ajax.php:540
|
164 |
+
#: ../includes/event-organiser-event-functions.php:1297
|
165 |
+
msgid "All Day"
|
166 |
+
msgstr ""
|
167 |
+
|
168 |
+
#: ../event-organiser-edit.php:117
|
169 |
+
msgid "All day"
|
170 |
+
msgstr ""
|
171 |
+
|
172 |
+
#: ../includes/event-organiser-cpt.php:146
|
173 |
+
msgid "All events"
|
174 |
+
msgstr "Tots els esdeveninents"
|
175 |
+
|
176 |
+
#: ../includes/event-organiser-cpt.php:95
|
177 |
+
msgid "All Tags"
|
178 |
+
msgstr "Totes les etiquetes"
|
179 |
+
|
180 |
+
#: ../includes/event-organiser-cpt.php:31
|
181 |
+
msgid "All Venues"
|
182 |
+
msgstr "Tots els llocs"
|
183 |
+
|
184 |
+
#: ../templates/taxonomy-event-category.php:120
|
185 |
+
msgid "Apologies, but no events were found for the requested category. "
|
186 |
+
msgstr ""
|
187 |
+
|
188 |
+
#: ../templates/taxonomy-event-tag.php:120
|
189 |
+
msgid "Apologies, but no events were found for the requested tag. "
|
190 |
+
msgstr ""
|
191 |
+
|
192 |
+
#: ../templates/taxonomy-event-venue.php:118
|
193 |
+
msgid "Apologies, but no events were found for the requested venue. "
|
194 |
+
msgstr "Disculpes, però no s'han trobat esdeveniments per al lloc sol·licitat."
|
195 |
+
|
196 |
+
#: ../templates/archive-event.php:123
|
197 |
+
msgid "Apologies, but no results were found for the requested archive. "
|
198 |
+
msgstr "Disculpes, però no s'han trobat resultats a l'arxiu sol·licitat."
|
199 |
+
|
200 |
+
#: ../event-organiser-settings.php:168
|
201 |
+
msgid "Are current events past?"
|
202 |
+
msgstr "Són esdeveniments passats?"
|
203 |
+
|
204 |
+
#: ../classes/class-eo-event-list-widget.php:61
|
205 |
+
msgid "ASC"
|
206 |
+
msgstr ""
|
207 |
+
|
208 |
+
#: ../includes/event-organiser-cpt.php:616
|
209 |
+
msgid "Assign the category a colour."
|
210 |
+
msgstr ""
|
211 |
+
|
212 |
+
#: ../event-organiser-settings.php:112
|
213 |
+
msgid "Author"
|
214 |
+
msgstr "Autor"
|
215 |
+
|
216 |
+
#: ../event-organiser-debug.php:76
|
217 |
+
msgid "Below any <strong>known</strong> plug-in and theme conflicts are highlighted "
|
218 |
+
"in red."
|
219 |
+
msgstr ""
|
220 |
+
|
221 |
+
#: ../includes/event-organiser-ajax.php:347
|
222 |
+
msgid "Break this series"
|
223 |
+
msgstr ""
|
224 |
+
|
225 |
+
#: ../event-organiser-go-pro.php:56
|
226 |
+
msgid "But that's not all …"
|
227 |
+
msgstr ""
|
228 |
+
|
229 |
+
#: ../includes/event-organiser-cpt.php:479
|
230 |
+
msgid "By clicking the relevant tab, you can view events in Month, Week or Day "
|
231 |
+
"mode. You can also filter the events by events by category and venue. The "
|
232 |
+
"'go to date' button allows you to quickly jump to a specific date."
|
233 |
+
msgstr "En fer clic a la fitxa corresponent, podràs veure els esdeveniments per mes, "
|
234 |
+
"setmana o dia. També pots filtrar els esdeveniments per categoria i lloc. El "
|
235 |
+
"botó \"anar a la data\" us permet saltar ràpidament a una data específica."
|
236 |
+
|
237 |
+
#: ../event-organiser-calendar.php:203
|
238 |
+
msgid "Calendar options"
|
239 |
+
msgstr ""
|
240 |
+
|
241 |
+
#: ../event-organiser-calendar.php:22
|
242 |
+
#: ../event-organiser-calendar.php:23
|
243 |
+
msgid "Calendar View"
|
244 |
+
msgstr ""
|
245 |
+
|
246 |
+
#: ../event-organiser-edit.php:239
|
247 |
+
#: ../event-organiser-calendar.php:282
|
248 |
+
#: ../event-organiser-calendar.php:289
|
249 |
+
msgid "Cancel"
|
250 |
+
msgstr ""
|
251 |
+
|
252 |
+
#: ../event-organiser-manage.php:26
|
253 |
+
msgid "Categories"
|
254 |
+
msgstr ""
|
255 |
+
|
256 |
+
#: ../event-organiser-settings.php:235
|
257 |
+
msgid "Check this option to prevent any stylesheets from Event Organiser being "
|
258 |
+
"loaded on the front-end"
|
259 |
+
msgstr ""
|
260 |
+
|
261 |
+
#: ../event-organiser-edit.php:76
|
262 |
+
msgid "Check to edit this event and its reoccurrences"
|
263 |
+
msgstr ""
|
264 |
+
|
265 |
+
#: ../event-organiser-settings.php:600
|
266 |
+
msgid "Choose a custom permalink structure for events, venues, event categories and "
|
267 |
+
"event tags."
|
268 |
+
msgstr ""
|
269 |
+
|
270 |
+
#: ../includes/event-organiser-cpt.php:104
|
271 |
+
msgid "Choose from the most used tags"
|
272 |
+
msgstr "Trieu entre les etiquetes més utilitzades"
|
273 |
+
|
274 |
+
#: ../includes/event-organiser-cpt.php:437
|
275 |
+
msgid "Choose the reoccurrence end date. No further occurrences are added after "
|
276 |
+
"this date, but an occurrence that starts before may finish after this date."
|
277 |
+
msgstr ""
|
278 |
+
|
279 |
+
#: ../includes/event-organiser-venue-functions.php:883
|
280 |
+
msgid "City"
|
281 |
+
msgstr ""
|
282 |
+
|
283 |
+
#: ../includes/event-organiser-cpt.php:610
|
284 |
+
#: ../includes/event-organiser-cpt.php:633
|
285 |
+
msgid "Color"
|
286 |
+
msgstr ""
|
287 |
+
|
288 |
+
#: ../event-organiser-settings.php:116
|
289 |
+
msgid "Comments"
|
290 |
+
msgstr ""
|
291 |
+
|
292 |
+
#: ../includes/event-organiser-venue-functions.php:886
|
293 |
+
msgid "Country"
|
294 |
+
msgstr ""
|
295 |
+
|
296 |
+
#: ../event-organiser-calendar.php:244
|
297 |
+
msgid "Create an event"
|
298 |
+
msgstr ""
|
299 |
+
|
300 |
+
#: ../includes/event-organiser-cpt.php:423
|
301 |
+
msgid "Creating events"
|
302 |
+
msgstr ""
|
303 |
+
|
304 |
+
#: ../includes/event-organiser-cpt.php:424
|
305 |
+
msgid "Creating events:"
|
306 |
+
msgstr ""
|
307 |
+
|
308 |
+
#: ../event-organiser-calendar.php:239
|
309 |
+
msgid "Current date/time"
|
310 |
+
msgstr ""
|
311 |
+
|
312 |
+
#: ../event-organiser-edit.php:127
|
313 |
+
msgid "custom"
|
314 |
+
msgstr ""
|
315 |
+
|
316 |
+
#: ../includes/event-organiser-cpt.php:219
|
317 |
+
msgid "Custom field deleted."
|
318 |
+
msgstr "Camp personalitzat eliminat."
|
319 |
+
|
320 |
+
#: ../includes/event-organiser-cpt.php:218
|
321 |
+
msgid "Custom field updated."
|
322 |
+
msgstr "Camp personalitzat actualitzat."
|
323 |
+
|
324 |
+
#: ../event-organiser-settings.php:115
|
325 |
+
msgid "Custom Fields"
|
326 |
+
msgstr ""
|
327 |
+
|
328 |
+
#: ../includes/event-organiser-event-functions.php:706
|
329 |
+
msgid "custom reoccurrence"
|
330 |
+
msgstr ""
|
331 |
+
|
332 |
+
#: ../event-organiser-edit.php:126
|
333 |
+
msgid "daily"
|
334 |
+
msgstr ""
|
335 |
+
|
336 |
+
#: ../event-organiser-debug.php:533
|
337 |
+
msgid "Database character set"
|
338 |
+
msgstr ""
|
339 |
+
|
340 |
+
#: ../event-organiser-debug.php:532
|
341 |
+
msgid "Database tables"
|
342 |
+
msgstr ""
|
343 |
+
|
344 |
+
#: ../event-organiser-debug.php:531
|
345 |
+
msgid "Databse Prefix"
|
346 |
+
msgstr ""
|
347 |
+
|
348 |
+
#: ../event-organiser-settings.php:137
|
349 |
+
msgid "Date Format:"
|
350 |
+
msgstr ""
|
351 |
+
|
352 |
+
#: ../event-organiser-calendar.php:229
|
353 |
+
msgid "Day"
|
354 |
+
msgstr ""
|
355 |
+
|
356 |
+
#: ../event-organiser-calendar.php:55
|
357 |
+
msgid "day"
|
358 |
+
msgstr ""
|
359 |
+
|
360 |
+
#: ../event-organiser-settings.php:271
|
361 |
+
msgid "Day archive"
|
362 |
+
msgstr ""
|
363 |
+
|
364 |
+
#: ../event-organiser-edit.php:161
|
365 |
+
msgid "day of month"
|
366 |
+
msgstr ""
|
367 |
+
|
368 |
+
#: ../event-organiser-edit.php:165
|
369 |
+
msgid "day of week"
|
370 |
+
msgstr ""
|
371 |
+
|
372 |
+
#: ../includes/event-organiser-register.php:218
|
373 |
+
msgid "days"
|
374 |
+
msgstr ""
|
375 |
+
|
376 |
+
#: ../event-organiser-settings.php:143
|
377 |
+
msgid "dd-mm-yyyy"
|
378 |
+
msgstr ""
|
379 |
+
|
380 |
+
#: ../event-organiser-debug.php:555
|
381 |
+
msgid "Debug mode"
|
382 |
+
msgstr ""
|
383 |
+
|
384 |
+
#: ../includes/event-organiser-cpt.php:492
|
385 |
+
msgid "Debugging Event Organiser"
|
386 |
+
msgstr ""
|
387 |
+
|
388 |
+
#: ../classes/class-eo-venue-list-table.php:70
|
389 |
+
#: ../classes/class-eo-venue-list-table.php:127
|
390 |
+
msgid "Delete"
|
391 |
+
msgstr ""
|
392 |
+
|
393 |
+
#: ../event-organiser-settings.php:36
|
394 |
+
#: ../event-organiser.php:103
|
395 |
+
msgid "Delete Events"
|
396 |
+
msgstr ""
|
397 |
+
|
398 |
+
#: ../event-organiser-settings.php:180
|
399 |
+
msgid "Delete expired events:"
|
400 |
+
msgstr ""
|
401 |
+
|
402 |
+
#: ../event-organiser-settings.php:38
|
403 |
+
#: ../event-organiser.php:105
|
404 |
+
msgid "Delete Other's Events"
|
405 |
+
msgstr ""
|
406 |
+
|
407 |
+
#: ../includes/event-organiser-ajax.php:333
|
408 |
+
msgid "Delete this occurrence"
|
409 |
+
msgstr ""
|
410 |
+
|
411 |
+
#: ../includes/event-organiser-cpt.php:468
|
412 |
+
msgid "Delete will permanently remove the venue"
|
413 |
+
msgstr ""
|
414 |
+
|
415 |
+
#: ../classes/class-eo-event-list-widget.php:62
|
416 |
+
msgid "DESC"
|
417 |
+
msgstr ""
|
418 |
+
|
419 |
+
#: ../event-organiser-settings.php:229
|
420 |
+
msgid "Disable CSS:"
|
421 |
+
msgstr ""
|
422 |
+
|
423 |
+
#: ../includes/event-organiser-register.php:648
|
424 |
+
msgid "Dismiss"
|
425 |
+
msgstr ""
|
426 |
+
|
427 |
+
#: ../includes/event-organiser-register.php:647
|
428 |
+
msgid "Dismiss this notice"
|
429 |
+
msgstr ""
|
430 |
+
|
431 |
+
#: ../classes/class-eo-widget-categories.php:96
|
432 |
+
msgid "Display as dropdown"
|
433 |
+
msgstr ""
|
434 |
+
|
435 |
+
#: ../event-organiser-settings.php:129
|
436 |
+
#: ../event-organiser-settings.php:156
|
437 |
+
msgid "Display past events on calendars, event lists and archives (this can be "
|
438 |
+
"over-ridden by shortcode attributes and widget options)."
|
439 |
+
msgstr ""
|
440 |
+
|
441 |
+
#: ../classes/class-eo-calendar-widget.php:22
|
442 |
+
msgid "Displays a calendar of your events"
|
443 |
+
msgstr ""
|
444 |
+
|
445 |
+
#: ../classes/class-eo-event-list-widget.php:22
|
446 |
+
msgid "Displays a list of events"
|
447 |
+
msgstr ""
|
448 |
+
|
449 |
+
#: ../classes/class-eo-agenda-widget.php:11
|
450 |
+
msgid "Displays a list of events, grouped by date"
|
451 |
+
msgstr ""
|
452 |
+
|
453 |
+
#: ../event-organiser-settings.php:626
|
454 |
+
msgid "Do not add to menu"
|
455 |
+
msgstr ""
|
456 |
+
|
457 |
+
#: ../includes/class-event-organiser-im-export.php:104
|
458 |
+
msgid "Download Export File"
|
459 |
+
msgstr ""
|
460 |
+
|
461 |
+
#: ../event-organiser-debug.php:84
|
462 |
+
msgid "Download system information file"
|
463 |
+
msgstr ""
|
464 |
+
|
465 |
+
#: ../includes/event-organiser-ajax.php:255
|
466 |
+
msgid "Draft"
|
467 |
+
msgstr ""
|
468 |
+
|
469 |
+
#: ../templates/single-event.php:71
|
470 |
+
msgid "Edit"
|
471 |
+
msgstr "Edita"
|
472 |
+
|
473 |
+
#: ../includes/event-organiser-cpt.php:66
|
474 |
+
msgid "Edit Category"
|
475 |
+
msgstr "Edita Categoria"
|
476 |
+
|
477 |
+
#: ../includes/event-organiser-ajax.php:314
|
478 |
+
#: ../includes/event-organiser-cpt.php:144
|
479 |
+
msgid "Edit Event"
|
480 |
+
msgstr "Edita Esdeveniment"
|
481 |
+
|
482 |
+
#: ../event-organiser-settings.php:34
|
483 |
+
#: ../event-organiser.php:101
|
484 |
+
msgid "Edit Events"
|
485 |
+
msgstr ""
|
486 |
+
|
487 |
+
#: ../event-organiser-settings.php:37
|
488 |
+
#: ../event-organiser.php:104
|
489 |
+
msgid "Edit Others' Events"
|
490 |
+
msgstr ""
|
491 |
+
|
492 |
+
#: ../includes/event-organiser-cpt.php:99
|
493 |
+
msgid "Edit Tag"
|
494 |
+
msgstr "Edita la etiqueta"
|
495 |
+
|
496 |
+
#: ../includes/event-organiser-cpt.php:467
|
497 |
+
msgid "Edit takes you to the editing screen for that venue. You can also reach that "
|
498 |
+
"screen by clicking on the venue title."
|
499 |
+
msgstr ""
|
500 |
+
|
501 |
+
#: ../event-organiser-venues.php:267
|
502 |
+
msgid "Edit Venue"
|
503 |
+
msgstr ""
|
504 |
+
|
505 |
+
#: ../event-organiser-settings.php:244
|
506 |
+
msgid "Enable event pretty permalinks:"
|
507 |
+
msgstr ""
|
508 |
+
|
509 |
+
#: ../event-organiser-settings.php:189
|
510 |
+
msgid "Enable events ICAL feed:"
|
511 |
+
msgstr ""
|
512 |
+
|
513 |
+
#: ../event-organiser-settings.php:206
|
514 |
+
msgid "Enable templates:"
|
515 |
+
msgstr ""
|
516 |
+
|
517 |
+
#: ../includes/event-organiser-ajax.php:283
|
518 |
+
msgid "End"
|
519 |
+
msgstr ""
|
520 |
+
|
521 |
+
#: ../event-organiser-edit.php:105
|
522 |
+
#: ../event-organiser-manage.php:28
|
523 |
+
msgid "End Date/Time"
|
524 |
+
msgstr ""
|
525 |
+
|
526 |
+
#: ../event-organiser-edit.php:88
|
527 |
+
msgid "Ensure dates are entered in %1$s format and times in %2$s (24 hour) format"
|
528 |
+
msgstr ""
|
529 |
+
|
530 |
+
#: ../event-organiser-manage.php:19
|
531 |
+
msgid "Event"
|
532 |
+
msgstr ""
|
533 |
+
|
534 |
+
#: ../event-organiser-settings.php:263
|
535 |
+
msgid "Event (archive)"
|
536 |
+
msgstr "Esdeveniment"
|
537 |
+
|
538 |
+
#: ../event-organiser-settings.php:254
|
539 |
+
msgid "Event (single)"
|
540 |
+
msgstr "Esdeveniment"
|
541 |
+
|
542 |
+
#: ../event-organiser-settings.php:282
|
543 |
+
msgid "Event Categories"
|
544 |
+
msgstr "Categories Esdeveniment"
|
545 |
+
|
546 |
+
#: ../classes/class-eo-event-list-widget.php:39
|
547 |
+
#: ../classes/class-eo-calendar-widget.php:77
|
548 |
+
msgid "Event categories"
|
549 |
+
msgstr ""
|
550 |
+
|
551 |
+
#: ../templates/taxonomy-event-category.php:31
|
552 |
+
msgid "Event Category Archives: %s"
|
553 |
+
msgstr ""
|
554 |
+
|
555 |
+
#: ../classes/class-eo-agenda-widget.php:43
|
556 |
+
msgid "Event date/time format"
|
557 |
+
msgstr ""
|
558 |
+
|
559 |
+
#: ../event-organiser-edit.php:376
|
560 |
+
msgid "Event dates were not saved."
|
561 |
+
msgstr ""
|
562 |
+
|
563 |
+
#: ../event-organiser-calendar.php:310
|
564 |
+
msgid "Event Detail"
|
565 |
+
msgstr "Detall de l'esdeveniment"
|
566 |
+
|
567 |
+
#: ../event-organiser-edit.php:14
|
568 |
+
#: ../event-organiser-calendar.php:308
|
569 |
+
msgid "Event Details"
|
570 |
+
msgstr "Detall de l'esdeveniment"
|
571 |
+
|
572 |
+
#: ../includes/event-organiser-cpt.php:229
|
573 |
+
msgid "Event draft updated. <a target=\"_blank\" href=\"%s\">Preview event</a>"
|
574 |
+
msgstr ""
|
575 |
+
|
576 |
+
#: ../classes/class-eo-event-list-widget.php:78
|
577 |
+
msgid "Event list widget placeholders"
|
578 |
+
msgstr ""
|
579 |
+
|
580 |
+
#: ../event-organiser-settings.php:29
|
581 |
+
msgid "Event Organiser"
|
582 |
+
msgstr ""
|
583 |
+
|
584 |
+
#: ../event-organiser-add-ons.php:19
|
585 |
+
#: ../event-organiser-add-ons.php:95
|
586 |
+
msgid "Event Organiser Extensions"
|
587 |
+
msgstr ""
|
588 |
+
|
589 |
+
#: ../event-organiser-add-ons.php:99
|
590 |
+
msgid "Event Organiser offers a range of extension which add additional features to "
|
591 |
+
"the plug-in."
|
592 |
+
msgstr ""
|
593 |
+
|
594 |
+
#: ../event-organiser-go-pro.php:55
|
595 |
+
msgid "Event Organiser Pro is a premium add-on bringing advanced booking management "
|
596 |
+
"to Event Organiser."
|
597 |
+
msgstr ""
|
598 |
+
|
599 |
+
#: ../event-organiser-settings.php:28
|
600 |
+
msgid "Event Organiser Settings"
|
601 |
+
msgstr ""
|
602 |
+
|
603 |
+
#: ../event-organiser-settings.php:219
|
604 |
+
msgid "Event page:"
|
605 |
+
msgstr ""
|
606 |
+
|
607 |
+
#: ../includes/event-organiser-cpt.php:223
|
608 |
+
msgid "Event published. <a href=\"%s\">View event</a>"
|
609 |
+
msgstr ""
|
610 |
+
|
611 |
+
#: ../includes/event-organiser-cpt.php:222
|
612 |
+
msgid "Event restored to revision from %s"
|
613 |
+
msgstr "Esdeveniment restaurat a la revisió de % s"
|
614 |
+
|
615 |
+
#: ../includes/event-organiser-cpt.php:224
|
616 |
+
msgid "Event saved."
|
617 |
+
msgstr ""
|
618 |
+
|
619 |
+
#: ../includes/event-organiser-cpt.php:226
|
620 |
+
msgid "Event scheduled for: <strong>%1$s</strong>. <a target=\"_blank\" "
|
621 |
+
"href=\"%2$s\">Preview event</a>"
|
622 |
+
msgstr ""
|
623 |
+
|
624 |
+
#: ../includes/event-organiser-cpt.php:225
|
625 |
+
msgid "Event submitted. <a target=\"_blank\" href=\"%s\">Preview event</a>"
|
626 |
+
msgstr ""
|
627 |
+
|
628 |
+
#: ../templates/taxonomy-event-tag.php:31
|
629 |
+
msgid "Event Tag Archives: %s"
|
630 |
+
msgstr ""
|
631 |
+
|
632 |
+
#: ../event-organiser-settings.php:118
|
633 |
+
#: ../event-organiser-settings.php:290
|
634 |
+
msgid "Event Tags"
|
635 |
+
msgstr ""
|
636 |
+
|
637 |
+
#: ../event-organiser-calendar.php:253
|
638 |
+
msgid "Event Title"
|
639 |
+
msgstr ""
|
640 |
+
|
641 |
+
#: ../includes/event-organiser-cpt.php:220
|
642 |
+
msgid "Event updated."
|
643 |
+
msgstr "Esdeveniment actualitzat"
|
644 |
+
|
645 |
+
#: ../includes/event-organiser-cpt.php:217
|
646 |
+
msgid "Event updated. <a href=\"%s\">View event</a>"
|
647 |
+
msgstr "Esdeveniment actualitzat. <a href=\"%s\">Mostra l'esdeveniment</a>"
|
648 |
+
|
649 |
+
#: ../classes/class-eo-calendar-widget.php:88
|
650 |
+
msgid "Event venue"
|
651 |
+
msgstr ""
|
652 |
+
|
653 |
+
#: ../includes/event-organiser-cpt.php:28
|
654 |
+
msgid "Event Venues"
|
655 |
+
msgstr "Llocs d'esdeveniment"
|
656 |
+
|
657 |
+
#: ../event-organiser.php:127
|
658 |
+
#: ../event-organiser-venues.php:432
|
659 |
+
#: ../templates/archive-event.php:42
|
660 |
+
msgid "Events"
|
661 |
+
msgstr ""
|
662 |
+
|
663 |
+
#: ../classes/class-eo-agenda-widget.php:19
|
664 |
+
msgid "Events Agenda"
|
665 |
+
msgstr ""
|
666 |
+
|
667 |
+
#: ../event-organiser-settings.php:218
|
668 |
+
msgid "Events archives:"
|
669 |
+
msgstr ""
|
670 |
+
|
671 |
+
#: ../templates/taxonomy-event-venue.php:31
|
672 |
+
msgid "Events at: %s"
|
673 |
+
msgstr ""
|
674 |
+
|
675 |
+
#: ../event-organiser-calendar.php:225
|
676 |
+
msgid "Events Calendar"
|
677 |
+
msgstr ""
|
678 |
+
|
679 |
+
#: ../event-organiser-settings.php:221
|
680 |
+
msgid "Events Category page:"
|
681 |
+
msgstr ""
|
682 |
+
|
683 |
+
#: ../event-organiser-manage.php:148
|
684 |
+
msgid "Events within %d months"
|
685 |
+
msgstr ""
|
686 |
+
|
687 |
+
#: ../event-organiser-manage.php:146
|
688 |
+
msgid "Events within %d weeks"
|
689 |
+
msgstr ""
|
690 |
+
|
691 |
+
#: ../event-organiser-manage.php:147
|
692 |
+
msgid "Events within 1 month"
|
693 |
+
msgstr ""
|
694 |
+
|
695 |
+
#: ../event-organiser-manage.php:145
|
696 |
+
msgid "Events within 1 week"
|
697 |
+
msgstr ""
|
698 |
+
|
699 |
+
#: ../event-organiser-manage.php:149
|
700 |
+
msgid "Events within 1 year"
|
701 |
+
msgstr ""
|
702 |
+
|
703 |
+
#: ../event-organiser-manage.php:144
|
704 |
+
msgid "Events within 24 hours"
|
705 |
+
msgstr ""
|
706 |
+
|
707 |
+
#: ../templates/archive-event.php:34
|
708 |
+
#: ../templates/archive-event.php:37
|
709 |
+
#: ../templates/archive-event.php:40
|
710 |
+
msgid "Events: "
|
711 |
+
msgstr ""
|
712 |
+
|
713 |
+
#: ../includes/event-organiser-register.php:226
|
714 |
+
#: ../includes/event-organiser-event-functions.php:715
|
715 |
+
msgid "every %d days"
|
716 |
+
msgstr ""
|
717 |
+
|
718 |
+
#: ../includes/event-organiser-register.php:230
|
719 |
+
#: ../includes/event-organiser-event-functions.php:736
|
720 |
+
msgid "every %d months on the"
|
721 |
+
msgstr ""
|
722 |
+
|
723 |
+
#: ../includes/event-organiser-register.php:228
|
724 |
+
#: ../includes/event-organiser-event-functions.php:723
|
725 |
+
msgid "every %d weeks on"
|
726 |
+
msgstr ""
|
727 |
+
|
728 |
+
#: ../includes/event-organiser-event-functions.php:767
|
729 |
+
msgid "every %d years"
|
730 |
+
msgstr ""
|
731 |
+
|
732 |
+
#: ../includes/event-organiser-register.php:232
|
733 |
+
msgid "every %d years on the"
|
734 |
+
msgstr ""
|
735 |
+
|
736 |
+
#: ../includes/event-organiser-register.php:225
|
737 |
+
#: ../includes/event-organiser-event-functions.php:713
|
738 |
+
msgid "every day"
|
739 |
+
msgstr ""
|
740 |
+
|
741 |
+
#: ../includes/event-organiser-register.php:229
|
742 |
+
#: ../includes/event-organiser-event-functions.php:734
|
743 |
+
msgid "every month on the"
|
744 |
+
msgstr ""
|
745 |
+
|
746 |
+
#: ../includes/event-organiser-register.php:227
|
747 |
+
#: ../includes/event-organiser-event-functions.php:721
|
748 |
+
msgid "every week on"
|
749 |
+
msgstr ""
|
750 |
+
|
751 |
+
#: ../includes/event-organiser-event-functions.php:765
|
752 |
+
msgid "every year"
|
753 |
+
msgstr ""
|
754 |
+
|
755 |
+
#: ../includes/event-organiser-register.php:231
|
756 |
+
msgid "every year on the"
|
757 |
+
msgstr ""
|
758 |
+
|
759 |
+
#: ../event-organiser-settings.php:114
|
760 |
+
msgid "Excerpt"
|
761 |
+
msgstr ""
|
762 |
+
|
763 |
+
#: ../event-organiser-settings.php:198
|
764 |
+
msgid "Exclude events from searches:"
|
765 |
+
msgstr ""
|
766 |
+
|
767 |
+
#: ../event-organiser-manage.php:143
|
768 |
+
msgid "Expired events"
|
769 |
+
msgstr ""
|
770 |
+
|
771 |
+
#: ../event-organiser-settings.php:21
|
772 |
+
msgid "Export"
|
773 |
+
msgstr ""
|
774 |
+
|
775 |
+
#: ../includes/class-event-organiser-im-export.php:98
|
776 |
+
msgid "Export Events"
|
777 |
+
msgstr ""
|
778 |
+
|
779 |
+
#: ../event-organiser-add-ons.php:20
|
780 |
+
msgid "Extensions"
|
781 |
+
msgstr ""
|
782 |
+
|
783 |
+
#: ../includes/class-event-organiser-im-export.php:68
|
784 |
+
msgid "File Error encountered: %d"
|
785 |
+
msgstr ""
|
786 |
+
|
787 |
+
#: ../includes/class-event-organiser-im-export.php:80
|
788 |
+
msgid "File size: %s. File type: %s"
|
789 |
+
msgstr ""
|
790 |
+
|
791 |
+
#: ../event-organiser-go-pro.php:90
|
792 |
+
#: ../event-organiser-add-ons.php:130
|
793 |
+
msgid "Find out more …"
|
794 |
+
msgstr ""
|
795 |
+
|
796 |
+
#: ../includes/event-organiser-register.php:235
|
797 |
+
#: ../includes/event-organiser-event-functions.php:693
|
798 |
+
msgid "first"
|
799 |
+
msgstr ""
|
800 |
+
|
801 |
+
#: ../event-organiser-go-pro.php:71
|
802 |
+
msgid "Flexible Booking Options"
|
803 |
+
msgstr ""
|
804 |
+
|
805 |
+
#: ../event-organiser-settings.php:212
|
806 |
+
msgid "For each of the pages, the corresponding template is used. To use your own "
|
807 |
+
"template simply give it the same name and store in your theme folder. By "
|
808 |
+
"default, if Event Organiser cannot find a template in your theme directory, "
|
809 |
+
"it will use its own default template. To prevent this, uncheck this option. "
|
810 |
+
"WordPress will then decide which template from your theme's folder to use."
|
811 |
+
msgstr ""
|
812 |
+
|
813 |
+
#: ../includes/event-organiser-cpt.php:490
|
814 |
+
msgid "For more information"
|
815 |
+
msgstr ""
|
816 |
+
|
817 |
+
#: ../event-organiser-settings.php:224
|
818 |
+
msgid "For more information see documentation <a href='%s'>on editing the "
|
819 |
+
"templates</a>"
|
820 |
+
msgstr ""
|
821 |
+
|
822 |
+
#: ../includes/event-organiser-register.php:235
|
823 |
+
#: ../includes/event-organiser-event-functions.php:693
|
824 |
+
msgid "fourth"
|
825 |
+
msgstr ""
|
826 |
+
|
827 |
+
#: ../event-organiser-manage.php:142
|
828 |
+
msgid "Future events"
|
829 |
+
msgstr ""
|
830 |
+
|
831 |
+
#: ../event-organiser-settings.php:18
|
832 |
+
#: ../event-organiser-settings.php:58
|
833 |
+
msgid "General"
|
834 |
+
msgstr ""
|
835 |
+
|
836 |
+
#: ../event-organiser-go-pro.php:52
|
837 |
+
msgid "Get Event Organiser Pro"
|
838 |
+
msgstr ""
|
839 |
+
|
840 |
+
#: ../event-organiser-go-pro.php:24
|
841 |
+
msgid "Get Event Organiser Pro Add-On"
|
842 |
+
msgstr ""
|
843 |
+
|
844 |
+
#: ../event-organiser-venues.php:412
|
845 |
+
msgid "Get Link"
|
846 |
+
msgstr ""
|
847 |
+
|
848 |
+
#: ../event-organiser-go-pro.php:77
|
849 |
+
msgid "Give your users the ability to search and filter through your events with "
|
850 |
+
"the event search shortcode. Event Organiser Pro also adds a text editor "
|
851 |
+
"button to make inserting and configuring your shortcodes that bit easier. "
|
852 |
+
msgstr ""
|
853 |
+
|
854 |
+
#: ../event-organiser-go-pro.php:25
|
855 |
+
msgid "Go Pro"
|
856 |
+
msgstr ""
|
857 |
+
|
858 |
+
#: ../includes/event-organiser-cpt.php:493
|
859 |
+
msgid "Go Pro!"
|
860 |
+
msgstr ""
|
861 |
+
|
862 |
+
#: ../event-organiser-calendar.php:58
|
863 |
+
msgid "go to date"
|
864 |
+
msgstr "anar a la data"
|
865 |
+
|
866 |
+
#: ../event-organiser-go-pro.php:96
|
867 |
+
msgid "Go to Event Organiser settings"
|
868 |
+
msgstr ""
|
869 |
+
|
870 |
+
#: ../classes/class-eo-agenda-widget.php:31
|
871 |
+
msgid "Group by"
|
872 |
+
msgstr ""
|
873 |
+
|
874 |
+
#: ../classes/class-eo-agenda-widget.php:39
|
875 |
+
msgid "Group date format"
|
876 |
+
msgstr ""
|
877 |
+
|
878 |
+
#: ../event-organiser-settings.php:159
|
879 |
+
msgid "Group occurrences"
|
880 |
+
msgstr ""
|
881 |
+
|
882 |
+
#: ../includes/event-organiser-register.php:212
|
883 |
+
msgid "Hide dates"
|
884 |
+
msgstr ""
|
885 |
+
|
886 |
+
#: ../includes/event-organiser-register.php:215
|
887 |
+
msgid "Hour"
|
888 |
+
msgstr ""
|
889 |
+
|
890 |
+
#: ../includes/event-organiser-cpt.php:465
|
891 |
+
msgid "Hovering over a row in the venues list will display action links that allow "
|
892 |
+
"you to manage that venue. You can perform the following actions:"
|
893 |
+
msgstr ""
|
894 |
+
|
895 |
+
#: ../event-organiser-settings.php:177
|
896 |
+
msgid "If 'no' is selected, an occurrence of an event is only past when it has "
|
897 |
+
"finished. Otherwise, an occurrence is considered 'past' as soon as it "
|
898 |
+
"starts."
|
899 |
+
msgstr ""
|
900 |
+
|
901 |
+
#: ../includes/event-organiser-cpt.php:438
|
902 |
+
msgid "If monthly reoccurrence is selected, select whether this should repeat on "
|
903 |
+
"that date of the month (e.g. on the 24th) or on the day of the month (e.g. "
|
904 |
+
"on the third Tuesday) "
|
905 |
+
msgstr ""
|
906 |
+
|
907 |
+
#: ../event-organiser-settings.php:165
|
908 |
+
msgid "If selected only one occurrence of an event will be displayed on event lists "
|
909 |
+
"and archives (this can be over-ridden by shortcode attributes and widget "
|
910 |
+
"options."
|
911 |
+
msgstr ""
|
912 |
+
|
913 |
+
#: ../event-organiser-settings.php:186
|
914 |
+
msgid "If selected the event will be automatically trashed 24 hours after the last "
|
915 |
+
"occurrence finishes."
|
916 |
+
msgstr ""
|
917 |
+
|
918 |
+
#: ../event-organiser-settings.php:195
|
919 |
+
msgid "If selected, visitors can subscribe to your events with the url: %s"
|
920 |
+
msgstr ""
|
921 |
+
|
922 |
+
#: ../includes/event-organiser-cpt.php:439
|
923 |
+
msgid "If weekly reoccurrence is selected, select which days of the week the event "
|
924 |
+
"should be repeated. If no days are selected, the day of the start date is "
|
925 |
+
"used"
|
926 |
+
msgstr ""
|
927 |
+
|
928 |
+
#: ../event-organiser-settings.php:250
|
929 |
+
msgid "If you have pretty permalinks enabled, select to have pretty premalinks for "
|
930 |
+
"events."
|
931 |
+
msgstr ""
|
932 |
+
|
933 |
+
#: ../event-organiser-settings.php:21
|
934 |
+
msgid "Import"
|
935 |
+
msgstr ""
|
936 |
+
|
937 |
+
#: ../includes/class-event-organiser-im-export.php:110
|
938 |
+
msgid "Import an ICS file."
|
939 |
+
msgstr ""
|
940 |
+
|
941 |
+
#: ../includes/class-event-organiser-im-export.php:112
|
942 |
+
msgid "Import categories"
|
943 |
+
msgstr ""
|
944 |
+
|
945 |
+
#: ../includes/class-event-organiser-im-export.php:107
|
946 |
+
msgid "Import Events"
|
947 |
+
msgstr ""
|
948 |
+
|
949 |
+
#: ../includes/class-event-organiser-im-export.php:111
|
950 |
+
msgid "Import venues"
|
951 |
+
msgstr ""
|
952 |
+
|
953 |
+
#: ../classes/class-eo-agenda-widget.php:47
|
954 |
+
msgid "Include 'Add To Google' link"
|
955 |
+
msgstr ""
|
956 |
+
|
957 |
+
#: ../classes/class-eo-event-list-widget.php:66
|
958 |
+
#: ../classes/class-eo-calendar-widget.php:46
|
959 |
+
msgid "Include past events"
|
960 |
+
msgstr ""
|
961 |
+
|
962 |
+
#: ../event-organiser-edit.php:180
|
963 |
+
msgid "Include/Exclude occurrences"
|
964 |
+
msgstr ""
|
965 |
+
|
966 |
+
#: ../includes/class-event-organiser-im-export.php:586
|
967 |
+
#: ../includes/class-eo-ical-parser.php:449
|
968 |
+
msgid "Invalid date. Date expected in YYYYMMDD format."
|
969 |
+
msgstr ""
|
970 |
+
|
971 |
+
#: ../includes/class-event-organiser-im-export.php:618
|
972 |
+
#: ../includes/class-eo-ical-parser.php:482
|
973 |
+
msgid "Invalid datetime. Date expected in YYYYMMDDTHHiissZ or YYYYMMDDTHHiiss "
|
974 |
+
"format."
|
975 |
+
msgstr ""
|
976 |
+
|
977 |
+
#: ../includes/class-event-organiser-im-export.php:78
|
978 |
+
msgid "Invalid file uploaded. The file must be a ics calendar file of type "
|
979 |
+
"'text/calendar', no larger than 2MB."
|
980 |
+
msgstr ""
|
981 |
+
|
982 |
+
#: ../includes/event.php:548
|
983 |
+
msgid "Invalid monthly schedule (invalid ordinal)"
|
984 |
+
msgstr ""
|
985 |
+
|
986 |
+
#: ../event-organiser-debug.php:245
|
987 |
+
msgid "Known plug-in & theme conflicts, highlighted in red, may be minor or have a "
|
988 |
+
"simple resolution. Please contact support."
|
989 |
+
msgstr ""
|
990 |
+
|
991 |
+
#: ../includes/event-organiser-register.php:235
|
992 |
+
#: ../includes/event-organiser-event-functions.php:693
|
993 |
+
msgid "last"
|
994 |
+
msgstr ""
|
995 |
+
|
996 |
+
#: ../templates/taxonomy-event-category.php:48
|
997 |
+
#: ../templates/taxonomy-event-category.php:106
|
998 |
+
#: ../templates/archive-event.php:55
|
999 |
+
#: ../templates/archive-event.php:110
|
1000 |
+
#: ../templates/taxonomy-event-tag.php:48
|
1001 |
+
#: ../templates/taxonomy-event-tag.php:106
|
1002 |
+
#: ../templates/taxonomy-event-venue.php:48
|
1003 |
+
#: ../templates/taxonomy-event-venue.php:105
|
1004 |
+
msgid "Later events <span class=\"meta-nav\">→</span>"
|
1005 |
+
msgstr ""
|
1006 |
+
|
1007 |
+
#: ../includes/class-event-organiser-im-export.php:275
|
1008 |
+
#: ../includes/class-event-organiser-im-export.php:301
|
1009 |
+
#: ../includes/class-eo-ical-parser.php:257
|
1010 |
+
msgid "Line: %1$d"
|
1011 |
+
msgstr ""
|
1012 |
+
|
1013 |
+
#: ../classes/class-eo-calendar-widget.php:66
|
1014 |
+
msgid "Link directly to event for days with only one event"
|
1015 |
+
msgstr ""
|
1016 |
+
|
1017 |
+
#: ../classes/class-eo-event-list-widget.php:41
|
1018 |
+
#: ../classes/class-eo-calendar-widget.php:80
|
1019 |
+
msgid "List category slug(s), seperate by comma. Leave blank for all"
|
1020 |
+
msgstr ""
|
1021 |
+
|
1022 |
+
#: ../event-organiser-calendar.php:232
|
1023 |
+
msgid "Loading…"
|
1024 |
+
msgstr ""
|
1025 |
+
|
1026 |
+
#: ../includes/event-organiser-cpt.php:228
|
1027 |
+
msgid "M j, Y @ G:i"
|
1028 |
+
msgstr ""
|
1029 |
+
|
1030 |
+
#: ../event-organiser-settings.php:41
|
1031 |
+
#: ../event-organiser.php:108
|
1032 |
+
msgid "Manage Event Categories & Tags"
|
1033 |
+
msgstr ""
|
1034 |
+
|
1035 |
+
#: ../event-organiser-settings.php:40
|
1036 |
+
#: ../event-organiser.php:107
|
1037 |
+
msgid "Manage Venues"
|
1038 |
+
msgstr ""
|
1039 |
+
|
1040 |
+
#: ../includes/event-organiser-register.php:216
|
1041 |
+
msgid "Minute"
|
1042 |
+
msgstr ""
|
1043 |
+
|
1044 |
+
#: ../event-organiser-settings.php:144
|
1045 |
+
msgid "mm-dd-yyyy"
|
1046 |
+
msgstr ""
|
1047 |
+
|
1048 |
+
#: ../event-organiser-calendar.php:229
|
1049 |
+
msgid "Month"
|
1050 |
+
msgstr ""
|
1051 |
+
|
1052 |
+
#: ../event-organiser-calendar.php:57
|
1053 |
+
msgid "month"
|
1054 |
+
msgstr ""
|
1055 |
+
|
1056 |
+
#: ../event-organiser-settings.php:270
|
1057 |
+
msgid "Month archive"
|
1058 |
+
msgstr ""
|
1059 |
+
|
1060 |
+
#: ../event-organiser-edit.php:127
|
1061 |
+
msgid "monthly"
|
1062 |
+
msgstr ""
|
1063 |
+
|
1064 |
+
#: ../includes/event-organiser-register.php:222
|
1065 |
+
msgid "months"
|
1066 |
+
msgstr ""
|
1067 |
+
|
1068 |
+
#: ../event-organiser-debug.php:72
|
1069 |
+
msgid "Most bugs arise from theme or plug-in conflicts. You can check this by "
|
1070 |
+
"disabling all other plug-ins and switching to TwentyTweleve."
|
1071 |
+
msgstr ""
|
1072 |
+
|
1073 |
+
#: ../includes/event-organiser-cpt.php:69
|
1074 |
+
msgid "New Category Name"
|
1075 |
+
msgstr "Nom de categoria nova"
|
1076 |
+
|
1077 |
+
#: ../includes/event-organiser-cpt.php:145
|
1078 |
+
msgid "New Event"
|
1079 |
+
msgstr "Nou esdeveniment"
|
1080 |
+
|
1081 |
+
#: ../includes/event-organiser-cpt.php:102
|
1082 |
+
msgid "New Tag Name"
|
1083 |
+
msgstr "Nou nom d'etiqueta"
|
1084 |
+
|
1085 |
+
#: ../includes/event-organiser-cpt.php:36
|
1086 |
+
msgid "New Venue Name"
|
1087 |
+
msgstr "Nom de lloc nou"
|
1088 |
+
|
1089 |
+
#: ../classes/class-eo-calendar-widget.php:260
|
1090 |
+
msgid "Next month"
|
1091 |
+
msgstr ""
|
1092 |
+
|
1093 |
+
#: ../event-organiser-debug.php:178
|
1094 |
+
#: ../event-organiser-debug.php:182
|
1095 |
+
#: ../event-organiser-debug.php:186
|
1096 |
+
#: ../event-organiser-settings.php:174
|
1097 |
+
msgid "No"
|
1098 |
+
msgstr ""
|
1099 |
+
|
1100 |
+
#: ../includes/event-organiser-cpt.php:70
|
1101 |
+
msgid "No categories found"
|
1102 |
+
msgstr "No s'han trobat categories"
|
1103 |
+
|
1104 |
+
#: ../includes/event-organiser-cpt.php:149
|
1105 |
+
msgid "No events found"
|
1106 |
+
msgstr "No s'han trobat esdeveniments"
|
1107 |
+
|
1108 |
+
#: ../includes/event-organiser-cpt.php:150
|
1109 |
+
msgid "No events found in Trash"
|
1110 |
+
msgstr "No s'han trobat esdeveniments a la paperera"
|
1111 |
+
|
1112 |
+
#: ../includes/class-event-organiser-im-export.php:316
|
1113 |
+
msgid "No events were imported."
|
1114 |
+
msgstr ""
|
1115 |
+
|
1116 |
+
#: ../includes/class-event-organiser-im-export.php:75
|
1117 |
+
msgid "No file detected."
|
1118 |
+
msgstr ""
|
1119 |
+
|
1120 |
+
#: ../includes/event-organiser-cpt.php:103
|
1121 |
+
msgid "No tags found"
|
1122 |
+
msgstr "No s'han trobat etiquetes"
|
1123 |
+
|
1124 |
+
#: ../includes/event-organiser-ajax.php:594
|
1125 |
+
msgid "No Venue"
|
1126 |
+
msgstr ""
|
1127 |
+
|
1128 |
+
#: ../includes/event-organiser-cpt.php:37
|
1129 |
+
msgid "No venues found"
|
1130 |
+
msgstr "No s'han trobar llocs"
|
1131 |
+
|
1132 |
+
#: ../event-organiser-settings.php:571
|
1133 |
+
msgid "None"
|
1134 |
+
msgstr ""
|
1135 |
+
|
1136 |
+
#: ../templates/taxonomy-event-category.php:116
|
1137 |
+
#: ../templates/archive-event.php:119
|
1138 |
+
#: ../templates/taxonomy-event-tag.php:116
|
1139 |
+
#: ../templates/taxonomy-event-venue.php:115
|
1140 |
+
msgid "Nothing Found"
|
1141 |
+
msgstr ""
|
1142 |
+
|
1143 |
+
#: ../classes/class-eo-event-list-widget.php:35
|
1144 |
+
msgid "Number of events"
|
1145 |
+
msgstr ""
|
1146 |
+
|
1147 |
+
#: ../event-organiser-calendar.php:191
|
1148 |
+
msgid "Occurrence deleted."
|
1149 |
+
msgstr ""
|
1150 |
+
|
1151 |
+
#: ../includes/event.php:744
|
1152 |
+
msgid "Occurrence not deleted. Occurrence not found."
|
1153 |
+
msgstr ""
|
1154 |
+
|
1155 |
+
#: ../event-organiser-edit.php:146
|
1156 |
+
#: ../templates/shortcode-event-list.php:52
|
1157 |
+
msgid "on"
|
1158 |
+
msgstr ""
|
1159 |
+
|
1160 |
+
#: ../event-organiser-edit.php:126
|
1161 |
+
msgid "once"
|
1162 |
+
msgstr ""
|
1163 |
+
|
1164 |
+
#: ../includes/event-organiser-event-functions.php:703
|
1165 |
+
msgid "one time only"
|
1166 |
+
msgstr ""
|
1167 |
+
|
1168 |
+
#: ../includes/event-organiser-cpt.php:448
|
1169 |
+
msgid "Only pre-existing venues can be selected. To add a venue, go to the venues "
|
1170 |
+
"page."
|
1171 |
+
msgstr ""
|
1172 |
+
|
1173 |
+
#: ../classes/class-eo-event-list-widget.php:55
|
1174 |
+
msgid "Order by"
|
1175 |
+
msgstr ""
|
1176 |
+
|
1177 |
+
#: ../event-organiser-settings.php:112
|
1178 |
+
#: ../event-organiser-edit.php:31
|
1179 |
+
#: ../event-organiser-manage.php:23
|
1180 |
+
msgid "Organiser"
|
1181 |
+
msgstr ""
|
1182 |
+
|
1183 |
+
#: ../includes/event-organiser-cpt.php:458
|
1184 |
+
#: ../includes/event-organiser-cpt.php:477
|
1185 |
+
msgid "Overview"
|
1186 |
+
msgstr ""
|
1187 |
+
|
1188 |
+
#: ../event-organiser-settings.php:630
|
1189 |
+
msgid "Page list (fallback)"
|
1190 |
+
msgstr ""
|
1191 |
+
|
1192 |
+
#: ../includes/event-organiser-cpt.php:64
|
1193 |
+
#: ../includes/event-organiser-cpt.php:65
|
1194 |
+
msgid "Parent Category"
|
1195 |
+
msgstr "Categoria Pare"
|
1196 |
+
|
1197 |
+
#: ../event-organiser-venues.php:405
|
1198 |
+
msgid "Permalink:"
|
1199 |
+
msgstr ""
|
1200 |
+
|
1201 |
+
#: ../event-organiser-settings.php:20
|
1202 |
+
msgid "Permalinks"
|
1203 |
+
msgstr ""
|
1204 |
+
|
1205 |
+
#: ../event-organiser-settings.php:19
|
1206 |
+
msgid "Permissions"
|
1207 |
+
msgstr ""
|
1208 |
+
|
1209 |
+
#: ../event-organiser-settings.php:601
|
1210 |
+
msgid "Please note to enable these structures you must first have pretty permalinks "
|
1211 |
+
"enabled on WordPress in Settings > Permalinks."
|
1212 |
+
msgstr ""
|
1213 |
+
|
1214 |
+
#: ../includes/event-organiser-cpt.php:96
|
1215 |
+
msgid "Popular Tags"
|
1216 |
+
msgstr "Etiquetes Populars"
|
1217 |
+
|
1218 |
+
#: ../includes/event-organiser-venue-functions.php:885
|
1219 |
+
msgid "Post Code"
|
1220 |
+
msgstr ""
|
1221 |
+
|
1222 |
+
#: ../classes/class-eo-calendar-widget.php:257
|
1223 |
+
msgid "Previous month"
|
1224 |
+
msgstr ""
|
1225 |
+
|
1226 |
+
#: ../includes/event-organiser-ajax.php:253
|
1227 |
+
msgid "Private"
|
1228 |
+
msgstr ""
|
1229 |
+
|
1230 |
+
#: ../includes/event-organiser-ajax.php:251
|
1231 |
+
msgid "Protected"
|
1232 |
+
msgstr ""
|
1233 |
+
|
1234 |
+
#: ../event-organiser-calendar.php:285
|
1235 |
+
msgid "Publish Event"
|
1236 |
+
msgstr ""
|
1237 |
+
|
1238 |
+
#: ../event-organiser-settings.php:35
|
1239 |
+
#: ../event-organiser.php:102
|
1240 |
+
msgid "Publish Events"
|
1241 |
+
msgstr ""
|
1242 |
+
|
1243 |
+
#: ../event-organiser-settings.php:39
|
1244 |
+
#: ../event-organiser.php:106
|
1245 |
+
msgid "Read Private Events"
|
1246 |
+
msgstr ""
|
1247 |
+
|
1248 |
+
#: ../event-organiser-edit.php:124
|
1249 |
+
msgid "Reoccurence:"
|
1250 |
+
msgstr ""
|
1251 |
+
|
1252 |
+
#: ../event-organiser-manage.php:29
|
1253 |
+
msgid "Reoccurrence"
|
1254 |
+
msgstr ""
|
1255 |
+
|
1256 |
+
#: ../event-organiser-edit.php:140
|
1257 |
+
msgid "Repeat every"
|
1258 |
+
msgstr ""
|
1259 |
+
|
1260 |
+
#: ../includes/event-organiser-cpt.php:433
|
1261 |
+
msgid "Repeating events"
|
1262 |
+
msgstr ""
|
1263 |
+
|
1264 |
+
#: ../event-organiser-settings.php:117
|
1265 |
+
msgid "Revisions"
|
1266 |
+
msgstr ""
|
1267 |
+
|
1268 |
+
#: ../event-organiser-settings.php:560
|
1269 |
+
msgid "Role"
|
1270 |
+
msgstr ""
|
1271 |
+
|
1272 |
+
#: ../event-organiser-venues.php:154
|
1273 |
+
msgid "Save"
|
1274 |
+
msgstr ""
|
1275 |
+
|
1276 |
+
#: ../event-organiser-calendar.php:281
|
1277 |
+
msgid "Save Draft"
|
1278 |
+
msgstr ""
|
1279 |
+
|
1280 |
+
#: ../includes/event.php:458
|
1281 |
+
msgid "Schedule end date is before is before the start date."
|
1282 |
+
msgstr ""
|
1283 |
+
|
1284 |
+
#: ../includes/event.php:470
|
1285 |
+
msgid "Schedule not recognised."
|
1286 |
+
msgstr ""
|
1287 |
+
|
1288 |
+
#: ../event-organiser-debug.php:556
|
1289 |
+
msgid "Script mode"
|
1290 |
+
msgstr ""
|
1291 |
+
|
1292 |
+
#: ../includes/event-organiser-cpt.php:62
|
1293 |
+
msgid "Search Categories"
|
1294 |
+
msgstr "Cerca Categories"
|
1295 |
+
|
1296 |
+
#: ../includes/event-organiser-cpt.php:148
|
1297 |
+
msgid "Search events"
|
1298 |
+
msgstr "Cerca esdeveniments"
|
1299 |
+
|
1300 |
+
#: ../event-organiser-venues.php:233
|
1301 |
+
msgid "Search results for “%s”"
|
1302 |
+
msgstr ""
|
1303 |
+
|
1304 |
+
#: ../includes/event-organiser-cpt.php:94
|
1305 |
+
msgid "Search Tags"
|
1306 |
+
msgstr "Cerca Etiquetes"
|
1307 |
+
|
1308 |
+
#: ../event-organiser-venues.php:243
|
1309 |
+
msgid "Search Venues"
|
1310 |
+
msgstr ""
|
1311 |
+
|
1312 |
+
#: ../includes/event-organiser-register.php:235
|
1313 |
+
#: ../includes/event-organiser-event-functions.php:693
|
1314 |
+
msgid "second"
|
1315 |
+
msgstr ""
|
1316 |
+
|
1317 |
+
#: ../includes/event-organiser-cpt.php:491
|
1318 |
+
msgid "See the <a %s> documentation</a>"
|
1319 |
+
msgstr ""
|
1320 |
+
|
1321 |
+
#: ../event-organiser-edit.php:211
|
1322 |
+
msgid "Select a venue"
|
1323 |
+
msgstr ""
|
1324 |
+
|
1325 |
+
#: ../classes/class-eo-widget-categories.php:45
|
1326 |
+
msgid "Select Category"
|
1327 |
+
msgstr ""
|
1328 |
+
|
1329 |
+
#: ../event-organiser-settings.php:107
|
1330 |
+
msgid "Select which features events should support"
|
1331 |
+
msgstr ""
|
1332 |
+
|
1333 |
+
#: ../includes/event-organiser-cpt.php:444
|
1334 |
+
#: ../includes/event-organiser-cpt.php:445
|
1335 |
+
msgid "Selecting a venue"
|
1336 |
+
msgstr ""
|
1337 |
+
|
1338 |
+
#: ../event-organiser-go-pro.php:72
|
1339 |
+
msgid "Sell tickets for specific dates or sell tickets for all dates of an event - "
|
1340 |
+
"such as booking places on a course. You can offer multiple tickets, and "
|
1341 |
+
"customise the booking form to suit your needs."
|
1342 |
+
msgstr ""
|
1343 |
+
|
1344 |
+
#: ../includes/event-organiser-cpt.php:107
|
1345 |
+
msgid "Separate tags with commas"
|
1346 |
+
msgstr "Separa etiquetes amb comes"
|
1347 |
+
|
1348 |
+
#: ../includes/event-organiser-cpt.php:39
|
1349 |
+
msgid "Separate venues with commas"
|
1350 |
+
msgstr "Separa llocs amb comes"
|
1351 |
+
|
1352 |
+
#: ../event-organiser-settings.php:555
|
1353 |
+
msgid "Set permissions for events and venue management"
|
1354 |
+
msgstr ""
|
1355 |
+
|
1356 |
+
#: ../includes/event-organiser-register.php:335
|
1357 |
+
msgid "Settings"
|
1358 |
+
msgstr ""
|
1359 |
+
|
1360 |
+
#: ../event-organiser-edit.php:183
|
1361 |
+
msgid "Show dates"
|
1362 |
+
msgstr ""
|
1363 |
+
|
1364 |
+
#: ../classes/class-eo-widget-categories.php:99
|
1365 |
+
msgid "Show hierarchy"
|
1366 |
+
msgstr ""
|
1367 |
+
|
1368 |
+
#: ../includes/event-organiser-register.php:52
|
1369 |
+
msgid "Show Less"
|
1370 |
+
msgstr ""
|
1371 |
+
|
1372 |
+
#: ../classes/class-eo-calendar-widget.php:56
|
1373 |
+
msgid "Show long events"
|
1374 |
+
msgstr ""
|
1375 |
+
|
1376 |
+
#: ../includes/event-organiser-register.php:51
|
1377 |
+
msgid "Show More"
|
1378 |
+
msgstr ""
|
1379 |
+
|
1380 |
+
#: ../event-organiser-settings.php:123
|
1381 |
+
#: ../event-organiser-settings.php:150
|
1382 |
+
msgid "Show past events:"
|
1383 |
+
msgstr ""
|
1384 |
+
|
1385 |
+
#: ../event-organiser-venues.php:431
|
1386 |
+
msgid "Slug"
|
1387 |
+
msgstr ""
|
1388 |
+
|
1389 |
+
#: ../includes/event-organiser-cpt.php:436
|
1390 |
+
msgid "Specify how regularly the event should repeat (default 1)"
|
1391 |
+
msgstr ""
|
1392 |
+
|
1393 |
+
#: ../templates/event-meta-event-single.php:58
|
1394 |
+
#: ../includes/event-organiser-ajax.php:282
|
1395 |
+
msgid "Start"
|
1396 |
+
msgstr "Inici"
|
1397 |
+
|
1398 |
+
#: ../classes/class-eo-event-list-widget.php:57
|
1399 |
+
msgid "Start date"
|
1400 |
+
msgstr "Data d'inici"
|
1401 |
+
|
1402 |
+
#: ../includes/event.php:445
|
1403 |
+
msgid "Start date not provided."
|
1404 |
+
msgstr ""
|
1405 |
+
|
1406 |
+
#: ../includes/event.php:455
|
1407 |
+
msgid "Start date occurs after end date."
|
1408 |
+
msgstr ""
|
1409 |
+
|
1410 |
+
#: ../event-organiser-edit.php:92
|
1411 |
+
#: ../event-organiser-manage.php:27
|
1412 |
+
msgid "Start Date/Time"
|
1413 |
+
msgstr "Inici Data/Hora"
|
1414 |
+
|
1415 |
+
#: ../includes/event-organiser-venue-functions.php:884
|
1416 |
+
msgid "State / Province"
|
1417 |
+
msgstr ""
|
1418 |
+
|
1419 |
+
#: ../event-organiser-calendar.php:291
|
1420 |
+
msgid "Submit for Review"
|
1421 |
+
msgstr ""
|
1422 |
+
|
1423 |
+
#: ../event-organiser-debug.php:13
|
1424 |
+
#: ../event-organiser-debug.php:14
|
1425 |
+
#: ../event-organiser-debug.php:59
|
1426 |
+
msgid "System Info"
|
1427 |
+
msgstr ""
|
1428 |
+
|
1429 |
+
#: ../templates/event-meta-event-single.php:73
|
1430 |
+
#: ../includes/event-organiser-event-functions.php:1388
|
1431 |
+
#: ../includes/event-organiser-cpt.php:105
|
1432 |
+
msgid "Tags"
|
1433 |
+
msgstr ""
|
1434 |
+
|
1435 |
+
#: ../classes/class-eo-event-list-widget.php:76
|
1436 |
+
msgid "Template (leave blank for default)"
|
1437 |
+
msgstr ""
|
1438 |
+
|
1439 |
+
#: ../event-organiser-settings.php:59
|
1440 |
+
msgid "Templates"
|
1441 |
+
msgstr ""
|
1442 |
+
|
1443 |
+
#: ../event-organiser-debug.php:67
|
1444 |
+
msgid "The 'system info' link in under the Events admin tab is only visible to "
|
1445 |
+
"admins and only when <code>WP_DEBUG</code> is set to <code>true</code>."
|
1446 |
+
msgstr ""
|
1447 |
+
|
1448 |
+
#: ../includes/event-organiser-cpt.php:427
|
1449 |
+
msgid "The end date is the date the event finishes. If the event is a reoccuring "
|
1450 |
+
"event, this is the end date of the first occurrence."
|
1451 |
+
msgstr ""
|
1452 |
+
|
1453 |
+
#: ../includes/class-event-organiser-im-export.php:101
|
1454 |
+
msgid "The export button below generates an ICS file of your events that can be "
|
1455 |
+
"imported in to other calendar applications such as Google Calendar."
|
1456 |
+
msgstr ""
|
1457 |
+
|
1458 |
+
#: ../includes/event-organiser-cpt.php:426
|
1459 |
+
msgid "The start date is the date the event starts. If the event is a reoccuring "
|
1460 |
+
"event, this is the start date of the first occurrence."
|
1461 |
+
msgstr ""
|
1462 |
+
|
1463 |
+
#: ../classes/class-eventorganiser-shortcodes.php:356
|
1464 |
+
msgid "There is no excerpt because this is a protected post."
|
1465 |
+
msgstr ""
|
1466 |
+
|
1467 |
+
#: ../includes/class-eo-ical-parser.php:90
|
1468 |
+
msgid "There was an error detecting ICAL source."
|
1469 |
+
msgstr ""
|
1470 |
+
|
1471 |
+
#: ../includes/class-eo-ical-parser.php:136
|
1472 |
+
msgid "There was an error fetching the feed. Response code: %s."
|
1473 |
+
msgstr ""
|
1474 |
+
|
1475 |
+
#: ../includes/class-eo-ical-parser.php:156
|
1476 |
+
msgid "There was an error opening the ICAL file."
|
1477 |
+
msgstr ""
|
1478 |
+
|
1479 |
+
#: ../includes/class-event-organiser-im-export.php:318
|
1480 |
+
msgid "There was an error with %1$d of %2$d events in the ical file"
|
1481 |
+
msgstr ""
|
1482 |
+
|
1483 |
+
#: ../includes/event-organiser-register.php:235
|
1484 |
+
#: ../includes/event-organiser-event-functions.php:693
|
1485 |
+
msgid "third"
|
1486 |
+
msgstr ""
|
1487 |
+
|
1488 |
+
#: ../event-organiser-settings.php:147
|
1489 |
+
msgid "This alters the default format for inputting dates."
|
1490 |
+
msgstr ""
|
1491 |
+
|
1492 |
+
#: ../templates/event-meta-event-single.php:50
|
1493 |
+
msgid "This event finished on %s"
|
1494 |
+
msgstr ""
|
1495 |
+
|
1496 |
+
#: ../includes/event-organiser-cpt.php:230
|
1497 |
+
msgid "This event has been broken from a recurring event."
|
1498 |
+
msgstr ""
|
1499 |
+
|
1500 |
+
#: ../templates/event-meta-event-single.php:46
|
1501 |
+
msgid "This event is running from %1$s until %2$s. It is next occurring on %3$s"
|
1502 |
+
msgstr ""
|
1503 |
+
|
1504 |
+
#: ../includes/event-organiser-ajax.php:308
|
1505 |
+
msgid "This event reoccurs"
|
1506 |
+
msgstr ""
|
1507 |
+
|
1508 |
+
#: ../templates/single-event.php:60
|
1509 |
+
msgid "This event was posted by <a href=\"%5$s\">%4$s</a>. Bookmark the <a "
|
1510 |
+
"href=\"%2$s\" title=\"Permalink to %3$s\" rel=\"bookmark\">permalink</a>."
|
1511 |
+
msgstr ""
|
1512 |
+
|
1513 |
+
#: ../templates/single-event.php:58
|
1514 |
+
msgid "This event was posted in %1$s by <a href=\"%5$s\">%4$s</a>. Bookmark the <a "
|
1515 |
+
"href=\"%2$s\" title=\"Permalink to %3$s\" rel=\"bookmark\">permalink</a>."
|
1516 |
+
msgstr ""
|
1517 |
+
|
1518 |
+
#: ../includes/event-organiser-register.php:233
|
1519 |
+
msgid "This event will repeat"
|
1520 |
+
msgstr ""
|
1521 |
+
|
1522 |
+
#: ../event-organiser-edit.php:75
|
1523 |
+
msgid "This is a reoccurring event"
|
1524 |
+
msgstr ""
|
1525 |
+
|
1526 |
+
#: ../includes/event-organiser-cpt.php:459
|
1527 |
+
msgid "This is the list of all saved events. Note that <strong> reoccurring events "
|
1528 |
+
"appear as a single row </strong> in the table and the start and end date "
|
1529 |
+
"refers to the first occurrence of that event."
|
1530 |
+
msgstr ""
|
1531 |
+
|
1532 |
+
#: ../event-organiser-debug.php:65
|
1533 |
+
msgid "This page highlights useful information for debugging. If you're reporting a "
|
1534 |
+
"bug, please include this information."
|
1535 |
+
msgstr ""
|
1536 |
+
|
1537 |
+
#: ../includes/event-organiser-cpt.php:478
|
1538 |
+
msgid "This page shows all (occurrances of) events. You can view the summary of an "
|
1539 |
+
"event by clicking on it. If you have the necessary permissions, a link to "
|
1540 |
+
"the event's edit page will appear also."
|
1541 |
+
msgstr ""
|
1542 |
+
|
1543 |
+
#: ../event-organiser-settings.php:113
|
1544 |
+
msgid "Thumbnail"
|
1545 |
+
msgstr ""
|
1546 |
+
|
1547 |
+
#: ../classes/class-eo-event-list-widget.php:31
|
1548 |
+
#: ../classes/class-eo-event-list-widget.php:58
|
1549 |
+
#: ../classes/class-eo-calendar-widget.php:36
|
1550 |
+
#: ../classes/class-eo-agenda-widget.php:27
|
1551 |
+
msgid "Title"
|
1552 |
+
msgstr ""
|
1553 |
+
|
1554 |
+
#: ../classes/class-eo-widget-categories.php:92
|
1555 |
+
msgid "Title:"
|
1556 |
+
msgstr ""
|
1557 |
+
|
1558 |
+
#: ../event-organiser-debug.php:74
|
1559 |
+
msgid "To help speed things along, if you report a bug please indicate if you have "
|
1560 |
+
"done so. Once the plug-in or theme has been identified it is often easy to "
|
1561 |
+
"resolve the issue."
|
1562 |
+
msgstr ""
|
1563 |
+
|
1564 |
+
#: ../includes/event-organiser-cpt.php:434
|
1565 |
+
msgid "To repeat an event according to some regular pattern, use the reoccurrence "
|
1566 |
+
"dropdown menu to select how the event is to repeat. Further options then "
|
1567 |
+
"appear, "
|
1568 |
+
msgstr ""
|
1569 |
+
|
1570 |
+
#: ../event-organiser-calendar.php:54
|
1571 |
+
msgid "today"
|
1572 |
+
msgstr ""
|
1573 |
+
|
1574 |
+
#: ../event-organiser-debug.php:444
|
1575 |
+
msgid "unknown"
|
1576 |
+
msgstr ""
|
1577 |
+
|
1578 |
+
#: ../event-organiser-edit.php:170
|
1579 |
+
msgid "until"
|
1580 |
+
msgstr ""
|
1581 |
+
|
1582 |
+
#: ../templates/event-meta-event-single.php:88
|
1583 |
+
msgid "Upcoming Dates"
|
1584 |
+
msgstr ""
|
1585 |
+
|
1586 |
+
#: ../includes/event-organiser-cpt.php:67
|
1587 |
+
msgid "Update Category"
|
1588 |
+
msgstr "Actualitza Categoria"
|
1589 |
+
|
1590 |
+
#: ../includes/event-organiser-cpt.php:100
|
1591 |
+
msgid "Update Tag"
|
1592 |
+
msgstr "Actualitza la etiqueta"
|
1593 |
+
|
1594 |
+
#: ../event-organiser-venues.php:345
|
1595 |
+
msgid "Update Venue"
|
1596 |
+
msgstr ""
|
1597 |
+
|
1598 |
+
#: ../includes/class-event-organiser-im-export.php:116
|
1599 |
+
msgid "Upload ICS file"
|
1600 |
+
msgstr ""
|
1601 |
+
|
1602 |
+
#: ../includes/event-organiser-cpt.php:447
|
1603 |
+
msgid "Use the venues input field to search for existing venues"
|
1604 |
+
msgstr "Utilitzeu el camp d'entrada dels llocs per buscar llocs existents"
|
1605 |
+
|
1606 |
+
#: ../event-organiser-edit.php:208
|
1607 |
+
#: ../event-organiser-manage.php:25
|
1608 |
+
#: ../event-organiser-venues.php:424
|
1609 |
+
msgid "Venue"
|
1610 |
+
msgstr "Lloc"
|
1611 |
+
|
1612 |
+
#: ../event-organiser-venues.php:170
|
1613 |
+
msgid "Venue <strong>created</strong>"
|
1614 |
+
msgstr "Lloc creat"
|
1615 |
+
|
1616 |
+
#: ../event-organiser-venues.php:171
|
1617 |
+
msgid "Venue <strong>updated</strong>"
|
1618 |
+
msgstr ""
|
1619 |
+
|
1620 |
+
#: ../event-organiser-venues.php:86
|
1621 |
+
msgid "Venue <strong>was not</strong> created"
|
1622 |
+
msgstr ""
|
1623 |
+
|
1624 |
+
#: ../event-organiser-venues.php:49
|
1625 |
+
msgid "Venue <strong>was not</strong> updated"
|
1626 |
+
msgstr ""
|
1627 |
+
|
1628 |
+
#: ../event-organiser-go-pro.php:81
|
1629 |
+
msgid "Venue custom fields & thumbnails"
|
1630 |
+
msgstr ""
|
1631 |
+
|
1632 |
+
#: ../event-organiser-venues.php:300
|
1633 |
+
msgid "Venue Location"
|
1634 |
+
msgstr ""
|
1635 |
+
|
1636 |
+
#: ../event-organiser-venues.php:399
|
1637 |
+
msgid "Venue name"
|
1638 |
+
msgstr ""
|
1639 |
+
|
1640 |
+
#: ../event-organiser-edit.php:221
|
1641 |
+
msgid "Venue Name"
|
1642 |
+
msgstr ""
|
1643 |
+
|
1644 |
+
#: ../event-organiser-settings.php:220
|
1645 |
+
msgid "Venue page:"
|
1646 |
+
msgstr "Pàgina de llocs"
|
1647 |
+
|
1648 |
+
#: ../event-organiser-venues.php:172
|
1649 |
+
msgid "Venue(s) <strong>deleted</strong>"
|
1650 |
+
msgstr "Lloc(s)"
|
1651 |
+
|
1652 |
+
#: ../event-organiser-venues.php:142
|
1653 |
+
msgid "Venue(s) <strong>were not </strong> deleted"
|
1654 |
+
msgstr "Lloc(s)"
|
1655 |
+
|
1656 |
+
#: ../event-organiser-settings.php:274
|
1657 |
+
#: ../event-organiser-venues.php:13
|
1658 |
+
#: ../event-organiser-venues.php:14
|
1659 |
+
#: ../event-organiser-venues.php:162
|
1660 |
+
#: ../event-organiser-venues.php:229
|
1661 |
+
msgid "Venues"
|
1662 |
+
msgstr "Llocs"
|
1663 |
+
|
1664 |
+
#: ../includes/event-organiser-ajax.php:544
|
1665 |
+
msgid "View"
|
1666 |
+
msgstr "Veure"
|
1667 |
+
|
1668 |
+
#: ../event-organiser-calendar.php:59
|
1669 |
+
#: ../event-organiser-manage.php:114
|
1670 |
+
msgid "View all categories"
|
1671 |
+
msgstr "Veure totes les categories"
|
1672 |
+
|
1673 |
+
#: ../event-organiser-manage.php:141
|
1674 |
+
msgid "View all events"
|
1675 |
+
msgstr "Veure tots els esdeveniments"
|
1676 |
+
|
1677 |
+
#: ../event-organiser-calendar.php:60
|
1678 |
+
#: ../event-organiser-manage.php:128
|
1679 |
+
msgid "View all venues"
|
1680 |
+
msgstr "Veure tots els llocs"
|
1681 |
+
|
1682 |
+
#: ../includes/event-organiser-cpt.php:147
|
1683 |
+
msgid "View Event"
|
1684 |
+
msgstr "Veure Esdeveniment"
|
1685 |
+
|
1686 |
+
#: ../event-organiser-venues.php:413
|
1687 |
+
msgid "View Venue"
|
1688 |
+
msgstr "Veure Lloc"
|
1689 |
+
|
1690 |
+
#: ../includes/event-organiser-cpt.php:469
|
1691 |
+
msgid "View will take you to the venue's page"
|
1692 |
+
msgstr ""
|
1693 |
+
|
1694 |
+
#: ../event-organiser-calendar.php:229
|
1695 |
+
msgid "Week"
|
1696 |
+
msgstr "Setmana"
|
1697 |
+
|
1698 |
+
#: ../event-organiser-calendar.php:56
|
1699 |
+
msgid "week"
|
1700 |
+
msgstr "setmana"
|
1701 |
+
|
1702 |
+
#: ../event-organiser-edit.php:126
|
1703 |
+
msgid "weekly"
|
1704 |
+
msgstr ""
|
1705 |
+
|
1706 |
+
#: ../includes/event-organiser-register.php:220
|
1707 |
+
msgid "weeks"
|
1708 |
+
msgstr ""
|
1709 |
+
|
1710 |
+
#: ../event-organiser-calendar.php:249
|
1711 |
+
msgid "When"
|
1712 |
+
msgstr ""
|
1713 |
+
|
1714 |
+
#: ../event-organiser-calendar.php:257
|
1715 |
+
msgid "Where"
|
1716 |
+
msgstr ""
|
1717 |
+
|
1718 |
+
#: ../includes/event-organiser-register.php:223
|
1719 |
+
msgid "year"
|
1720 |
+
msgstr ""
|
1721 |
+
|
1722 |
+
#: ../event-organiser-settings.php:269
|
1723 |
+
msgid "Year archive"
|
1724 |
+
msgstr ""
|
1725 |
+
|
1726 |
+
#: ../event-organiser-edit.php:127
|
1727 |
+
msgid "yearly"
|
1728 |
+
msgstr ""
|
1729 |
+
|
1730 |
+
#: ../includes/event-organiser-register.php:224
|
1731 |
+
msgid "years"
|
1732 |
+
msgstr ""
|
1733 |
+
|
1734 |
+
#: ../event-organiser-debug.php:178
|
1735 |
+
#: ../event-organiser-debug.php:182
|
1736 |
+
#: ../event-organiser-debug.php:186
|
1737 |
+
#: ../event-organiser-settings.php:175
|
1738 |
+
msgid "Yes"
|
1739 |
+
msgstr ""
|
1740 |
+
|
1741 |
+
#: ../includes/event-organiser-cpt.php:484
|
1742 |
+
msgid "You can create an event on this Calendar, by clicking on day or dragging "
|
1743 |
+
"over multiple days (in Month view) or multiple times (in Week and Day view). "
|
1744 |
+
"You can give the event a title, specify a venue and provide a descripton. "
|
1745 |
+
"The event can be immediately published or saved as a draft. In any case, the "
|
1746 |
+
"event is created and you are forwarded to that event's edit page."
|
1747 |
+
msgstr ""
|
1748 |
+
|
1749 |
+
#: ../classes/class-eo-event-list-widget.php:80
|
1750 |
+
msgid "You can use specified tags as placeholders for event information which you "
|
1751 |
+
"want to appear in the widget. <a href=\"%s\" target=\"_blank\"> Find out "
|
1752 |
+
"more</a>."
|
1753 |
+
msgstr ""
|
1754 |
+
|
1755 |
+
#: ../event-organiser-venues.php:115
|
1756 |
+
msgid "You do not have permission to delete this venue"
|
1757 |
+
msgstr ""
|
1758 |
+
|
1759 |
+
#: ../event-organiser-venues.php:42
|
1760 |
+
#: ../event-organiser-venues.php:71
|
1761 |
+
msgid "You do not have permission to edit this venue."
|
1762 |
+
msgstr ""
|
1763 |
+
|
1764 |
+
#: ../event-organiser-venues.php:37
|
1765 |
+
msgid "You do not have permission to manage venues"
|
1766 |
+
msgstr ""
|
1767 |
+
|
1768 |
+
#: ../event-organiser-calendar.php:107
|
1769 |
+
msgid "You do not have sufficient permissions to create events. "
|
1770 |
+
msgstr ""
|
1771 |
+
|
1772 |
+
#: ../event-organiser-calendar.php:181
|
1773 |
+
msgid "You do not have sufficient permissions to delete this event. "
|
1774 |
+
msgstr ""
|
1775 |
+
|
1776 |
+
#: ../event-organiser-calendar.php:163
|
1777 |
+
msgid "You do not have sufficient permissions to edit this event. "
|
1778 |
+
msgstr ""
|
1779 |
+
|
1780 |
+
#: ../includes/class-event-organiser-im-export.php:171
|
1781 |
+
msgid "You do not have sufficient permissions to import events."
|
1782 |
+
msgstr ""
|
1783 |
+
|
1784 |
+
#: ../event-organiser-settings.php:602
|
1785 |
+
msgid "You may also need to go to WordPress Settings > Permalinks and click 'Save "
|
1786 |
+
"Changes' before any changes will take effect."
|
1787 |
+
msgstr ""
|
1788 |
+
|
1789 |
+
#: ../event-organiser-settings.php:145
|
1790 |
+
msgid "yyyy-mm-dd"
|
1791 |
+
msgstr ""
|
1792 |
+
|
languages/eventorganiser-cs_CZ.mo
CHANGED
Binary file
|
languages/eventorganiser-da_DK.mo
CHANGED
Binary file
|
languages/eventorganiser-de_DE.mo
CHANGED
Binary file
|
languages/eventorganiser-el.mo
CHANGED
Binary file
|
languages/eventorganiser-en_CA.mo
CHANGED
Binary file
|
languages/eventorganiser-es_ES.mo
CHANGED
Binary file
|
languages/eventorganiser-es_ES.po
CHANGED
@@ -2,8 +2,8 @@ msgid ""
|
|
2 |
msgstr "Project-Id-Version: Event Organiser\n"
|
3 |
"Report-Msgid-Bugs-To: stephenh1988@gmail.com\n"
|
4 |
"POT-Creation-Date: 2008-09-01 09:37+0000\n"
|
5 |
-
"PO-Revision-Date: 2013-
|
6 |
-
"Last-Translator:
|
7 |
"Language-Team: \n"
|
8 |
"Language: Spanish; Castilian (Spain)\n"
|
9 |
"MIME-Version: 1.0\n"
|
@@ -20,7 +20,7 @@ msgstr "Project-Id-Version: Event Organiser\n"
|
|
20 |
#: ../templates/taxonomy-event-venue.php:49
|
21 |
#: ../templates/taxonomy-event-venue.php:106
|
22 |
msgid " <span class=\"meta-nav\">←</span> Newer events"
|
23 |
-
msgstr " <span class=\"meta-nav\">←</span> Eventos
|
24 |
|
25 |
#: ../includes/class-event-organiser-im-export.php:335
|
26 |
msgid "%d categories were created"
|
@@ -33,7 +33,7 @@ msgstr "%d eventos importados correctamente"
|
|
33 |
#: ../includes/class-event-organiser-im-export.php:329
|
34 |
#, fuzzy
|
35 |
msgid "%d venues were created"
|
36 |
-
msgstr "
|
37 |
|
38 |
#: ../event-organiser-debug.php:416
|
39 |
msgid "%s has only been tested up to %s %s"
|
@@ -98,11 +98,6 @@ msgstr "Una lista o desplegable de categorías de eventos"
|
|
98 |
msgid "A list or dropdown of event venues"
|
99 |
msgstr "Una lista desplegable de lugares de eventos"
|
100 |
|
101 |
-
#: ../event-organiser-go-pro.php:82
|
102 |
-
msgid "Add action information on your venue pages with venue custom fields, or give "
|
103 |
-
"your venues more attentioned with their own 'featured image'"
|
104 |
-
msgstr ""
|
105 |
-
|
106 |
#: ../event-organiser-settings.php:132
|
107 |
msgid "Add an 'events' link to the navigation menu:"
|
108 |
msgstr "Añadir un enlace 'eventos' al menú de navagación"
|
@@ -111,6 +106,13 @@ msgstr "Añadir un enlace 'eventos' al menú de navagación"
|
|
111 |
msgid "Add Event"
|
112 |
msgstr "Añadir evento"
|
113 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
114 |
#: ../event-organiser-venues.php:230
|
115 |
#: ../event-organiser-venues.php:268
|
116 |
msgid "Add New"
|
@@ -139,7 +141,7 @@ msgstr "Añadir o quitar etiquetas"
|
|
139 |
#: ../includes/event-organiser-cpt.php:38
|
140 |
#, fuzzy
|
141 |
msgid "Add or remove venues"
|
142 |
-
msgstr "Añadir o quitar
|
143 |
|
144 |
#: ../includes/event-organiser-ajax.php:545
|
145 |
msgid "Add To Google Calendar"
|
@@ -151,11 +153,11 @@ msgstr "Añadir lugar"
|
|
151 |
|
152 |
#: ../event-organiser-settings.php:57
|
153 |
msgid "Add-on Licence keys"
|
154 |
-
msgstr ""
|
155 |
|
156 |
#: ../event-organiser-go-pro.php:76
|
157 |
msgid "Additional shortcodes & improved UI"
|
158 |
-
msgstr ""
|
159 |
|
160 |
#: ../includes/event-organiser-venue-functions.php:882
|
161 |
msgid "Address"
|
@@ -171,15 +173,15 @@ msgid "All dates and times must be entered in the specified format. This format
|
|
171 |
msgstr "Todas las fechas y horas deben introducirse en el formato específico. Este "
|
172 |
"formato puede cambiarse en la página de ajustes."
|
173 |
|
174 |
-
#: ../event-organiser-edit.php:117
|
175 |
-
msgid "All day"
|
176 |
-
msgstr "Todo el día"
|
177 |
-
|
178 |
#: ../includes/event-organiser-ajax.php:540
|
179 |
#: ../includes/event-organiser-event-functions.php:1297
|
180 |
msgid "All Day"
|
181 |
msgstr "Todo el día"
|
182 |
|
|
|
|
|
|
|
|
|
183 |
#: ../includes/event-organiser-cpt.php:146
|
184 |
msgid "All events"
|
185 |
msgstr "Todos los eventos"
|
@@ -236,7 +238,7 @@ msgstr "Romper esta serie"
|
|
236 |
|
237 |
#: ../event-organiser-go-pro.php:56
|
238 |
msgid "But that's not all …"
|
239 |
-
msgstr ""
|
240 |
|
241 |
#: ../includes/event-organiser-cpt.php:479
|
242 |
msgid "By clicking the relevant tab, you can view events in Month, Week or Day "
|
@@ -269,7 +271,8 @@ msgstr "Categorías"
|
|
269 |
#: ../event-organiser-settings.php:235
|
270 |
msgid "Check this option to prevent any stylesheets from Event Organiser being "
|
271 |
"loaded on the front-end"
|
272 |
-
msgstr ""
|
|
|
273 |
|
274 |
#: ../event-organiser-edit.php:76
|
275 |
msgid "Check to edit this event and its reoccurrences"
|
@@ -344,7 +347,7 @@ msgstr "Campos personalizados"
|
|
344 |
#: ../includes/event-organiser-event-functions.php:706
|
345 |
#, fuzzy
|
346 |
msgid "custom reoccurrence"
|
347 |
-
msgstr "
|
348 |
|
349 |
#: ../event-organiser-edit.php:126
|
350 |
msgid "daily"
|
@@ -360,20 +363,20 @@ msgstr "Tablas de la base de datos"
|
|
360 |
|
361 |
#: ../event-organiser-debug.php:531
|
362 |
msgid "Databse Prefix"
|
363 |
-
msgstr ""
|
364 |
|
365 |
#: ../event-organiser-settings.php:137
|
366 |
msgid "Date Format:"
|
367 |
msgstr "Formato fecha:"
|
368 |
|
369 |
-
#: ../event-organiser-calendar.php:55
|
370 |
-
msgid "day"
|
371 |
-
msgstr "día"
|
372 |
-
|
373 |
#: ../event-organiser-calendar.php:229
|
374 |
msgid "Day"
|
375 |
msgstr "Día"
|
376 |
|
|
|
|
|
|
|
|
|
377 |
#: ../event-organiser-settings.php:271
|
378 |
msgid "Day archive"
|
379 |
msgstr "Archivo del día"
|
@@ -400,7 +403,7 @@ msgstr "Modo de depuración"
|
|
400 |
|
401 |
#: ../includes/event-organiser-cpt.php:492
|
402 |
msgid "Debugging Event Organiser"
|
403 |
-
msgstr ""
|
404 |
|
405 |
#: ../classes/class-eo-venue-list-table.php:70
|
406 |
#: ../classes/class-eo-venue-list-table.php:127
|
@@ -435,7 +438,7 @@ msgstr "DESC"
|
|
435 |
|
436 |
#: ../event-organiser-settings.php:229
|
437 |
msgid "Disable CSS:"
|
438 |
-
msgstr ""
|
439 |
|
440 |
#: ../includes/event-organiser-register.php:648
|
441 |
msgid "Dismiss"
|
@@ -479,7 +482,7 @@ msgstr "Descargar archivo de exportación"
|
|
479 |
|
480 |
#: ../event-organiser-debug.php:84
|
481 |
msgid "Download system information file"
|
482 |
-
msgstr ""
|
483 |
|
484 |
#: ../includes/event-organiser-ajax.php:255
|
485 |
msgid "Draft"
|
@@ -555,12 +558,12 @@ msgstr "Evento"
|
|
555 |
#: ../event-organiser-settings.php:263
|
556 |
#, fuzzy
|
557 |
msgid "Event (archive)"
|
558 |
-
msgstr "
|
559 |
|
560 |
#: ../event-organiser-settings.php:254
|
561 |
#, fuzzy
|
562 |
msgid "Event (single)"
|
563 |
-
msgstr "
|
564 |
|
565 |
#: ../event-organiser-settings.php:282
|
566 |
msgid "Event Categories"
|
@@ -583,7 +586,7 @@ msgstr "Fecha/hora actual"
|
|
583 |
#: ../event-organiser-edit.php:376
|
584 |
#, fuzzy
|
585 |
msgid "Event dates were not saved."
|
586 |
-
msgstr "
|
587 |
|
588 |
#: ../event-organiser-calendar.php:310
|
589 |
msgid "Event Detail"
|
@@ -606,7 +609,7 @@ msgstr "Marcadores de posición del widget de la lista de eventos"
|
|
606 |
#: ../event-organiser-settings.php:29
|
607 |
#, fuzzy
|
608 |
msgid "Event Organiser"
|
609 |
-
msgstr "
|
610 |
|
611 |
#: ../event-organiser-add-ons.php:19
|
612 |
#: ../event-organiser-add-ons.php:95
|
@@ -616,12 +619,14 @@ msgstr ""
|
|
616 |
#: ../event-organiser-add-ons.php:99
|
617 |
msgid "Event Organiser offers a range of extension which add additional features to "
|
618 |
"the plug-in."
|
619 |
-
msgstr ""
|
|
|
620 |
|
621 |
#: ../event-organiser-go-pro.php:55
|
622 |
msgid "Event Organiser Pro is a premium add-on bringing advanced booking management "
|
623 |
"to Event Organiser."
|
624 |
-
msgstr ""
|
|
|
625 |
|
626 |
#: ../event-organiser-settings.php:28
|
627 |
msgid "Event Organiser Settings"
|
@@ -681,7 +686,7 @@ msgstr "Lugar del evento"
|
|
681 |
#: ../includes/event-organiser-cpt.php:28
|
682 |
#, fuzzy
|
683 |
msgid "Event Venues"
|
684 |
-
msgstr "
|
685 |
|
686 |
#: ../event-organiser.php:127
|
687 |
#: ../event-organiser-venues.php:432
|
@@ -738,7 +743,7 @@ msgstr "Eventos del día"
|
|
738 |
#: ../templates/archive-event.php:40
|
739 |
#, fuzzy
|
740 |
msgid "Events: "
|
741 |
-
msgstr "Eventos"
|
742 |
|
743 |
#: ../includes/event-organiser-register.php:226
|
744 |
#: ../includes/event-organiser-event-functions.php:715
|
@@ -808,7 +813,7 @@ msgstr "Exportar eventos"
|
|
808 |
|
809 |
#: ../event-organiser-add-ons.php:20
|
810 |
msgid "Extensions"
|
811 |
-
msgstr ""
|
812 |
|
813 |
#: ../includes/class-event-organiser-im-export.php:68
|
814 |
msgid "File Error encountered: %d"
|
@@ -821,7 +826,7 @@ msgstr "Tamaño del archivo: %s. Tipo de archivo: %s"
|
|
821 |
#: ../event-organiser-go-pro.php:90
|
822 |
#: ../event-organiser-add-ons.php:130
|
823 |
msgid "Find out more …"
|
824 |
-
msgstr ""
|
825 |
|
826 |
#: ../includes/event-organiser-register.php:235
|
827 |
#: ../includes/event-organiser-event-functions.php:693
|
@@ -830,7 +835,7 @@ msgstr "primero"
|
|
830 |
|
831 |
#: ../event-organiser-go-pro.php:71
|
832 |
msgid "Flexible Booking Options"
|
833 |
-
msgstr ""
|
834 |
|
835 |
#: ../event-organiser-settings.php:212
|
836 |
msgid "For each of the pages, the corresponding template is used. To use your own "
|
@@ -852,7 +857,7 @@ msgstr "Para más información"
|
|
852 |
#: ../event-organiser-settings.php:224
|
853 |
msgid "For more information see documentation <a href='%s'>on editing the "
|
854 |
"templates</a>"
|
855 |
-
msgstr ""
|
856 |
|
857 |
#: ../includes/event-organiser-register.php:235
|
858 |
#: ../includes/event-organiser-event-functions.php:693
|
@@ -870,11 +875,11 @@ msgstr "General"
|
|
870 |
|
871 |
#: ../event-organiser-go-pro.php:52
|
872 |
msgid "Get Event Organiser Pro"
|
873 |
-
msgstr ""
|
874 |
|
875 |
#: ../event-organiser-go-pro.php:24
|
876 |
msgid "Get Event Organiser Pro Add-On"
|
877 |
-
msgstr ""
|
878 |
|
879 |
#: ../event-organiser-venues.php:412
|
880 |
msgid "Get Link"
|
@@ -884,15 +889,18 @@ msgstr "Obtener enlace"
|
|
884 |
msgid "Give your users the ability to search and filter through your events with "
|
885 |
"the event search shortcode. Event Organiser Pro also adds a text editor "
|
886 |
"button to make inserting and configuring your shortcodes that bit easier. "
|
887 |
-
msgstr ""
|
|
|
|
|
|
|
888 |
|
889 |
#: ../event-organiser-go-pro.php:25
|
890 |
msgid "Go Pro"
|
891 |
-
msgstr ""
|
892 |
|
893 |
#: ../includes/event-organiser-cpt.php:493
|
894 |
msgid "Go Pro!"
|
895 |
-
msgstr ""
|
896 |
|
897 |
#: ../event-organiser-calendar.php:58
|
898 |
msgid "go to date"
|
@@ -900,7 +908,7 @@ msgstr "ir a fecha"
|
|
900 |
|
901 |
#: ../event-organiser-go-pro.php:96
|
902 |
msgid "Go to Event Organiser settings"
|
903 |
-
msgstr ""
|
904 |
|
905 |
#: ../classes/class-eo-agenda-widget.php:31
|
906 |
msgid "Group by"
|
@@ -991,7 +999,7 @@ msgstr "Importar un fichero ICS"
|
|
991 |
#: ../includes/class-event-organiser-im-export.php:112
|
992 |
#, fuzzy
|
993 |
msgid "Import categories"
|
994 |
-
msgstr "Categorías
|
995 |
|
996 |
#: ../includes/class-event-organiser-im-export.php:107
|
997 |
msgid "Import Events"
|
@@ -1000,7 +1008,7 @@ msgstr "Importar eventos"
|
|
1000 |
#: ../includes/class-event-organiser-im-export.php:111
|
1001 |
#, fuzzy
|
1002 |
msgid "Import venues"
|
1003 |
-
msgstr "Importar
|
1004 |
|
1005 |
#: ../classes/class-eo-agenda-widget.php:47
|
1006 |
msgid "Include 'Add To Google' link"
|
@@ -1030,8 +1038,8 @@ msgstr "Formato de la fecha no válido"
|
|
1030 |
#, fuzzy
|
1031 |
msgid "Invalid file uploaded. The file must be a ics calendar file of type "
|
1032 |
"'text/calendar', no larger than 2MB."
|
1033 |
-
msgstr "Fichero subido inválido. El fichero
|
1034 |
-
"mayor de
|
1035 |
|
1036 |
#: ../includes/event.php:548
|
1037 |
msgid "Invalid monthly schedule (invalid ordinal)"
|
@@ -1067,7 +1075,7 @@ msgstr "Línea: %1$d"
|
|
1067 |
|
1068 |
#: ../classes/class-eo-calendar-widget.php:66
|
1069 |
msgid "Link directly to event for days with only one event"
|
1070 |
-
msgstr ""
|
1071 |
|
1072 |
#: ../classes/class-eo-event-list-widget.php:41
|
1073 |
#: ../classes/class-eo-calendar-widget.php:80
|
@@ -1101,18 +1109,18 @@ msgstr "Minuto"
|
|
1101 |
msgid "mm-dd-yyyy"
|
1102 |
msgstr "mm-dd-yyyy"
|
1103 |
|
1104 |
-
#: ../event-organiser-calendar.php:57
|
1105 |
-
msgid "month"
|
1106 |
-
msgstr "mes"
|
1107 |
-
|
1108 |
#: ../event-organiser-calendar.php:229
|
1109 |
msgid "Month"
|
1110 |
msgstr "Mes"
|
1111 |
|
|
|
|
|
|
|
|
|
1112 |
#: ../event-organiser-settings.php:270
|
1113 |
#, fuzzy
|
1114 |
msgid "Month archive"
|
1115 |
-
msgstr "Archivo
|
1116 |
|
1117 |
#: ../event-organiser-edit.php:127
|
1118 |
msgid "monthly"
|
@@ -1144,7 +1152,7 @@ msgstr "Nuevo nombre de etiqueta"
|
|
1144 |
#: ../includes/event-organiser-cpt.php:36
|
1145 |
#, fuzzy
|
1146 |
msgid "New Venue Name"
|
1147 |
-
msgstr "
|
1148 |
|
1149 |
#: ../classes/class-eo-calendar-widget.php:260
|
1150 |
msgid "Next month"
|
@@ -1188,7 +1196,8 @@ msgstr "Sin lugar"
|
|
1188 |
#: ../includes/event-organiser-cpt.php:37
|
1189 |
#, fuzzy
|
1190 |
msgid "No venues found"
|
1191 |
-
msgstr "No se encontraron
|
|
|
1192 |
|
1193 |
#: ../event-organiser-settings.php:571
|
1194 |
msgid "None"
|
@@ -1352,7 +1361,7 @@ msgstr "Horario no reconocido."
|
|
1352 |
|
1353 |
#: ../event-organiser-debug.php:556
|
1354 |
msgid "Script mode"
|
1355 |
-
msgstr ""
|
1356 |
|
1357 |
#: ../includes/event-organiser-cpt.php:62
|
1358 |
msgid "Search Categories"
|
@@ -1390,7 +1399,7 @@ msgstr "Selecciona un lugar"
|
|
1390 |
#: ../classes/class-eo-widget-categories.php:45
|
1391 |
#, fuzzy
|
1392 |
msgid "Select Category"
|
1393 |
-
msgstr "
|
1394 |
|
1395 |
#: ../event-organiser-settings.php:107
|
1396 |
msgid "Select which features events should support"
|
@@ -1405,7 +1414,10 @@ msgstr "Seleccionando un lugar"
|
|
1405 |
msgid "Sell tickets for specific dates or sell tickets for all dates of an event - "
|
1406 |
"such as booking places on a course. You can offer multiple tickets, and "
|
1407 |
"customise the booking form to suit your needs."
|
1408 |
-
msgstr ""
|
|
|
|
|
|
|
1409 |
|
1410 |
#: ../includes/event-organiser-cpt.php:107
|
1411 |
msgid "Separate tags with commas"
|
@@ -1414,7 +1426,7 @@ msgstr "Separar etiquetas con comas"
|
|
1414 |
#: ../includes/event-organiser-cpt.php:39
|
1415 |
#, fuzzy
|
1416 |
msgid "Separate venues with commas"
|
1417 |
-
msgstr "Separar
|
1418 |
|
1419 |
#: ../event-organiser-settings.php:555
|
1420 |
msgid "Set permissions for events and venue management"
|
@@ -1423,12 +1435,13 @@ msgstr "Dar privilegios para administrar eventos y lugares"
|
|
1423 |
#: ../includes/event-organiser-register.php:335
|
1424 |
#, fuzzy
|
1425 |
msgid "Settings"
|
1426 |
-
msgstr "Ajustes
|
|
|
1427 |
|
1428 |
#: ../event-organiser-edit.php:183
|
1429 |
#, fuzzy
|
1430 |
msgid "Show dates"
|
1431 |
-
msgstr "Mostrar
|
1432 |
|
1433 |
#: ../classes/class-eo-widget-categories.php:99
|
1434 |
msgid "Show hierarchy"
|
@@ -1440,7 +1453,7 @@ msgstr "Mostrar menos"
|
|
1440 |
|
1441 |
#: ../classes/class-eo-calendar-widget.php:56
|
1442 |
msgid "Show long events"
|
1443 |
-
msgstr ""
|
1444 |
|
1445 |
#: ../includes/event-organiser-register.php:51
|
1446 |
msgid "Show More"
|
@@ -1508,12 +1521,14 @@ msgstr "Plantilla (deja en blanco por defecto)"
|
|
1508 |
#: ../event-organiser-settings.php:59
|
1509 |
#, fuzzy
|
1510 |
msgid "Templates"
|
1511 |
-
msgstr "
|
1512 |
|
1513 |
#: ../event-organiser-debug.php:67
|
1514 |
msgid "The 'system info' link in under the Events admin tab is only visible to "
|
1515 |
"admins and only when <code>WP_DEBUG</code> is set to <code>true</code>."
|
1516 |
-
msgstr ""
|
|
|
|
|
1517 |
|
1518 |
#: ../includes/event-organiser-cpt.php:427
|
1519 |
msgid "The end date is the date the event finishes. If the event is a reoccuring "
|
@@ -1540,15 +1555,15 @@ msgstr "No hay resumen porque esta es una entrada protegida."
|
|
1540 |
|
1541 |
#: ../includes/class-eo-ical-parser.php:90
|
1542 |
msgid "There was an error detecting ICAL source."
|
1543 |
-
msgstr ""
|
1544 |
|
1545 |
#: ../includes/class-eo-ical-parser.php:136
|
1546 |
msgid "There was an error fetching the feed. Response code: %s."
|
1547 |
-
msgstr ""
|
1548 |
|
1549 |
#: ../includes/class-eo-ical-parser.php:156
|
1550 |
msgid "There was an error opening the ICAL file."
|
1551 |
-
msgstr ""
|
1552 |
|
1553 |
#: ../includes/class-event-organiser-im-export.php:318
|
1554 |
msgid "There was an error with %1$d of %2$d events in the ical file"
|
@@ -1569,7 +1584,7 @@ msgstr "Este eventa acababa %s"
|
|
1569 |
|
1570 |
#: ../includes/event-organiser-cpt.php:230
|
1571 |
msgid "This event has been broken from a recurring event."
|
1572 |
-
msgstr ""
|
1573 |
|
1574 |
#: ../templates/event-meta-event-single.php:46
|
1575 |
#, fuzzy
|
@@ -1710,7 +1725,8 @@ msgstr "Lugar <strong>actualizado</strong>"
|
|
1710 |
#: ../event-organiser-venues.php:86
|
1711 |
#, fuzzy
|
1712 |
msgid "Venue <strong>was not</strong> created"
|
1713 |
-
msgstr "Lugar <strong>no </strong> creado"
|
|
|
1714 |
|
1715 |
#: ../event-organiser-venues.php:49
|
1716 |
#, fuzzy
|
@@ -1719,21 +1735,21 @@ msgstr "Lugar <strong>no</strong> actualizado"
|
|
1719 |
|
1720 |
#: ../event-organiser-go-pro.php:81
|
1721 |
msgid "Venue custom fields & thumbnails"
|
1722 |
-
msgstr ""
|
1723 |
|
1724 |
#: ../event-organiser-venues.php:300
|
1725 |
msgid "Venue Location"
|
1726 |
msgstr "Ubicación del lugar"
|
1727 |
|
|
|
|
|
|
|
|
|
1728 |
#: ../event-organiser-edit.php:221
|
1729 |
#, fuzzy
|
1730 |
msgid "Venue Name"
|
1731 |
msgstr "Nombre de lugar"
|
1732 |
|
1733 |
-
#: ../event-organiser-venues.php:399
|
1734 |
-
msgid "Venue name"
|
1735 |
-
msgstr "Nombre del lugar"
|
1736 |
-
|
1737 |
#: ../event-organiser-settings.php:220
|
1738 |
msgid "Venue page:"
|
1739 |
msgstr "Página de lugar:"
|
@@ -1784,14 +1800,14 @@ msgstr "Ver lugar"
|
|
1784 |
msgid "View will take you to the venue's page"
|
1785 |
msgstr "Ver te llevara a la pagina del lugar"
|
1786 |
|
1787 |
-
#: ../event-organiser-calendar.php:56
|
1788 |
-
msgid "week"
|
1789 |
-
msgstr "semana"
|
1790 |
-
|
1791 |
#: ../event-organiser-calendar.php:229
|
1792 |
msgid "Week"
|
1793 |
msgstr "Semana"
|
1794 |
|
|
|
|
|
|
|
|
|
1795 |
#: ../event-organiser-edit.php:126
|
1796 |
msgid "weekly"
|
1797 |
msgstr "semanal"
|
@@ -1815,7 +1831,7 @@ msgstr "año"
|
|
1815 |
#: ../event-organiser-settings.php:269
|
1816 |
#, fuzzy
|
1817 |
msgid "Year archive"
|
1818 |
-
msgstr "Archivo
|
1819 |
|
1820 |
#: ../event-organiser-edit.php:127
|
1821 |
msgid "yearly"
|
@@ -1856,7 +1872,7 @@ msgstr "Puedes especificar etiquetas especificadas como marcadores de posición
|
|
1856 |
#: ../event-organiser-venues.php:115
|
1857 |
#, fuzzy
|
1858 |
msgid "You do not have permission to delete this venue"
|
1859 |
-
msgstr "No tienes privilegios para
|
1860 |
|
1861 |
#: ../event-organiser-venues.php:42
|
1862 |
#: ../event-organiser-venues.php:71
|
@@ -1878,7 +1894,7 @@ msgstr "No tienes suficientes privilegios para borrar este evento."
|
|
1878 |
#: ../event-organiser-calendar.php:163
|
1879 |
#, fuzzy
|
1880 |
msgid "You do not have sufficient permissions to edit this event. "
|
1881 |
-
msgstr "No tienes suficientes privilegios para
|
1882 |
|
1883 |
#: ../includes/class-event-organiser-im-export.php:171
|
1884 |
msgid "You do not have sufficient permissions to import events."
|
2 |
msgstr "Project-Id-Version: Event Organiser\n"
|
3 |
"Report-Msgid-Bugs-To: stephenh1988@gmail.com\n"
|
4 |
"POT-Creation-Date: 2008-09-01 09:37+0000\n"
|
5 |
+
"PO-Revision-Date: 2013-11-05 07:35:56+0000\n"
|
6 |
+
"Last-Translator: jagarre <jagarre@ymail.com>\n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: Spanish; Castilian (Spain)\n"
|
9 |
"MIME-Version: 1.0\n"
|
20 |
#: ../templates/taxonomy-event-venue.php:49
|
21 |
#: ../templates/taxonomy-event-venue.php:106
|
22 |
msgid " <span class=\"meta-nav\">←</span> Newer events"
|
23 |
+
msgstr " <span class=\"meta-nav\">←</span> Últimos Eventos"
|
24 |
|
25 |
#: ../includes/class-event-organiser-im-export.php:335
|
26 |
msgid "%d categories were created"
|
33 |
#: ../includes/class-event-organiser-im-export.php:329
|
34 |
#, fuzzy
|
35 |
msgid "%d venues were created"
|
36 |
+
msgstr "%d lugar fue creado"
|
37 |
|
38 |
#: ../event-organiser-debug.php:416
|
39 |
msgid "%s has only been tested up to %s %s"
|
98 |
msgid "A list or dropdown of event venues"
|
99 |
msgstr "Una lista desplegable de lugares de eventos"
|
100 |
|
|
|
|
|
|
|
|
|
|
|
101 |
#: ../event-organiser-settings.php:132
|
102 |
msgid "Add an 'events' link to the navigation menu:"
|
103 |
msgstr "Añadir un enlace 'eventos' al menú de navagación"
|
106 |
msgid "Add Event"
|
107 |
msgstr "Añadir evento"
|
108 |
|
109 |
+
#: ../event-organiser-go-pro.php:82
|
110 |
+
msgid "Add information on your venue pages with venue custom fields, or give your "
|
111 |
+
"venues more attentioned with their own 'featured image'"
|
112 |
+
msgstr "Añadir información en sus páginas de lugar de celebración con campos de "
|
113 |
+
"Lugar de celebración personalizados, o dar a sus lugares de celebración más "
|
114 |
+
"atención con su propia \"imagen destacada'"
|
115 |
+
|
116 |
#: ../event-organiser-venues.php:230
|
117 |
#: ../event-organiser-venues.php:268
|
118 |
msgid "Add New"
|
141 |
#: ../includes/event-organiser-cpt.php:38
|
142 |
#, fuzzy
|
143 |
msgid "Add or remove venues"
|
144 |
+
msgstr "Añadir o quitar lugares"
|
145 |
|
146 |
#: ../includes/event-organiser-ajax.php:545
|
147 |
msgid "Add To Google Calendar"
|
153 |
|
154 |
#: ../event-organiser-settings.php:57
|
155 |
msgid "Add-on Licence keys"
|
156 |
+
msgstr "Add-on claves de licencia"
|
157 |
|
158 |
#: ../event-organiser-go-pro.php:76
|
159 |
msgid "Additional shortcodes & improved UI"
|
160 |
+
msgstr "Códigos cortos adicionales y una mejor interfaz de usuario"
|
161 |
|
162 |
#: ../includes/event-organiser-venue-functions.php:882
|
163 |
msgid "Address"
|
173 |
msgstr "Todas las fechas y horas deben introducirse en el formato específico. Este "
|
174 |
"formato puede cambiarse en la página de ajustes."
|
175 |
|
|
|
|
|
|
|
|
|
176 |
#: ../includes/event-organiser-ajax.php:540
|
177 |
#: ../includes/event-organiser-event-functions.php:1297
|
178 |
msgid "All Day"
|
179 |
msgstr "Todo el día"
|
180 |
|
181 |
+
#: ../event-organiser-edit.php:117
|
182 |
+
msgid "All day"
|
183 |
+
msgstr "Todo el día"
|
184 |
+
|
185 |
#: ../includes/event-organiser-cpt.php:146
|
186 |
msgid "All events"
|
187 |
msgstr "Todos los eventos"
|
238 |
|
239 |
#: ../event-organiser-go-pro.php:56
|
240 |
msgid "But that's not all …"
|
241 |
+
msgstr "Pero esto no es todo ..."
|
242 |
|
243 |
#: ../includes/event-organiser-cpt.php:479
|
244 |
msgid "By clicking the relevant tab, you can view events in Month, Week or Day "
|
271 |
#: ../event-organiser-settings.php:235
|
272 |
msgid "Check this option to prevent any stylesheets from Event Organiser being "
|
273 |
"loaded on the front-end"
|
274 |
+
msgstr "Marque esta opción para evitar que cualquier hoja de estilo del Organizador "
|
275 |
+
"de eventos se cargue en el front-end"
|
276 |
|
277 |
#: ../event-organiser-edit.php:76
|
278 |
msgid "Check to edit this event and its reoccurrences"
|
347 |
#: ../includes/event-organiser-event-functions.php:706
|
348 |
#, fuzzy
|
349 |
msgid "custom reoccurrence"
|
350 |
+
msgstr "Recurrencia personalizada"
|
351 |
|
352 |
#: ../event-organiser-edit.php:126
|
353 |
msgid "daily"
|
363 |
|
364 |
#: ../event-organiser-debug.php:531
|
365 |
msgid "Databse Prefix"
|
366 |
+
msgstr "Prefijo de la Base de datos"
|
367 |
|
368 |
#: ../event-organiser-settings.php:137
|
369 |
msgid "Date Format:"
|
370 |
msgstr "Formato fecha:"
|
371 |
|
|
|
|
|
|
|
|
|
372 |
#: ../event-organiser-calendar.php:229
|
373 |
msgid "Day"
|
374 |
msgstr "Día"
|
375 |
|
376 |
+
#: ../event-organiser-calendar.php:55
|
377 |
+
msgid "day"
|
378 |
+
msgstr "día"
|
379 |
+
|
380 |
#: ../event-organiser-settings.php:271
|
381 |
msgid "Day archive"
|
382 |
msgstr "Archivo del día"
|
403 |
|
404 |
#: ../includes/event-organiser-cpt.php:492
|
405 |
msgid "Debugging Event Organiser"
|
406 |
+
msgstr "Depuración Organizador de eventos"
|
407 |
|
408 |
#: ../classes/class-eo-venue-list-table.php:70
|
409 |
#: ../classes/class-eo-venue-list-table.php:127
|
438 |
|
439 |
#: ../event-organiser-settings.php:229
|
440 |
msgid "Disable CSS:"
|
441 |
+
msgstr "Desabilita CSS"
|
442 |
|
443 |
#: ../includes/event-organiser-register.php:648
|
444 |
msgid "Dismiss"
|
482 |
|
483 |
#: ../event-organiser-debug.php:84
|
484 |
msgid "Download system information file"
|
485 |
+
msgstr "Descargue el archivo de información del sistema"
|
486 |
|
487 |
#: ../includes/event-organiser-ajax.php:255
|
488 |
msgid "Draft"
|
558 |
#: ../event-organiser-settings.php:263
|
559 |
#, fuzzy
|
560 |
msgid "Event (archive)"
|
561 |
+
msgstr "Evento (archivo)"
|
562 |
|
563 |
#: ../event-organiser-settings.php:254
|
564 |
#, fuzzy
|
565 |
msgid "Event (single)"
|
566 |
+
msgstr "Evento (singular)"
|
567 |
|
568 |
#: ../event-organiser-settings.php:282
|
569 |
msgid "Event Categories"
|
586 |
#: ../event-organiser-edit.php:376
|
587 |
#, fuzzy
|
588 |
msgid "Event dates were not saved."
|
589 |
+
msgstr "Las fechas del evento no se han guardado"
|
590 |
|
591 |
#: ../event-organiser-calendar.php:310
|
592 |
msgid "Event Detail"
|
609 |
#: ../event-organiser-settings.php:29
|
610 |
#, fuzzy
|
611 |
msgid "Event Organiser"
|
612 |
+
msgstr "Organizador de Eventos"
|
613 |
|
614 |
#: ../event-organiser-add-ons.php:19
|
615 |
#: ../event-organiser-add-ons.php:95
|
619 |
#: ../event-organiser-add-ons.php:99
|
620 |
msgid "Event Organiser offers a range of extension which add additional features to "
|
621 |
"the plug-in."
|
622 |
+
msgstr "El Organizador de Eventos ofrece una gama de extensiones que añaden "
|
623 |
+
"funciones adicionales para el plug-in."
|
624 |
|
625 |
#: ../event-organiser-go-pro.php:55
|
626 |
msgid "Event Organiser Pro is a premium add-on bringing advanced booking management "
|
627 |
"to Event Organiser."
|
628 |
+
msgstr "El Organizador de Eventos Pro es un add-on de pago para llevar la gestión "
|
629 |
+
"avanzada de reserva del Organizador de Eventos."
|
630 |
|
631 |
#: ../event-organiser-settings.php:28
|
632 |
msgid "Event Organiser Settings"
|
686 |
#: ../includes/event-organiser-cpt.php:28
|
687 |
#, fuzzy
|
688 |
msgid "Event Venues"
|
689 |
+
msgstr "Lugar del Evento"
|
690 |
|
691 |
#: ../event-organiser.php:127
|
692 |
#: ../event-organiser-venues.php:432
|
743 |
#: ../templates/archive-event.php:40
|
744 |
#, fuzzy
|
745 |
msgid "Events: "
|
746 |
+
msgstr "Eventos:"
|
747 |
|
748 |
#: ../includes/event-organiser-register.php:226
|
749 |
#: ../includes/event-organiser-event-functions.php:715
|
813 |
|
814 |
#: ../event-organiser-add-ons.php:20
|
815 |
msgid "Extensions"
|
816 |
+
msgstr "Extensiones"
|
817 |
|
818 |
#: ../includes/class-event-organiser-im-export.php:68
|
819 |
msgid "File Error encountered: %d"
|
826 |
#: ../event-organiser-go-pro.php:90
|
827 |
#: ../event-organiser-add-ons.php:130
|
828 |
msgid "Find out more …"
|
829 |
+
msgstr "Encontrar más ..."
|
830 |
|
831 |
#: ../includes/event-organiser-register.php:235
|
832 |
#: ../includes/event-organiser-event-functions.php:693
|
835 |
|
836 |
#: ../event-organiser-go-pro.php:71
|
837 |
msgid "Flexible Booking Options"
|
838 |
+
msgstr "Opciones de reserva flexibles"
|
839 |
|
840 |
#: ../event-organiser-settings.php:212
|
841 |
msgid "For each of the pages, the corresponding template is used. To use your own "
|
857 |
#: ../event-organiser-settings.php:224
|
858 |
msgid "For more information see documentation <a href='%s'>on editing the "
|
859 |
"templates</a>"
|
860 |
+
msgstr "Para más información ver documentación "
|
861 |
|
862 |
#: ../includes/event-organiser-register.php:235
|
863 |
#: ../includes/event-organiser-event-functions.php:693
|
875 |
|
876 |
#: ../event-organiser-go-pro.php:52
|
877 |
msgid "Get Event Organiser Pro"
|
878 |
+
msgstr "Consiga el Organizador de Eventos Pro"
|
879 |
|
880 |
#: ../event-organiser-go-pro.php:24
|
881 |
msgid "Get Event Organiser Pro Add-On"
|
882 |
+
msgstr "Consiga el add-on Organizador de Eventos Pro"
|
883 |
|
884 |
#: ../event-organiser-venues.php:412
|
885 |
msgid "Get Link"
|
889 |
msgid "Give your users the ability to search and filter through your events with "
|
890 |
"the event search shortcode. Event Organiser Pro also adds a text editor "
|
891 |
"button to make inserting and configuring your shortcodes that bit easier. "
|
892 |
+
msgstr "Dé a sus usuarios la capacidad de buscar y filtrar a través de sus eventos "
|
893 |
+
"con la búsqueda de eventos por código-corto. El Organizador de Eventos Pro "
|
894 |
+
"también añade un botón de editor de texto para realizar la inserción y la "
|
895 |
+
"configuración de los códigos cortos un poco más fácil."
|
896 |
|
897 |
#: ../event-organiser-go-pro.php:25
|
898 |
msgid "Go Pro"
|
899 |
+
msgstr "ir a Pro"
|
900 |
|
901 |
#: ../includes/event-organiser-cpt.php:493
|
902 |
msgid "Go Pro!"
|
903 |
+
msgstr "ir a version Pro!"
|
904 |
|
905 |
#: ../event-organiser-calendar.php:58
|
906 |
msgid "go to date"
|
908 |
|
909 |
#: ../event-organiser-go-pro.php:96
|
910 |
msgid "Go to Event Organiser settings"
|
911 |
+
msgstr "Ir a la configuración del Organizador de eventos"
|
912 |
|
913 |
#: ../classes/class-eo-agenda-widget.php:31
|
914 |
msgid "Group by"
|
999 |
#: ../includes/class-event-organiser-im-export.php:112
|
1000 |
#, fuzzy
|
1001 |
msgid "Import categories"
|
1002 |
+
msgstr "Importar Categorías"
|
1003 |
|
1004 |
#: ../includes/class-event-organiser-im-export.php:107
|
1005 |
msgid "Import Events"
|
1008 |
#: ../includes/class-event-organiser-im-export.php:111
|
1009 |
#, fuzzy
|
1010 |
msgid "Import venues"
|
1011 |
+
msgstr "Importar lugares"
|
1012 |
|
1013 |
#: ../classes/class-eo-agenda-widget.php:47
|
1014 |
msgid "Include 'Add To Google' link"
|
1038 |
#, fuzzy
|
1039 |
msgid "Invalid file uploaded. The file must be a ics calendar file of type "
|
1040 |
"'text/calendar', no larger than 2MB."
|
1041 |
+
msgstr "Fichero subido inválido. El fichero debe ser un fichero de calendario ics "
|
1042 |
+
"del tipo'text/calendar', no mayor de 2MB."
|
1043 |
|
1044 |
#: ../includes/event.php:548
|
1045 |
msgid "Invalid monthly schedule (invalid ordinal)"
|
1075 |
|
1076 |
#: ../classes/class-eo-calendar-widget.php:66
|
1077 |
msgid "Link directly to event for days with only one event"
|
1078 |
+
msgstr "Enlace directo al evento para los días con un solo evento"
|
1079 |
|
1080 |
#: ../classes/class-eo-event-list-widget.php:41
|
1081 |
#: ../classes/class-eo-calendar-widget.php:80
|
1109 |
msgid "mm-dd-yyyy"
|
1110 |
msgstr "mm-dd-yyyy"
|
1111 |
|
|
|
|
|
|
|
|
|
1112 |
#: ../event-organiser-calendar.php:229
|
1113 |
msgid "Month"
|
1114 |
msgstr "Mes"
|
1115 |
|
1116 |
+
#: ../event-organiser-calendar.php:57
|
1117 |
+
msgid "month"
|
1118 |
+
msgstr "mes"
|
1119 |
+
|
1120 |
#: ../event-organiser-settings.php:270
|
1121 |
#, fuzzy
|
1122 |
msgid "Month archive"
|
1123 |
+
msgstr "Archivo mensual:"
|
1124 |
|
1125 |
#: ../event-organiser-edit.php:127
|
1126 |
msgid "monthly"
|
1152 |
#: ../includes/event-organiser-cpt.php:36
|
1153 |
#, fuzzy
|
1154 |
msgid "New Venue Name"
|
1155 |
+
msgstr "Nuevo nombre de lugar"
|
1156 |
|
1157 |
#: ../classes/class-eo-calendar-widget.php:260
|
1158 |
msgid "Next month"
|
1196 |
#: ../includes/event-organiser-cpt.php:37
|
1197 |
#, fuzzy
|
1198 |
msgid "No venues found"
|
1199 |
+
msgstr "No se encontraron lugares\n"
|
1200 |
+
""
|
1201 |
|
1202 |
#: ../event-organiser-settings.php:571
|
1203 |
msgid "None"
|
1361 |
|
1362 |
#: ../event-organiser-debug.php:556
|
1363 |
msgid "Script mode"
|
1364 |
+
msgstr "modo de secuencia de comandos"
|
1365 |
|
1366 |
#: ../includes/event-organiser-cpt.php:62
|
1367 |
msgid "Search Categories"
|
1399 |
#: ../classes/class-eo-widget-categories.php:45
|
1400 |
#, fuzzy
|
1401 |
msgid "Select Category"
|
1402 |
+
msgstr "Seleccionar categoría"
|
1403 |
|
1404 |
#: ../event-organiser-settings.php:107
|
1405 |
msgid "Select which features events should support"
|
1414 |
msgid "Sell tickets for specific dates or sell tickets for all dates of an event - "
|
1415 |
"such as booking places on a course. You can offer multiple tickets, and "
|
1416 |
"customise the booking form to suit your needs."
|
1417 |
+
msgstr "Venda entradas para fechas específicas o venda entradas para todas las "
|
1418 |
+
"fechas de un evento - como reserva de plazas en un curso. Usted puede "
|
1419 |
+
"ofrecer múltiples entradas, y personalizar el formulario de reserva para "
|
1420 |
+
"satisfacer sus necesidades."
|
1421 |
|
1422 |
#: ../includes/event-organiser-cpt.php:107
|
1423 |
msgid "Separate tags with commas"
|
1426 |
#: ../includes/event-organiser-cpt.php:39
|
1427 |
#, fuzzy
|
1428 |
msgid "Separate venues with commas"
|
1429 |
+
msgstr "Separar lugares con comas"
|
1430 |
|
1431 |
#: ../event-organiser-settings.php:555
|
1432 |
msgid "Set permissions for events and venue management"
|
1435 |
#: ../includes/event-organiser-register.php:335
|
1436 |
#, fuzzy
|
1437 |
msgid "Settings"
|
1438 |
+
msgstr "Ajustes\n"
|
1439 |
+
""
|
1440 |
|
1441 |
#: ../event-organiser-edit.php:183
|
1442 |
#, fuzzy
|
1443 |
msgid "Show dates"
|
1444 |
+
msgstr "Mostrar fechas"
|
1445 |
|
1446 |
#: ../classes/class-eo-widget-categories.php:99
|
1447 |
msgid "Show hierarchy"
|
1453 |
|
1454 |
#: ../classes/class-eo-calendar-widget.php:56
|
1455 |
msgid "Show long events"
|
1456 |
+
msgstr "Mostrar eventos de larga duración"
|
1457 |
|
1458 |
#: ../includes/event-organiser-register.php:51
|
1459 |
msgid "Show More"
|
1521 |
#: ../event-organiser-settings.php:59
|
1522 |
#, fuzzy
|
1523 |
msgid "Templates"
|
1524 |
+
msgstr "Plantillas"
|
1525 |
|
1526 |
#: ../event-organiser-debug.php:67
|
1527 |
msgid "The 'system info' link in under the Events admin tab is only visible to "
|
1528 |
"admins and only when <code>WP_DEBUG</code> is set to <code>true</code>."
|
1529 |
+
msgstr "El enlace \"Información del sistema\" debajo de la pestaña Admin Eventos "
|
1530 |
+
"sólo es visible para los administradores y sólo cuando <code>WP_DEBUG</code> "
|
1531 |
+
"está en la posición <code>true</code>."
|
1532 |
|
1533 |
#: ../includes/event-organiser-cpt.php:427
|
1534 |
msgid "The end date is the date the event finishes. If the event is a reoccuring "
|
1555 |
|
1556 |
#: ../includes/class-eo-ical-parser.php:90
|
1557 |
msgid "There was an error detecting ICAL source."
|
1558 |
+
msgstr "Hubo un error al detectar fuente ICAL."
|
1559 |
|
1560 |
#: ../includes/class-eo-ical-parser.php:136
|
1561 |
msgid "There was an error fetching the feed. Response code: %s."
|
1562 |
+
msgstr "Hubo un error al ir a buscar la fuente. Código de respuesta: %s."
|
1563 |
|
1564 |
#: ../includes/class-eo-ical-parser.php:156
|
1565 |
msgid "There was an error opening the ICAL file."
|
1566 |
+
msgstr "Hubo un error al abrir el archivo ICAl."
|
1567 |
|
1568 |
#: ../includes/class-event-organiser-im-export.php:318
|
1569 |
msgid "There was an error with %1$d of %2$d events in the ical file"
|
1584 |
|
1585 |
#: ../includes/event-organiser-cpt.php:230
|
1586 |
msgid "This event has been broken from a recurring event."
|
1587 |
+
msgstr "Este evento ha sido roto por un evento recurrente"
|
1588 |
|
1589 |
#: ../templates/event-meta-event-single.php:46
|
1590 |
#, fuzzy
|
1725 |
#: ../event-organiser-venues.php:86
|
1726 |
#, fuzzy
|
1727 |
msgid "Venue <strong>was not</strong> created"
|
1728 |
+
msgstr "Lugar <strong>no </strong> creado\n"
|
1729 |
+
""
|
1730 |
|
1731 |
#: ../event-organiser-venues.php:49
|
1732 |
#, fuzzy
|
1735 |
|
1736 |
#: ../event-organiser-go-pro.php:81
|
1737 |
msgid "Venue custom fields & thumbnails"
|
1738 |
+
msgstr "Campos y miniaturas personalizadas del Lugar de celebración"
|
1739 |
|
1740 |
#: ../event-organiser-venues.php:300
|
1741 |
msgid "Venue Location"
|
1742 |
msgstr "Ubicación del lugar"
|
1743 |
|
1744 |
+
#: ../event-organiser-venues.php:399
|
1745 |
+
msgid "Venue name"
|
1746 |
+
msgstr "Nombre del lugar"
|
1747 |
+
|
1748 |
#: ../event-organiser-edit.php:221
|
1749 |
#, fuzzy
|
1750 |
msgid "Venue Name"
|
1751 |
msgstr "Nombre de lugar"
|
1752 |
|
|
|
|
|
|
|
|
|
1753 |
#: ../event-organiser-settings.php:220
|
1754 |
msgid "Venue page:"
|
1755 |
msgstr "Página de lugar:"
|
1800 |
msgid "View will take you to the venue's page"
|
1801 |
msgstr "Ver te llevara a la pagina del lugar"
|
1802 |
|
|
|
|
|
|
|
|
|
1803 |
#: ../event-organiser-calendar.php:229
|
1804 |
msgid "Week"
|
1805 |
msgstr "Semana"
|
1806 |
|
1807 |
+
#: ../event-organiser-calendar.php:56
|
1808 |
+
msgid "week"
|
1809 |
+
msgstr "semana"
|
1810 |
+
|
1811 |
#: ../event-organiser-edit.php:126
|
1812 |
msgid "weekly"
|
1813 |
msgstr "semanal"
|
1831 |
#: ../event-organiser-settings.php:269
|
1832 |
#, fuzzy
|
1833 |
msgid "Year archive"
|
1834 |
+
msgstr "Archivo anual:"
|
1835 |
|
1836 |
#: ../event-organiser-edit.php:127
|
1837 |
msgid "yearly"
|
1872 |
#: ../event-organiser-venues.php:115
|
1873 |
#, fuzzy
|
1874 |
msgid "You do not have permission to delete this venue"
|
1875 |
+
msgstr "No tienes privilegios para borrar este lugar"
|
1876 |
|
1877 |
#: ../event-organiser-venues.php:42
|
1878 |
#: ../event-organiser-venues.php:71
|
1894 |
#: ../event-organiser-calendar.php:163
|
1895 |
#, fuzzy
|
1896 |
msgid "You do not have sufficient permissions to edit this event. "
|
1897 |
+
msgstr "No tienes suficientes privilegios para editar este evento."
|
1898 |
|
1899 |
#: ../includes/class-event-organiser-im-export.php:171
|
1900 |
msgid "You do not have sufficient permissions to import events."
|
languages/eventorganiser-es_PE.mo
CHANGED
Binary file
|
languages/eventorganiser-et.mo
CHANGED
Binary file
|
languages/eventorganiser-fa_IR.mo
CHANGED
Binary file
|
languages/eventorganiser-fi.mo
CHANGED
Binary file
|
languages/eventorganiser-fr_FR.mo
CHANGED
Binary file
|
languages/eventorganiser-he_IL.mo
CHANGED
Binary file
|
languages/eventorganiser-hr.mo
CHANGED
Binary file
|
languages/eventorganiser-hu_HU.mo
CHANGED
Binary file
|
languages/eventorganiser-id_ID.mo
CHANGED
Binary file
|
languages/eventorganiser-it_IT.mo
CHANGED
Binary file
|
languages/eventorganiser-nb_NO.mo
CHANGED
Binary file
|
languages/eventorganiser-nl_NL.mo
CHANGED
Binary file
|
languages/eventorganiser-nl_NL.po
CHANGED
@@ -2,8 +2,8 @@ msgid ""
|
|
2 |
msgstr "Project-Id-Version: Event Organiser\n"
|
3 |
"Report-Msgid-Bugs-To: stephenh1988@gmail.com\n"
|
4 |
"POT-Creation-Date: 2008-09-01 09:37+0000\n"
|
5 |
-
"PO-Revision-Date: 2013-
|
6 |
-
"Last-Translator:
|
7 |
"Language-Team: \n"
|
8 |
"Language: Dutch; Flemish (Netherlands)\n"
|
9 |
"MIME-Version: 1.0\n"
|
@@ -36,11 +36,11 @@ msgstr "%d locaties aangemaakt"
|
|
36 |
|
37 |
#: ../event-organiser-debug.php:416
|
38 |
msgid "%s has only been tested up to %s %s"
|
39 |
-
msgstr ""
|
40 |
|
41 |
#: ../event-organiser-debug.php:423
|
42 |
msgid "%s requires %s version %s or higher"
|
43 |
-
msgstr ""
|
44 |
|
45 |
#: ../event-organiser-manage.php:200
|
46 |
msgid "— No Change —"
|
@@ -88,12 +88,7 @@ msgstr "Een lijst of dropdown van evenementen categorieen\n"
|
|
88 |
|
89 |
#: ../classes/class-eo-widget-venues.php:11
|
90 |
msgid "A list or dropdown of event venues"
|
91 |
-
msgstr ""
|
92 |
-
|
93 |
-
#: ../event-organiser-go-pro.php:82
|
94 |
-
msgid "Add action information on your venue pages with venue custom fields, or give "
|
95 |
-
"your venues more attentioned with their own 'featured image'"
|
96 |
-
msgstr ""
|
97 |
|
98 |
#: ../event-organiser-settings.php:132
|
99 |
msgid "Add an 'events' link to the navigation menu:"
|
@@ -103,6 +98,11 @@ msgstr "Een 'Evenementen' Link toevoegen aan menu:"
|
|
103 |
msgid "Add Event"
|
104 |
msgstr "Evenement toevoegen"
|
105 |
|
|
|
|
|
|
|
|
|
|
|
106 |
#: ../event-organiser-venues.php:230
|
107 |
#: ../event-organiser-venues.php:268
|
108 |
msgid "Add New"
|
@@ -162,15 +162,15 @@ msgid "All dates and times must be entered in the specified format. This format
|
|
162 |
msgstr "Alle data en tijden moeten worden opgegeven in de juiste format. Deze kan "
|
163 |
"worden aangepast op de instellingspagina."
|
164 |
|
165 |
-
#: ../event-organiser-edit.php:117
|
166 |
-
msgid "All day"
|
167 |
-
msgstr "De hele dag (van 0.00 - 24.00 uur)"
|
168 |
-
|
169 |
#: ../includes/event-organiser-ajax.php:540
|
170 |
#: ../includes/event-organiser-event-functions.php:1297
|
171 |
msgid "All Day"
|
172 |
msgstr "Hele dag"
|
173 |
|
|
|
|
|
|
|
|
|
174 |
#: ../includes/event-organiser-cpt.php:146
|
175 |
msgid "All events"
|
176 |
msgstr "Alle evenementen"
|
@@ -258,7 +258,8 @@ msgstr "Categorieën"
|
|
258 |
#: ../event-organiser-settings.php:235
|
259 |
msgid "Check this option to prevent any stylesheets from Event Organiser being "
|
260 |
"loaded on the front-end"
|
261 |
-
msgstr ""
|
|
|
262 |
|
263 |
#: ../event-organiser-edit.php:76
|
264 |
msgid "Check to edit this event and its reoccurrences"
|
@@ -351,14 +352,14 @@ msgstr ""
|
|
351 |
msgid "Date Format:"
|
352 |
msgstr "Datum instelling:"
|
353 |
|
354 |
-
#: ../event-organiser-calendar.php:55
|
355 |
-
msgid "day"
|
356 |
-
msgstr "dag"
|
357 |
-
|
358 |
#: ../event-organiser-calendar.php:229
|
359 |
msgid "Day"
|
360 |
msgstr "Dag"
|
361 |
|
|
|
|
|
|
|
|
|
362 |
#: ../event-organiser-settings.php:271
|
363 |
msgid "Day archive"
|
364 |
msgstr "Archief per dag"
|
@@ -381,11 +382,11 @@ msgstr "dd-mm-jjj"
|
|
381 |
|
382 |
#: ../event-organiser-debug.php:555
|
383 |
msgid "Debug mode"
|
384 |
-
msgstr ""
|
385 |
|
386 |
#: ../includes/event-organiser-cpt.php:492
|
387 |
msgid "Debugging Event Organiser"
|
388 |
-
msgstr ""
|
389 |
|
390 |
#: ../classes/class-eo-venue-list-table.php:70
|
391 |
#: ../classes/class-eo-venue-list-table.php:127
|
@@ -420,7 +421,7 @@ msgstr "DESC"
|
|
420 |
|
421 |
#: ../event-organiser-settings.php:229
|
422 |
msgid "Disable CSS:"
|
423 |
-
msgstr ""
|
424 |
|
425 |
#: ../includes/event-organiser-register.php:648
|
426 |
msgid "Dismiss"
|
@@ -463,7 +464,7 @@ msgstr "Exportbestand downloaden"
|
|
463 |
|
464 |
#: ../event-organiser-debug.php:84
|
465 |
msgid "Download system information file"
|
466 |
-
msgstr ""
|
467 |
|
468 |
#: ../includes/event-organiser-ajax.php:255
|
469 |
msgid "Draft"
|
@@ -579,11 +580,11 @@ msgstr "Ontwerp evenement bijgewerkt. <a target=\"_blank\" href=\"%s\">Bekijk "
|
|
579 |
|
580 |
#: ../classes/class-eo-event-list-widget.php:78
|
581 |
msgid "Event list widget placeholders"
|
582 |
-
msgstr ""
|
583 |
|
584 |
#: ../event-organiser-settings.php:29
|
585 |
msgid "Event Organiser"
|
586 |
-
msgstr ""
|
587 |
|
588 |
#: ../event-organiser-add-ons.php:19
|
589 |
#: ../event-organiser-add-ons.php:95
|
@@ -653,7 +654,7 @@ msgstr "Evenement bijgewerkt. <a href=\"%s\">Bekijk evenement</a>"
|
|
653 |
|
654 |
#: ../classes/class-eo-calendar-widget.php:88
|
655 |
msgid "Event venue"
|
656 |
-
msgstr ""
|
657 |
|
658 |
#: ../includes/event-organiser-cpt.php:28
|
659 |
msgid "Event Venues"
|
@@ -825,7 +826,8 @@ msgstr "Voor meer informatie"
|
|
825 |
#: ../event-organiser-settings.php:224
|
826 |
msgid "For more information see documentation <a href='%s'>on editing the "
|
827 |
"templates</a>"
|
828 |
-
msgstr ""
|
|
|
829 |
|
830 |
#: ../includes/event-organiser-register.php:235
|
831 |
#: ../includes/event-organiser-event-functions.php:693
|
@@ -865,7 +867,7 @@ msgstr ""
|
|
865 |
|
866 |
#: ../includes/event-organiser-cpt.php:493
|
867 |
msgid "Go Pro!"
|
868 |
-
msgstr ""
|
869 |
|
870 |
#: ../event-organiser-calendar.php:58
|
871 |
msgid "go to date"
|
@@ -881,7 +883,7 @@ msgstr "Groepeer op"
|
|
881 |
|
882 |
#: ../classes/class-eo-agenda-widget.php:39
|
883 |
msgid "Group date format"
|
884 |
-
msgstr ""
|
885 |
|
886 |
#: ../event-organiser-settings.php:159
|
887 |
msgid "Group occurrences"
|
@@ -967,7 +969,7 @@ msgstr "Importeer locaties"
|
|
967 |
|
968 |
#: ../classes/class-eo-agenda-widget.php:47
|
969 |
msgid "Include 'Add To Google' link"
|
970 |
-
msgstr ""
|
971 |
|
972 |
#: ../classes/class-eo-event-list-widget.php:66
|
973 |
#: ../classes/class-eo-calendar-widget.php:46
|
@@ -1001,7 +1003,8 @@ msgstr "Ongeldige maandaanduiding"
|
|
1001 |
#: ../event-organiser-debug.php:245
|
1002 |
msgid "Known plug-in & theme conflicts, highlighted in red, may be minor or have a "
|
1003 |
"simple resolution. Please contact support."
|
1004 |
-
msgstr ""
|
|
|
1005 |
|
1006 |
#: ../includes/event-organiser-register.php:235
|
1007 |
#: ../includes/event-organiser-event-functions.php:693
|
@@ -1027,7 +1030,7 @@ msgstr "Rij: %1$d"
|
|
1027 |
|
1028 |
#: ../classes/class-eo-calendar-widget.php:66
|
1029 |
msgid "Link directly to event for days with only one event"
|
1030 |
-
msgstr ""
|
1031 |
|
1032 |
#: ../classes/class-eo-event-list-widget.php:41
|
1033 |
#: ../classes/class-eo-calendar-widget.php:80
|
@@ -1060,14 +1063,14 @@ msgstr "minuut"
|
|
1060 |
msgid "mm-dd-yyyy"
|
1061 |
msgstr "dd-mm-jjj"
|
1062 |
|
1063 |
-
#: ../event-organiser-calendar.php:57
|
1064 |
-
msgid "month"
|
1065 |
-
msgstr "maand"
|
1066 |
-
|
1067 |
#: ../event-organiser-calendar.php:229
|
1068 |
msgid "Month"
|
1069 |
msgstr "Maand"
|
1070 |
|
|
|
|
|
|
|
|
|
1071 |
#: ../event-organiser-settings.php:270
|
1072 |
msgid "Month archive"
|
1073 |
msgstr "Archief per maand"
|
@@ -1306,7 +1309,7 @@ msgstr "Datumnotatie niet herkend"
|
|
1306 |
|
1307 |
#: ../event-organiser-debug.php:556
|
1308 |
msgid "Script mode"
|
1309 |
-
msgstr ""
|
1310 |
|
1311 |
#: ../includes/event-organiser-cpt.php:62
|
1312 |
msgid "Search Categories"
|
@@ -1390,7 +1393,7 @@ msgstr "Laat minder zien"
|
|
1390 |
|
1391 |
#: ../classes/class-eo-calendar-widget.php:56
|
1392 |
msgid "Show long events"
|
1393 |
-
msgstr ""
|
1394 |
|
1395 |
#: ../includes/event-organiser-register.php:51
|
1396 |
msgid "Show More"
|
@@ -1462,7 +1465,9 @@ msgstr "Sjablonen"
|
|
1462 |
#: ../event-organiser-debug.php:67
|
1463 |
msgid "The 'system info' link in under the Events admin tab is only visible to "
|
1464 |
"admins and only when <code>WP_DEBUG</code> is set to <code>true</code>."
|
1465 |
-
msgstr ""
|
|
|
|
|
1466 |
|
1467 |
#: ../includes/event-organiser-cpt.php:427
|
1468 |
msgid "The end date is the date the event finishes. If the event is a reoccuring "
|
@@ -1484,19 +1489,19 @@ msgstr "De startdatum is de datum waarop het evenement begint. Bij evenementen d
|
|
1484 |
|
1485 |
#: ../classes/class-eventorganiser-shortcodes.php:356
|
1486 |
msgid "There is no excerpt because this is a protected post."
|
1487 |
-
msgstr ""
|
1488 |
|
1489 |
#: ../includes/class-eo-ical-parser.php:90
|
1490 |
msgid "There was an error detecting ICAL source."
|
1491 |
-
msgstr ""
|
1492 |
|
1493 |
#: ../includes/class-eo-ical-parser.php:136
|
1494 |
msgid "There was an error fetching the feed. Response code: %s."
|
1495 |
-
msgstr ""
|
1496 |
|
1497 |
#: ../includes/class-eo-ical-parser.php:156
|
1498 |
msgid "There was an error opening the ICAL file."
|
1499 |
-
msgstr ""
|
1500 |
|
1501 |
#: ../includes/class-event-organiser-im-export.php:318
|
1502 |
msgid "There was an error with %1$d of %2$d events in the ical file"
|
@@ -1517,7 +1522,7 @@ msgstr "Afgelopen op %s"
|
|
1517 |
|
1518 |
#: ../includes/event-organiser-cpt.php:230
|
1519 |
msgid "This event has been broken from a recurring event."
|
1520 |
-
msgstr ""
|
1521 |
|
1522 |
#: ../templates/event-meta-event-single.php:46
|
1523 |
msgid "This event is running from %1$s until %2$s. It is next occurring on %3$s"
|
@@ -1589,7 +1594,9 @@ msgstr "Titel:"
|
|
1589 |
msgid "To help speed things along, if you report a bug please indicate if you have "
|
1590 |
"done so. Once the plug-in or theme has been identified it is often easy to "
|
1591 |
"resolve the issue."
|
1592 |
-
msgstr ""
|
|
|
|
|
1593 |
|
1594 |
#: ../includes/event-organiser-cpt.php:434
|
1595 |
msgid "To repeat an event according to some regular pattern, use the reoccurrence "
|
@@ -1664,14 +1671,14 @@ msgstr ""
|
|
1664 |
msgid "Venue Location"
|
1665 |
msgstr "Locatie"
|
1666 |
|
1667 |
-
#: ../event-organiser-edit.php:221
|
1668 |
-
msgid "Venue Name"
|
1669 |
-
msgstr "Locatie naam"
|
1670 |
-
|
1671 |
#: ../event-organiser-venues.php:399
|
1672 |
msgid "Venue name"
|
1673 |
msgstr "Locatie naam"
|
1674 |
|
|
|
|
|
|
|
|
|
1675 |
#: ../event-organiser-settings.php:220
|
1676 |
msgid "Venue page:"
|
1677 |
msgstr "Locatie pagina:"
|
@@ -1722,14 +1729,14 @@ msgstr "Locatie tonen"
|
|
1722 |
msgid "View will take you to the venue's page"
|
1723 |
msgstr "'Door te klikken op bekijken komt u op de Lokatie-pagina."
|
1724 |
|
1725 |
-
#: ../event-organiser-calendar.php:56
|
1726 |
-
msgid "week"
|
1727 |
-
msgstr "Week"
|
1728 |
-
|
1729 |
#: ../event-organiser-calendar.php:229
|
1730 |
msgid "Week"
|
1731 |
msgstr "Week"
|
1732 |
|
|
|
|
|
|
|
|
|
1733 |
#: ../event-organiser-edit.php:126
|
1734 |
msgid "weekly"
|
1735 |
msgstr "ja, weekelijks"
|
@@ -1784,7 +1791,9 @@ msgstr "U kunt gebeurtenissen toevoegen door op de dag te klikken of meerdere da
|
|
1784 |
msgid "You can use specified tags as placeholders for event information which you "
|
1785 |
"want to appear in the widget. <a href=\"%s\" target=\"_blank\"> Find out "
|
1786 |
"more</a>."
|
1787 |
-
msgstr ""
|
|
|
|
|
1788 |
|
1789 |
#: ../event-organiser-venues.php:115
|
1790 |
msgid "You do not have permission to delete this venue"
|
2 |
msgstr "Project-Id-Version: Event Organiser\n"
|
3 |
"Report-Msgid-Bugs-To: stephenh1988@gmail.com\n"
|
4 |
"POT-Creation-Date: 2008-09-01 09:37+0000\n"
|
5 |
+
"PO-Revision-Date: 2013-11-04 15:37:54+0000\n"
|
6 |
+
"Last-Translator: Roel <roel@nijsten.net>\n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: Dutch; Flemish (Netherlands)\n"
|
9 |
"MIME-Version: 1.0\n"
|
36 |
|
37 |
#: ../event-organiser-debug.php:416
|
38 |
msgid "%s has only been tested up to %s %s"
|
39 |
+
msgstr "%s is alleen getest tot %s %s"
|
40 |
|
41 |
#: ../event-organiser-debug.php:423
|
42 |
msgid "%s requires %s version %s or higher"
|
43 |
+
msgstr "%s benodigd %s versie %s of hoger"
|
44 |
|
45 |
#: ../event-organiser-manage.php:200
|
46 |
msgid "— No Change —"
|
88 |
|
89 |
#: ../classes/class-eo-widget-venues.php:11
|
90 |
msgid "A list or dropdown of event venues"
|
91 |
+
msgstr "Een dropdown lijst van evenementenlocaties"
|
|
|
|
|
|
|
|
|
|
|
92 |
|
93 |
#: ../event-organiser-settings.php:132
|
94 |
msgid "Add an 'events' link to the navigation menu:"
|
98 |
msgid "Add Event"
|
99 |
msgstr "Evenement toevoegen"
|
100 |
|
101 |
+
#: ../event-organiser-go-pro.php:82
|
102 |
+
msgid "Add information on your venue pages with venue custom fields, or give your "
|
103 |
+
"venues more attentioned with their own 'featured image'"
|
104 |
+
msgstr ""
|
105 |
+
|
106 |
#: ../event-organiser-venues.php:230
|
107 |
#: ../event-organiser-venues.php:268
|
108 |
msgid "Add New"
|
162 |
msgstr "Alle data en tijden moeten worden opgegeven in de juiste format. Deze kan "
|
163 |
"worden aangepast op de instellingspagina."
|
164 |
|
|
|
|
|
|
|
|
|
165 |
#: ../includes/event-organiser-ajax.php:540
|
166 |
#: ../includes/event-organiser-event-functions.php:1297
|
167 |
msgid "All Day"
|
168 |
msgstr "Hele dag"
|
169 |
|
170 |
+
#: ../event-organiser-edit.php:117
|
171 |
+
msgid "All day"
|
172 |
+
msgstr "De hele dag (van 0.00 - 24.00 uur)"
|
173 |
+
|
174 |
#: ../includes/event-organiser-cpt.php:146
|
175 |
msgid "All events"
|
176 |
msgstr "Alle evenementen"
|
258 |
#: ../event-organiser-settings.php:235
|
259 |
msgid "Check this option to prevent any stylesheets from Event Organiser being "
|
260 |
"loaded on the front-end"
|
261 |
+
msgstr "Vink deze optie aan om te voorkomen dat eventuele stylesheets van Event "
|
262 |
+
"Organiser aan de front-end worden geladen"
|
263 |
|
264 |
#: ../event-organiser-edit.php:76
|
265 |
msgid "Check to edit this event and its reoccurrences"
|
352 |
msgid "Date Format:"
|
353 |
msgstr "Datum instelling:"
|
354 |
|
|
|
|
|
|
|
|
|
355 |
#: ../event-organiser-calendar.php:229
|
356 |
msgid "Day"
|
357 |
msgstr "Dag"
|
358 |
|
359 |
+
#: ../event-organiser-calendar.php:55
|
360 |
+
msgid "day"
|
361 |
+
msgstr "dag"
|
362 |
+
|
363 |
#: ../event-organiser-settings.php:271
|
364 |
msgid "Day archive"
|
365 |
msgstr "Archief per dag"
|
382 |
|
383 |
#: ../event-organiser-debug.php:555
|
384 |
msgid "Debug mode"
|
385 |
+
msgstr "Debug modus"
|
386 |
|
387 |
#: ../includes/event-organiser-cpt.php:492
|
388 |
msgid "Debugging Event Organiser"
|
389 |
+
msgstr "Debuggen Event Organiser"
|
390 |
|
391 |
#: ../classes/class-eo-venue-list-table.php:70
|
392 |
#: ../classes/class-eo-venue-list-table.php:127
|
421 |
|
422 |
#: ../event-organiser-settings.php:229
|
423 |
msgid "Disable CSS:"
|
424 |
+
msgstr "Uitschakelen CSS:"
|
425 |
|
426 |
#: ../includes/event-organiser-register.php:648
|
427 |
msgid "Dismiss"
|
464 |
|
465 |
#: ../event-organiser-debug.php:84
|
466 |
msgid "Download system information file"
|
467 |
+
msgstr "Download systeem informatie bestand"
|
468 |
|
469 |
#: ../includes/event-organiser-ajax.php:255
|
470 |
msgid "Draft"
|
580 |
|
581 |
#: ../classes/class-eo-event-list-widget.php:78
|
582 |
msgid "Event list widget placeholders"
|
583 |
+
msgstr "Plaatsaanduidingen evenementenlijst widget"
|
584 |
|
585 |
#: ../event-organiser-settings.php:29
|
586 |
msgid "Event Organiser"
|
587 |
+
msgstr "Event Organiser"
|
588 |
|
589 |
#: ../event-organiser-add-ons.php:19
|
590 |
#: ../event-organiser-add-ons.php:95
|
654 |
|
655 |
#: ../classes/class-eo-calendar-widget.php:88
|
656 |
msgid "Event venue"
|
657 |
+
msgstr "Evenementenlocatie"
|
658 |
|
659 |
#: ../includes/event-organiser-cpt.php:28
|
660 |
msgid "Event Venues"
|
826 |
#: ../event-organiser-settings.php:224
|
827 |
msgid "For more information see documentation <a href='%s'>on editing the "
|
828 |
"templates</a>"
|
829 |
+
msgstr "Voor meer informatie zie documentatie <a href='%s'>on editing the "
|
830 |
+
"templates</a>"
|
831 |
|
832 |
#: ../includes/event-organiser-register.php:235
|
833 |
#: ../includes/event-organiser-event-functions.php:693
|
867 |
|
868 |
#: ../includes/event-organiser-cpt.php:493
|
869 |
msgid "Go Pro!"
|
870 |
+
msgstr "Ga voor Pro!"
|
871 |
|
872 |
#: ../event-organiser-calendar.php:58
|
873 |
msgid "go to date"
|
883 |
|
884 |
#: ../classes/class-eo-agenda-widget.php:39
|
885 |
msgid "Group date format"
|
886 |
+
msgstr "Groep datumnotatie"
|
887 |
|
888 |
#: ../event-organiser-settings.php:159
|
889 |
msgid "Group occurrences"
|
969 |
|
970 |
#: ../classes/class-eo-agenda-widget.php:47
|
971 |
msgid "Include 'Add To Google' link"
|
972 |
+
msgstr "Voeg de \"Add To Google\"link toe"
|
973 |
|
974 |
#: ../classes/class-eo-event-list-widget.php:66
|
975 |
#: ../classes/class-eo-calendar-widget.php:46
|
1003 |
#: ../event-organiser-debug.php:245
|
1004 |
msgid "Known plug-in & theme conflicts, highlighted in red, may be minor or have a "
|
1005 |
"simple resolution. Please contact support."
|
1006 |
+
msgstr "Bekende plug-in & thema conflicten, rood gemarkeerd, kunnen klein zijn of "
|
1007 |
+
"hebben een eenvoudige oplossing. Neem contact op met support."
|
1008 |
|
1009 |
#: ../includes/event-organiser-register.php:235
|
1010 |
#: ../includes/event-organiser-event-functions.php:693
|
1030 |
|
1031 |
#: ../classes/class-eo-calendar-widget.php:66
|
1032 |
msgid "Link directly to event for days with only one event"
|
1033 |
+
msgstr "Link direct naar evenement voor dagen met slechts een evenement"
|
1034 |
|
1035 |
#: ../classes/class-eo-event-list-widget.php:41
|
1036 |
#: ../classes/class-eo-calendar-widget.php:80
|
1063 |
msgid "mm-dd-yyyy"
|
1064 |
msgstr "dd-mm-jjj"
|
1065 |
|
|
|
|
|
|
|
|
|
1066 |
#: ../event-organiser-calendar.php:229
|
1067 |
msgid "Month"
|
1068 |
msgstr "Maand"
|
1069 |
|
1070 |
+
#: ../event-organiser-calendar.php:57
|
1071 |
+
msgid "month"
|
1072 |
+
msgstr "maand"
|
1073 |
+
|
1074 |
#: ../event-organiser-settings.php:270
|
1075 |
msgid "Month archive"
|
1076 |
msgstr "Archief per maand"
|
1309 |
|
1310 |
#: ../event-organiser-debug.php:556
|
1311 |
msgid "Script mode"
|
1312 |
+
msgstr "Script modus"
|
1313 |
|
1314 |
#: ../includes/event-organiser-cpt.php:62
|
1315 |
msgid "Search Categories"
|
1393 |
|
1394 |
#: ../classes/class-eo-calendar-widget.php:56
|
1395 |
msgid "Show long events"
|
1396 |
+
msgstr "Toon lange evenementen"
|
1397 |
|
1398 |
#: ../includes/event-organiser-register.php:51
|
1399 |
msgid "Show More"
|
1465 |
#: ../event-organiser-debug.php:67
|
1466 |
msgid "The 'system info' link in under the Events admin tab is only visible to "
|
1467 |
"admins and only when <code>WP_DEBUG</code> is set to <code>true</code>."
|
1468 |
+
msgstr "De 'systeem info' link onderaan het tabblad \"Events admin\" is alleen "
|
1469 |
+
"zichtbaar voor admins en alleen wanneer <code>WP_DEBUG</code> is gewijzigd "
|
1470 |
+
"in <code>true</code>."
|
1471 |
|
1472 |
#: ../includes/event-organiser-cpt.php:427
|
1473 |
msgid "The end date is the date the event finishes. If the event is a reoccuring "
|
1489 |
|
1490 |
#: ../classes/class-eventorganiser-shortcodes.php:356
|
1491 |
msgid "There is no excerpt because this is a protected post."
|
1492 |
+
msgstr "Er is geen samenvatting omdat dit bericht is beveiligd."
|
1493 |
|
1494 |
#: ../includes/class-eo-ical-parser.php:90
|
1495 |
msgid "There was an error detecting ICAL source."
|
1496 |
+
msgstr "Er is een fout bij het detecteren van de ICAL bron."
|
1497 |
|
1498 |
#: ../includes/class-eo-ical-parser.php:136
|
1499 |
msgid "There was an error fetching the feed. Response code: %s."
|
1500 |
+
msgstr "Er is een fout opgetreden bij het ophalen van de feed. Response code:"
|
1501 |
|
1502 |
#: ../includes/class-eo-ical-parser.php:156
|
1503 |
msgid "There was an error opening the ICAL file."
|
1504 |
+
msgstr "Er is een fout bij het openen van het ICAL bestand."
|
1505 |
|
1506 |
#: ../includes/class-event-organiser-im-export.php:318
|
1507 |
msgid "There was an error with %1$d of %2$d events in the ical file"
|
1522 |
|
1523 |
#: ../includes/event-organiser-cpt.php:230
|
1524 |
msgid "This event has been broken from a recurring event."
|
1525 |
+
msgstr "Dit evenement is onderdeel van een terugkerend evenement."
|
1526 |
|
1527 |
#: ../templates/event-meta-event-single.php:46
|
1528 |
msgid "This event is running from %1$s until %2$s. It is next occurring on %3$s"
|
1594 |
msgid "To help speed things along, if you report a bug please indicate if you have "
|
1595 |
"done so. Once the plug-in or theme has been identified it is often easy to "
|
1596 |
"resolve the issue."
|
1597 |
+
msgstr "Om problemen sneller te verhelpen, wanneer je een bug door geeft laat dit "
|
1598 |
+
"dan weten. Zodra de plug-in of thema is geïdentificeerd is het vaak "
|
1599 |
+
"eenvoudig om het probleem op te lossen."
|
1600 |
|
1601 |
#: ../includes/event-organiser-cpt.php:434
|
1602 |
msgid "To repeat an event according to some regular pattern, use the reoccurrence "
|
1671 |
msgid "Venue Location"
|
1672 |
msgstr "Locatie"
|
1673 |
|
|
|
|
|
|
|
|
|
1674 |
#: ../event-organiser-venues.php:399
|
1675 |
msgid "Venue name"
|
1676 |
msgstr "Locatie naam"
|
1677 |
|
1678 |
+
#: ../event-organiser-edit.php:221
|
1679 |
+
msgid "Venue Name"
|
1680 |
+
msgstr "Locatie naam"
|
1681 |
+
|
1682 |
#: ../event-organiser-settings.php:220
|
1683 |
msgid "Venue page:"
|
1684 |
msgstr "Locatie pagina:"
|
1729 |
msgid "View will take you to the venue's page"
|
1730 |
msgstr "'Door te klikken op bekijken komt u op de Lokatie-pagina."
|
1731 |
|
|
|
|
|
|
|
|
|
1732 |
#: ../event-organiser-calendar.php:229
|
1733 |
msgid "Week"
|
1734 |
msgstr "Week"
|
1735 |
|
1736 |
+
#: ../event-organiser-calendar.php:56
|
1737 |
+
msgid "week"
|
1738 |
+
msgstr "Week"
|
1739 |
+
|
1740 |
#: ../event-organiser-edit.php:126
|
1741 |
msgid "weekly"
|
1742 |
msgstr "ja, weekelijks"
|
1791 |
msgid "You can use specified tags as placeholders for event information which you "
|
1792 |
"want to appear in the widget. <a href=\"%s\" target=\"_blank\"> Find out "
|
1793 |
"more</a>."
|
1794 |
+
msgstr "Je kunt specifieke tags gebruiken als tijdelijke aanduidingen voor "
|
1795 |
+
"informatie over de gebeurtenis die je wilt weergeven in de widget. <a "
|
1796 |
+
"href=\"%s\" target=\"_blank\"> Meer informatie</a>."
|
1797 |
|
1798 |
#: ../event-organiser-venues.php:115
|
1799 |
msgid "You do not have permission to delete this venue"
|
languages/eventorganiser-nn_NO.mo
CHANGED
Binary file
|
languages/eventorganiser-pl_PL.mo
CHANGED
Binary file
|
languages/eventorganiser-pt_BR.mo
CHANGED
Binary file
|
languages/eventorganiser-pt_BR.po
CHANGED
@@ -2,8 +2,8 @@ msgid ""
|
|
2 |
msgstr "Project-Id-Version: Event Organiser\n"
|
3 |
"Report-Msgid-Bugs-To: stephenh1988@gmail.com\n"
|
4 |
"POT-Creation-Date: 2008-09-01 09:37+0000\n"
|
5 |
-
"PO-Revision-Date: 2013-
|
6 |
-
"Last-Translator:
|
7 |
"Language-Team: \n"
|
8 |
"Language: Portuguese (Brazil)\n"
|
9 |
"MIME-Version: 1.0\n"
|
@@ -71,7 +71,10 @@ msgid "<h4>City & State Fields Added</h4>City and state / province fields for "
|
|
71 |
"venues have now been added. </br> If you'd like, Event Organiser can <a "
|
72 |
"href='%s'>attempt to auto-fill them</a>. You can always manually change the "
|
73 |
"details aftewards."
|
74 |
-
msgstr ""
|
|
|
|
|
|
|
75 |
|
76 |
#: ../includes/event-organiser-register.php:611
|
77 |
msgid "<h4>The Default Templates Have Changed</h4>Don't panic! If you've set up "
|
@@ -79,7 +82,12 @@ msgid "<h4>The Default Templates Have Changed</h4>Don't panic! If you've set up
|
|
79 |
"haven't and want the old templates back, <a "
|
80 |
"href='http://wp-event-organiser.com/blog/new-default-templates-in-1-7'>see "
|
81 |
"this post<a/>."
|
82 |
-
msgstr ""
|
|
|
|
|
|
|
|
|
|
|
83 |
|
84 |
#: ../classes/class-eo-widget-categories.php:10
|
85 |
msgid "A list or dropdown of event categories"
|
@@ -89,11 +97,6 @@ msgstr ""
|
|
89 |
msgid "A list or dropdown of event venues"
|
90 |
msgstr ""
|
91 |
|
92 |
-
#: ../event-organiser-go-pro.php:82
|
93 |
-
msgid "Add action information on your venue pages with venue custom fields, or give "
|
94 |
-
"your venues more attentioned with their own 'featured image'"
|
95 |
-
msgstr ""
|
96 |
-
|
97 |
#: ../event-organiser-settings.php:132
|
98 |
msgid "Add an 'events' link to the navigation menu:"
|
99 |
msgstr "Adicionar link 'eventos' no menu de navegação"
|
@@ -102,6 +105,11 @@ msgstr "Adicionar link 'eventos' no menu de navegação"
|
|
102 |
msgid "Add Event"
|
103 |
msgstr "Adicionar Evento"
|
104 |
|
|
|
|
|
|
|
|
|
|
|
105 |
#: ../event-organiser-venues.php:230
|
106 |
#: ../event-organiser-venues.php:268
|
107 |
msgid "Add New"
|
@@ -161,15 +169,15 @@ msgid "All dates and times must be entered in the specified format. This format
|
|
161 |
msgstr "Todas as datas e horários precisam ser preenchidos no formato específicado. "
|
162 |
"Este formato pode ser alterado na página de configurações."
|
163 |
|
164 |
-
#: ../event-organiser-edit.php:117
|
165 |
-
msgid "All day"
|
166 |
-
msgstr "Dia todo"
|
167 |
-
|
168 |
#: ../includes/event-organiser-ajax.php:540
|
169 |
#: ../includes/event-organiser-event-functions.php:1297
|
170 |
msgid "All Day"
|
171 |
msgstr "Dia todo"
|
172 |
|
|
|
|
|
|
|
|
|
173 |
#: ../includes/event-organiser-cpt.php:146
|
174 |
msgid "All events"
|
175 |
msgstr "Todos os Eventos"
|
@@ -283,7 +291,7 @@ msgstr "Selecione a data final da recorrência. Nenhuma outra ocorrência será
|
|
283 |
|
284 |
#: ../includes/event-organiser-venue-functions.php:883
|
285 |
msgid "City"
|
286 |
-
msgstr ""
|
287 |
|
288 |
#: ../includes/event-organiser-cpt.php:610
|
289 |
#: ../includes/event-organiser-cpt.php:633
|
@@ -354,14 +362,14 @@ msgstr ""
|
|
354 |
msgid "Date Format:"
|
355 |
msgstr "Formato da data:"
|
356 |
|
357 |
-
#: ../event-organiser-calendar.php:55
|
358 |
-
msgid "day"
|
359 |
-
msgstr "dia"
|
360 |
-
|
361 |
#: ../event-organiser-calendar.php:229
|
362 |
msgid "Day"
|
363 |
msgstr "Dia"
|
364 |
|
|
|
|
|
|
|
|
|
365 |
#: ../event-organiser-settings.php:271
|
366 |
msgid "Day archive"
|
367 |
msgstr ""
|
@@ -427,11 +435,11 @@ msgstr ""
|
|
427 |
|
428 |
#: ../includes/event-organiser-register.php:648
|
429 |
msgid "Dismiss"
|
430 |
-
msgstr ""
|
431 |
|
432 |
#: ../includes/event-organiser-register.php:647
|
433 |
msgid "Dismiss this notice"
|
434 |
-
msgstr ""
|
435 |
|
436 |
#: ../classes/class-eo-widget-categories.php:96
|
437 |
msgid "Display as dropdown"
|
@@ -795,7 +803,7 @@ msgstr "Erro de Arquivo encontrado: %d"
|
|
795 |
|
796 |
#: ../includes/class-event-organiser-im-export.php:80
|
797 |
msgid "File size: %s. File type: %s"
|
798 |
-
msgstr ""
|
799 |
|
800 |
#: ../event-organiser-go-pro.php:90
|
801 |
#: ../event-organiser-add-ons.php:130
|
@@ -1004,7 +1012,7 @@ msgstr ""
|
|
1004 |
|
1005 |
#: ../includes/event.php:548
|
1006 |
msgid "Invalid monthly schedule (invalid ordinal)"
|
1007 |
-
msgstr ""
|
1008 |
|
1009 |
#: ../event-organiser-debug.php:245
|
1010 |
msgid "Known plug-in & theme conflicts, highlighted in red, may be minor or have a "
|
@@ -1031,7 +1039,7 @@ msgstr "Próximos eventos<span class=\"meta-nav\">→</span>"
|
|
1031 |
#: ../includes/class-event-organiser-im-export.php:301
|
1032 |
#: ../includes/class-eo-ical-parser.php:257
|
1033 |
msgid "Line: %1$d"
|
1034 |
-
msgstr ""
|
1035 |
|
1036 |
#: ../classes/class-eo-calendar-widget.php:66
|
1037 |
msgid "Link directly to event for days with only one event"
|
@@ -1068,14 +1076,14 @@ msgstr "Minuto"
|
|
1068 |
msgid "mm-dd-yyyy"
|
1069 |
msgstr "mm-dd-aaaa"
|
1070 |
|
1071 |
-
#: ../event-organiser-calendar.php:57
|
1072 |
-
msgid "month"
|
1073 |
-
msgstr "mês"
|
1074 |
-
|
1075 |
#: ../event-organiser-calendar.php:229
|
1076 |
msgid "Month"
|
1077 |
msgstr "Mês"
|
1078 |
|
|
|
|
|
|
|
|
|
1079 |
#: ../event-organiser-settings.php:270
|
1080 |
msgid "Month archive"
|
1081 |
msgstr ""
|
@@ -1175,7 +1183,7 @@ msgstr "Ocorrência excluída."
|
|
1175 |
|
1176 |
#: ../includes/event.php:744
|
1177 |
msgid "Occurrence not deleted. Occurrence not found."
|
1178 |
-
msgstr ""
|
1179 |
|
1180 |
#: ../event-organiser-edit.php:146
|
1181 |
#: ../templates/shortcode-event-list.php:52
|
@@ -1306,11 +1314,11 @@ msgstr "Salvar Rascunho"
|
|
1306 |
|
1307 |
#: ../includes/event.php:458
|
1308 |
msgid "Schedule end date is before is before the start date."
|
1309 |
-
msgstr ""
|
1310 |
|
1311 |
#: ../includes/event.php:470
|
1312 |
msgid "Schedule not recognised."
|
1313 |
-
msgstr ""
|
1314 |
|
1315 |
#: ../event-organiser-debug.php:556
|
1316 |
msgid "Script mode"
|
@@ -1382,7 +1390,7 @@ msgstr "Definir permissões para administração de eventos e locais"
|
|
1382 |
|
1383 |
#: ../includes/event-organiser-register.php:335
|
1384 |
msgid "Settings"
|
1385 |
-
msgstr ""
|
1386 |
|
1387 |
#: ../event-organiser-edit.php:183
|
1388 |
msgid "Show dates"
|
@@ -1428,11 +1436,11 @@ msgstr "Data inicial"
|
|
1428 |
|
1429 |
#: ../includes/event.php:445
|
1430 |
msgid "Start date not provided."
|
1431 |
-
msgstr ""
|
1432 |
|
1433 |
#: ../includes/event.php:455
|
1434 |
msgid "Start date occurs after end date."
|
1435 |
-
msgstr ""
|
1436 |
|
1437 |
#: ../event-organiser-edit.php:92
|
1438 |
#: ../event-organiser-manage.php:27
|
@@ -1441,7 +1449,7 @@ msgstr "Data/Horário Inicial"
|
|
1441 |
|
1442 |
#: ../includes/event-organiser-venue-functions.php:884
|
1443 |
msgid "State / Province"
|
1444 |
-
msgstr ""
|
1445 |
|
1446 |
#: ../event-organiser-calendar.php:291
|
1447 |
msgid "Submit for Review"
|
@@ -1671,14 +1679,14 @@ msgstr ""
|
|
1671 |
msgid "Venue Location"
|
1672 |
msgstr "Localização"
|
1673 |
|
1674 |
-
#: ../event-organiser-edit.php:221
|
1675 |
-
msgid "Venue Name"
|
1676 |
-
msgstr ""
|
1677 |
-
|
1678 |
#: ../event-organiser-venues.php:399
|
1679 |
msgid "Venue name"
|
1680 |
msgstr "Nome do local"
|
1681 |
|
|
|
|
|
|
|
|
|
1682 |
#: ../event-organiser-settings.php:220
|
1683 |
msgid "Venue page:"
|
1684 |
msgstr "Página do Local:"
|
@@ -1729,14 +1737,14 @@ msgstr "Ver Local"
|
|
1729 |
msgid "View will take you to the venue's page"
|
1730 |
msgstr "Visualizar irá levá-lo para a página do local"
|
1731 |
|
1732 |
-
#: ../event-organiser-calendar.php:56
|
1733 |
-
msgid "week"
|
1734 |
-
msgstr "semana"
|
1735 |
-
|
1736 |
#: ../event-organiser-calendar.php:229
|
1737 |
msgid "Week"
|
1738 |
msgstr "Semana"
|
1739 |
|
|
|
|
|
|
|
|
|
1740 |
#: ../event-organiser-edit.php:126
|
1741 |
msgid "weekly"
|
1742 |
msgstr "semanalmente"
|
2 |
msgstr "Project-Id-Version: Event Organiser\n"
|
3 |
"Report-Msgid-Bugs-To: stephenh1988@gmail.com\n"
|
4 |
"POT-Creation-Date: 2008-09-01 09:37+0000\n"
|
5 |
+
"PO-Revision-Date: 2013-11-04 15:36:45+0000\n"
|
6 |
+
"Last-Translator: rafael <rafaelkvidal@gmail.com>\n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: Portuguese (Brazil)\n"
|
9 |
"MIME-Version: 1.0\n"
|
71 |
"venues have now been added. </br> If you'd like, Event Organiser can <a "
|
72 |
"href='%s'>attempt to auto-fill them</a>. You can always manually change the "
|
73 |
"details aftewards."
|
74 |
+
msgstr "<h4>Campos \"Cidade e Estado\" Adicionados</h4>Campos \"Cidade e estado / "
|
75 |
+
"província\" foram adicionados em \"locais\". </br> Se você quiser, o Event "
|
76 |
+
"Organiser pode <a href='%s'>tentar auto-preenchê-los</a>. Você pode também "
|
77 |
+
"alterar manualmente os detalhes a qualquer momento."
|
78 |
|
79 |
#: ../includes/event-organiser-register.php:611
|
80 |
msgid "<h4>The Default Templates Have Changed</h4>Don't panic! If you've set up "
|
82 |
"haven't and want the old templates back, <a "
|
83 |
"href='http://wp-event-organiser.com/blog/new-default-templates-in-1-7'>see "
|
84 |
"this post<a/>."
|
85 |
+
msgstr "<h4>O Template Padrão Foi Alterado</h4>Não se preocupe! Se você tiver "
|
86 |
+
"configurado seus próprios templates no seu tema você não vai notar nenhuma "
|
87 |
+
"alteração. </br> Se você não tiver e quiser os templates antigos de volta, "
|
88 |
+
"<a "
|
89 |
+
"href='http://wp-event-organiser.com/blog/new-default-templates-in-1-7'>veja "
|
90 |
+
"este post<a/>."
|
91 |
|
92 |
#: ../classes/class-eo-widget-categories.php:10
|
93 |
msgid "A list or dropdown of event categories"
|
97 |
msgid "A list or dropdown of event venues"
|
98 |
msgstr ""
|
99 |
|
|
|
|
|
|
|
|
|
|
|
100 |
#: ../event-organiser-settings.php:132
|
101 |
msgid "Add an 'events' link to the navigation menu:"
|
102 |
msgstr "Adicionar link 'eventos' no menu de navegação"
|
105 |
msgid "Add Event"
|
106 |
msgstr "Adicionar Evento"
|
107 |
|
108 |
+
#: ../event-organiser-go-pro.php:82
|
109 |
+
msgid "Add information on your venue pages with venue custom fields, or give your "
|
110 |
+
"venues more attentioned with their own 'featured image'"
|
111 |
+
msgstr ""
|
112 |
+
|
113 |
#: ../event-organiser-venues.php:230
|
114 |
#: ../event-organiser-venues.php:268
|
115 |
msgid "Add New"
|
169 |
msgstr "Todas as datas e horários precisam ser preenchidos no formato específicado. "
|
170 |
"Este formato pode ser alterado na página de configurações."
|
171 |
|
|
|
|
|
|
|
|
|
172 |
#: ../includes/event-organiser-ajax.php:540
|
173 |
#: ../includes/event-organiser-event-functions.php:1297
|
174 |
msgid "All Day"
|
175 |
msgstr "Dia todo"
|
176 |
|
177 |
+
#: ../event-organiser-edit.php:117
|
178 |
+
msgid "All day"
|
179 |
+
msgstr "Dia todo"
|
180 |
+
|
181 |
#: ../includes/event-organiser-cpt.php:146
|
182 |
msgid "All events"
|
183 |
msgstr "Todos os Eventos"
|
291 |
|
292 |
#: ../includes/event-organiser-venue-functions.php:883
|
293 |
msgid "City"
|
294 |
+
msgstr "Cidade"
|
295 |
|
296 |
#: ../includes/event-organiser-cpt.php:610
|
297 |
#: ../includes/event-organiser-cpt.php:633
|
362 |
msgid "Date Format:"
|
363 |
msgstr "Formato da data:"
|
364 |
|
|
|
|
|
|
|
|
|
365 |
#: ../event-organiser-calendar.php:229
|
366 |
msgid "Day"
|
367 |
msgstr "Dia"
|
368 |
|
369 |
+
#: ../event-organiser-calendar.php:55
|
370 |
+
msgid "day"
|
371 |
+
msgstr "dia"
|
372 |
+
|
373 |
#: ../event-organiser-settings.php:271
|
374 |
msgid "Day archive"
|
375 |
msgstr ""
|
435 |
|
436 |
#: ../includes/event-organiser-register.php:648
|
437 |
msgid "Dismiss"
|
438 |
+
msgstr "Descartar"
|
439 |
|
440 |
#: ../includes/event-organiser-register.php:647
|
441 |
msgid "Dismiss this notice"
|
442 |
+
msgstr "Descartar esta notícia"
|
443 |
|
444 |
#: ../classes/class-eo-widget-categories.php:96
|
445 |
msgid "Display as dropdown"
|
803 |
|
804 |
#: ../includes/class-event-organiser-im-export.php:80
|
805 |
msgid "File size: %s. File type: %s"
|
806 |
+
msgstr "Tamanho do arquivo: %s. Tipo de arquivo: %s"
|
807 |
|
808 |
#: ../event-organiser-go-pro.php:90
|
809 |
#: ../event-organiser-add-ons.php:130
|
1012 |
|
1013 |
#: ../includes/event.php:548
|
1014 |
msgid "Invalid monthly schedule (invalid ordinal)"
|
1015 |
+
msgstr "Horário mensal inválido (ordinal inválido)"
|
1016 |
|
1017 |
#: ../event-organiser-debug.php:245
|
1018 |
msgid "Known plug-in & theme conflicts, highlighted in red, may be minor or have a "
|
1039 |
#: ../includes/class-event-organiser-im-export.php:301
|
1040 |
#: ../includes/class-eo-ical-parser.php:257
|
1041 |
msgid "Line: %1$d"
|
1042 |
+
msgstr "Linha: %1$d"
|
1043 |
|
1044 |
#: ../classes/class-eo-calendar-widget.php:66
|
1045 |
msgid "Link directly to event for days with only one event"
|
1076 |
msgid "mm-dd-yyyy"
|
1077 |
msgstr "mm-dd-aaaa"
|
1078 |
|
|
|
|
|
|
|
|
|
1079 |
#: ../event-organiser-calendar.php:229
|
1080 |
msgid "Month"
|
1081 |
msgstr "Mês"
|
1082 |
|
1083 |
+
#: ../event-organiser-calendar.php:57
|
1084 |
+
msgid "month"
|
1085 |
+
msgstr "mês"
|
1086 |
+
|
1087 |
#: ../event-organiser-settings.php:270
|
1088 |
msgid "Month archive"
|
1089 |
msgstr ""
|
1183 |
|
1184 |
#: ../includes/event.php:744
|
1185 |
msgid "Occurrence not deleted. Occurrence not found."
|
1186 |
+
msgstr "Ocorrência não deletada. Ocorrência não encontrada."
|
1187 |
|
1188 |
#: ../event-organiser-edit.php:146
|
1189 |
#: ../templates/shortcode-event-list.php:52
|
1314 |
|
1315 |
#: ../includes/event.php:458
|
1316 |
msgid "Schedule end date is before is before the start date."
|
1317 |
+
msgstr "Horário de término anterior ao início."
|
1318 |
|
1319 |
#: ../includes/event.php:470
|
1320 |
msgid "Schedule not recognised."
|
1321 |
+
msgstr "Horário não reconhecido."
|
1322 |
|
1323 |
#: ../event-organiser-debug.php:556
|
1324 |
msgid "Script mode"
|
1390 |
|
1391 |
#: ../includes/event-organiser-register.php:335
|
1392 |
msgid "Settings"
|
1393 |
+
msgstr "Configurações"
|
1394 |
|
1395 |
#: ../event-organiser-edit.php:183
|
1396 |
msgid "Show dates"
|
1436 |
|
1437 |
#: ../includes/event.php:445
|
1438 |
msgid "Start date not provided."
|
1439 |
+
msgstr "Data de início não informada."
|
1440 |
|
1441 |
#: ../includes/event.php:455
|
1442 |
msgid "Start date occurs after end date."
|
1443 |
+
msgstr "Data de início é posterior ao término."
|
1444 |
|
1445 |
#: ../event-organiser-edit.php:92
|
1446 |
#: ../event-organiser-manage.php:27
|
1449 |
|
1450 |
#: ../includes/event-organiser-venue-functions.php:884
|
1451 |
msgid "State / Province"
|
1452 |
+
msgstr "Estado / Província"
|
1453 |
|
1454 |
#: ../event-organiser-calendar.php:291
|
1455 |
msgid "Submit for Review"
|
1679 |
msgid "Venue Location"
|
1680 |
msgstr "Localização"
|
1681 |
|
|
|
|
|
|
|
|
|
1682 |
#: ../event-organiser-venues.php:399
|
1683 |
msgid "Venue name"
|
1684 |
msgstr "Nome do local"
|
1685 |
|
1686 |
+
#: ../event-organiser-edit.php:221
|
1687 |
+
msgid "Venue Name"
|
1688 |
+
msgstr ""
|
1689 |
+
|
1690 |
#: ../event-organiser-settings.php:220
|
1691 |
msgid "Venue page:"
|
1692 |
msgstr "Página do Local:"
|
1737 |
msgid "View will take you to the venue's page"
|
1738 |
msgstr "Visualizar irá levá-lo para a página do local"
|
1739 |
|
|
|
|
|
|
|
|
|
1740 |
#: ../event-organiser-calendar.php:229
|
1741 |
msgid "Week"
|
1742 |
msgstr "Semana"
|
1743 |
|
1744 |
+
#: ../event-organiser-calendar.php:56
|
1745 |
+
msgid "week"
|
1746 |
+
msgstr "semana"
|
1747 |
+
|
1748 |
#: ../event-organiser-edit.php:126
|
1749 |
msgid "weekly"
|
1750 |
msgstr "semanalmente"
|
languages/eventorganiser-pt_PT.mo
CHANGED
Binary file
|
languages/eventorganiser-ru_RU.mo
CHANGED
Binary file
|
languages/eventorganiser-sk_SK.mo
CHANGED
Binary file
|
languages/eventorganiser-sl_SI.mo
CHANGED
Binary file
|
languages/eventorganiser-sv_SE.mo
CHANGED
Binary file
|
languages/eventorganiser-th.mo
CHANGED
Binary file
|
languages/eventorganiser-tr_TR.mo
CHANGED
Binary file
|
languages/eventorganiser-uk.mo
CHANGED
Binary file
|
languages/eventorganiser-zh_CN.mo
CHANGED
Binary file
|
package.json
DELETED
@@ -1,24 +0,0 @@
|
|
1 |
-
{
|
2 |
-
"name": "event-organiser",
|
3 |
-
"version": "2.4.0",
|
4 |
-
"description": "Event mangement plugin for WordPress",
|
5 |
-
"main": "Gruntfile.js",
|
6 |
-
"repository": {
|
7 |
-
"type": "git",
|
8 |
-
"url": "git://github.com/stephenharris/Event-Organiser.git"
|
9 |
-
},
|
10 |
-
"author": "Stephen Harris",
|
11 |
-
"license": "GPL",
|
12 |
-
"bugs": {
|
13 |
-
"url": "https://github.com/stephenharris/Event-Organiser/issues"
|
14 |
-
},
|
15 |
-
"devDependencies": {
|
16 |
-
"grunt": "~0.4.1",
|
17 |
-
"grunt-contrib-uglify": "~0.2.2",
|
18 |
-
"grunt-contrib-jshint": "~0.6.3",
|
19 |
-
"grunt-shell": "~0.3.1",
|
20 |
-
"grunt-contrib-compress": "~0.5.2",
|
21 |
-
"grunt-wp-readme-to-markdown": "~0.4.0",
|
22 |
-
"grunt-phpunit": "~0.3.0"
|
23 |
-
}
|
24 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
readme.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
**Tags:** events, event, event categories, event organizer, events calendar, event management, ical, locations, google map, widget, venues, maps, gigs, shows,
|
5 |
**Requires at least:** 3.3
|
6 |
**Tested up to:** 3.7.1
|
7 |
-
**Stable tag:** 2.
|
8 |
**License:** GPLv3
|
9 |
|
10 |
Create and maintain events, including complex reoccurring patterns, venue management (with Google maps), calendars and customisable event lists
|
@@ -75,13 +75,13 @@ Event Organiser adds event management that integrates well with your WordPress s
|
|
75 |
A big thank you to those who have provided translations for Event Organiser. If you wish to help out with translating the plug-in, you can do so [here](http://wp-event-organiser.com/i18n).
|
76 |
|
77 |
* French - [Remy Perona](http://remyperona.fr/)
|
78 |
-
* Spanish - Joseba Sanchez
|
79 |
* German - [Martin Grether](http://www.datema.de/) & [Henning Matthaei](http://www.partnerwerk.de/)
|
80 |
* Italian - Emilio Frusciante, Pio Muto
|
81 |
* Norwegian - Erlend Birkedal
|
82 |
* Swedish - Sofia Bråvander
|
83 |
-
* Portuguese (Brazilian) - [Rafael Wahasugui](http://www.twitter.com/rafawhs)
|
84 |
-
* Dutch - [Ingrid Ekkers](http://www.247design.nl)
|
85 |
* Polish - [Bartosz Arendt](http://digitalfactory.pl/)
|
86 |
* Russian - [Sergei](www.vortexinter.ru)
|
87 |
* Hungarian - Csaba Erdei
|
@@ -91,6 +91,8 @@ A big thank you to those who have provided translations for Event Organiser. If
|
|
91 |
* Thai - Nibhon, Wuttichai Songprapai
|
92 |
* Turkish - Gökhan DAMGACI
|
93 |
* Croatian - Branimir
|
|
|
|
|
94 |
|
95 |
## Installation ##
|
96 |
|
@@ -201,6 +203,26 @@ More information on shortcodes is [available here](http://wp-event-organiser.com
|
|
201 |
|
202 |
## Changelog ##
|
203 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
204 |
### 2.4 ###
|
205 |
* iCal parser updated. Specifically:
|
206 |
- Improved timezone handling
|
4 |
**Tags:** events, event, event categories, event organizer, events calendar, event management, ical, locations, google map, widget, venues, maps, gigs, shows,
|
5 |
**Requires at least:** 3.3
|
6 |
**Tested up to:** 3.7.1
|
7 |
+
**Stable tag:** 2.5.1
|
8 |
**License:** GPLv3
|
9 |
|
10 |
Create and maintain events, including complex reoccurring patterns, venue management (with Google maps), calendars and customisable event lists
|
75 |
A big thank you to those who have provided translations for Event Organiser. If you wish to help out with translating the plug-in, you can do so [here](http://wp-event-organiser.com/i18n).
|
76 |
|
77 |
* French - [Remy Perona](http://remyperona.fr/)
|
78 |
+
* Spanish - Joseba Sanchez, jagarre
|
79 |
* German - [Martin Grether](http://www.datema.de/) & [Henning Matthaei](http://www.partnerwerk.de/)
|
80 |
* Italian - Emilio Frusciante, Pio Muto
|
81 |
* Norwegian - Erlend Birkedal
|
82 |
* Swedish - Sofia Bråvander
|
83 |
+
* Portuguese (Brazilian) - [Rafael Wahasugui](http://www.twitter.com/rafawhs), rafaelkvidal
|
84 |
+
* Dutch - [Ingrid Ekkers](http://www.247design.nl), Roel
|
85 |
* Polish - [Bartosz Arendt](http://digitalfactory.pl/)
|
86 |
* Russian - [Sergei](www.vortexinter.ru)
|
87 |
* Hungarian - Csaba Erdei
|
91 |
* Thai - Nibhon, Wuttichai Songprapai
|
92 |
* Turkish - Gökhan DAMGACI
|
93 |
* Croatian - Branimir
|
94 |
+
* Catalan - jordioniric, marc.antje
|
95 |
+
|
96 |
|
97 |
## Installation ##
|
98 |
|
203 |
|
204 |
## Changelog ##
|
205 |
|
206 |
+
### 2.5.1 ###
|
207 |
+
* Fix js error (variable not defined) introduced in 2.5.
|
208 |
+
* Fix "delete occurrence" from admin calendar not working.
|
209 |
+
* Recompiled .po files (should fix some text not being translated).
|
210 |
+
|
211 |
+
### 2.5 ###
|
212 |
+
* iCal import can now import HTML descriptions.
|
213 |
+
* Fixes bug with iCal import where feed contained VALARM.
|
214 |
+
* qTip updated to 2.1.1.
|
215 |
+
* Event list widget can sort by publication dates.
|
216 |
+
* Styling for MP6 compatability added.
|
217 |
+
* Display warning if an event in an imported iCal feed does not contain a UID.
|
218 |
+
* Added class `eo-datepicker` to all front-end jQuery UI datepickers.
|
219 |
+
* Fixes bug with long events in the widget calendar. [See #159](https://github.com/stephenharris/Event-Organiser/issues/159).
|
220 |
+
* Added Catalan translation, thanks to jordioniric, marc.antje.
|
221 |
+
* Updated Dutch translation, thanks to roel.
|
222 |
+
* Updated Portugese (Brazil) translation, thanks to rafaelkvidal.
|
223 |
+
* Updated Spanish translation, thanks to jagarre.
|
224 |
+
|
225 |
+
|
226 |
### 2.4 ###
|
227 |
* iCal parser updated. Specifically:
|
228 |
- Improved timezone handling
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.wp-event-organiser.com/donate
|
|
4 |
Tags: events, event, event categories, event organizer, events calendar, event management, ical, locations, google map, widget, venues, maps, gigs, shows,
|
5 |
Requires at least: 3.3
|
6 |
Tested up to: 3.7.1
|
7 |
-
Stable tag: 2.
|
8 |
License: GPLv3
|
9 |
|
10 |
Create and maintain events, including complex reoccurring patterns, venue management (with Google maps), calendars and customisable event lists
|
@@ -75,13 +75,13 @@ Event Organiser adds event management that integrates well with your WordPress s
|
|
75 |
A big thank you to those who have provided translations for Event Organiser. If you wish to help out with translating the plug-in, you can do so [here](http://wp-event-organiser.com/i18n).
|
76 |
|
77 |
* French - [Remy Perona](http://remyperona.fr/)
|
78 |
-
* Spanish - Joseba Sanchez
|
79 |
* German - [Martin Grether](http://www.datema.de/) & [Henning Matthaei](http://www.partnerwerk.de/)
|
80 |
* Italian - Emilio Frusciante, Pio Muto
|
81 |
* Norwegian - Erlend Birkedal
|
82 |
* Swedish - Sofia Bråvander
|
83 |
-
* Portuguese (Brazilian) - [Rafael Wahasugui](http://www.twitter.com/rafawhs)
|
84 |
-
* Dutch - [Ingrid Ekkers](http://www.247design.nl)
|
85 |
* Polish - [Bartosz Arendt](http://digitalfactory.pl/)
|
86 |
* Russian - [Sergei](www.vortexinter.ru)
|
87 |
* Hungarian - Csaba Erdei
|
@@ -91,6 +91,8 @@ A big thank you to those who have provided translations for Event Organiser. If
|
|
91 |
* Thai - Nibhon, Wuttichai Songprapai
|
92 |
* Turkish - Gökhan DAMGACI
|
93 |
* Croatian - Branimir
|
|
|
|
|
94 |
|
95 |
== Installation ==
|
96 |
|
@@ -189,6 +191,26 @@ More information on shortcodes is [available here](http://wp-event-organiser.com
|
|
189 |
|
190 |
== Changelog ==
|
191 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
192 |
= 2.4 =
|
193 |
* iCal parser updated. Specifically:
|
194 |
- Improved timezone handling
|
4 |
Tags: events, event, event categories, event organizer, events calendar, event management, ical, locations, google map, widget, venues, maps, gigs, shows,
|
5 |
Requires at least: 3.3
|
6 |
Tested up to: 3.7.1
|
7 |
+
Stable tag: 2.5.1
|
8 |
License: GPLv3
|
9 |
|
10 |
Create and maintain events, including complex reoccurring patterns, venue management (with Google maps), calendars and customisable event lists
|
75 |
A big thank you to those who have provided translations for Event Organiser. If you wish to help out with translating the plug-in, you can do so [here](http://wp-event-organiser.com/i18n).
|
76 |
|
77 |
* French - [Remy Perona](http://remyperona.fr/)
|
78 |
+
* Spanish - Joseba Sanchez, jagarre
|
79 |
* German - [Martin Grether](http://www.datema.de/) & [Henning Matthaei](http://www.partnerwerk.de/)
|
80 |
* Italian - Emilio Frusciante, Pio Muto
|
81 |
* Norwegian - Erlend Birkedal
|
82 |
* Swedish - Sofia Bråvander
|
83 |
+
* Portuguese (Brazilian) - [Rafael Wahasugui](http://www.twitter.com/rafawhs), rafaelkvidal
|
84 |
+
* Dutch - [Ingrid Ekkers](http://www.247design.nl), Roel
|
85 |
* Polish - [Bartosz Arendt](http://digitalfactory.pl/)
|
86 |
* Russian - [Sergei](www.vortexinter.ru)
|
87 |
* Hungarian - Csaba Erdei
|
91 |
* Thai - Nibhon, Wuttichai Songprapai
|
92 |
* Turkish - Gökhan DAMGACI
|
93 |
* Croatian - Branimir
|
94 |
+
* Catalan - jordioniric, marc.antje
|
95 |
+
|
96 |
|
97 |
== Installation ==
|
98 |
|
191 |
|
192 |
== Changelog ==
|
193 |
|
194 |
+
= 2.5.1 =
|
195 |
+
* Fix js error (variable not defined) introduced in 2.5.
|
196 |
+
* Fix "delete occurrence" from admin calendar not working.
|
197 |
+
* Recompiled .po files (should fix some text not being translated).
|
198 |
+
|
199 |
+
= 2.5 =
|
200 |
+
* iCal import can now import HTML descriptions.
|
201 |
+
* Fixes bug with iCal import where feed contained VALARM.
|
202 |
+
* qTip updated to 2.1.1.
|
203 |
+
* Event list widget can sort by publication dates.
|
204 |
+
* Styling for MP6 compatability added.
|
205 |
+
* Display warning if an event in an imported iCal feed does not contain a UID.
|
206 |
+
* Added class `eo-datepicker` to all front-end jQuery UI datepickers.
|
207 |
+
* Fixes bug with long events in the widget calendar. [See #159](https://github.com/stephenharris/Event-Organiser/issues/159).
|
208 |
+
* Added Catalan translation, thanks to jordioniric, marc.antje.
|
209 |
+
* Updated Dutch translation, thanks to roel.
|
210 |
+
* Updated Portugese (Brazil) translation, thanks to rafaelkvidal.
|
211 |
+
* Updated Spanish translation, thanks to jagarre.
|
212 |
+
|
213 |
+
|
214 |
= 2.4 =
|
215 |
* iCal parser updated. Specifically:
|
216 |
- Improved timezone handling
|