All-in-One Event Calendar - Version 1.7

Version Description

Download this release

Release Info

Developer yani.iliev
Plugin Icon 128x128 All-in-One Event Calendar
Version 1.7
Comparing to
See all releases

Code changes from version 1.6.3 to 1.7

Files changed (46) hide show
  1. all-in-one-event-calendar.php +13 -3
  2. app/controller/class-ai1ec-app-controller.php +8 -9
  3. app/controller/class-ai1ec-calendar-controller.php +43 -35
  4. app/controller/class-ai1ec-events-controller.php +2 -2
  5. app/controller/class-ai1ec-themes-controller.php +120 -1
  6. app/helper/class-ai1ec-app-helper.php +33 -15
  7. app/helper/class-ai1ec-calendar-helper.php +27 -10
  8. app/helper/class-ai1ec-events-helper.php +4 -6
  9. app/helper/class-ai1ec-importer-helper.php +28 -4
  10. app/helper/class-ai1ec-settings-helper.php +4 -0
  11. app/helper/class-ai1ec-view-helper.php +21 -4
  12. app/model/class-ai1ec-event.php +5 -2
  13. app/model/class-ai1ec-settings.php +25 -2
  14. app/view/admin/admin_notices.php +5 -6
  15. app/view/admin/box_general_settings.php +13 -1
  16. app/view/admin/class-ai1ec-agenda-widget.php +2 -0
  17. app/view/admin/css/add_new_event.css +1 -0
  18. app/view/admin/css/settings.css +0 -3
  19. app/view/admin/js/add_new_event.js +0 -35
  20. app/view/admin/js/jquery-tools-1.2.5.min.js +0 -115
  21. app/view/admin/js/jquery.tools.min.js +47 -0
  22. app/view/admin/themes-updated.php +21 -0
  23. language/all-in-one-event-calendar.pot +152 -98
  24. readme.txt +14 -21
  25. themes-ai1ec/vortex/agenda-widget.php +6 -0
  26. themes-ai1ec/vortex/agenda.php +9 -0
  27. themes-ai1ec/vortex/css/calendar.css +939 -1
  28. themes-ai1ec/vortex/css/event.css +214 -1
  29. themes-ai1ec/vortex/css/general.css +1808 -1
  30. themes-ai1ec/vortex/css/print.css +106 -1
  31. themes-ai1ec/vortex/js/bootstrap-dropdown.js +4 -4
  32. themes-ai1ec/vortex/js/bootstrap-tooltip.js +2 -2
  33. themes-ai1ec/vortex/js/calendar.js +107 -79
  34. themes-ai1ec/vortex/js/calendar.min.js +1 -1
  35. themes-ai1ec/vortex/js/general.min.js +1 -1
  36. themes-ai1ec/vortex/less/build-css.sh +1 -1
  37. themes-ai1ec/vortex/less/calendar.less +13 -5
  38. themes-ai1ec/vortex/less/event.less +5 -5
  39. themes-ai1ec/vortex/less/general.less +15 -8
  40. themes-ai1ec/vortex/less/mixins-custom.less +5 -5
  41. themes-ai1ec/vortex/less/variables.less +6 -32
  42. themes-ai1ec/vortex/month.php +11 -4
  43. themes-ai1ec/vortex/oneday.php +18 -2
  44. themes-ai1ec/vortex/style.css +1 -1
  45. themes-ai1ec/vortex/week.php +20 -3
  46. uninstall.php +68 -55
all-in-one-event-calendar.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: A calendar system with month, week, day, agenda views, upcoming events widget, color-coded categories, recurrence, and import/export of .ics feeds.
6
  * Author: Then.ly
7
  * Author URI: http://then.ly/
8
- * Version: 1.6.3
9
  */
10
  @set_time_limit( 0 );
11
  @ini_set( 'memory_limit', '256M' );
@@ -24,20 +24,25 @@ define( 'AI1EC_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
24
  // ==================
25
  // = Plugin Version =
26
  // ==================
27
- define( 'AI1EC_VERSION', '1.6.3' );
28
 
29
  // ====================
30
  // = Database Version =
31
  // ====================
32
  define( 'AI1EC_DB_VERSION', 109 );
33
 
 
 
 
 
 
34
  // ================
35
  // = Cron Version =
36
  // ================
37
  define( 'AI1EC_CRON_VERSION', 102 );
38
  define( 'AI1EC_N_CRON_VERSION', 101 );
39
  define( 'AI1EC_N_CRON_FREQ', 'daily' );
40
- define( 'AI1EC_UPDATES_URL', 'http://then.ly/assets/thenly-all-in-one-calendar-1.6.3.zip' );
41
 
42
  // ===============
43
  // = Plugin Path =
@@ -159,6 +164,11 @@ define( 'AI1EC_ADMIN_THEME_IMG_URL', AI1EC_URL . '/app/view/admin/' . AI1EC_IMG_
159
  // =============
160
  define( 'AI1EC_POST_TYPE', 'ai1ec_event' );
161
 
 
 
 
 
 
162
  // =====================================================
163
  // = FEED SETTINGS PAGE BASE URL (wrap in admin_url()) =
164
  // =====================================================
5
  * Description: A calendar system with month, week, day, agenda views, upcoming events widget, color-coded categories, recurrence, and import/export of .ics feeds.
6
  * Author: Then.ly
7
  * Author URI: http://then.ly/
8
+ * Version: 1.7
9
  */
10
  @set_time_limit( 0 );
11
  @ini_set( 'memory_limit', '256M' );
24
  // ==================
25
  // = Plugin Version =
26
  // ==================
27
+ define( 'AI1EC_VERSION', '1.7' );
28
 
29
  // ====================
30
  // = Database Version =
31
  // ====================
32
  define( 'AI1EC_DB_VERSION', 109 );
33
 
34
+ // ==========================
35
+ // = Bundled themes version =
36
+ // ==========================
37
+ define( 'AI1EC_THEMES_VERSION', 4 );
38
+
39
  // ================
40
  // = Cron Version =
41
  // ================
42
  define( 'AI1EC_CRON_VERSION', 102 );
43
  define( 'AI1EC_N_CRON_VERSION', 101 );
44
  define( 'AI1EC_N_CRON_FREQ', 'daily' );
45
+ define( 'AI1EC_UPDATES_URL', 'http://then.ly/assets/thenly-all-in-one-calendar-1.7.zip' );
46
 
47
  // ===============
48
  // = Plugin Path =
164
  // =============
165
  define( 'AI1EC_POST_TYPE', 'ai1ec_event' );
166
 
167
+ // =====================================================
168
+ // = UPDATE THEMES PAGE BASE URL (wrap in admin_url()) =
169
+ // =====================================================
170
+ define( 'AI1EC_UPDATE_THEMES_BASE_URL', 'themes.php?page=' . AI1EC_PLUGIN_NAME . '-update-themes' );
171
+
172
  // =====================================================
173
  // = FEED SETTINGS PAGE BASE URL (wrap in admin_url()) =
174
  // =====================================================
app/controller/class-ai1ec-app-controller.php CHANGED
@@ -77,11 +77,6 @@ class Ai1ec_App_Controller {
77
 
78
  // Configure MySQL to operate in GMT time
79
  $wpdb->query( "SET time_zone = '+0:00'" );
80
-
81
- if( $ai1ec_settings->allow_statistics == TRUE ) {
82
- $ai1ec_settings->allow_statistics = false;
83
- $ai1ec_settings->save();
84
- }
85
 
86
  // Load plugin text domain
87
  $this->load_textdomain();
@@ -95,9 +90,8 @@ class Ai1ec_App_Controller {
95
  // Enable stats collection
96
  $this->install_n_cron();
97
 
98
- // Continue loading hooks only if themes are installed
99
- // otherwise display a notification on the backend with instructions
100
- // how to install themes
101
  if( ! $ai1ec_themes_controller->are_themes_available() ) {
102
  add_action( 'admin_notices', array( &$ai1ec_app_helper, 'admin_notices' ) );
103
  return;
@@ -120,6 +114,11 @@ class Ai1ec_App_Controller {
120
  add_action( 'admin_init', array( &$ai1ec_importer_controller, 'register_importer' ) );
121
  // Install admin menu items.
122
  add_action( 'admin_menu', array( &$this, 'admin_menu' ), 9 );
 
 
 
 
 
123
  // Add Event counts to dashboard.
124
  add_action( 'right_now_content_table_end', array( &$ai1ec_app_helper, 'right_now_content_table_end' ) );
125
  // add content for our custom columns
@@ -624,7 +623,7 @@ class Ai1ec_App_Controller {
624
 
625
  return $content;
626
  }
627
-
628
  /**
629
  * upgrade function
630
  *
77
 
78
  // Configure MySQL to operate in GMT time
79
  $wpdb->query( "SET time_zone = '+0:00'" );
 
 
 
 
 
80
 
81
  // Load plugin text domain
82
  $this->load_textdomain();
90
  // Enable stats collection
91
  $this->install_n_cron();
92
 
93
+ // Continue loading hooks only if themes are installed. Otherwise display a
94
+ // notification on the backend with instructions how to install themes.
 
95
  if( ! $ai1ec_themes_controller->are_themes_available() ) {
96
  add_action( 'admin_notices', array( &$ai1ec_app_helper, 'admin_notices' ) );
97
  return;
114
  add_action( 'admin_init', array( &$ai1ec_importer_controller, 'register_importer' ) );
115
  // Install admin menu items.
116
  add_action( 'admin_menu', array( &$this, 'admin_menu' ), 9 );
117
+ // Enable theme updater page if last version of core themes is older than
118
+ // current version.
119
+ if ( $ai1ec_themes_controller->are_themes_outdated() ) {
120
+ add_action( 'admin_menu', array( &$ai1ec_themes_controller, 'register_theme_updater' ) );
121
+ }
122
  // Add Event counts to dashboard.
123
  add_action( 'right_now_content_table_end', array( &$ai1ec_app_helper, 'right_now_content_table_end' ) );
124
  // add content for our custom columns
623
 
624
  return $content;
625
  }
626
+
627
  /**
628
  * upgrade function
629
  *
app/controller/class-ai1ec-calendar-controller.php CHANGED
@@ -267,7 +267,8 @@ class Ai1ec_Calendar_Controller {
267
  {
268
  global $ai1ec_view_helper,
269
  $ai1ec_events_helper,
270
- $ai1ec_calendar_helper;
 
271
 
272
  $defaults = array(
273
  'month_offset' => 0,
@@ -291,12 +292,13 @@ class Ai1ec_Calendar_Controller {
291
  $pagination_links = $ai1ec_calendar_helper->get_month_pagination_links( $month_offset );
292
 
293
  $view_args = array(
294
- 'title' => date_i18n( 'F Y', $timestamp, true ),
295
- 'weekdays' => $ai1ec_calendar_helper->get_weekdays(),
296
- 'cell_array' => $cell_array,
297
- 'pagination_links' => $pagination_links,
298
- 'active_event' => $active_event,
299
- 'post_ids' => join( ',', $post_ids ),
 
300
  );
301
 
302
  return apply_filters( 'ai1ec_get_month_view', $ai1ec_view_helper->get_theme_view( 'month.php', $view_args ), $view_args );
@@ -326,7 +328,8 @@ class Ai1ec_Calendar_Controller {
326
  {
327
  global $ai1ec_view_helper,
328
  $ai1ec_events_helper,
329
- $ai1ec_calendar_helper;
 
330
 
331
  $defaults = array(
332
  'oneday_offset' => 0,
@@ -351,15 +354,16 @@ class Ai1ec_Calendar_Controller {
351
  $pagination_links = $ai1ec_calendar_helper->get_oneday_pagination_links( $oneday_offset );
352
 
353
  $view_args = array(
354
- 'title' => date_i18n( 'j F Y', $timestamp, true ),
355
- 'cell_array' => $cell_array,
356
- 'now_top' => $bits['hours'] * 60 + $bits['minutes'],
357
- 'pagination_links' => $pagination_links,
358
- 'active_event' => $active_event,
359
- 'post_ids' => join( ',', $post_ids ),
360
- 'time_format' => get_option( 'time_format', 'g a' ),
361
- 'done_allday_label' => false,
362
- 'done_grid' => false
 
363
  );
364
  return apply_filters( 'ai1ec_get_oneday_view', $ai1ec_view_helper->get_theme_view( 'oneday.php', $view_args ), $view_args );
365
  }
@@ -388,7 +392,8 @@ class Ai1ec_Calendar_Controller {
388
  {
389
  global $ai1ec_view_helper,
390
  $ai1ec_events_helper,
391
- $ai1ec_calendar_helper;
 
392
 
393
  $defaults = array(
394
  'week_offset' => 0,
@@ -415,17 +420,18 @@ class Ai1ec_Calendar_Controller {
415
  array( 'cat_ids' => $categories, 'cat_ids' => $tags, 'post_ids' => $post_ids ) );
416
  $pagination_links = $ai1ec_calendar_helper->get_week_pagination_links( $week_offset );
417
 
418
- /* translators: "%s" represents the week's starting date */
419
  $view_args = array(
420
- 'title' => sprintf( __( 'Week of %s', AI1EC_PLUGIN_NAME ), date_i18n( __( 'F j', AI1EC_PLUGIN_NAME ), $timestamp, true ) ),
421
- 'cell_array' => $cell_array,
422
- 'now_top' => $bits['hours'] * 60 + $bits['minutes'],
423
- 'pagination_links' => $pagination_links,
424
- 'active_event' => $active_event,
425
- 'post_ids' => join( ',', $post_ids ),
426
- 'time_format' => get_option( 'time_format', 'g a' ),
427
- 'done_allday_label' => false,
428
- 'done_grid' => false
 
429
  );
430
  return apply_filters( 'ai1ec_get_week_view', $ai1ec_view_helper->get_theme_view( 'week.php', $view_args ), $view_args );
431
  }
@@ -474,13 +480,15 @@ class Ai1ec_Calendar_Controller {
474
 
475
  // Incorporate offset into date
476
  $args = array(
477
- 'title' => __( 'Agenda', AI1EC_PLUGIN_NAME ),
478
- 'dates' => $dates,
479
- 'page_offset' => $page_offset,
480
- 'pagination_links' => $pagination_links,
481
- 'active_event' => $active_event,
482
- 'expanded' => $ai1ec_settings->agenda_events_expanded,
483
- 'post_ids' => join( ',', $post_ids )
 
 
484
  );
485
  return apply_filters( 'ai1ec_get_agenda_view', $ai1ec_view_helper->get_theme_view( 'agenda.php', $args ), $args );
486
  }
267
  {
268
  global $ai1ec_view_helper,
269
  $ai1ec_events_helper,
270
+ $ai1ec_calendar_helper,
271
+ $ai1ec_settings;
272
 
273
  $defaults = array(
274
  'month_offset' => 0,
292
  $pagination_links = $ai1ec_calendar_helper->get_month_pagination_links( $month_offset );
293
 
294
  $view_args = array(
295
+ 'title' => date_i18n( 'F Y', $timestamp, true ),
296
+ 'weekdays' => $ai1ec_calendar_helper->get_weekdays(),
297
+ 'cell_array' => $cell_array,
298
+ 'show_location_in_title' => $ai1ec_settings->show_location_in_title,
299
+ 'pagination_links' => $pagination_links,
300
+ 'active_event' => $active_event,
301
+ 'post_ids' => join( ',', $post_ids ),
302
  );
303
 
304
  return apply_filters( 'ai1ec_get_month_view', $ai1ec_view_helper->get_theme_view( 'month.php', $view_args ), $view_args );
328
  {
329
  global $ai1ec_view_helper,
330
  $ai1ec_events_helper,
331
+ $ai1ec_calendar_helper,
332
+ $ai1ec_settings;
333
 
334
  $defaults = array(
335
  'oneday_offset' => 0,
354
  $pagination_links = $ai1ec_calendar_helper->get_oneday_pagination_links( $oneday_offset );
355
 
356
  $view_args = array(
357
+ 'title' => date_i18n( 'j F Y', $timestamp, true ),
358
+ 'cell_array' => $cell_array,
359
+ 'show_location_in_title' => $ai1ec_settings->show_location_in_title,
360
+ 'now_top' => $bits['hours'] * 60 + $bits['minutes'],
361
+ 'pagination_links' => $pagination_links,
362
+ 'active_event' => $active_event,
363
+ 'post_ids' => join( ',', $post_ids ),
364
+ 'time_format' => get_option( 'time_format', 'g a' ),
365
+ 'done_allday_label' => false,
366
+ 'done_grid' => false
367
  );
368
  return apply_filters( 'ai1ec_get_oneday_view', $ai1ec_view_helper->get_theme_view( 'oneday.php', $view_args ), $view_args );
369
  }
392
  {
393
  global $ai1ec_view_helper,
394
  $ai1ec_events_helper,
395
+ $ai1ec_calendar_helper,
396
+ $ai1ec_settings;
397
 
398
  $defaults = array(
399
  'week_offset' => 0,
420
  array( 'cat_ids' => $categories, 'cat_ids' => $tags, 'post_ids' => $post_ids ) );
421
  $pagination_links = $ai1ec_calendar_helper->get_week_pagination_links( $week_offset );
422
 
423
+ // Translators: "%s" below represents the week's start date.
424
  $view_args = array(
425
+ 'title' => sprintf( __( 'Week of %s', AI1EC_PLUGIN_NAME ), date_i18n( __( 'F j', AI1EC_PLUGIN_NAME ), $timestamp, true ) ),
426
+ 'cell_array' => $cell_array,
427
+ 'show_location_in_title' => $ai1ec_settings->show_location_in_title,
428
+ 'now_top' => $bits['hours'] * 60 + $bits['minutes'],
429
+ 'pagination_links' => $pagination_links,
430
+ 'active_event' => $active_event,
431
+ 'post_ids' => join( ',', $post_ids ),
432
+ 'time_format' => get_option( 'time_format', 'g a' ),
433
+ 'done_allday_label' => false,
434
+ 'done_grid' => false
435
  );
436
  return apply_filters( 'ai1ec_get_week_view', $ai1ec_view_helper->get_theme_view( 'week.php', $view_args ), $view_args );
437
  }
480
 
481
  // Incorporate offset into date
482
  $args = array(
483
+ 'title' => __( 'Agenda', AI1EC_PLUGIN_NAME ),
484
+ 'dates' => $dates,
485
+ 'show_location_in_title' => $ai1ec_settings->show_location_in_title,
486
+ 'show_year_in_agenda_dates' => $ai1ec_settings->show_year_in_agenda_dates,
487
+ 'page_offset' => $page_offset,
488
+ 'pagination_links' => $pagination_links,
489
+ 'active_event' => $active_event,
490
+ 'expanded' => $ai1ec_settings->agenda_events_expanded,
491
+ 'post_ids' => join( ',', $post_ids )
492
  );
493
  return apply_filters( 'ai1ec_get_agenda_view', $ai1ec_view_helper->get_theme_view( 'agenda.php', $args ), $args );
494
  }
app/controller/class-ai1ec-events-controller.php CHANGED
@@ -118,7 +118,7 @@ class Ai1ec_Events_Controller {
118
  // Include element selector function
119
  $ai1ec_view_helper->admin_enqueue_script( 'ai1ec-element-selector', 'element-selector.js', array( 'jquery' ) );
120
  // Include jQuery Tools form elements
121
- $ai1ec_view_helper->admin_enqueue_script( 'jquery.tools-form', 'jquery-tools-1.2.5.min.js', array( 'jquery' ) );
122
  // Include add new event script
123
  $ai1ec_view_helper->admin_enqueue_script( 'ai1ec-blockui', 'jquery.blockUI.js', array( 'jquery' ) );
124
  // Include date picker plugin
@@ -127,7 +127,7 @@ class Ai1ec_Events_Controller {
127
  $ai1ec_view_helper->admin_enqueue_script( 'ai1ec-add_new_event', 'add_new_event.js', array( 'jquery',
128
  'jquery.timespan',
129
  'ai1ec-element-selector',
130
- 'jquery.tools-form',
131
  'ai1ec-blockui',
132
  'ai1ec-datepicker' ) );
133
 
118
  // Include element selector function
119
  $ai1ec_view_helper->admin_enqueue_script( 'ai1ec-element-selector', 'element-selector.js', array( 'jquery' ) );
120
  // Include jQuery Tools form elements
121
+ $ai1ec_view_helper->admin_enqueue_script( 'jquery.tools', 'jquery.tools.min.js', array( 'jquery' ) );
122
  // Include add new event script
123
  $ai1ec_view_helper->admin_enqueue_script( 'ai1ec-blockui', 'jquery.blockUI.js', array( 'jquery' ) );
124
  // Include date picker plugin
127
  $ai1ec_view_helper->admin_enqueue_script( 'ai1ec-add_new_event', 'add_new_event.js', array( 'jquery',
128
  'jquery.timespan',
129
  'ai1ec-element-selector',
130
+ 'jquery.tools',
131
  'ai1ec-blockui',
132
  'ai1ec-datepicker' ) );
133
 
app/controller/class-ai1ec-themes-controller.php CHANGED
@@ -93,7 +93,9 @@ class Ai1ec_Themes_Controller {
93
  }
94
 
95
  /**
96
- * are_themes_available function
 
 
97
  *
98
  * @return bool
99
  **/
@@ -111,10 +113,29 @@ class Ai1ec_Themes_Controller {
111
 
112
  if( @is_dir( AI1EC_THEMES_ROOT ) === false || @is_dir( AI1EC_DEFAULT_THEME_PATH ) === false )
113
  return false;
 
 
 
114
  }
115
  return true;
116
  }
117
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
118
  /**
119
  * copy_directory function
120
  *
@@ -142,6 +163,104 @@ class Ai1ec_Themes_Controller {
142
  }
143
  }
144
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
145
  /**
146
  * Called immediately after WP theme's functions.php is loaded. Load our own
147
  * theme's functions.php at this time, and the default theme's functions.php.
93
  }
94
 
95
  /**
96
+ * Returns whether core theme files were able to be copied over to wp-content.
97
+ * Checks if they are already there, and if they are not, tries to copy them
98
+ * over. If they can't be copied, returns false.
99
  *
100
  * @return bool
101
  **/
113
 
114
  if( @is_dir( AI1EC_THEMES_ROOT ) === false || @is_dir( AI1EC_DEFAULT_THEME_PATH ) === false )
115
  return false;
116
+
117
+ // Update installed core themes version.
118
+ update_option( 'ai1ec_themes_version', AI1EC_THEMES_VERSION );
119
  }
120
  return true;
121
  }
122
 
123
+ /**
124
+ * Returns whether core theme files need to be updated (only if core theme
125
+ * files exist in the first place, checked using above function).
126
+ *
127
+ * @return bool
128
+ */
129
+ public function are_themes_outdated() {
130
+ if ( ! $this->are_themes_available() ) {
131
+ return FALSE;
132
+ }
133
+ if ( get_option( 'ai1ec_themes_version', 1 ) >= AI1EC_THEMES_VERSION ) {
134
+ return FALSE;
135
+ }
136
+ return TRUE;
137
+ }
138
+
139
  /**
140
  * copy_directory function
141
  *
163
  }
164
  }
165
 
166
+
167
+ /**
168
+ * Register Update Calendar Themes page in wp-admin.
169
+ */
170
+ function register_theme_updater() {
171
+ // Add menu item for theme update page, but without the actual menu item
172
+ // by removing it again right away.
173
+ add_submenu_page(
174
+ 'themes.php',
175
+ __( 'Update Core Calendar Files', AI1EC_PLUGIN_NAME ),
176
+ __( 'Update Core Calendar Files', AI1EC_PLUGIN_NAME ),
177
+ 'install_themes',
178
+ AI1EC_PLUGIN_NAME . '-update-themes',
179
+ array( &$this, 'update_core_themes' )
180
+ );
181
+ remove_submenu_page( 'themes.php', AI1EC_PLUGIN_NAME . '-update-themes' );
182
+ }
183
+
184
+ /**
185
+ * Called by the Update Calendar Themes page. Updates core themes with any
186
+ * files that have changed since the last time a theme update has run.
187
+ */
188
+ function update_core_themes() {
189
+ global $ai1ec_view_helper;
190
+
191
+ $src_dir = trailingslashit( AI1EC_PATH . '/' . AI1EC_THEMES_FOLDER . '/' );
192
+ $dest_dir = trailingslashit( AI1EC_THEMES_ROOT . '/' );
193
+
194
+ // Get previous version of core themes.
195
+ $active_version = get_option( 'ai1ec_themes_version', 1 );
196
+
197
+ $files = array();
198
+ if ( $active_version < 2 ) {
199
+ // Copy over files updated between AI1EC 1.6 and 1.7 RC1
200
+ $files[] = 'vortex/agenda.php';
201
+ $files[] = 'vortex/agenda-widget.php';
202
+ $files[] = 'vortex/js/bootstrap-dropdown.js';
203
+ $files[] = 'vortex/js/bootstrap-tooltip.js';
204
+ $files[] = 'vortex/js/general.min.js';
205
+ $files[] = 'vortex/css/calendar.css';
206
+ $files[] = 'vortex/css/event.css';
207
+ $files[] = 'vortex/css/general.css';
208
+ $files[] = 'vortex/css/print.css';
209
+ $files[] = 'vortex/less/build-css.sh';
210
+ $files[] = 'vortex/less/calendar.less';
211
+ $files[] = 'vortex/less/event.less';
212
+ $files[] = 'vortex/less/general.less';
213
+ $files[] = 'vortex/less/mixins-custom.less';
214
+ $files[] = 'vortex/less/variables.less';
215
+ $files[] = 'vortex/month.php';
216
+ $files[] = 'vortex/oneday.php';
217
+ $files[] = 'vortex/style.css';
218
+ $files[] = 'vortex/week.php';
219
+ }
220
+
221
+ if ( $active_version < 3 ) {
222
+ // Copy over files updated between AI1EC 1.7 RC1 and AI1EC 1.7 RC2
223
+ $files[] = 'vortex/js/calendar.min.js';
224
+ $files[] = 'vortex/js/calendar.js';
225
+ }
226
+
227
+ if ( $active_version < 4 ) {
228
+ // Copy over files updated between AI1EC 1.7 RC2 and AI1EC 1.7 RC3
229
+ $files[] = 'vortex/js/calendar.min.js';
230
+ $files[] = 'vortex/js/calendar.js';
231
+ }
232
+
233
+ // Remove duplicates.
234
+ $files = array_unique( $files );
235
+
236
+ $errors = array();
237
+ foreach ( $files as $file ) {
238
+ if ( ! copy( $src_dir . $file, $dest_dir . $file ) ) {
239
+ $errors[] = sprintf(
240
+ __( '<div class="error"><p><strong>There was an error updating one of the files.</strong> Please FTP to your web server and manually copy <pre>%s</pre> to <pre>%s</pre></p></div>', AI1EC_PLUGIN_NAME ),
241
+ $src_dir . $file,
242
+ $dest_dir . $file
243
+ );
244
+ }
245
+ }
246
+
247
+ update_option( 'ai1ec_themes_version', AI1EC_THEMES_VERSION );
248
+
249
+ if ( $errors ) {
250
+ $msg = __( '<div id="message" class="error"><h3>Errors occurred while we tried to update your core calendar files.</h3><p><strong>Please follow any instructions listed below or your calendar may malfunction:</strong></p></div>', AI1EC_PLUGIN_NAME );
251
+ }
252
+ else {
253
+ $msg = __( '<div id="message" class="updated"><h3>Your core calendar files were updated successfully.</h3></div>', AI1EC_PLUGIN_NAME );
254
+ }
255
+
256
+ $args = array(
257
+ 'msg' => $msg,
258
+ 'errors' => $errors,
259
+ );
260
+
261
+ $ai1ec_view_helper->display_admin( 'themes-updated.php', $args );
262
+ }
263
+
264
  /**
265
  * Called immediately after WP theme's functions.php is loaded. Load our own
266
  * theme's functions.php at this time, and the default theme's functions.php.
app/helper/class-ai1ec-app-helper.php CHANGED
@@ -683,42 +683,60 @@ class Ai1ec_App_Helper {
683
  $plugin_page,
684
  $ai1ec_themes_controller;
685
 
 
686
  if( ! $ai1ec_themes_controller->are_themes_available() ) {
687
  $args = array(
688
  'label' => 'All-in-One Calendar Notice',
689
  'msg' => sprintf(
690
- __( '<p><strong>Calendar Themes are not installed.</strong></p>' .
691
- '<p>Our automated install couldn\'t install your themes automatically. ' .
692
- 'You will need to install calendar themes manually by following these steps:</p>' .
693
- '<ol><li>Go to <strong>%s</strong>.</li>' .
694
- '<li>Copy the <strong>%s</strong> folder to the clipboard.</li>' .
695
- '<li>Go to <strong>%s</strong>.</li>' .
696
- '<li>Paste the <strong>%s</strong> folder that you copied to the clipboard in step 2.</li>' .
697
- '<li>Refresh this page and if this notice is gone, themes are installed.</li></ol>', AI1EC_PLUGIN_NAME ),
698
  AI1EC_PATH,
699
  AI1EC_THEMES_FOLDER,
700
  WP_CONTENT_DIR,
701
- AI1EC_THEMES_FOLDER )
 
702
  );
703
  $ai1ec_view_helper->display_admin( 'admin_notices.php', $args );
704
  }
705
- /*
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
706
  if( $ai1ec_settings->show_data_notification ) {
707
  $args = array(
708
  'label' => 'All-in-One Calendar Notice',
709
  'msg' =>
710
  sprintf(
711
- __( '<p>We collect some basic information about how your calendar works in order to deliver a better ' .
712
  'and faster calendar system and one that will help you promote your events even more.</p>' .
713
  '<p>You can find more detailed information by <a href="%s" target="_blank">clicking here &raquo;</a></p>' .
714
- '<p>You may opt out of sending data to us by unchecking &quot;Allow Then.ly to collect statistics&quot; checkbox located on plugin\'s <a href="%s">Settings page</a>.</p>', AI1EC_PLUGIN_NAME ),
715
  'http://then.ly/all-in-one-event-calendar-privacy-policy/',
716
  admin_url( AI1EC_SETTINGS_BASE_URL )
717
  ),
718
  'button' => (object) array( 'class' => 'ai1ec-dismiss-notification', 'value' => 'Dismiss' ),
719
  );
720
  $ai1ec_view_helper->display_admin( 'admin_notices.php', $args );
721
- }*/
722
 
723
  // If calendar page ID has not been set, and we're not updating the settings
724
  // page, the calendar is not properly set up yet.
@@ -728,7 +746,7 @@ class Ai1ec_App_Helper {
728
 
729
  // Display messages for blog admin.
730
  if( current_user_can( 'manage_ai1ec_options' ) ) {
731
- // If not on the settings page already, direct user there.
732
  if( $plugin_page == AI1EC_PLUGIN_NAME . '-settings' ) {
733
  if( ! $ai1ec_settings->calendar_page_id ) {
734
  $messages[] = __( 'Select an option in the <strong>Calendar page</strong> dropdown list.', AI1EC_PLUGIN_NAME );
@@ -738,7 +756,7 @@ class Ai1ec_App_Helper {
738
  }
739
  $messages[] = __( 'Click <strong>Update Settings</strong>.', AI1EC_PLUGIN_NAME );
740
  }
741
- // Else instruct user as to what to do on the settings page.
742
  else {
743
  $messages[] = sprintf(
744
  __( 'The plugin is installed, but has not been configured. <a href="%s">Click here to set it up now &raquo;</a>', AI1EC_PLUGIN_NAME ),
683
  $plugin_page,
684
  $ai1ec_themes_controller;
685
 
686
+ // No themes available notice.
687
  if( ! $ai1ec_themes_controller->are_themes_available() ) {
688
  $args = array(
689
  'label' => 'All-in-One Calendar Notice',
690
  'msg' => sprintf(
691
+ __( '<p><strong>Core calendar files are not installed.</strong></p>' .
692
+ '<p>Our automated install couldn\'t install certain core files automatically. ' .
693
+ 'You will need to install these files manually by following these steps:</p>' .
694
+ '<ol><li>Gain access to your WordPress files. Either direct filesystem access or FTP access is fine.</li>' .
695
+ '<li>Navigate to the <strong>%s</strong> folder.</li>' .
696
+ '<li>Copy the <strong>%s</strong> folder and all of its contents into the <strong>%s</strong> folder.</li>' .
697
+ '<li>You should now have a folder named <strong>%s</strong> containing all the same files and sub-folders as <strong>%s</strong> does.</li>' .
698
+ '<li>Refresh this page and if this notice is gone, the core files are installed.</li></ol>', AI1EC_PLUGIN_NAME ),
699
  AI1EC_PATH,
700
  AI1EC_THEMES_FOLDER,
701
  WP_CONTENT_DIR,
702
+ WP_CONTENT_DIR . '/' . AI1EC_THEMES_FOLDER,
703
+ AI1EC_PATH . '/' . AI1EC_THEMES_FOLDER )
704
  );
705
  $ai1ec_view_helper->display_admin( 'admin_notices.php', $args );
706
  }
707
+
708
+ // Outdated themes notice (on all pages except update themes page).
709
+ if ( $plugin_page != AI1EC_PLUGIN_NAME . '-update-themes' && $ai1ec_themes_controller->are_themes_outdated() ) {
710
+ $args = array(
711
+ 'label' => 'All-in-One Calendar Notice',
712
+ 'msg' => sprintf(
713
+ __( '<p><strong>Core calendar files are out of date.</strong> ' .
714
+ 'We have found updates for some of your core calendar files and you should update them now to ensure proper functioning of your calendar.</p>' .
715
+ '<p><strong>Warning:</strong> If you have previously modified any core calendar files, ' .
716
+ 'your changes may be lost during update. Please make a backup of all modifications before proceeding.</p>' .
717
+ '<p>Once you are ready, please <a href="%s">update your core calendar files</a>.</p>', AI1EC_PLUGIN_NAME ),
718
+ admin_url( AI1EC_UPDATE_THEMES_BASE_URL )
719
+ ),
720
+ );
721
+ $ai1ec_view_helper->display_admin( 'admin_notices.php', $args );
722
+ }
723
+
724
  if( $ai1ec_settings->show_data_notification ) {
725
  $args = array(
726
  'label' => 'All-in-One Calendar Notice',
727
  'msg' =>
728
  sprintf(
729
+ __( '<p>We would like to collect some basic information about how your calendar works in order to deliver a better ' .
730
  'and faster calendar system and one that will help you promote your events even more.</p>' .
731
  '<p>You can find more detailed information by <a href="%s" target="_blank">clicking here &raquo;</a></p>' .
732
+ '<p>You may opt in of sending data to us by checking &quot;Allow Then.ly to collect statistics&quot; checkbox located on plugin\'s <a href="%s">Settings page</a>.</p>', AI1EC_PLUGIN_NAME ),
733
  'http://then.ly/all-in-one-event-calendar-privacy-policy/',
734
  admin_url( AI1EC_SETTINGS_BASE_URL )
735
  ),
736
  'button' => (object) array( 'class' => 'ai1ec-dismiss-notification', 'value' => 'Dismiss' ),
737
  );
738
  $ai1ec_view_helper->display_admin( 'admin_notices.php', $args );
739
+ }
740
 
741
  // If calendar page ID has not been set, and we're not updating the settings
742
  // page, the calendar is not properly set up yet.
746
 
747
  // Display messages for blog admin.
748
  if( current_user_can( 'manage_ai1ec_options' ) ) {
749
+ // If on the settings page, instruct user as to what to do.
750
  if( $plugin_page == AI1EC_PLUGIN_NAME . '-settings' ) {
751
  if( ! $ai1ec_settings->calendar_page_id ) {
752
  $messages[] = __( 'Select an option in the <strong>Calendar page</strong> dropdown list.', AI1EC_PLUGIN_NAME );
756
  }
757
  $messages[] = __( 'Click <strong>Update Settings</strong>.', AI1EC_PLUGIN_NAME );
758
  }
759
+ // Else, not on the settings page, so direct user there.
760
  else {
761
  $messages[] = sprintf(
762
  __( 'The plugin is installed, but has not been configured. <a href="%s">Click here to set it up now &raquo;</a>', AI1EC_PLUGIN_NAME ),
app/helper/class-ai1ec-calendar-helper.php CHANGED
@@ -68,16 +68,15 @@ class Ai1ec_Calendar_Helper {
68
  $bits = $ai1ec_events_helper->gmgetdate( $time );
69
  $last_day = gmdate( 't', $time );
70
 
71
- $start_time = gmmktime( 0, 0, 0, $bits['mon'], 1, $bits['year'] );
72
- $end_time = gmmktime( 0, 0, 0, $bits['mon'], $last_day + 1, $bits['year'] );
73
 
74
- $month_events = $this->get_events_between( $start_time, $end_time, $filter );
75
 
76
  // ==========================================
77
  // = Iterate through each date of the month =
78
  // ==========================================
79
- for( $day = 1; $day <= $last_day; $day++ )
80
- {
81
  $start_time = gmmktime( 0, 0, 0, $bits['mon'], $day, $bits['year'] );
82
  $end_time = gmmktime( 0, 0, 0, $bits['mon'], $day + 1, $bits['year'] );
83
 
@@ -85,15 +84,33 @@ class Ai1ec_Calendar_Helper {
85
  $_events = array();
86
  $_allday_events = array();
87
  $_multiday_events = array();
88
- foreach( $month_events as $event ) {
89
  $event_start = $ai1ec_events_helper->gmt_to_local( $event->start );
90
- if( $event_start >= $start_time && $event_start < $end_time ) {
91
- if( $event->allday )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
92
  $_allday_events[] = $event;
93
- elseif ($event->multiday)
 
94
  $_multiday_events[] = $event;
95
- else
 
96
  $_events[] = $event;
 
97
  }
98
  }
99
 
68
  $bits = $ai1ec_events_helper->gmgetdate( $time );
69
  $last_day = gmdate( 't', $time );
70
 
71
+ $start_time = $the_first = gmmktime( 0, 0, 0, $bits['mon'], 1, $bits['year'] );
72
+ $end_time = $the_last = gmmktime( 0, 0, 0, $bits['mon'], $last_day + 1, $bits['year'] );
73
 
74
+ $month_events = $this->get_events_between( $start_time, $end_time, $filter, TRUE );
75
 
76
  // ==========================================
77
  // = Iterate through each date of the month =
78
  // ==========================================
79
+ for ( $day = 1; $day <= $last_day; $day++ ) {
 
80
  $start_time = gmmktime( 0, 0, 0, $bits['mon'], $day, $bits['year'] );
81
  $end_time = gmmktime( 0, 0, 0, $bits['mon'], $day + 1, $bits['year'] );
82
 
84
  $_events = array();
85
  $_allday_events = array();
86
  $_multiday_events = array();
87
+ foreach ( $month_events as $event ) {
88
  $event_start = $ai1ec_events_helper->gmt_to_local( $event->start );
89
+ $event_end = $ai1ec_events_helper->gmt_to_local( $event->end );
90
+ // Add this event if:
91
+ // 1. we are populating the 1st & this event starts before the 1st, or
92
+ // 2. this event starts on the currently populated day
93
+ if ( $day == 1 && $event_start < $the_first ||
94
+ $event_start >= $start_time && $event_start < $end_time ) {
95
+ // Set multiday properties. TODO: Should these be made event object
96
+ // properties? They probably shouldn't be saved to the DB, so I'm not
97
+ // sure. Just creating properties dynamically for now.
98
+ if ( $event_start < $the_first ) {
99
+ $event->start_truncated = TRUE;
100
+ }
101
+ if ( $event_end >= $the_last ) {
102
+ $event->end_truncated = TRUE;
103
+ }
104
+ // Categorize event.
105
+ if ( $event->allday ) {
106
  $_allday_events[] = $event;
107
+ }
108
+ elseif ( $event->multiday ) {
109
  $_multiday_events[] = $event;
110
+ }
111
+ else {
112
  $_events[] = $event;
113
+ }
114
  }
115
  }
116
 
app/helper/class-ai1ec-events-helper.php CHANGED
@@ -939,9 +939,7 @@ class Ai1ec_Events_Helper {
939
  }
940
 
941
  /**
942
- * get_multiday_end_date function
943
- *
944
- * Format a date for use in JS functions to extend multiday bars;
945
  * this is also converted to the local timezone.
946
  *
947
  * @param int $timestamp
@@ -949,10 +947,10 @@ class Ai1ec_Events_Helper {
949
  *
950
  * @return string
951
  **/
952
- function get_multiday_end_date( $timestamp, $convert_from_gmt = true ) {
953
  if( $convert_from_gmt )
954
  $timestamp = $this->gmt_to_local( $timestamp );
955
- return date_i18n( 'F Y d', $timestamp, true );
956
  }
957
 
958
  /**
@@ -1548,7 +1546,7 @@ class Ai1ec_Events_Helper {
1548
  // convert to timestamp
1549
  $_exdate = strtotime( $_exdate );
1550
  if( $to_gmt ) {
1551
- $_exdate = $this->gmt_to_local( $_exdate );
1552
  } else {
1553
  $_exdate = $this->gmt_to_local( $_exdate );
1554
  }
939
  }
940
 
941
  /**
942
+ * Return the for use in JS functions to extend multiday bars;
 
 
943
  * this is also converted to the local timezone.
944
  *
945
  * @param int $timestamp
947
  *
948
  * @return string
949
  **/
950
+ function get_multiday_end_day( $timestamp, $convert_from_gmt = true ) {
951
  if( $convert_from_gmt )
952
  $timestamp = $this->gmt_to_local( $timestamp );
953
+ return date_i18n( 'd', $timestamp, true );
954
  }
955
 
956
  /**
1546
  // convert to timestamp
1547
  $_exdate = strtotime( $_exdate );
1548
  if( $to_gmt ) {
1549
+ $_exdate = $this->local_to_gmt( $_exdate );
1550
  } else {
1551
  $_exdate = $this->gmt_to_local( $_exdate );
1552
  }
app/helper/class-ai1ec-importer-helper.php CHANGED
@@ -130,10 +130,34 @@ class Ai1ec_Importer_Helper {
130
  {
131
  $start = $e->getProperty( 'dtstart', 1, true );
132
  $end = $e->getProperty( 'dtend', 1, true );
133
-
134
- // If end can't be found, check for duration property
135
- if( empty( $end ) )
136
- $end = $e->getProperty( 'duration', 1, true, true );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
137
 
138
  // Event is all-day if no time components are defined
139
  $allday = ! isset( $start['value']['hour'] );
130
  {
131
  $start = $e->getProperty( 'dtstart', 1, true );
132
  $end = $e->getProperty( 'dtend', 1, true );
133
+ // For cases where a "VEVENT" calendar component
134
+ // specifies a "DTSTART" property with a DATE value type but no
135
+ // "DTEND" nor "DURATION" property, the event's duration is taken to
136
+ // be one day. For cases where a "VEVENT" calendar component
137
+ // specifies a "DTSTART" property with a DATE-TIME value type but no
138
+ // "DTEND" property, the event ends on the same calendar date and
139
+ // time of day specified by the "DTSTART" property.
140
+ if( empty( $end ) ) {
141
+ // #1 if duration is present, assign it to end time
142
+ $end = $e->getProperty( 'duration', 1, true, true );
143
+ if( empty( $end ) ) {
144
+ // #2 if only DATE value is set for start, set duration to 1 day
145
+ if( ! isset( $start['value']['hour'] ) ) {
146
+ $end = array(
147
+ 'year' => $start['value']['year'],
148
+ 'month' => $start['value']['month'],
149
+ 'day' => $start['value']['day'],
150
+ 'hour' => 23,
151
+ 'min' => 59,
152
+ 'sec' => 59,
153
+ 'tz' => $start['value']['tz']
154
+ );
155
+ } else {
156
+ // #3 set end date to start time
157
+ $end = $start;
158
+ }
159
+ }
160
+ }
161
 
162
  // Event is all-day if no time components are defined
163
  $allday = ! isset( $start['value']['hour'] );
app/helper/class-ai1ec-settings-helper.php CHANGED
@@ -340,6 +340,8 @@ class Ai1ec_Settings_Helper {
340
  $timezone_control = $this->get_timezone_dropdown( $ai1ec_settings->timezone );
341
  $allow_statistics = $ai1ec_settings->allow_statistics ? 'checked=checked' : '';
342
  $disable_autocompletion = $ai1ec_settings->disable_autocompletion ? 'checked=checked' : '';
 
 
343
 
344
  $args = array(
345
  'calendar_page' => $calendar_page,
@@ -360,6 +362,8 @@ class Ai1ec_Settings_Helper {
360
  'geo_region_biasing' => $geo_region_biasing,
361
  'allow_statistics' => $allow_statistics,
362
  'disable_autocompletion' => $disable_autocompletion,
 
 
363
  );
364
  $ai1ec_view_helper->display_admin( 'box_general_settings.php', $args );
365
  }
340
  $timezone_control = $this->get_timezone_dropdown( $ai1ec_settings->timezone );
341
  $allow_statistics = $ai1ec_settings->allow_statistics ? 'checked=checked' : '';
342
  $disable_autocompletion = $ai1ec_settings->disable_autocompletion ? 'checked=checked' : '';
343
+ $show_location_in_title = $ai1ec_settings->show_location_in_title ? 'checked=checked' : '';
344
+ $show_year_in_agenda_dates = $ai1ec_settings->show_year_in_agenda_dates ? 'checked=checked' : '';
345
 
346
  $args = array(
347
  'calendar_page' => $calendar_page,
362
  'geo_region_biasing' => $geo_region_biasing,
363
  'allow_statistics' => $allow_statistics,
364
  'disable_autocompletion' => $disable_autocompletion,
365
+ 'show_location_in_title' => $show_location_in_title,
366
+ 'show_year_in_agenda_dates' => $show_year_in_agenda_dates,
367
  );
368
  $ai1ec_view_helper->display_admin( 'box_general_settings.php', $args );
369
  }
app/helper/class-ai1ec-view-helper.php CHANGED
@@ -122,8 +122,17 @@ class Ai1ec_View_Helper {
122
 
123
  if( $file_found === false ) {
124
  throw new Ai1ec_File_Not_Found( "The specified file '" . $file . "' doesn't exist." );
125
- } else {
126
- wp_enqueue_script( $name, $file, $deps, AI1EC_VERSION, $in_footer );
 
 
 
 
 
 
 
 
 
127
  }
128
  }
129
 
@@ -195,8 +204,16 @@ class Ai1ec_View_Helper {
195
 
196
  if( $file_found === false ) {
197
  throw new Ai1ec_File_Not_Found( "The specified file '" . $file . "' doesn't exist." );
198
- } else {
199
- wp_enqueue_style( $name, $file, $deps, AI1EC_VERSION );
 
 
 
 
 
 
 
 
200
  }
201
  }
202
 
122
 
123
  if( $file_found === false ) {
124
  throw new Ai1ec_File_Not_Found( "The specified file '" . $file . "' doesn't exist." );
125
+ }
126
+ else {
127
+ // Append core themes version to version string to make sure recently
128
+ // updated files are used.
129
+ wp_enqueue_script(
130
+ $name,
131
+ $file,
132
+ $deps,
133
+ AI1EC_VERSION . '-' . get_option( 'ai1ec_themes_version', 1 ),
134
+ $in_footer
135
+ );
136
  }
137
  }
138
 
204
 
205
  if( $file_found === false ) {
206
  throw new Ai1ec_File_Not_Found( "The specified file '" . $file . "' doesn't exist." );
207
+ }
208
+ else {
209
+ // Append core themes version to version string to make sure recently
210
+ // updated files are used.
211
+ wp_enqueue_style(
212
+ $name,
213
+ $file,
214
+ $deps,
215
+ AI1EC_VERSION . '-' . get_option( 'ai1ec_themes_version', 1 )
216
+ );
217
  }
218
  }
219
 
app/model/class-ai1ec-event.php CHANGED
@@ -435,6 +435,9 @@ class Ai1ec_Event {
435
  case 'uid':
436
  return $this->post_id . '@' . bloginfo( 'url' );
437
 
 
 
 
438
  case "multiday":
439
  return (
440
  $ai1ec_events_helper->get_long_date( $this->start )
@@ -442,8 +445,8 @@ class Ai1ec_Event {
442
  $ai1ec_events_helper->get_long_date( $this->end - 1 )
443
  );
444
 
445
- case "multiday_end_date":
446
- return $ai1ec_events_helper->get_multiday_end_date( $this->end - 1 );
447
 
448
  // ========================
449
  // = Get short-form dates =
435
  case 'uid':
436
  return $this->post_id . '@' . bloginfo( 'url' );
437
 
438
+ // ==================================
439
+ // = Month view multiday properties =
440
+ // ==================================
441
  case "multiday":
442
  return (
443
  $ai1ec_events_helper->get_long_date( $this->start )
445
  $ai1ec_events_helper->get_long_date( $this->end - 1 )
446
  );
447
 
448
+ case "multiday_end_day":
449
+ return $ai1ec_events_helper->get_multiday_end_day( $this->end - 1 );
450
 
451
  // ========================
452
  // = Get short-form dates =
app/model/class-ai1ec-settings.php CHANGED
@@ -241,6 +241,20 @@ class Ai1ec_Settings {
241
  **/
242
  var $disable_autocompletion;
243
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
244
  /**
245
  * __construct function
246
  *
@@ -260,6 +274,11 @@ class Ai1ec_Settings {
260
  static function get_instance()
261
  {
262
  if( self::$_instance === NULL ) {
 
 
 
 
 
263
  // get the settings from the database
264
  self::$_instance = get_option( 'ai1ec_settings' );
265
 
@@ -322,8 +341,10 @@ class Ai1ec_Settings {
322
  'timezone' => get_option( 'timezone_string' ),
323
  'geo_region_biasing' => FALSE,
324
  'show_data_notification' => TRUE,
325
- 'allow_statistics' => FALSE,
326
  'disable_autocompletion' => FALSE,
 
 
327
  );
328
 
329
  foreach( $defaults as $key => $default ) {
@@ -370,7 +391,9 @@ class Ai1ec_Settings {
370
  'input_24h_time',
371
  'geo_region_biasing',
372
  'allow_statistics',
373
- 'disable_autocompletion'
 
 
374
  );
375
 
376
  // Assign parameters to settings.
241
  **/
242
  var $disable_autocompletion;
243
 
244
+ /**
245
+ * Show location name in event title in various calendar views.
246
+ *
247
+ * @var bool
248
+ */
249
+ var $show_location_in_title;
250
+
251
+ /**
252
+ * Show year in agenda date labels.
253
+ *
254
+ * @var bool
255
+ */
256
+ var $show_year_in_agenda_dates;
257
+
258
  /**
259
  * __construct function
260
  *
274
  static function get_instance()
275
  {
276
  if( self::$_instance === NULL ) {
277
+ // if W3TC is enabled, we have to empty the cache
278
+ // before requesting it
279
+ if( defined( 'W3TC' ) ) {
280
+ wp_cache_delete( 'alloptions', 'options' );
281
+ }
282
  // get the settings from the database
283
  self::$_instance = get_option( 'ai1ec_settings' );
284
 
341
  'timezone' => get_option( 'timezone_string' ),
342
  'geo_region_biasing' => FALSE,
343
  'show_data_notification' => TRUE,
344
+ 'allow_statistics' => FALSE, // stats are opt-in
345
  'disable_autocompletion' => FALSE,
346
+ 'show_location_in_title' => TRUE,
347
+ 'show_year_in_agenda_dates' => FALSE,
348
  );
349
 
350
  foreach( $defaults as $key => $default ) {
391
  'input_24h_time',
392
  'geo_region_biasing',
393
  'allow_statistics',
394
+ 'disable_autocompletion',
395
+ 'show_location_in_title',
396
+ 'show_year_in_agenda_dates',
397
  );
398
 
399
  // Assign parameters to settings.
app/view/admin/admin_notices.php CHANGED
@@ -1,8 +1,7 @@
1
  <div class="message updated fade">
2
- <p>
3
- <strong><?php echo $label ?></strong> <?php echo $msg ?>
4
- <?php if( isset( $button ) ) : ?>
5
- <br /><input type="button" class="button <?php echo $button->class ?>" value="<?php echo $button->value ?>" />
6
- <?php endif ?>
7
- </p>
8
  </div>
1
  <div class="message updated fade">
2
+ <h3><?php echo $label ?></h3>
3
+ <?php echo $msg ?>
4
+ <?php if( isset( $button ) ) : ?>
5
+ <div><input type="button" class="button <?php echo $button->class ?>" value="<?php echo $button->value ?>" /></div>
6
+ <?php endif ?>
 
7
  </div>
app/view/admin/box_general_settings.php CHANGED
@@ -30,6 +30,18 @@
30
  </label>
31
  <br class="clear" />
32
 
 
 
 
 
 
 
 
 
 
 
 
 
33
  <label for="exclude_from_search">
34
  <input class="checkbox" name="exclude_from_search" id="exclude_from_search" type="checkbox" value="1" <?php echo $exclude_from_search ?> />
35
  <?php _e( '<strong>Exclude</strong> events from search results', AI1EC_PLUGIN_NAME ) ?>
@@ -94,7 +106,7 @@
94
 
95
  <label for="allow_statistics">
96
  <input class="checkbox" name="allow_statistics" id="allow_statistics" type="checkbox" value="1" <?php echo $allow_statistics ?> />
97
- <?php _e( 'Allow The Seed to collect calendar statistics', AI1EC_PLUGIN_NAME ) ?>
98
  </label>
99
  <br class="clear" />
100
 
30
  </label>
31
  <br class="clear" />
32
 
33
+ <label for="show_year_in_agenda_dates">
34
+ <input class="checkbox" name="show_year_in_agenda_dates" id="show_year_in_agenda_dates" type="checkbox" value="1" <?php echo $show_year_in_agenda_dates ?> />
35
+ <?php _e( '<strong>Show year</strong> in agenda date labels', AI1EC_PLUGIN_NAME ) ?>
36
+ </label>
37
+ <br class="clear" />
38
+
39
+ <label for="show_location_in_title">
40
+ <input class="checkbox" name="show_location_in_title" id="show_location_in_title" type="checkbox" value="1" <?php echo $show_location_in_title ?> />
41
+ <?php _e( '<strong>Show location in event titles</strong> in calendar views', AI1EC_PLUGIN_NAME ) ?>
42
+ </label>
43
+ <br class="clear" />
44
+
45
  <label for="exclude_from_search">
46
  <input class="checkbox" name="exclude_from_search" id="exclude_from_search" type="checkbox" value="1" <?php echo $exclude_from_search ?> />
47
  <?php _e( '<strong>Exclude</strong> events from search results', AI1EC_PLUGIN_NAME ) ?>
106
 
107
  <label for="allow_statistics">
108
  <input class="checkbox" name="allow_statistics" id="allow_statistics" type="checkbox" value="1" <?php echo $allow_statistics ?> />
109
+ <?php _e( 'Allow Then.ly to collect calendar statistics', AI1EC_PLUGIN_NAME ) ?>
110
  </label>
111
  <br class="clear" />
112
 
app/view/admin/class-ai1ec-agenda-widget.php CHANGED
@@ -202,6 +202,8 @@ class Ai1ec_Agenda_Widget extends WP_Widget {
202
  $args['show_subscribe_buttons'] = $instance['show_subscribe_buttons'];
203
  $args['show_calendar_button'] = $instance['show_calendar_button'];
204
  $args['dates'] = $dates;
 
 
205
  $args['calendar_url'] = $ai1ec_calendar_helper->get_calendar_url( null, $limit );
206
  $args['subscribe_url'] = AI1EC_EXPORT_URL . $subscribe_filter;
207
 
202
  $args['show_subscribe_buttons'] = $instance['show_subscribe_buttons'];
203
  $args['show_calendar_button'] = $instance['show_calendar_button'];
204
  $args['dates'] = $dates;
205
+ $args['show_location_in_title'] = $ai1ec_settings->show_location_in_title;
206
+ $args['show_year_in_agenda_dates'] = $ai1ec_settings->show_year_in_agenda_dates;
207
  $args['calendar_url'] = $ai1ec_calendar_helper->get_calendar_url( null, $limit );
208
  $args['subscribe_url'] = AI1EC_EXPORT_URL . $subscribe_filter;
209
 
app/view/admin/css/add_new_event.css CHANGED
@@ -495,6 +495,7 @@ div.growlUI h1, div.growlUI h2 {
495
  overflow: hidden;
496
  width: 588px;
497
  background: #B9B9B9;
 
498
  }
499
  #widgetCalendar .datepicker {
500
  position: absolute;
495
  overflow: hidden;
496
  width: 588px;
497
  background: #B9B9B9;
498
+ z-index: 2;
499
  }
500
  #widgetCalendar .datepicker {
501
  position: absolute;
app/view/admin/css/settings.css CHANGED
@@ -49,9 +49,6 @@
49
  width: 100%;
50
  }
51
 
52
- #ai1ec-general-settings {
53
- line-height: 1.7em;
54
- }
55
  .column-1-ai1ec #ai1ec-general-settings div.inside label {
56
  float: left;
57
  clear: left;
49
  width: 100%;
50
  }
51
 
 
 
 
52
  .column-1-ai1ec #ai1ec-general-settings div.inside label {
53
  float: left;
54
  clear: left;
app/view/admin/js/add_new_event.js CHANGED
@@ -535,41 +535,6 @@ jQuery( function( $ ){
535
  }
536
  });
537
 
538
- // Hide / Show the coordinates table when clicking the checkbox
539
- $( '#ai1ec_input_coordinates' ).change( function() {
540
- // If the checkbox is checked
541
- if( this.checked === true ) {
542
- $( '#ai1ec_table_coordinates' ).css( { visibility : 'visible' } );
543
- } else {
544
- // Hide the table
545
- $( '#ai1ec_table_coordinates' ).css( { visibility : 'hidden' } );
546
- // Erase the input fields
547
- $( '#ai1ec_table_coordinates input' ).val( '' );
548
- // Clean up error messages
549
- $( 'div.ai1ec-error' ).remove();
550
- }
551
- });
552
- // Validate the coordinates when clicking Publish
553
- $( '#publish' ).click( function( e ) {
554
- if ( ai1ec_check_lat_long_fields_filled_when_publishing_event( e ) === true ) {
555
- // Convert commas to dots
556
- ai1ec_convert_commas_to_dots_for_coordinates();
557
- // Check that fields are ok and there are no errors
558
- ai1ec_check_lat_long_ok_for_search( e );
559
- }
560
- });
561
-
562
- $( 'input.coordinates' ).blur ( function( e ) {
563
- // Convert commas to dots
564
- ai1ec_convert_commas_to_dots_for_coordinates();
565
- // Check if the coordinates are valid.
566
- var valid = ai1ec_check_lat_long_ok_for_search( e );
567
- // If they are valid, update the map.
568
- if( valid === true ) {
569
- ai1ec_update_map_from_coordinates();
570
- }
571
- });
572
-
573
  ai1ec_selector( '#ai1ec_weekly_date_select' );
574
  ai1ec_selector( '#ai1ec_montly_date_select' );
575
  ai1ec_selector( '#ai1ec_yearly_date_select' );
535
  }
536
  });
537
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
538
  ai1ec_selector( '#ai1ec_weekly_date_select' );
539
  ai1ec_selector( '#ai1ec_montly_date_select' );
540
  ai1ec_selector( '#ai1ec_yearly_date_select' );
app/view/admin/js/jquery-tools-1.2.5.min.js DELETED
@@ -1,115 +0,0 @@
1
- /*
2
- * jQuery Tools 1.2.5 - The missing UI library for the Web
3
- *
4
- * [toolbox.flashembed, toolbox.history, toolbox.expose, toolbox.mousewheel, tabs, tabs.slideshow, tooltip, tooltip.slide, tooltip.dynamic, scrollable, scrollable.autoscroll, scrollable.navigator, overlay, overlay.apple, dateinput, rangeinput, validator]
5
- *
6
- * NO COPYRIGHTS OR LICENSES. DO WHAT YOU LIKE.
7
- *
8
- * http://flowplayer.org/tools/
9
- *
10
- * jquery.event.wheel.js - rev 1
11
- * Copyright (c) 2008, Three Dub Media (http://threedubmedia.com)
12
- * Liscensed under the MIT License (MIT-LICENSE.txt)
13
- * http://www.opensource.org/licenses/mit-license.php
14
- * Created: 2008-07-01 | Updated: 2008-07-14
15
- *
16
- * -----
17
- *
18
- * File generated: Wed Sep 22 06:12:53 GMT 2010
19
- */
20
- (function(){function f(a,b){if(b)for(var c in b)if(b.hasOwnProperty(c))a[c]=b[c];return a}function l(a,b){var c=[];for(var d in a)if(a.hasOwnProperty(d))c[d]=b(a[d]);return c}function m(a,b,c){if(e.isSupported(b.version))a.innerHTML=e.getHTML(b,c);else if(b.expressInstall&&e.isSupported([6,65]))a.innerHTML=e.getHTML(f(b,{src:b.expressInstall}),{MMredirectURL:location.href,MMplayerType:"PlugIn",MMdoctitle:document.title});else{if(!a.innerHTML.replace(/\s/g,"")){a.innerHTML="<h2>Flash version "+b.version+
21
- " or greater is required</h2><h3>"+(g[0]>0?"Your version is "+g:"You have no flash plugin installed")+"</h3>"+(a.tagName=="A"?"<p>Click here to download latest version</p>":"<p>Download latest version from <a href='"+k+"'>here</a></p>");if(a.tagName=="A")a.onclick=function(){location.href=k}}if(b.onFail){var d=b.onFail.call(this);if(typeof d=="string")a.innerHTML=d}}if(i)window[b.id]=document.getElementById(b.id);f(this,{getRoot:function(){return a},getOptions:function(){return b},getConf:function(){return c},
22
- getApi:function(){return a.firstChild}})}var i=document.all,k="http://www.adobe.com/go/getflashplayer",n=typeof jQuery=="function",o=/(\d+)[^\d]+(\d+)[^\d]*(\d*)/,j={width:"100%",height:"100%",id:"_"+(""+Math.random()).slice(9),allowfullscreen:true,allowscriptaccess:"always",quality:"high",version:[3,0],onFail:null,expressInstall:null,w3c:false,cachebusting:false};window.attachEvent&&window.attachEvent("onbeforeunload",function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){}});
23
- window.flashembed=function(a,b,c){if(typeof a=="string")a=document.getElementById(a.replace("#",""));if(a){if(typeof b=="string")b={src:b};return new m(a,f(f({},j),b),c)}};var e=f(window.flashembed,{conf:j,getVersion:function(){var a,b;try{b=navigator.plugins["Shockwave Flash"].description.slice(16)}catch(c){try{b=(a=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7"))&&a.GetVariable("$version")}catch(d){try{b=(a=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6"))&&a.GetVariable("$version")}catch(h){}}}return(b=
24
- o.exec(b))?[b[1],b[3]]:[0,0]},asString:function(a){if(a===null||a===undefined)return null;var b=typeof a;if(b=="object"&&a.push)b="array";switch(b){case "string":a=a.replace(new RegExp('(["\\\\])',"g"),"\\$1");a=a.replace(/^\s?(\d+\.?\d+)%/,"$1pct");return'"'+a+'"';case "array":return"["+l(a,function(d){return e.asString(d)}).join(",")+"]";case "function":return'"function()"';case "object":b=[];for(var c in a)a.hasOwnProperty(c)&&b.push('"'+c+'":'+e.asString(a[c]));return"{"+b.join(",")+"}"}return String(a).replace(/\s/g,
25
- " ").replace(/\'/g,'"')},getHTML:function(a,b){a=f({},a);var c='<object width="'+a.width+'" height="'+a.height+'" id="'+a.id+'" name="'+a.id+'"';if(a.cachebusting)a.src+=(a.src.indexOf("?")!=-1?"&":"?")+Math.random();c+=a.w3c||!i?' data="'+a.src+'" type="application/x-shockwave-flash"':' classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"';c+=">";if(a.w3c||i)c+='<param name="movie" value="'+a.src+'" />';a.width=a.height=a.id=a.w3c=a.src=null;a.onFail=a.version=a.expressInstall=null;for(var d in a)if(a[d])c+=
26
- '<param name="'+d+'" value="'+a[d]+'" />';a="";if(b){for(var h in b)if(b[h]){d=b[h];a+=h+"="+(/function|object/.test(typeof d)?e.asString(d):d)+"&"}a=a.slice(0,-1);c+='<param name="flashvars" value=\''+a+"' />"}c+="</object>";return c},isSupported:function(a){return g[0]>a[0]||g[0]==a[0]&&g[1]>=a[1]}}),g=e.getVersion();if(n){jQuery.tools=jQuery.tools||{version:"1.2.5"};jQuery.tools.flashembed={conf:j};jQuery.fn.flashembed=function(a,b){return this.each(function(){$(this).data("flashembed",flashembed(this,
27
- a,b))})}}})();
28
- (function(b){function h(c){if(c){var a=d.contentWindow.document;a.open().close();a.location.hash=c}}var g,d,f,i;b.tools=b.tools||{version:"1.2.5"};b.tools.history={init:function(c){if(!i){if(b.browser.msie&&b.browser.version<"8"){if(!d){d=b("<iframe/>").attr("src","javascript:false;").hide().get(0);b("body").append(d);setInterval(function(){var a=d.contentWindow.document;a=a.location.hash;g!==a&&b.event.trigger("hash",a)},100);h(location.hash||"#")}}else setInterval(function(){var a=location.hash;
29
- a!==g&&b.event.trigger("hash",a)},100);f=!f?c:f.add(c);c.click(function(a){var e=b(this).attr("href");d&&h(e);if(e.slice(0,1)!="#"){location.href="#"+e;return a.preventDefault()}});i=true}}};b(window).bind("hash",function(c,a){a?f.filter(function(){var e=b(this).attr("href");return e==a||e==a.replace("#","")}).trigger("history",[a]):f.eq(0).trigger("history",[a]);g=a});b.fn.history=function(c){b.tools.history.init(this);return this.bind("history",c)}})(jQuery);
30
- (function(b){function k(){if(b.browser.msie){var a=b(document).height(),d=b(window).height();return[window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,a-d<20?d:a]}return[b(document).width(),b(document).height()]}function h(a){if(a)return a.call(b.mask)}b.tools=b.tools||{version:"1.2.5"};var l;l=b.tools.expose={conf:{maskId:"exposeMask",loadSpeed:"slow",closeSpeed:"fast",closeOnClick:true,closeOnEsc:true,zIndex:9998,opacity:0.8,startOpacity:0,color:"#fff",onLoad:null,
31
- onClose:null}};var c,i,e,g,j;b.mask={load:function(a,d){if(e)return this;if(typeof a=="string")a={color:a};a=a||g;g=a=b.extend(b.extend({},l.conf),a);c=b("#"+a.maskId);if(!c.length){c=b("<div/>").attr("id",a.maskId);b("body").append(c)}var m=k();c.css({position:"absolute",top:0,left:0,width:m[0],height:m[1],display:"none",opacity:a.startOpacity,zIndex:a.zIndex});a.color&&c.css("backgroundColor",a.color);if(h(a.onBeforeLoad)===false)return this;a.closeOnEsc&&b(document).bind("keydown.mask",function(f){f.keyCode==
32
- 27&&b.mask.close(f)});a.closeOnClick&&c.bind("click.mask",function(f){b.mask.close(f)});b(window).bind("resize.mask",function(){b.mask.fit()});if(d&&d.length){j=d.eq(0).css("zIndex");b.each(d,function(){var f=b(this);/relative|absolute|fixed/i.test(f.css("position"))||f.css("position","relative")});i=d.css({zIndex:Math.max(a.zIndex+1,j=="auto"?0:j)})}c.css({display:"block"}).fadeTo(a.loadSpeed,a.opacity,function(){b.mask.fit();h(a.onLoad);e="full"});e=true;return this},close:function(){if(e){if(h(g.onBeforeClose)===
33
- false)return this;c.fadeOut(g.closeSpeed,function(){h(g.onClose);i&&i.css({zIndex:j});e=false});b(document).unbind("keydown.mask");c.unbind("click.mask");b(window).unbind("resize.mask")}return this},fit:function(){if(e){var a=k();c.css({width:a[0],height:a[1]})}},getMask:function(){return c},isLoaded:function(a){return a?e=="full":e},getConf:function(){return g},getExposed:function(){return i}};b.fn.mask=function(a){b.mask.load(a);return this};b.fn.expose=function(a){b.mask.load(a,this);return this}})(jQuery);
34
- (function(b){function c(a){switch(a.type){case "mousemove":return b.extend(a.data,{clientX:a.clientX,clientY:a.clientY,pageX:a.pageX,pageY:a.pageY});case "DOMMouseScroll":b.extend(a,a.data);a.delta=-a.detail/3;break;case "mousewheel":a.delta=a.wheelDelta/120;break}a.type="wheel";return b.event.handle.call(this,a,a.delta)}b.fn.mousewheel=function(a){return this[a?"bind":"trigger"]("wheel",a)};b.event.special.wheel={setup:function(){b.event.add(this,d,c,{})},teardown:function(){b.event.remove(this,
35
- d,c)}};var d=!b.browser.mozilla?"mousewheel":"DOMMouseScroll"+(b.browser.version<"1.9"?" mousemove":"")})(jQuery);
36
- (function(c){function p(d,b,a){var e=this,l=d.add(this),h=d.find(a.tabs),i=b.jquery?b:d.children(b),j;h.length||(h=d.children());i.length||(i=d.parent().find(b));i.length||(i=c(b));c.extend(this,{click:function(f,g){var k=h.eq(f);if(typeof f=="string"&&f.replace("#","")){k=h.filter("[href*="+f.replace("#","")+"]");f=Math.max(h.index(k),0)}if(a.rotate){var n=h.length-1;if(f<0)return e.click(n,g);if(f>n)return e.click(0,g)}if(!k.length){if(j>=0)return e;f=a.initialIndex;k=h.eq(f)}if(f===j)return e;
37
- g=g||c.Event();g.type="onBeforeClick";l.trigger(g,[f]);if(!g.isDefaultPrevented()){o[a.effect].call(e,f,function(){g.type="onClick";l.trigger(g,[f])});j=f;h.removeClass(a.current);k.addClass(a.current);return e}},getConf:function(){return a},getTabs:function(){return h},getPanes:function(){return i},getCurrentPane:function(){return i.eq(j)},getCurrentTab:function(){return h.eq(j)},getIndex:function(){return j},next:function(){return e.click(j+1)},prev:function(){return e.click(j-1)},destroy:function(){h.unbind(a.event).removeClass(a.current);
38
- i.find("a[href^=#]").unbind("click.T");return e}});c.each("onBeforeClick,onClick".split(","),function(f,g){c.isFunction(a[g])&&c(e).bind(g,a[g]);e[g]=function(k){k&&c(e).bind(g,k);return e}});if(a.history&&c.fn.history){c.tools.history.init(h);a.event="history"}h.each(function(f){c(this).bind(a.event,function(g){e.click(f,g);return g.preventDefault()})});i.find("a[href^=#]").bind("click.T",function(f){e.click(c(this).attr("href"),f)});if(location.hash&&a.tabs=="a"&&d.find("[href="+location.hash+"]").length)e.click(location.hash);
39
- else if(a.initialIndex===0||a.initialIndex>0)e.click(a.initialIndex)}c.tools=c.tools||{version:"1.2.5"};c.tools.tabs={conf:{tabs:"a",current:"current",onBeforeClick:null,onClick:null,effect:"default",initialIndex:0,event:"click",rotate:false,history:false},addEffect:function(d,b){o[d]=b}};var o={"default":function(d,b){this.getPanes().hide().eq(d).show();b.call()},fade:function(d,b){var a=this.getConf(),e=a.fadeOutSpeed,l=this.getPanes();e?l.fadeOut(e):l.hide();l.eq(d).fadeIn(a.fadeInSpeed,b)},slide:function(d,
40
- b){this.getPanes().slideUp(200);this.getPanes().eq(d).slideDown(400,b)},ajax:function(d,b){this.getPanes().eq(0).load(this.getTabs().eq(d).attr("href"),b)}},m;c.tools.tabs.addEffect("horizontal",function(d,b){m||(m=this.getPanes().eq(0).width());this.getCurrentPane().animate({width:0},function(){c(this).hide()});this.getPanes().eq(d).animate({width:m},function(){c(this).show();b.call()})});c.fn.tabs=function(d,b){var a=this.data("tabs");if(a){a.destroy();this.removeData("tabs")}if(c.isFunction(b))b=
41
- {onBeforeClick:b};b=c.extend({},c.tools.tabs.conf,b);this.each(function(){a=new p(c(this),d,b);c(this).data("tabs",a)});return b.api?a:this}})(jQuery);
42
- (function(c){function p(g,a){function m(f){var e=c(f);return e.length<2?e:g.parent().find(f)}var b=this,i=g.add(this),d=g.data("tabs"),h,j=true,n=m(a.next).click(function(){d.next()}),k=m(a.prev).click(function(){d.prev()});c.extend(b,{getTabs:function(){return d},getConf:function(){return a},play:function(){if(h)return b;var f=c.Event("onBeforePlay");i.trigger(f);if(f.isDefaultPrevented())return b;h=setInterval(d.next,a.interval);j=false;i.trigger("onPlay");return b},pause:function(){if(!h)return b;
43
- var f=c.Event("onBeforePause");i.trigger(f);if(f.isDefaultPrevented())return b;h=clearInterval(h);i.trigger("onPause");return b},stop:function(){b.pause();j=true}});c.each("onBeforePlay,onPlay,onBeforePause,onPause".split(","),function(f,e){c.isFunction(a[e])&&c(b).bind(e,a[e]);b[e]=function(q){return c(b).bind(e,q)}});a.autopause&&d.getTabs().add(n).add(k).add(d.getPanes()).hover(b.pause,function(){j||b.play()});a.autoplay&&b.play();a.clickable&&d.getPanes().click(function(){d.next()});if(!d.getConf().rotate){var l=
44
- a.disabledClass;d.getIndex()||k.addClass(l);d.onBeforeClick(function(f,e){k.toggleClass(l,!e);n.toggleClass(l,e==d.getTabs().length-1)})}}var o;o=c.tools.tabs.slideshow={conf:{next:".forward",prev:".backward",disabledClass:"disabled",autoplay:false,autopause:true,interval:3E3,clickable:true,api:false}};c.fn.slideshow=function(g){var a=this.data("slideshow");if(a)return a;g=c.extend({},o.conf,g);this.each(function(){a=new p(c(this),g);c(this).data("slideshow",a)});return g.api?a:this}})(jQuery);
45
- (function(f){function p(a,b,c){var h=c.relative?a.position().top:a.offset().top,d=c.relative?a.position().left:a.offset().left,i=c.position[0];h-=b.outerHeight()-c.offset[0];d+=a.outerWidth()+c.offset[1];if(/iPad/i.test(navigator.userAgent))h-=f(window).scrollTop();var j=b.outerHeight()+a.outerHeight();if(i=="center")h+=j/2;if(i=="bottom")h+=j;i=c.position[1];a=b.outerWidth()+a.outerWidth();if(i=="center")d-=a/2;if(i=="left")d-=a;return{top:h,left:d}}function u(a,b){var c=this,h=a.add(c),d,i=0,j=
46
- 0,m=a.attr("title"),q=a.attr("data-tooltip"),r=o[b.effect],l,s=a.is(":input"),v=s&&a.is(":checkbox, :radio, select, :button, :submit"),t=a.attr("type"),k=b.events[t]||b.events[s?v?"widget":"input":"def"];if(!r)throw'Nonexistent effect "'+b.effect+'"';k=k.split(/,\s*/);if(k.length!=2)throw"Tooltip: bad events configuration for "+t;a.bind(k[0],function(e){clearTimeout(i);if(b.predelay)j=setTimeout(function(){c.show(e)},b.predelay);else c.show(e)}).bind(k[1],function(e){clearTimeout(j);if(b.delay)i=
47
- setTimeout(function(){c.hide(e)},b.delay);else c.hide(e)});if(m&&b.cancelDefault){a.removeAttr("title");a.data("title",m)}f.extend(c,{show:function(e){if(!d){if(q)d=f(q);else if(b.tip)d=f(b.tip).eq(0);else if(m)d=f(b.layout).addClass(b.tipClass).appendTo(document.body).hide().append(m);else{d=a.next();d.length||(d=a.parent().next())}if(!d.length)throw"Cannot find tooltip for "+a;}if(c.isShown())return c;d.stop(true,true);var g=p(a,d,b);b.tip&&d.html(a.data("title"));e=e||f.Event();e.type="onBeforeShow";
48
- h.trigger(e,[g]);if(e.isDefaultPrevented())return c;g=p(a,d,b);d.css({position:"absolute",top:g.top,left:g.left});l=true;r[0].call(c,function(){e.type="onShow";l="full";h.trigger(e)});g=b.events.tooltip.split(/,\s*/);if(!d.data("__set")){d.bind(g[0],function(){clearTimeout(i);clearTimeout(j)});g[1]&&!a.is("input:not(:checkbox, :radio), textarea")&&d.bind(g[1],function(n){n.relatedTarget!=a[0]&&a.trigger(k[1].split(" ")[0])});d.data("__set",true)}return c},hide:function(e){if(!d||!c.isShown())return c;
49
- e=e||f.Event();e.type="onBeforeHide";h.trigger(e);if(!e.isDefaultPrevented()){l=false;o[b.effect][1].call(c,function(){e.type="onHide";h.trigger(e)});return c}},isShown:function(e){return e?l=="full":l},getConf:function(){return b},getTip:function(){return d},getTrigger:function(){return a}});f.each("onHide,onBeforeShow,onShow,onBeforeHide".split(","),function(e,g){f.isFunction(b[g])&&f(c).bind(g,b[g]);c[g]=function(n){n&&f(c).bind(g,n);return c}})}f.tools=f.tools||{version:"1.2.5"};f.tools.tooltip=
50
- {conf:{effect:"toggle",fadeOutSpeed:"fast",predelay:0,delay:30,opacity:1,tip:0,position:["top","center"],offset:[0,0],relative:false,cancelDefault:true,events:{def:"mouseenter,mouseleave",input:"focus,blur",widget:"focus mouseenter,blur mouseleave",tooltip:"mouseenter,mouseleave"},layout:"<div/>",tipClass:"tooltip"},addEffect:function(a,b,c){o[a]=[b,c]}};var o={toggle:[function(a){var b=this.getConf(),c=this.getTip();b=b.opacity;b<1&&c.css({opacity:b});c.show();a.call()},function(a){this.getTip().hide();
51
- a.call()}],fade:[function(a){var b=this.getConf();this.getTip().fadeTo(b.fadeInSpeed,b.opacity,a)},function(a){this.getTip().fadeOut(this.getConf().fadeOutSpeed,a)}]};f.fn.tooltip=function(a){var b=this.data("tooltip");if(b)return b;a=f.extend(true,{},f.tools.tooltip.conf,a);if(typeof a.position=="string")a.position=a.position.split(/,?\s/);this.each(function(){b=new u(f(this),a);f(this).data("tooltip",b)});return a.api?b:this}})(jQuery);
52
- (function(d){var i=d.tools.tooltip;d.extend(i.conf,{direction:"up",bounce:false,slideOffset:10,slideInSpeed:200,slideOutSpeed:200,slideFade:!d.browser.msie});var e={up:["-","top"],down:["+","top"],left:["-","left"],right:["+","left"]};i.addEffect("slide",function(g){var a=this.getConf(),f=this.getTip(),b=a.slideFade?{opacity:a.opacity}:{},c=e[a.direction]||e.up;b[c[1]]=c[0]+"="+a.slideOffset;a.slideFade&&f.css({opacity:0});f.show().animate(b,a.slideInSpeed,g)},function(g){var a=this.getConf(),f=a.slideOffset,
53
- b=a.slideFade?{opacity:0}:{},c=e[a.direction]||e.up,h=""+c[0];if(a.bounce)h=h=="+"?"-":"+";b[c[1]]=h+"="+f;this.getTip().animate(b,a.slideOutSpeed,function(){d(this).hide();g.call()})})})(jQuery);
54
- (function(g){function j(a){var c=g(window),d=c.width()+c.scrollLeft(),h=c.height()+c.scrollTop();return[a.offset().top<=c.scrollTop(),d<=a.offset().left+a.width(),h<=a.offset().top+a.height(),c.scrollLeft()>=a.offset().left]}function k(a){for(var c=a.length;c--;)if(a[c])return false;return true}var i=g.tools.tooltip;i.dynamic={conf:{classNames:"top right bottom left"}};g.fn.dynamic=function(a){if(typeof a=="number")a={speed:a};a=g.extend({},i.dynamic.conf,a);var c=a.classNames.split(/\s/),d;this.each(function(){var h=
55
- g(this).tooltip().onBeforeShow(function(e,f){e=this.getTip();var b=this.getConf();d||(d=[b.position[0],b.position[1],b.offset[0],b.offset[1],g.extend({},b)]);g.extend(b,d[4]);b.position=[d[0],d[1]];b.offset=[d[2],d[3]];e.css({visibility:"hidden",position:"absolute",top:f.top,left:f.left}).show();f=j(e);if(!k(f)){if(f[2]){g.extend(b,a.top);b.position[0]="top";e.addClass(c[0])}if(f[3]){g.extend(b,a.right);b.position[1]="right";e.addClass(c[1])}if(f[0]){g.extend(b,a.bottom);b.position[0]="bottom";e.addClass(c[2])}if(f[1]){g.extend(b,
56
- a.left);b.position[1]="left";e.addClass(c[3])}if(f[0]||f[2])b.offset[0]*=-1;if(f[1]||f[3])b.offset[1]*=-1}e.css({visibility:"visible"}).hide()});h.onBeforeShow(function(){var e=this.getConf();this.getTip();setTimeout(function(){e.position=[d[0],d[1]];e.offset=[d[2],d[3]]},0)});h.onHide(function(){var e=this.getTip();e.removeClass(a.classNames)});ret=h});return a.api?ret:this}})(jQuery);
57
- (function(e){function p(f,c){var b=e(c);return b.length<2?b:f.parent().find(c)}function u(f,c){var b=this,n=f.add(b),g=f.children(),l=0,j=c.vertical;k||(k=b);if(g.length>1)g=e(c.items,f);e.extend(b,{getConf:function(){return c},getIndex:function(){return l},getSize:function(){return b.getItems().size()},getNaviButtons:function(){return o.add(q)},getRoot:function(){return f},getItemWrap:function(){return g},getItems:function(){return g.children(c.item).not("."+c.clonedClass)},move:function(a,d){return b.seekTo(l+
58
- a,d)},next:function(a){return b.move(1,a)},prev:function(a){return b.move(-1,a)},begin:function(a){return b.seekTo(0,a)},end:function(a){return b.seekTo(b.getSize()-1,a)},focus:function(){return k=b},addItem:function(a){a=e(a);if(c.circular){g.children("."+c.clonedClass+":last").before(a);g.children("."+c.clonedClass+":first").replaceWith(a.clone().addClass(c.clonedClass))}else g.append(a);n.trigger("onAddItem",[a]);return b},seekTo:function(a,d,h){a.jquery||(a*=1);if(c.circular&&a===0&&l==-1&&d!==
59
- 0)return b;if(!c.circular&&a<0||a>b.getSize()||a<-1)return b;var i=a;if(a.jquery)a=b.getItems().index(a);else i=b.getItems().eq(a);var r=e.Event("onBeforeSeek");if(!h){n.trigger(r,[a,d]);if(r.isDefaultPrevented()||!i.length)return b}i=j?{top:-i.position().top}:{left:-i.position().left};l=a;k=b;if(d===undefined)d=c.speed;g.animate(i,d,c.easing,h||function(){n.trigger("onSeek",[a])});return b}});e.each(["onBeforeSeek","onSeek","onAddItem"],function(a,d){e.isFunction(c[d])&&e(b).bind(d,c[d]);b[d]=function(h){h&&
60
- e(b).bind(d,h);return b}});if(c.circular){var s=b.getItems().slice(-1).clone().prependTo(g),t=b.getItems().eq(1).clone().appendTo(g);s.add(t).addClass(c.clonedClass);b.onBeforeSeek(function(a,d,h){if(!a.isDefaultPrevented())if(d==-1){b.seekTo(s,h,function(){b.end(0)});return a.preventDefault()}else d==b.getSize()&&b.seekTo(t,h,function(){b.begin(0)})});b.seekTo(0,0,function(){})}var o=p(f,c.prev).click(function(){b.prev()}),q=p(f,c.next).click(function(){b.next()});if(!c.circular&&b.getSize()>1){b.onBeforeSeek(function(a,
61
- d){setTimeout(function(){if(!a.isDefaultPrevented()){o.toggleClass(c.disabledClass,d<=0);q.toggleClass(c.disabledClass,d>=b.getSize()-1)}},1)});c.initialIndex||o.addClass(c.disabledClass)}c.mousewheel&&e.fn.mousewheel&&f.mousewheel(function(a,d){if(c.mousewheel){b.move(d<0?1:-1,c.wheelSpeed||50);return false}});if(c.touch){var m={};g[0].ontouchstart=function(a){a=a.touches[0];m.x=a.clientX;m.y=a.clientY};g[0].ontouchmove=function(a){if(a.touches.length==1&&!g.is(":animated")){var d=a.touches[0],h=
62
- m.x-d.clientX;d=m.y-d.clientY;b[j&&d>0||!j&&h>0?"next":"prev"]();a.preventDefault()}}}c.keyboard&&e(document).bind("keydown.scrollable",function(a){if(!(!c.keyboard||a.altKey||a.ctrlKey||e(a.target).is(":input")))if(!(c.keyboard!="static"&&k!=b)){var d=a.keyCode;if(j&&(d==38||d==40)){b.move(d==38?-1:1);return a.preventDefault()}if(!j&&(d==37||d==39)){b.move(d==37?-1:1);return a.preventDefault()}}});c.initialIndex&&b.seekTo(c.initialIndex,0,function(){})}e.tools=e.tools||{version:"1.2.5"};e.tools.scrollable=
63
- {conf:{activeClass:"active",circular:false,clonedClass:"cloned",disabledClass:"disabled",easing:"swing",initialIndex:0,item:null,items:".items",keyboard:true,mousewheel:false,next:".next",prev:".prev",speed:400,vertical:false,touch:true,wheelSpeed:0}};var k;e.fn.scrollable=function(f){var c=this.data("scrollable");if(c)return c;f=e.extend({},e.tools.scrollable.conf,f);this.each(function(){c=new u(e(this),f);e(this).data("scrollable",c)});return f.api?c:this}})(jQuery);
64
- (function(b){var f=b.tools.scrollable;f.autoscroll={conf:{autoplay:true,interval:3E3,autopause:true}};b.fn.autoscroll=function(c){if(typeof c=="number")c={interval:c};var d=b.extend({},f.autoscroll.conf,c),g;this.each(function(){var a=b(this).data("scrollable");if(a)g=a;var e,h=true;a.play=function(){if(!e){h=false;e=setInterval(function(){a.next()},d.interval)}};a.pause=function(){e=clearInterval(e)};a.stop=function(){a.pause();h=true};d.autopause&&a.getRoot().add(a.getNaviButtons()).hover(a.pause,
65
- a.play);d.autoplay&&a.play()});return d.api?g:this}})(jQuery);
66
- (function(d){function p(b,g){var h=d(g);return h.length<2?h:b.parent().find(g)}var m=d.tools.scrollable;m.navigator={conf:{navi:".navi",naviItem:null,activeClass:"active",indexed:false,idPrefix:null,history:false}};d.fn.navigator=function(b){if(typeof b=="string")b={navi:b};b=d.extend({},m.navigator.conf,b);var g;this.each(function(){function h(a,c,i){e.seekTo(c);if(j){if(location.hash)location.hash=a.attr("href").replace("#","")}else return i.preventDefault()}function f(){return k.find(b.naviItem||
67
- "> *")}function n(a){var c=d("<"+(b.naviItem||"a")+"/>").click(function(i){h(d(this),a,i)}).attr("href","#"+a);a===0&&c.addClass(l);b.indexed&&c.text(a+1);b.idPrefix&&c.attr("id",b.idPrefix+a);return c.appendTo(k)}function o(a,c){a=f().eq(c.replace("#",""));a.length||(a=f().filter("[href="+c+"]"));a.click()}var e=d(this).data("scrollable"),k=b.navi.jquery?b.navi:p(e.getRoot(),b.navi),q=e.getNaviButtons(),l=b.activeClass,j=b.history&&d.fn.history;if(e)g=e;e.getNaviButtons=function(){return q.add(k)};
68
- f().length?f().each(function(a){d(this).click(function(c){h(d(this),a,c)})}):d.each(e.getItems(),function(a){n(a)});e.onBeforeSeek(function(a,c){setTimeout(function(){if(!a.isDefaultPrevented()){var i=f().eq(c);!a.isDefaultPrevented()&&i.length&&f().removeClass(l).eq(c).addClass(l)}},1)});e.onAddItem(function(a,c){c=n(e.getItems().index(c));j&&c.history(o)});j&&f().history(o)});return b.api?g:this}})(jQuery);
69
- (function(a){function t(d,b){var c=this,j=d.add(c),o=a(window),k,f,m,g=a.tools.expose&&(b.mask||b.expose),n=Math.random().toString().slice(10);if(g){if(typeof g=="string")g={color:g};g.closeOnClick=g.closeOnEsc=false}var p=b.target||d.attr("rel");f=p?a(p):d;if(!f.length)throw"Could not find Overlay: "+p;d&&d.index(f)==-1&&d.click(function(e){c.load(e);return e.preventDefault()});a.extend(c,{load:function(e){if(c.isOpened())return c;var h=q[b.effect];if(!h)throw'Overlay: cannot find effect : "'+b.effect+
70
- '"';b.oneInstance&&a.each(s,function(){this.close(e)});e=e||a.Event();e.type="onBeforeLoad";j.trigger(e);if(e.isDefaultPrevented())return c;m=true;g&&a(f).expose(g);var i=b.top,r=b.left,u=f.outerWidth({margin:true}),v=f.outerHeight({margin:true});if(typeof i=="string")i=i=="center"?Math.max((o.height()-v)/2,0):parseInt(i,10)/100*o.height();if(r=="center")r=Math.max((o.width()-u)/2,0);h[0].call(c,{top:i,left:r},function(){if(m){e.type="onLoad";j.trigger(e)}});g&&b.closeOnClick&&a.mask.getMask().one("click",
71
- c.close);b.closeOnClick&&a(document).bind("click."+n,function(l){a(l.target).parents(f).length||c.close(l)});b.closeOnEsc&&a(document).bind("keydown."+n,function(l){l.keyCode==27&&c.close(l)});return c},close:function(e){if(!c.isOpened())return c;e=e||a.Event();e.type="onBeforeClose";j.trigger(e);if(!e.isDefaultPrevented()){m=false;q[b.effect][1].call(c,function(){e.type="onClose";j.trigger(e)});a(document).unbind("click."+n).unbind("keydown."+n);g&&a.mask.close();return c}},getOverlay:function(){return f},
72
- getTrigger:function(){return d},getClosers:function(){return k},isOpened:function(){return m},getConf:function(){return b}});a.each("onBeforeLoad,onStart,onLoad,onBeforeClose,onClose".split(","),function(e,h){a.isFunction(b[h])&&a(c).bind(h,b[h]);c[h]=function(i){i&&a(c).bind(h,i);return c}});k=f.find(b.close||".close");if(!k.length&&!b.close){k=a('<a class="close"></a>');f.prepend(k)}k.click(function(e){c.close(e)});b.load&&c.load()}a.tools=a.tools||{version:"1.2.5"};a.tools.overlay={addEffect:function(d,
73
- b,c){q[d]=[b,c]},conf:{close:null,closeOnClick:true,closeOnEsc:true,closeSpeed:"fast",effect:"default",fixed:!a.browser.msie||a.browser.version>6,left:"center",load:false,mask:null,oneInstance:true,speed:"normal",target:null,top:"10%"}};var s=[],q={};a.tools.overlay.addEffect("default",function(d,b){var c=this.getConf(),j=a(window);if(!c.fixed){d.top+=j.scrollTop();d.left+=j.scrollLeft()}d.position=c.fixed?"fixed":"absolute";this.getOverlay().css(d).fadeIn(c.speed,b)},function(d){this.getOverlay().fadeOut(this.getConf().closeSpeed,
74
- d)});a.fn.overlay=function(d){var b=this.data("overlay");if(b)return b;if(a.isFunction(d))d={onBeforeLoad:d};d=a.extend(true,{},a.tools.overlay.conf,d);this.each(function(){b=new t(a(this),d);s.push(b);a(this).data("overlay",b)});return d.api?b:this}})(jQuery);
75
- (function(h){function k(d){var e=d.offset();return{top:e.top+d.height()/2,left:e.left+d.width()/2}}var l=h.tools.overlay,f=h(window);h.extend(l.conf,{start:{top:null,left:null},fadeInSpeed:"fast",zIndex:9999});function o(d,e){var a=this.getOverlay(),c=this.getConf(),g=this.getTrigger(),p=this,m=a.outerWidth({margin:true}),b=a.data("img"),n=c.fixed?"fixed":"absolute";if(!b){b=a.css("backgroundImage");if(!b)throw"background-image CSS property not set for overlay";b=b.slice(b.indexOf("(")+1,b.indexOf(")")).replace(/\"/g,
76
- "");a.css("backgroundImage","none");b=h('<img src="'+b+'"/>');b.css({border:0,display:"none"}).width(m);h("body").append(b);a.data("img",b)}var i=c.start.top||Math.round(f.height()/2),j=c.start.left||Math.round(f.width()/2);if(g){g=k(g);i=g.top;j=g.left}if(c.fixed){i-=f.scrollTop();j-=f.scrollLeft()}else{d.top+=f.scrollTop();d.left+=f.scrollLeft()}b.css({position:"absolute",top:i,left:j,width:0,zIndex:c.zIndex}).show();d.position=n;a.css(d);b.animate({top:a.css("top"),left:a.css("left"),width:m},
77
- c.speed,function(){a.css("zIndex",c.zIndex+1).fadeIn(c.fadeInSpeed,function(){p.isOpened()&&!h(this).index(a)?e.call():a.hide()})}).css("position",n)}function q(d){var e=this.getOverlay().hide(),a=this.getConf(),c=this.getTrigger();e=e.data("img");var g={top:a.start.top,left:a.start.left,width:0};c&&h.extend(g,k(c));a.fixed&&e.css({position:"absolute"}).animate({top:"+="+f.scrollTop(),left:"+="+f.scrollLeft()},0);e.animate(g,a.closeSpeed,d)}l.addEffect("apple",o,q)})(jQuery);
78
- (function(d){function R(a,c){return 32-(new Date(a,c,32)).getDate()}function S(a,c){a=""+a;for(c=c||2;a.length<c;)a="0"+a;return a}function T(a,c,j){var q=a.getDate(),h=a.getDay(),r=a.getMonth();a=a.getFullYear();var f={d:q,dd:S(q),ddd:B[j].shortDays[h],dddd:B[j].days[h],m:r+1,mm:S(r+1),mmm:B[j].shortMonths[r],mmmm:B[j].months[r],yy:String(a).slice(2),yyyy:a};c=c.replace(X,function(s){return s in f?f[s]:s.slice(1,s.length-1)});return Y.html(c).html()}function v(a){return parseInt(a,10)}function U(a,
79
- c){return a.getFullYear()===c.getFullYear()&&a.getMonth()==c.getMonth()&&a.getDate()==c.getDate()}function C(a){if(a){if(a.constructor==Date)return a;if(typeof a=="string"){var c=a.split("-");if(c.length==3)return new Date(v(c[0]),v(c[1])-1,v(c[2]));if(!/^-?\d+$/.test(a))return;a=v(a)}c=new Date;c.setDate(c.getDate()+a);return c}}function Z(a,c){function j(b,e,g){n=b;D=b.getFullYear();E=b.getMonth();G=b.getDate();g=g||d.Event("api");g.type="change";H.trigger(g,[b]);if(!g.isDefaultPrevented()){a.val(T(b,
80
- e.format,e.lang));a.data("date",b);h.hide(g)}}function q(b){b.type="onShow";H.trigger(b);d(document).bind("keydown.d",function(e){if(e.ctrlKey)return true;var g=e.keyCode;if(g==8){a.val("");return h.hide(e)}if(g==27)return h.hide(e);if(d(V).index(g)>=0){if(!w){h.show(e);return e.preventDefault()}var i=d("#"+f.weeks+" a"),t=d("."+f.focus),o=i.index(t);t.removeClass(f.focus);if(g==74||g==40)o+=7;else if(g==75||g==38)o-=7;else if(g==76||g==39)o+=1;else if(g==72||g==37)o-=1;if(o>41){h.addMonth();t=d("#"+
81
- f.weeks+" a:eq("+(o-42)+")")}else if(o<0){h.addMonth(-1);t=d("#"+f.weeks+" a:eq("+(o+42)+")")}else t=i.eq(o);t.addClass(f.focus);return e.preventDefault()}if(g==34)return h.addMonth();if(g==33)return h.addMonth(-1);if(g==36)return h.today();if(g==13)d(e.target).is("select")||d("."+f.focus).click();return d([16,17,18,9]).index(g)>=0});d(document).bind("click.d",function(e){var g=e.target;if(!d(g).parents("#"+f.root).length&&g!=a[0]&&(!L||g!=L[0]))h.hide(e)})}var h=this,r=new Date,f=c.css,s=B[c.lang],
82
- k=d("#"+f.root),M=k.find("#"+f.title),L,I,J,D,E,G,n=a.attr("data-value")||c.value||a.val(),m=a.attr("min")||c.min,p=a.attr("max")||c.max,w;if(m===0)m="0";n=C(n)||r;m=C(m||c.yearRange[0]*365);p=C(p||c.yearRange[1]*365);if(!s)throw"Dateinput: invalid language: "+c.lang;if(a.attr("type")=="date"){var N=d("<input/>");d.each("class,disabled,id,maxlength,name,readonly,required,size,style,tabindex,title,value".split(","),function(b,e){N.attr(e,a.attr(e))});a.replaceWith(N);a=N}a.addClass(f.input);var H=
83
- a.add(h);if(!k.length){k=d("<div><div><a/><div/><a/></div><div><div/><div/></div></div>").hide().css({position:"absolute"}).attr("id",f.root);k.children().eq(0).attr("id",f.head).end().eq(1).attr("id",f.body).children().eq(0).attr("id",f.days).end().eq(1).attr("id",f.weeks).end().end().end().find("a").eq(0).attr("id",f.prev).end().eq(1).attr("id",f.next);M=k.find("#"+f.head).find("div").attr("id",f.title);if(c.selectors){var z=d("<select/>").attr("id",f.month),A=d("<select/>").attr("id",f.year);M.html(z.add(A))}for(var $=
84
- k.find("#"+f.days),O=0;O<7;O++)$.append(d("<span/>").text(s.shortDays[(O+c.firstDay)%7]));d("body").append(k)}if(c.trigger)L=d("<a/>").attr("href","#").addClass(f.trigger).click(function(b){h.show();return b.preventDefault()}).insertAfter(a);var K=k.find("#"+f.weeks);A=k.find("#"+f.year);z=k.find("#"+f.month);d.extend(h,{show:function(b){if(!(a.attr("readonly")||a.attr("disabled")||w)){b=b||d.Event();b.type="onBeforeShow";H.trigger(b);if(!b.isDefaultPrevented()){d.each(W,function(){this.hide()});
85
- w=true;z.unbind("change").change(function(){h.setValue(A.val(),d(this).val())});A.unbind("change").change(function(){h.setValue(d(this).val(),z.val())});I=k.find("#"+f.prev).unbind("click").click(function(){I.hasClass(f.disabled)||h.addMonth(-1);return false});J=k.find("#"+f.next).unbind("click").click(function(){J.hasClass(f.disabled)||h.addMonth();return false});h.setValue(n);var e=a.offset();if(/iPad/i.test(navigator.userAgent))e.top-=d(window).scrollTop();k.css({top:e.top+a.outerHeight({margins:true})+
86
- c.offset[0],left:e.left+c.offset[1]});if(c.speed)k.show(c.speed,function(){q(b)});else{k.show();q(b)}return h}}},setValue:function(b,e,g){var i=v(e)>=-1?new Date(v(b),v(e),v(g||1)):b||n;if(i<m)i=m;else if(i>p)i=p;b=i.getFullYear();e=i.getMonth();g=i.getDate();if(e==-1){e=11;b--}else if(e==12){e=0;b++}if(!w){j(i,c);return h}E=e;D=b;g=new Date(b,e,1-c.firstDay);g=g.getDay();var t=R(b,e),o=R(b,e-1),P;if(c.selectors){z.empty();d.each(s.months,function(x,F){m<new Date(b,x+1,-1)&&p>new Date(b,x,0)&&z.append(d("<option/>").html(F).attr("value",
87
- x))});A.empty();i=r.getFullYear();for(var l=i+c.yearRange[0];l<i+c.yearRange[1];l++)m<=new Date(l+1,-1,1)&&p>new Date(l,0,0)&&A.append(d("<option/>").text(l));z.val(e);A.val(b)}else M.html(s.months[e]+" "+b);K.empty();I.add(J).removeClass(f.disabled);l=!g?-7:0;for(var u,y;l<(!g?35:42);l++){u=d("<a/>");if(l%7===0){P=d("<div/>").addClass(f.week);K.append(P)}if(l<g){u.addClass(f.off);y=o-g+l+1;i=new Date(b,e-1,y)}else if(l>=g+t){u.addClass(f.off);y=l-t-g+1;i=new Date(b,e+1,y)}else{y=l-g+1;i=new Date(b,
88
- e,y);if(U(n,i))u.attr("id",f.current).addClass(f.focus);else U(r,i)&&u.attr("id",f.today)}m&&i<m&&u.add(I).addClass(f.disabled);p&&i>p&&u.add(J).addClass(f.disabled);u.attr("href","#"+y).text(y).data("date",i);P.append(u)}K.find("a").click(function(x){var F=d(this);if(!F.hasClass(f.disabled)){d("#"+f.current).removeAttr("id");F.attr("id",f.current);j(F.data("date"),c,x)}return false});f.sunday&&K.find(f.week).each(function(){var x=c.firstDay?7-c.firstDay:0;d(this).children().slice(x,x+1).addClass(f.sunday)});
89
- return h},setMin:function(b,e){m=C(b);e&&n<m&&h.setValue(m);return h},setMax:function(b,e){p=C(b);e&&n>p&&h.setValue(p);return h},today:function(){return h.setValue(r)},addDay:function(b){return this.setValue(D,E,G+(b||1))},addMonth:function(b){return this.setValue(D,E+(b||1),G)},addYear:function(b){return this.setValue(D+(b||1),E,G)},hide:function(b){if(w){b=d.Event();b.type="onHide";H.trigger(b);d(document).unbind("click.d").unbind("keydown.d");if(b.isDefaultPrevented())return;k.hide();w=false}return h},
90
- getConf:function(){return c},getInput:function(){return a},getCalendar:function(){return k},getValue:function(b){return b?T(n,b,c.lang):n},isOpen:function(){return w}});d.each(["onBeforeShow","onShow","change","onHide"],function(b,e){d.isFunction(c[e])&&d(h).bind(e,c[e]);h[e]=function(g){g&&d(h).bind(e,g);return h}});a.bind("focus click",h.show).keydown(function(b){var e=b.keyCode;if(!w&&d(V).index(e)>=0){h.show(b);return b.preventDefault()}return b.shiftKey||b.ctrlKey||b.altKey||e==9?true:b.preventDefault()});
91
- C(a.val())&&j(n,c)}d.tools=d.tools||{version:"1.2.5"};var W=[],Q,V=[75,76,38,39,74,72,40,37],B={};Q=d.tools.dateinput={conf:{format:"mm/dd/yy",selectors:false,yearRange:[-5,5],lang:"en",offset:[0,0],speed:0,firstDay:0,min:undefined,max:undefined,trigger:false,css:{prefix:"cal",input:"date",root:0,head:0,title:0,prev:0,next:0,month:0,year:0,days:0,body:0,weeks:0,today:0,current:0,week:0,off:0,sunday:0,focus:0,disabled:0,trigger:0}},localize:function(a,c){d.each(c,function(j,q){c[j]=q.split(",")});
92
- B[a]=c}};Q.localize("en",{months:"January,February,March,April,May,June,July,August,September,October,November,December",shortMonths:"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec",days:"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday",shortDays:"Sun,Mon,Tue,Wed,Thu,Fri,Sat"});var X=/d{1,4}|m{1,4}|yy(?:yy)?|"[^"]*"|'[^']*'/g,Y=d("<a/>");d.expr[":"].date=function(a){var c=a.getAttribute("type");return c&&c=="date"||!!d(a).data("dateinput")};d.fn.dateinput=function(a){if(this.data("dateinput"))return this;
93
- a=d.extend(true,{},Q.conf,a);d.each(a.css,function(j,q){if(!q&&j!="prefix")a.css[j]=(a.css.prefix||"")+(q||j)});var c;this.each(function(){var j=new Z(d(this),a);W.push(j);j=j.getInput().data("dateinput",j);c=c?c.add(j):j});return c?c:this}})(jQuery);
94
- (function(e){function F(d,a){a=Math.pow(10,a);return Math.round(d*a)/a}function q(d,a){if(a=parseInt(d.css(a),10))return a;return(d=d[0].currentStyle)&&d.width&&parseInt(d.width,10)}function C(d){return(d=d.data("events"))&&d.onSlide}function G(d,a){function h(c,b,f,j){if(f===undefined)f=b/k*z;else if(j)f-=a.min;if(s)f=Math.round(f/s)*s;if(b===undefined||s)b=f*k/z;if(isNaN(f))return g;b=Math.max(0,Math.min(b,k));f=b/k*z;if(j||!n)f+=a.min;if(n)if(j)b=k-b;else f=a.max-f;f=F(f,t);var r=c.type=="click";
95
- if(D&&l!==undefined&&!r){c.type="onSlide";A.trigger(c,[f,b]);if(c.isDefaultPrevented())return g}j=r?a.speed:0;r=r?function(){c.type="change";A.trigger(c,[f])}:null;if(n){m.animate({top:b},j,r);a.progress&&B.animate({height:k-b+m.width()/2},j)}else{m.animate({left:b},j,r);a.progress&&B.animate({width:b+m.width()/2},j)}l=f;H=b;d.val(f);return g}function o(){if(n=a.vertical||q(i,"height")>q(i,"width")){k=q(i,"height")-q(m,"height");u=i.offset().top+k}else{k=q(i,"width")-q(m,"width");u=i.offset().left}}
96
- function v(){o();g.setValue(a.value!==undefined?a.value:a.min)}var g=this,p=a.css,i=e("<div><div/><a href='#'/></div>").data("rangeinput",g),n,l,u,k,H;d.before(i);var m=i.addClass(p.slider).find("a").addClass(p.handle),B=i.find("div").addClass(p.progress);e.each("min,max,step,value".split(","),function(c,b){c=d.attr(b);if(parseFloat(c))a[b]=parseFloat(c,10)});var z=a.max-a.min,s=a.step=="any"?0:a.step,t=a.precision;if(t===undefined)try{t=s.toString().split(".")[1].length}catch(I){t=0}if(d.attr("type")==
97
- "range"){var w=e("<input/>");e.each("class,disabled,id,maxlength,name,readonly,required,size,style,tabindex,title,value".split(","),function(c,b){w.attr(b,d.attr(b))});w.val(a.value);d.replaceWith(w);d=w}d.addClass(p.input);var A=e(g).add(d),D=true;e.extend(g,{getValue:function(){return l},setValue:function(c,b){o();return h(b||e.Event("api"),undefined,c,true)},getConf:function(){return a},getProgress:function(){return B},getHandle:function(){return m},getInput:function(){return d},step:function(c,
98
- b){b=b||e.Event();var f=a.step=="any"?1:a.step;g.setValue(l+f*(c||1),b)},stepUp:function(c){return g.step(c||1)},stepDown:function(c){return g.step(-c||-1)}});e.each("onSlide,change".split(","),function(c,b){e.isFunction(a[b])&&e(g).bind(b,a[b]);g[b]=function(f){f&&e(g).bind(b,f);return g}});m.drag({drag:false}).bind("dragStart",function(){o();D=C(e(g))||C(d)}).bind("drag",function(c,b,f){if(d.is(":disabled"))return false;h(c,n?b:f)}).bind("dragEnd",function(c){if(!c.isDefaultPrevented()){c.type=
99
- "change";A.trigger(c,[l])}}).click(function(c){return c.preventDefault()});i.click(function(c){if(d.is(":disabled")||c.target==m[0])return c.preventDefault();o();var b=m.width()/2;h(c,n?k-u-b+c.pageY:c.pageX-u-b)});a.keyboard&&d.keydown(function(c){if(!d.attr("readonly")){var b=c.keyCode,f=e([75,76,38,33,39]).index(b)!=-1,j=e([74,72,40,34,37]).index(b)!=-1;if((f||j)&&!(c.shiftKey||c.altKey||c.ctrlKey)){if(f)g.step(b==33?10:1,c);else if(j)g.step(b==34?-10:-1,c);return c.preventDefault()}}});d.blur(function(c){var b=
100
- e(this).val();b!==l&&g.setValue(b,c)});e.extend(d[0],{stepUp:g.stepUp,stepDown:g.stepDown});v();k||e(window).load(v)}e.tools=e.tools||{version:"1.2.5"};var E;E=e.tools.rangeinput={conf:{min:0,max:100,step:"any",steps:0,value:0,precision:undefined,vertical:0,keyboard:true,progress:false,speed:100,css:{input:"range",slider:"slider",progress:"progress",handle:"handle"}}};var x,y;e.fn.drag=function(d){document.ondragstart=function(){return false};d=e.extend({x:true,y:true,drag:true},d);x=x||e(document).bind("mousedown mouseup",
101
- function(a){var h=e(a.target);if(a.type=="mousedown"&&h.data("drag")){var o=h.position(),v=a.pageX-o.left,g=a.pageY-o.top,p=true;x.bind("mousemove.drag",function(i){var n=i.pageX-v;i=i.pageY-g;var l={};if(d.x)l.left=n;if(d.y)l.top=i;if(p){h.trigger("dragStart");p=false}d.drag&&h.css(l);h.trigger("drag",[i,n]);y=h});a.preventDefault()}else try{y&&y.trigger("dragEnd")}finally{x.unbind("mousemove.drag");y=null}});return this.data("drag",true)};e.expr[":"].range=function(d){var a=d.getAttribute("type");
102
- return a&&a=="range"||!!e(d).filter("input").data("rangeinput")};e.fn.rangeinput=function(d){if(this.data("rangeinput"))return this;d=e.extend(true,{},E.conf,d);var a;this.each(function(){var h=new G(e(this),e.extend(true,{},d));h=h.getInput().data("rangeinput",h);a=a?a.add(h):h});return a?a:this}})(jQuery);
103
- (function(e){function t(a,b,c){var k=a.offset().top,f=a.offset().left,l=c.position.split(/,?\s+/),p=l[0];l=l[1];k-=b.outerHeight()-c.offset[0];f+=a.outerWidth()+c.offset[1];if(/iPad/i.test(navigator.userAgent))k-=e(window).scrollTop();c=b.outerHeight()+a.outerHeight();if(p=="center")k+=c/2;if(p=="bottom")k+=c;a=a.outerWidth();if(l=="center")f-=(a+b.outerWidth())/2;if(l=="left")f-=a;return{top:k,left:f}}function y(a){function b(){return this.getAttribute("type")==a}b.key="[type="+a+"]";return b}function u(a,
104
- b,c){function k(g,d,i){if(!(!c.grouped&&g.length)){var j;if(i===false||e.isArray(i)){j=h.messages[d.key||d]||h.messages["*"];j=j[c.lang]||h.messages["*"].en;(d=j.match(/\$\d/g))&&e.isArray(i)&&e.each(d,function(m){j=j.replace(this,i[m])})}else j=i[c.lang]||i;g.push(j)}}var f=this,l=b.add(f);a=a.not(":button, :image, :reset, :submit");e.extend(f,{getConf:function(){return c},getForm:function(){return b},getInputs:function(){return a},reflow:function(){a.each(function(){var g=e(this),d=g.data("msg.el");
105
- if(d){g=t(g,d,c);d.css({top:g.top,left:g.left})}});return f},invalidate:function(g,d){if(!d){var i=[];e.each(g,function(j,m){j=a.filter("[name='"+j+"']");if(j.length){j.trigger("OI",[m]);i.push({input:j,messages:[m]})}});g=i;d=e.Event()}d.type="onFail";l.trigger(d,[g]);d.isDefaultPrevented()||q[c.effect][0].call(f,g,d);return f},reset:function(g){g=g||a;g.removeClass(c.errorClass).each(function(){var d=e(this).data("msg.el");if(d){d.remove();e(this).data("msg.el",null)}}).unbind(c.errorInputEvent||
106
- "");return f},destroy:function(){b.unbind(c.formEvent+".V").unbind("reset.V");a.unbind(c.inputEvent+".V").unbind("change.V");return f.reset()},checkValidity:function(g,d){g=g||a;g=g.not(":disabled");if(!g.length)return true;d=d||e.Event();d.type="onBeforeValidate";l.trigger(d,[g]);if(d.isDefaultPrevented())return d.result;var i=[];g.not(":radio:not(:checked)").each(function(){var m=[],n=e(this).data("messages",m),v=r&&n.is(":date")?"onHide.v":c.errorInputEvent+".v";n.unbind(v);e.each(w,function(){var o=
107
- this,s=o[0];if(n.filter(s).length){o=o[1].call(f,n,n.val());if(o!==true){d.type="onBeforeFail";l.trigger(d,[n,s]);if(d.isDefaultPrevented())return false;var x=n.attr(c.messageAttr);if(x){m=[x];return false}else k(m,s,o)}}});if(m.length){i.push({input:n,messages:m});n.trigger("OI",[m]);c.errorInputEvent&&n.bind(v,function(o){f.checkValidity(n,o)})}if(c.singleError&&i.length)return false});var j=q[c.effect];if(!j)throw'Validator: cannot find effect "'+c.effect+'"';if(i.length){f.invalidate(i,d);return false}else{j[1].call(f,
108
- g,d);d.type="onSuccess";l.trigger(d,[g]);g.unbind(c.errorInputEvent+".v")}return true}});e.each("onBeforeValidate,onBeforeFail,onFail,onSuccess".split(","),function(g,d){e.isFunction(c[d])&&e(f).bind(d,c[d]);f[d]=function(i){i&&e(f).bind(d,i);return f}});c.formEvent&&b.bind(c.formEvent+".V",function(g){if(!f.checkValidity(null,g))return g.preventDefault()});b.bind("reset.V",function(){f.reset()});a[0]&&a[0].validity&&a.each(function(){this.oninvalid=function(){return false}});if(b[0])b[0].checkValidity=
109
- f.checkValidity;c.inputEvent&&a.bind(c.inputEvent+".V",function(g){f.checkValidity(e(this),g)});a.filter(":checkbox, select").filter("[required]").bind("change.V",function(g){var d=e(this);if(this.checked||d.is("select")&&e(this).val())q[c.effect][1].call(f,d,g)});var p=a.filter(":radio").change(function(g){f.checkValidity(p,g)});e(window).resize(function(){f.reflow()})}e.tools=e.tools||{version:"1.2.5"};var z=/\[type=([a-z]+)\]/,A=/^-?[0-9]*(\.[0-9]+)?$/,r=e.tools.dateinput,B=/^([a-z0-9_\.\-\+]+)@([\da-z\.\-]+)\.([a-z\.]{2,6})$/i,
110
- C=/^(https?:\/\/)?[\da-z\.\-]+\.[a-z\.]{2,6}[#&+_\?\/\w \.\-=]*$/i,h;h=e.tools.validator={conf:{grouped:false,effect:"default",errorClass:"invalid",inputEvent:null,errorInputEvent:"keyup",formEvent:"submit",lang:"en",message:"<div/>",messageAttr:"data-message",messageClass:"error",offset:[0,0],position:"center right",singleError:false,speed:"normal"},messages:{"*":{en:"Please correct this value"}},localize:function(a,b){e.each(b,function(c,k){h.messages[c]=h.messages[c]||{};h.messages[c][a]=k})},
111
- localizeFn:function(a,b){h.messages[a]=h.messages[a]||{};e.extend(h.messages[a],b)},fn:function(a,b,c){if(e.isFunction(b))c=b;else{if(typeof b=="string")b={en:b};this.messages[a.key||a]=b}if(b=z.exec(a))a=y(b[1]);w.push([a,c])},addEffect:function(a,b,c){q[a]=[b,c]}};var w=[],q={"default":[function(a){var b=this.getConf();e.each(a,function(c,k){c=k.input;c.addClass(b.errorClass);var f=c.data("msg.el");if(!f){f=e(b.message).addClass(b.messageClass).appendTo(document.body);c.data("msg.el",f)}f.css({visibility:"hidden"}).find("p").remove();
112
- e.each(k.messages,function(l,p){e("<p/>").html(p).appendTo(f)});f.outerWidth()==f.parent().width()&&f.add(f.find("p")).css({display:"inline"});k=t(c,f,b);f.css({visibility:"visible",position:"absolute",top:k.top,left:k.left}).fadeIn(b.speed)})},function(a){var b=this.getConf();a.removeClass(b.errorClass).each(function(){var c=e(this).data("msg.el");c&&c.css({visibility:"hidden"})})}]};e.each("email,url,number".split(","),function(a,b){e.expr[":"][b]=function(c){return c.getAttribute("type")===b}});
113
- e.fn.oninvalid=function(a){return this[a?"bind":"trigger"]("OI",a)};h.fn(":email","Please enter a valid email address",function(a,b){return!b||B.test(b)});h.fn(":url","Please enter a valid URL",function(a,b){return!b||C.test(b)});h.fn(":number","Please enter a numeric value.",function(a,b){return A.test(b)});h.fn("[max]","Please enter a value smaller than $1",function(a,b){if(b===""||r&&a.is(":date"))return true;a=a.attr("max");return parseFloat(b)<=parseFloat(a)?true:[a]});h.fn("[min]","Please enter a value larger than $1",
114
- function(a,b){if(b===""||r&&a.is(":date"))return true;a=a.attr("min");return parseFloat(b)>=parseFloat(a)?true:[a]});h.fn("[required]","Please complete this mandatory field.",function(a,b){if(a.is(":checkbox"))return a.is(":checked");return!!b});h.fn("[pattern]",function(a){var b=new RegExp("^"+a.attr("pattern")+"$");return b.test(a.val())});e.fn.validator=function(a){var b=this.data("validator");if(b){b.destroy();this.removeData("validator")}a=e.extend(true,{},h.conf,a);if(this.is("form"))return this.each(function(){var c=
115
- e(this);b=new u(c.find(":input"),c,a);c.data("validator",b)});else{b=new u(this,this.eq(0).closest("form"),a);return this.data("validator",b)}}})(jQuery);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/view/admin/js/jquery.tools.min.js ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * jQuery Tools v1.2.6 - The missing UI library for the Web
3
+ *
4
+ * dateinput/dateinput.js
5
+ * overlay/overlay.js
6
+ * overlay/overlay.apple.js
7
+ * rangeinput/rangeinput.js
8
+ * scrollable/scrollable.js
9
+ * scrollable/scrollable.autoscroll.js
10
+ * scrollable/scrollable.navigator.js
11
+ * toolbox/toolbox.expose.js
12
+ * toolbox/toolbox.flashembed.js
13
+ * toolbox/toolbox.history.js
14
+ * toolbox/toolbox.mousewheel.js
15
+ * tooltip/tooltip.js
16
+ * tooltip/tooltip.dynamic.js
17
+ * tooltip/tooltip.slide.js
18
+ * validator/validator.js
19
+ *
20
+ * NO COPYRIGHTS OR LICENSES. DO WHAT YOU LIKE.
21
+ *
22
+ * http://flowplayer.org/tools/
23
+ *
24
+ * jquery.event.wheel.js - rev 1
25
+ * Copyright (c) 2008, Three Dub Media (http://threedubmedia.com)
26
+ * Liscensed under the MIT License (MIT-LICENSE.txt)
27
+ * http://www.opensource.org/licenses/mit-license.php
28
+ * Created: 2008-07-01 | Updated: 2008-07-14
29
+ *
30
+ * -----
31
+ *
32
+ */
33
+ (function(a,b){a.tools=a.tools||{version:"v1.2.6"};var c=[],d,e=[75,76,38,39,74,72,40,37],f={};d=a.tools.dateinput={conf:{format:"mm/dd/yy",selectors:!1,yearRange:[-5,5],lang:"en",offset:[0,0],speed:0,firstDay:0,min:b,max:b,trigger:0,toggle:0,editable:0,css:{prefix:"cal",input:"date",root:0,head:0,title:0,prev:0,next:0,month:0,year:0,days:0,body:0,weeks:0,today:0,current:0,week:0,off:0,sunday:0,focus:0,disabled:0,trigger:0}},localize:function(b,c){a.each(c,function(a,b){c[a]=b.split(",")}),f[b]=c}},d.localize("en",{months:"January,February,March,April,May,June,July,August,September,October,November,December",shortMonths:"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec",days:"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday",shortDays:"Sun,Mon,Tue,Wed,Thu,Fri,Sat"});function g(a,b){return(new Date(a,b+1,0)).getDate()}function h(a,b){a=""+a,b=b||2;while(a.length<b)a="0"+a;return a}var i=/d{1,4}|m{1,4}|yy(?:yy)?|"[^"]*"|'[^']*'/g,j=a("<a/>");function k(a,b,c){var d=a.getDate(),e=a.getDay(),g=a.getMonth(),k=a.getFullYear(),l={d:d,dd:h(d),ddd:f[c].shortDays[e],dddd:f[c].days[e],m:g+1,mm:h(g+1),mmm:f[c].shortMonths[g],mmmm:f[c].months[g],yy:String(k).slice(2),yyyy:k},m=b.replace(i,function(a){return a in l?l[a]:a.slice(1,a.length-1)});return j.html(m).html()}function l(a){return parseInt(a,10)}function m(a,b){return a.getFullYear()===b.getFullYear()&&a.getMonth()==b.getMonth()&&a.getDate()==b.getDate()}function n(a){if(a!==b){if(a.constructor==Date)return a;if(typeof a=="string"){var c=a.split("-");if(c.length==3)return new Date(l(c[0]),l(c[1])-1,l(c[2]));if(!/^-?\d+$/.test(a))return;a=l(a)}var d=new Date;d.setDate(d.getDate()+a);return d}}function o(d,h){var i=this,j=new Date,o=j.getFullYear(),p=h.css,q=f[h.lang],r=a("#"+p.root),s=r.find("#"+p.title),t,u,v,w,x,y,z=d.attr("data-value")||h.value||d.val(),A=d.attr("min")||h.min,B=d.attr("max")||h.max,C,D;A===0&&(A="0"),z=n(z)||j,A=n(A||new Date(o+h.yearRange[0],1,1)),B=n(B||new Date(o+h.yearRange[1]+1,1,-1));if(!q)throw"Dateinput: invalid language: "+h.lang;if(d.attr("type")=="date"){var D=d.clone(),E=D.wrap("<div/>").parent().html(),F=a(E.replace(/type/i,"type=text data-orig-type"));h.value&&F.val(h.value),d.replaceWith(F),d=F}d.addClass(p.input);var G=d.add(i);if(!r.length){r=a("<div><div><a/><div/><a/></div><div><div/><div/></div></div>").hide().css({position:"absolute"}).attr("id",p.root),r.children().eq(0).attr("id",p.head).end().eq(1).attr("id",p.body).children().eq(0).attr("id",p.days).end().eq(1).attr("id",p.weeks).end().end().end().find("a").eq(0).attr("id",p.prev).end().eq(1).attr("id",p.next),s=r.find("#"+p.head).find("div").attr("id",p.title);if(h.selectors){var H=a("<select/>").attr("id",p.month),I=a("<select/>").attr("id",p.year);s.html(H.add(I))}var J=r.find("#"+p.days);for(var K=0;K<7;K++)J.append(a("<span/>").text(q.shortDays[(K+h.firstDay)%7]));a("body").append(r)}h.trigger&&(t=a("<a/>").attr("href","#").addClass(p.trigger).click(function(a){h.toggle?i.toggle():i.show();return a.preventDefault()}).insertAfter(d));var L=r.find("#"+p.weeks);I=r.find("#"+p.year),H=r.find("#"+p.month);function M(b,c,e){z=b,w=b.getFullYear(),x=b.getMonth(),y=b.getDate(),e=e||a.Event("api"),e.type="beforeChange",G.trigger(e,[b]);e.isDefaultPrevented()||(d.val(k(b,c.format,c.lang)),e.type="change",G.trigger(e),d.data("date",b),i.hide(e))}function N(b){b.type="onShow",G.trigger(b),a(document).bind("keydown.d",function(b){if(b.ctrlKey)return!0;var c=b.keyCode;if(c==8){d.val("");return i.hide(b)}if(c==27||c==9)return i.hide(b);if(a(e).index(c)>=0){if(!C){i.show(b);return b.preventDefault()}var f=a("#"+p.weeks+" a"),g=a("."+p.focus),h=f.index(g);g.removeClass(p.focus);if(c==74||c==40)h+=7;else if(c==75||c==38)h-=7;else if(c==76||c==39)h+=1;else if(c==72||c==37)h-=1;h>41?(i.addMonth(),g=a("#"+p.weeks+" a:eq("+(h-42)+")")):h<0?(i.addMonth(-1),g=a("#"+p.weeks+" a:eq("+(h+42)+")")):g=f.eq(h),g.addClass(p.focus);return b.preventDefault()}if(c==34)return i.addMonth();if(c==33)return i.addMonth(-1);if(c==36)return i.today();c==13&&(a(b.target).is("select")||a("."+p.focus).click());return a([16,17,18,9]).index(c)>=0}),a(document).bind("click.d",function(b){var c=b.target;!a(c).parents("#"+p.root).length&&c!=d[0]&&(!t||c!=t[0])&&i.hide(b)})}a.extend(i,{show:function(b){if(!(d.attr("readonly")||d.attr("disabled")||C)){b=b||a.Event(),b.type="onBeforeShow",G.trigger(b);if(b.isDefaultPrevented())return;a.each(c,function(){this.hide()}),C=!0,H.unbind("change").change(function(){i.setValue(I.val(),a(this).val())}),I.unbind("change").change(function(){i.setValue(a(this).val(),H.val())}),u=r.find("#"+p.prev).unbind("click").click(function(a){u.hasClass(p.disabled)||i.addMonth(-1);return!1}),v=r.find("#"+p.next).unbind("click").click(function(a){v.hasClass(p.disabled)||i.addMonth();return!1}),i.setValue(z);var e=d.offset();/iPad/i.test(navigator.userAgent)&&(e.top-=a(window).scrollTop()),r.css({top:e.top+d.outerHeight({margins:!0})+h.offset[0],left:e.left+h.offset[1]}),h.speed?r.show(h.speed,function(){N(b)}):(r.show(),N(b));return i}},setValue:function(c,d,e){var f=l(d)>=-1?new Date(l(c),l(d),l(e==b||isNaN(e)?1:e)):c||z;f<A?f=A:f>B&&(f=B),typeof c=="string"&&(f=n(c)),c=f.getFullYear(),d=f.getMonth(),e=f.getDate(),d==-1?(d=11,c--):d==12&&(d=0,c++);if(!C){M(f,h);return i}x=d,w=c,y=e;var k=new Date(c,d,1-h.firstDay),o=k.getDay(),r=g(c,d),t=g(c,d-1),D;if(h.selectors){H.empty(),a.each(q.months,function(b,d){A<new Date(c,b+1,1)&&B>new Date(c,b,0)&&H.append(a("<option/>").html(d).attr("value",b))}),I.empty();var E=j.getFullYear();for(var F=E+h.yearRange[0];F<E+h.yearRange[1];F++)A<new Date(F+1,0,1)&&B>new Date(F,0,0)&&I.append(a("<option/>").text(F));H.val(d),I.val(c)}else s.html(q.months[d]+" "+c);L.empty(),u.add(v).removeClass(p.disabled);for(var G=o?0:-7,J,K;G<(o?42:35);G++)J=a("<a/>"),G%7===0&&(D=a("<div/>").addClass(p.week),L.append(D)),G<o?(J.addClass(p.off),K=t-o+G+1,f=new Date(c,d-1,K)):G<o+r?(K=G-o+1,f=new Date(c,d,K),m(z,f)?J.attr("id",p.current).addClass(p.focus):m(j,f)&&J.attr("id",p.today)):(J.addClass(p.off),K=G-r-o+1,f=new Date(c,d+1,K)),A&&f<A&&J.add(u).addClass(p.disabled),B&&f>B&&J.add(v).addClass(p.disabled),J.attr("href","#"+K).text(K).data("date",f),D.append(J);L.find("a").click(function(b){var c=a(this);c.hasClass(p.disabled)||(a("#"+p.current).removeAttr("id"),c.attr("id",p.current),M(c.data("date"),h,b));return!1}),p.sunday&&L.find(p.week).each(function(){var b=h.firstDay?7-h.firstDay:0;a(this).children().slice(b,b+1).addClass(p.sunday)});return i},setMin:function(a,b){A=n(a),b&&z<A&&i.setValue(A);return i},setMax:function(a,b){B=n(a),b&&z>B&&i.setValue(B);return i},today:function(){return i.setValue(j)},addDay:function(a){return this.setValue(w,x,y+(a||1))},addMonth:function(a){var b=x+(a||1),c=g(w,b),d=y<=c?y:c;return this.setValue(w,b,d)},addYear:function(a){return this.setValue(w+(a||1),x,y)},destroy:function(){d.add(document).unbind("click.d").unbind("keydown.d"),r.add(t).remove(),d.removeData("dateinput").removeClass(p.input),D&&d.replaceWith(D)},hide:function(b){if(C){b=a.Event(),b.type="onHide",G.trigger(b),a(document).unbind("click.d").unbind("keydown.d");if(b.isDefaultPrevented())return;r.hide(),C=!1}return i},toggle:function(){return i.isOpen()?i.hide():i.show()},getConf:function(){return h},getInput:function(){return d},getCalendar:function(){return r},getValue:function(a){return a?k(z,a,h.lang):z},isOpen:function(){return C}}),a.each(["onBeforeShow","onShow","change","onHide"],function(b,c){a.isFunction(h[c])&&a(i).bind(c,h[c]),i[c]=function(b){b&&a(i).bind(c,b);return i}}),h.editable||d.bind("focus.d click.d",i.show).keydown(function(b){var c=b.keyCode;if(!C&&a(e).index(c)>=0){i.show(b);return b.preventDefault()}return b.shiftKey||b.ctrlKey||b.altKey||c==9?!0:b.preventDefault()}),n(d.val())&&M(z,h)}a.expr[":"].date=function(b){var c=b.getAttribute("type");return c&&c=="date"||a(b).data("dateinput")},a.fn.dateinput=function(b){if(this.data("dateinput"))return this;b=a.extend(!0,{},d.conf,b),a.each(b.css,function(a,c){!c&&a!="prefix"&&(b.css[a]=(b.css.prefix||"")+(c||a))});var e;this.each(function(){var d=new o(a(this),b);c.push(d);var f=d.getInput().data("dateinput",d);e=e?e.add(f):f});return e?e:this}})(jQuery);
34
+ (function(a){a.tools=a.tools||{version:"v1.2.6"},a.tools.overlay={addEffect:function(a,b,d){c[a]=[b,d]},conf:{close:null,closeOnClick:!0,closeOnEsc:!0,closeSpeed:"fast",effect:"default",fixed:!a.browser.msie||a.browser.version>6,left:"center",load:!1,mask:null,oneInstance:!0,speed:"normal",target:null,top:"10%"}};var b=[],c={};a.tools.overlay.addEffect("default",function(b,c){var d=this.getConf(),e=a(window);d.fixed||(b.top+=e.scrollTop(),b.left+=e.scrollLeft()),b.position=d.fixed?"fixed":"absolute",this.getOverlay().css(b).fadeIn(d.speed,c)},function(a){this.getOverlay().fadeOut(this.getConf().closeSpeed,a)});function d(d,e){var f=this,g=d.add(f),h=a(window),i,j,k,l=a.tools.expose&&(e.mask||e.expose),m=Math.random().toString().slice(10);l&&(typeof l=="string"&&(l={color:l}),l.closeOnClick=l.closeOnEsc=!1);var n=e.target||d.attr("rel");j=n?a(n):null||d;if(!j.length)throw"Could not find Overlay: "+n;d&&d.index(j)==-1&&d.click(function(a){f.load(a);return a.preventDefault()}),a.extend(f,{load:function(d){if(f.isOpened())return f;var i=c[e.effect];if(!i)throw"Overlay: cannot find effect : \""+e.effect+"\"";e.oneInstance&&a.each(b,function(){this.close(d)}),d=d||a.Event(),d.type="onBeforeLoad",g.trigger(d);if(d.isDefaultPrevented())return f;k=!0,l&&a(j).expose(l);var n=e.top,o=e.left,p=j.outerWidth({margin:!0}),q=j.outerHeight({margin:!0});typeof n=="string"&&(n=n=="center"?Math.max((h.height()-q)/2,0):parseInt(n,10)/100*h.height()),o=="center"&&(o=Math.max((h.width()-p)/2,0)),i[0].call(f,{top:n,left:o},function(){k&&(d.type="onLoad",g.trigger(d))}),l&&e.closeOnClick&&a.mask.getMask().one("click",f.close),e.closeOnClick&&a(document).bind("click."+m,function(b){a(b.target).parents(j).length||f.close(b)}),e.closeOnEsc&&a(document).bind("keydown."+m,function(a){a.keyCode==27&&f.close(a)});return f},close:function(b){if(!f.isOpened())return f;b=b||a.Event(),b.type="onBeforeClose",g.trigger(b);if(!b.isDefaultPrevented()){k=!1,c[e.effect][1].call(f,function(){b.type="onClose",g.trigger(b)}),a(document).unbind("click."+m).unbind("keydown."+m),l&&a.mask.close();return f}},getOverlay:function(){return j},getTrigger:function(){return d},getClosers:function(){return i},isOpened:function(){return k},getConf:function(){return e}}),a.each("onBeforeLoad,onStart,onLoad,onBeforeClose,onClose".split(","),function(b,c){a.isFunction(e[c])&&a(f).bind(c,e[c]),f[c]=function(b){b&&a(f).bind(c,b);return f}}),i=j.find(e.close||".close"),!i.length&&!e.close&&(i=a("<a class=\"close\"></a>"),j.prepend(i)),i.click(function(a){f.close(a)}),e.load&&f.load()}a.fn.overlay=function(c){var e=this.data("overlay");if(e)return e;a.isFunction(c)&&(c={onBeforeLoad:c}),c=a.extend(!0,{},a.tools.overlay.conf,c),this.each(function(){e=new d(a(this),c),b.push(e),a(this).data("overlay",e)});return c.api?e:this}})(jQuery);
35
+ (function(a){var b=a.tools.overlay,c=a(window);a.extend(b.conf,{start:{top:null,left:null},fadeInSpeed:"fast",zIndex:9999});function d(a){var b=a.offset();return{top:b.top+a.height()/2,left:b.left+a.width()/2}}var e=function(b,e){var f=this.getOverlay(),g=this.getConf(),h=this.getTrigger(),i=this,j=f.outerWidth({margin:!0}),k=f.data("img"),l=g.fixed?"fixed":"absolute";if(!k){var m=f.css("backgroundImage");if(!m)throw"background-image CSS property not set for overlay";m=m.slice(m.indexOf("(")+1,m.indexOf(")")).replace(/\"/g,""),f.css("backgroundImage","none"),k=a("<img src=\""+m+"\"/>"),k.css({border:0,display:"none"}).width(j),a("body").append(k),f.data("img",k)}var n=g.start.top||Math.round(c.height()/2),o=g.start.left||Math.round(c.width()/2);if(h){var p=d(h);n=p.top,o=p.left}g.fixed?(n-=c.scrollTop(),o-=c.scrollLeft()):(b.top+=c.scrollTop(),b.left+=c.scrollLeft()),k.css({position:"absolute",top:n,left:o,width:0,zIndex:g.zIndex}).show(),b.position=l,f.css(b),k.animate({top:f.css("top"),left:f.css("left"),width:j},g.speed,function(){f.css("zIndex",g.zIndex+1).fadeIn(g.fadeInSpeed,function(){i.isOpened()&&!a(this).index(f)?e.call():f.hide()})}).css("position",l)},f=function(b){var e=this.getOverlay().hide(),f=this.getConf(),g=this.getTrigger(),h=e.data("img"),i={top:f.start.top,left:f.start.left,width:0};g&&a.extend(i,d(g)),f.fixed&&h.css({position:"absolute"}).animate({top:"+="+c.scrollTop(),left:"+="+c.scrollLeft()},0),h.animate(i,f.closeSpeed,b)};b.addEffect("apple",e,f)})(jQuery);
36
+ (function(a){a.tools=a.tools||{version:"v1.2.6"};var b;b=a.tools.rangeinput={conf:{min:0,max:100,step:"any",steps:0,value:0,precision:undefined,vertical:0,keyboard:!0,progress:!1,speed:100,css:{input:"range",slider:"slider",progress:"progress",handle:"handle"}}};var c,d;a.fn.drag=function(b){document.ondragstart=function(){return!1},b=a.extend({x:!0,y:!0,drag:!0},b),c=c||a(document).bind("mousedown mouseup",function(e){var f=a(e.target);if(e.type=="mousedown"&&f.data("drag")){var g=f.position(),h=e.pageX-g.left,i=e.pageY-g.top,j=!0;c.bind("mousemove.drag",function(a){var c=a.pageX-h,e=a.pageY-i,g={};b.x&&(g.left=c),b.y&&(g.top=e),j&&(f.trigger("dragStart"),j=!1),b.drag&&f.css(g),f.trigger("drag",[e,c]),d=f}),e.preventDefault()}else try{d&&d.trigger("dragEnd")}finally{c.unbind("mousemove.drag"),d=null}});return this.data("drag",!0)};function e(a,b){var c=Math.pow(10,b);return Math.round(a*c)/c}function f(a,b){var c=parseInt(a.css(b),10);if(c)return c;var d=a[0].currentStyle;return d&&d.width&&parseInt(d.width,10)}function g(a){var b=a.data("events");return b&&b.onSlide}function h(b,c){var d=this,h=c.css,i=a("<div><div/><a href='#'/></div>").data("rangeinput",d),j,k,l,m,n;b.before(i);var o=i.addClass(h.slider).find("a").addClass(h.handle),p=i.find("div").addClass(h.progress);a.each("min,max,step,value".split(","),function(a,d){var e=b.attr(d);parseFloat(e)&&(c[d]=parseFloat(e,10))});var q=c.max-c.min,r=c.step=="any"?0:c.step,s=c.precision;if(s===undefined)try{s=r.toString().split(".")[1].length}catch(t){s=0}if(b.attr("type")=="range"){var u=b.clone().wrap("<div/>").parent().html(),v=a(u.replace(/type/i,"type=text data-orig-type"));v.val(c.value),b.replaceWith(v),b=v}b.addClass(h.input);var w=a(d).add(b),x=!0;function y(a,f,g,h){g===undefined?g=f/m*q:h&&(g-=c.min),r&&(g=Math.round(g/r)*r);if(f===undefined||r)f=g*m/q;if(isNaN(g))return d;f=Math.max(0,Math.min(f,m)),g=f/m*q;if(h||!j)g+=c.min;j&&(h?f=m-f:g=c.max-g),g=e(g,s);var i=a.type=="click";if(x&&k!==undefined&&!i){a.type="onSlide",w.trigger(a,[g,f]);if(a.isDefaultPrevented())return d}var l=i?c.speed:0,t=i?function(){a.type="change",w.trigger(a,[g])}:null;j?(o.animate({top:f},l,t),c.progress&&p.animate({height:m-f+o.height()/2},l)):(o.animate({left:f},l,t),c.progress&&p.animate({width:f+o.width()/2},l)),k=g,n=f,b.val(g);return d}a.extend(d,{getValue:function(){return k},setValue:function(b,c){z();return y(c||a.Event("api"),undefined,b,!0)},getConf:function(){return c},getProgress:function(){return p},getHandle:function(){return o},getInput:function(){return b},step:function(b,e){e=e||a.Event();var f=c.step=="any"?1:c.step;d.setValue(k+f*(b||1),e)},stepUp:function(a){return d.step(a||1)},stepDown:function(a){return d.step(-a||-1)}}),a.each("onSlide,change".split(","),function(b,e){a.isFunction(c[e])&&a(d).bind(e,c[e]),d[e]=function(b){b&&a(d).bind(e,b);return d}}),o.drag({drag:!1}).bind("dragStart",function(){z(),x=g(a(d))||g(b)}).bind("drag",function(a,c,d){if(b.is(":disabled"))return!1;y(a,j?c:d)}).bind("dragEnd",function(a){a.isDefaultPrevented()||(a.type="change",w.trigger(a,[k]))}).click(function(a){return a.preventDefault()}),i.click(function(a){if(b.is(":disabled")||a.target==o[0])return a.preventDefault();z();var c=j?o.height()/2:o.width()/2;y(a,j?m-l-c+a.pageY:a.pageX-l-c)}),c.keyboard&&b.keydown(function(c){if(!b.attr("readonly")){var e=c.keyCode,f=a([75,76,38,33,39]).index(e)!=-1,g=a([74,72,40,34,37]).index(e)!=-1;if((f||g)&&!(c.shiftKey||c.altKey||c.ctrlKey)){f?d.step(e==33?10:1,c):g&&d.step(e==34?-10:-1,c);return c.preventDefault()}}}),b.blur(function(b){var c=a(this).val();c!==k&&d.setValue(c,b)}),a.extend(b[0],{stepUp:d.stepUp,stepDown:d.stepDown});function z(){j=c.vertical||f(i,"height")>f(i,"width"),j?(m=f(i,"height")-f(o,"height"),l=i.offset().top+m):(m=f(i,"width")-f(o,"width"),l=i.offset().left)}function A(){z(),d.setValue(c.value!==undefined?c.value:c.min)}A(),m||a(window).load(A)}a.expr[":"].range=function(b){var c=b.getAttribute("type");return c&&c=="range"||a(b).filter("input").data("rangeinput")},a.fn.rangeinput=function(c){if(this.data("rangeinput"))return this;c=a.extend(!0,{},b.conf,c);var d;this.each(function(){var b=new h(a(this),a.extend(!0,{},c)),e=b.getInput().data("rangeinput",b);d=d?d.add(e):e});return d?d:this}})(jQuery);
37
+ (function(a){a.tools=a.tools||{version:"v1.2.6"},a.tools.scrollable={conf:{activeClass:"active",circular:!1,clonedClass:"cloned",disabledClass:"disabled",easing:"swing",initialIndex:0,item:"> *",items:".items",keyboard:!0,mousewheel:!1,next:".next",prev:".prev",size:1,speed:400,vertical:!1,touch:!0,wheelSpeed:0}};function b(a,b){var c=parseInt(a.css(b),10);if(c)return c;var d=a[0].currentStyle;return d&&d.width&&parseInt(d.width,10)}function c(b,c){var d=a(c);return d.length<2?d:b.parent().find(c)}var d;function e(b,e){var f=this,g=b.add(f),h=b.children(),i=0,j=e.vertical;d||(d=f),h.length>1&&(h=a(e.items,b)),e.size>1&&(e.circular=!1),a.extend(f,{getConf:function(){return e},getIndex:function(){return i},getSize:function(){return f.getItems().size()},getNaviButtons:function(){return n.add(o)},getRoot:function(){return b},getItemWrap:function(){return h},getItems:function(){return h.find(e.item).not("."+e.clonedClass)},move:function(a,b){return f.seekTo(i+a,b)},next:function(a){return f.move(e.size,a)},prev:function(a){return f.move(-e.size,a)},begin:function(a){return f.seekTo(0,a)},end:function(a){return f.seekTo(f.getSize()-1,a)},focus:function(){d=f;return f},addItem:function(b){b=a(b),e.circular?(h.children().last().before(b),h.children().first().replaceWith(b.clone().addClass(e.clonedClass))):(h.append(b),o.removeClass("disabled")),g.trigger("onAddItem",[b]);return f},seekTo:function(b,c,k){b.jquery||(b*=1);if(e.circular&&b===0&&i==-1&&c!==0)return f;if(!e.circular&&b<0||b>f.getSize()||b<-1)return f;var l=b;b.jquery?b=f.getItems().index(b):l=f.getItems().eq(b);var m=a.Event("onBeforeSeek");if(!k){g.trigger(m,[b,c]);if(m.isDefaultPrevented()||!l.length)return f}var n=j?{top:-l.position().top}:{left:-l.position().left};i=b,d=f,c===undefined&&(c=e.speed),h.animate(n,c,e.easing,k||function(){g.trigger("onSeek",[b])});return f}}),a.each(["onBeforeSeek","onSeek","onAddItem"],function(b,c){a.isFunction(e[c])&&a(f).bind(c,e[c]),f[c]=function(b){b&&a(f).bind(c,b);return f}});if(e.circular){var k=f.getItems().slice(-1).clone().prependTo(h),l=f.getItems().eq(1).clone().appendTo(h);k.add(l).addClass(e.clonedClass),f.onBeforeSeek(function(a,b,c){if(!a.isDefaultPrevented()){if(b==-1){f.seekTo(k,c,function(){f.end(0)});return a.preventDefault()}b==f.getSize()&&f.seekTo(l,c,function(){f.begin(0)})}});var m=b.parents().add(b).filter(function(){if(a(this).css("display")==="none")return!0});m.length?(m.show(),f.seekTo(0,0,function(){}),m.hide()):f.seekTo(0,0,function(){})}var n=c(b,e.prev).click(function(a){a.stopPropagation(),f.prev()}),o=c(b,e.next).click(function(a){a.stopPropagation(),f.next()});e.circular||(f.onBeforeSeek(function(a,b){setTimeout(function(){a.isDefaultPrevented()||(n.toggleClass(e.disabledClass,b<=0),o.toggleClass(e.disabledClass,b>=f.getSize()-1))},1)}),e.initialIndex||n.addClass(e.disabledClass)),f.getSize()<2&&n.add(o).addClass(e.disabledClass),e.mousewheel&&a.fn.mousewheel&&b.mousewheel(function(a,b){if(e.mousewheel){f.move(b<0?1:-1,e.wheelSpeed||50);return!1}});if(e.touch){var p={};h[0].ontouchstart=function(a){var b=a.touches[0];p.x=b.clientX,p.y=b.clientY},h[0].ontouchmove=function(a){if(a.touches.length==1&&!h.is(":animated")){var b=a.touches[0],c=p.x-b.clientX,d=p.y-b.clientY;f[j&&d>0||!j&&c>0?"next":"prev"](),a.preventDefault()}}}e.keyboard&&a(document).bind("keydown.scrollable",function(b){if(!(!e.keyboard||b.altKey||b.ctrlKey||b.metaKey||a(b.target).is(":input"))){if(e.keyboard!="static"&&d!=f)return;var c=b.keyCode;if(j&&(c==38||c==40)){f.move(c==38?-1:1);return b.preventDefault()}if(!j&&(c==37||c==39)){f.move(c==37?-1:1);return b.preventDefault()}}}),e.initialIndex&&f.seekTo(e.initialIndex,0,function(){})}a.fn.scrollable=function(b){var c=this.data("scrollable");if(c)return c;b=a.extend({},a.tools.scrollable.conf,b),this.each(function(){c=new e(a(this),b),a(this).data("scrollable",c)});return b.api?c:this}})(jQuery);
38
+ (function(a){var b=a.tools.scrollable;b.autoscroll={conf:{autoplay:!0,interval:3e3,autopause:!0}},a.fn.autoscroll=function(c){typeof c=="number"&&(c={interval:c});var d=a.extend({},b.autoscroll.conf,c),e;this.each(function(){var b=a(this).data("scrollable"),c=b.getRoot(),f,g=!1;function h(){f=setTimeout(function(){b.next()},d.interval)}b&&(e=b),b.play=function(){f||(g=!1,c.bind("onSeek",h),h())},b.pause=function(){f=clearTimeout(f),c.unbind("onSeek",h)},b.resume=function(){g||b.play()},b.stop=function(){g=!0,b.pause()},d.autopause&&c.add(b.getNaviButtons()).hover(b.pause,b.resume),d.autoplay&&b.play()});return d.api?e:this}})(jQuery);
39
+ (function(a){var b=a.tools.scrollable;b.navigator={conf:{navi:".navi",naviItem:null,activeClass:"active",indexed:!1,idPrefix:null,history:!1}};function c(b,c){var d=a(c);return d.length<2?d:b.parent().find(c)}a.fn.navigator=function(d){typeof d=="string"&&(d={navi:d}),d=a.extend({},b.navigator.conf,d);var e;this.each(function(){var b=a(this).data("scrollable"),f=d.navi.jquery?d.navi:c(b.getRoot(),d.navi),g=b.getNaviButtons(),h=d.activeClass,i=d.history&&history.pushState,j=b.getConf().size;b&&(e=b),b.getNaviButtons=function(){return g.add(f)},i&&(history.pushState({i:0}),a(window).bind("popstate",function(a){var c=a.originalEvent.state;c&&b.seekTo(c.i)}));function k(a,c,d){b.seekTo(c),d.preventDefault(),i&&history.pushState({i:c})}function l(){return f.find(d.naviItem||"> *")}function m(b){var c=a("<"+(d.naviItem||"a")+"/>").click(function(c){k(a(this),b,c)});b===0&&c.addClass(h),d.indexed&&c.text(b+1),d.idPrefix&&c.attr("id",d.idPrefix+b);return c.appendTo(f)}l().length?l().each(function(b){a(this).click(function(c){k(a(this),b,c)})}):a.each(b.getItems(),function(a){a%j==0&&m(a)}),b.onBeforeSeek(function(a,b){setTimeout(function(){if(!a.isDefaultPrevented()){var c=b/j,d=l().eq(c);d.length&&l().removeClass(h).eq(c).addClass(h)}},1)}),b.onAddItem(function(a,c){var d=b.getItems().index(c);d%j==0&&m(d)})});return d.api?e:this}})(jQuery);
40
+ (function(a){a.tools=a.tools||{version:"v1.2.6"};var b;b=a.tools.expose={conf:{maskId:"exposeMask",loadSpeed:"slow",closeSpeed:"fast",closeOnClick:!0,closeOnEsc:!0,zIndex:9998,opacity:.8,startOpacity:0,color:"#fff",onLoad:null,onClose:null}};function c(){if(a.browser.msie){var b=a(document).height(),c=a(window).height();return[window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,b-c<20?c:b]}return[a(document).width(),a(document).height()]}function d(b){if(b)return b.call(a.mask)}var e,f,g,h,i;a.mask={load:function(j,k){if(g)return this;typeof j=="string"&&(j={color:j}),j=j||h,h=j=a.extend(a.extend({},b.conf),j),e=a("#"+j.maskId),e.length||(e=a("<div/>").attr("id",j.maskId),a("body").append(e));var l=c();e.css({position:"absolute",top:0,left:0,width:l[0],height:l[1],display:"none",opacity:j.startOpacity,zIndex:j.zIndex}),j.color&&e.css("backgroundColor",j.color);if(d(j.onBeforeLoad)===!1)return this;j.closeOnEsc&&a(document).bind("keydown.mask",function(b){b.keyCode==27&&a.mask.close(b)}),j.closeOnClick&&e.bind("click.mask",function(b){a.mask.close(b)}),a(window).bind("resize.mask",function(){a.mask.fit()}),k&&k.length&&(i=k.eq(0).css("zIndex"),a.each(k,function(){var b=a(this);/relative|absolute|fixed/i.test(b.css("position"))||b.css("position","relative")}),f=k.css({zIndex:Math.max(j.zIndex+1,i=="auto"?0:i)})),e.css({display:"block"}).fadeTo(j.loadSpeed,j.opacity,function(){a.mask.fit(),d(j.onLoad),g="full"}),g=!0;return this},close:function(){if(g){if(d(h.onBeforeClose)===!1)return this;e.fadeOut(h.closeSpeed,function(){d(h.onClose),f&&f.css({zIndex:i}),g=!1}),a(document).unbind("keydown.mask"),e.unbind("click.mask"),a(window).unbind("resize.mask")}return this},fit:function(){if(g){var a=c();e.css({width:a[0],height:a[1]})}},getMask:function(){return e},isLoaded:function(a){return a?g=="full":g},getConf:function(){return h},getExposed:function(){return f}},a.fn.mask=function(b){a.mask.load(b);return this},a.fn.expose=function(b){a.mask.load(b,this);return this}})(jQuery);
41
+ (function(){var a=document.all,b="http://www.adobe.com/go/getflashplayer",c=typeof jQuery=="function",d=/(\d+)[^\d]+(\d+)[^\d]*(\d*)/,e={width:"100%",height:"100%",id:"_"+(""+Math.random()).slice(9),allowfullscreen:!0,allowscriptaccess:"always",quality:"high",version:[3,0],onFail:null,expressInstall:null,w3c:!1,cachebusting:!1};window.attachEvent&&window.attachEvent("onbeforeunload",function(){__flash_unloadHandler=function(){},__flash_savedUnloadHandler=function(){}});function f(a,b){if(b)for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c]);return a}function g(a,b){var c=[];for(var d in a)a.hasOwnProperty(d)&&(c[d]=b(a[d]));return c}window.flashembed=function(a,b,c){typeof a=="string"&&(a=document.getElementById(a.replace("#","")));if(a){typeof b=="string"&&(b={src:b});return new j(a,f(f({},e),b),c)}};var h=f(window.flashembed,{conf:e,getVersion:function(){var a,b;try{b=navigator.plugins["Shockwave Flash"].description.slice(16)}catch(c){try{a=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7"),b=a&&a.GetVariable("$version")}catch(e){try{a=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6"),b=a&&a.GetVariable("$version")}catch(f){}}}b=d.exec(b);return b?[b[1],b[3]]:[0,0]},asString:function(a){if(a===null||a===undefined)return null;var b=typeof a;b=="object"&&a.push&&(b="array");switch(b){case"string":a=a.replace(new RegExp("([\"\\\\])","g"),"\\$1"),a=a.replace(/^\s?(\d+\.?\d*)%/,"$1pct");return"\""+a+"\"";case"array":return"["+g(a,function(a){return h.asString(a)}).join(",")+"]";case"function":return"\"function()\"";case"object":var c=[];for(var d in a)a.hasOwnProperty(d)&&c.push("\""+d+"\":"+h.asString(a[d]));return"{"+c.join(",")+"}"}return String(a).replace(/\s/g," ").replace(/\'/g,"\"")},getHTML:function(b,c){b=f({},b);var d="<object width=\""+b.width+"\" height=\""+b.height+"\" id=\""+b.id+"\" name=\""+b.id+"\"";b.cachebusting&&(b.src+=(b.src.indexOf("?")!=-1?"&":"?")+Math.random()),b.w3c||!a?d+=" data=\""+b.src+"\" type=\"application/x-shockwave-flash\"":d+=" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\"",d+=">";if(b.w3c||a)d+="<param name=\"movie\" value=\""+b.src+"\" />";b.width=b.height=b.id=b.w3c=b.src=null,b.onFail=b.version=b.expressInstall=null;for(var e in b)b[e]&&(d+="<param name=\""+e+"\" value=\""+b[e]+"\" />");var g="";if(c){for(var i in c)if(c[i]){var j=c[i];g+=i+"="+encodeURIComponent(/function|object/.test(typeof j)?h.asString(j):j)+"&"}g=g.slice(0,-1),d+="<param name=\"flashvars\" value='"+g+"' />"}d+="</object>";return d},isSupported:function(a){return i[0]>a[0]||i[0]==a[0]&&i[1]>=a[1]}}),i=h.getVersion();function j(c,d,e){if(h.isSupported(d.version))c.innerHTML=h.getHTML(d,e);else if(d.expressInstall&&h.isSupported([6,65]))c.innerHTML=h.getHTML(f(d,{src:d.expressInstall}),{MMredirectURL:location.href,MMplayerType:"PlugIn",MMdoctitle:document.title});else{c.innerHTML.replace(/\s/g,"")||(c.innerHTML="<h2>Flash version "+d.version+" or greater is required</h2><h3>"+(i[0]>0?"Your version is "+i:"You have no flash plugin installed")+"</h3>"+(c.tagName=="A"?"<p>Click here to download latest version</p>":"<p>Download latest version from <a href='"+b+"'>here</a></p>"),c.tagName=="A"&&(c.onclick=function(){location.href=b}));if(d.onFail){var g=d.onFail.call(this);typeof g=="string"&&(c.innerHTML=g)}}a&&(window[d.id]=document.getElementById(d.id)),f(this,{getRoot:function(){return c},getOptions:function(){return d},getConf:function(){return e},getApi:function(){return c.firstChild}})}c&&(jQuery.tools=jQuery.tools||{version:"v1.2.6"},jQuery.tools.flashembed={conf:e},jQuery.fn.flashembed=function(a,b){return this.each(function(){jQuery(this).data("flashembed",flashembed(this,a,b))})})})();
42
+ (function(a){var b,c,d,e;a.tools=a.tools||{version:"v1.2.6"},a.tools.history={init:function(g){e||(a.browser.msie&&a.browser.version<"8"?c||(c=a("<iframe/>").attr("src","javascript:false;").hide().get(0),a("body").prepend(c),setInterval(function(){var d=c.contentWindow.document,e=d.location.hash;b!==e&&a(window).trigger("hash",e)},100),f(location.hash||"#")):setInterval(function(){var c=location.hash;c!==b&&a(window).trigger("hash",c)},100),d=d?d.add(g):g,g.click(function(b){var d=a(this).attr("href");c&&f(d);if(d.slice(0,1)!="#"){location.href="#"+d;return b.preventDefault()}}),e=!0)}};function f(a){if(a){var b=c.contentWindow.document;b.open().close(),b.location.hash=a}}a(window).bind("hash",function(c,e){e?d.filter(function(){var b=a(this).attr("href");return b==e||b==e.replace("#","")}).trigger("history",[e]):d.eq(0).trigger("history",[e]),b=e}),a.fn.history=function(b){a.tools.history.init(this);return this.bind("history",b)}})(jQuery);
43
+ (function(a){a.fn.mousewheel=function(a){return this[a?"bind":"trigger"]("wheel",a)},a.event.special.wheel={setup:function(){a.event.add(this,b,c,{})},teardown:function(){a.event.remove(this,b,c)}};var b=a.browser.mozilla?"DOMMouseScroll"+(a.browser.version<"1.9"?" mousemove":""):"mousewheel";function c(b){switch(b.type){case"mousemove":return a.extend(b.data,{clientX:b.clientX,clientY:b.clientY,pageX:b.pageX,pageY:b.pageY});case"DOMMouseScroll":a.extend(b,b.data),b.delta=-b.detail/3;break;case"mousewheel":b.delta=b.wheelDelta/120}b.type="wheel";return a.event.handle.call(this,b,b.delta)}})(jQuery);
44
+ (function(a){a.tools=a.tools||{version:"v1.2.6"},a.tools.tooltip={conf:{effect:"toggle",fadeOutSpeed:"fast",predelay:0,delay:30,opacity:1,tip:0,fadeIE:!1,position:["top","center"],offset:[0,0],relative:!1,cancelDefault:!0,events:{def:"mouseenter,mouseleave",input:"focus,blur",widget:"focus mouseenter,blur mouseleave",tooltip:"mouseenter,mouseleave"},layout:"<div/>",tipClass:"tooltip"},addEffect:function(a,c,d){b[a]=[c,d]}};var b={toggle:[function(a){var b=this.getConf(),c=this.getTip(),d=b.opacity;d<1&&c.css({opacity:d}),c.show(),a.call()},function(a){this.getTip().hide(),a.call()}],fade:[function(b){var c=this.getConf();!a.browser.msie||c.fadeIE?this.getTip().fadeTo(c.fadeInSpeed,c.opacity,b):(this.getTip().show(),b())},function(b){var c=this.getConf();!a.browser.msie||c.fadeIE?this.getTip().fadeOut(c.fadeOutSpeed,b):(this.getTip().hide(),b())}]};function c(b,c,d){var e=d.relative?b.position().top:b.offset().top,f=d.relative?b.position().left:b.offset().left,g=d.position[0];e-=c.outerHeight()-d.offset[0],f+=b.outerWidth()+d.offset[1],/iPad/i.test(navigator.userAgent)&&(e-=a(window).scrollTop());var h=c.outerHeight()+b.outerHeight();g=="center"&&(e+=h/2),g=="bottom"&&(e+=h),g=d.position[1];var i=c.outerWidth()+b.outerWidth();g=="center"&&(f-=i/2),g=="left"&&(f-=i);return{top:e,left:f}}function d(d,e){var f=this,g=d.add(f),h,i=0,j=0,k=d.attr("title"),l=d.attr("data-tooltip"),m=b[e.effect],n,o=d.is(":input"),p=o&&d.is(":checkbox, :radio, select, :button, :submit"),q=d.attr("type"),r=e.events[q]||e.events[o?p?"widget":"input":"def"];if(!m)throw"Nonexistent effect \""+e.effect+"\"";r=r.split(/,\s*/);if(r.length!=2)throw"Tooltip: bad events configuration for "+q;d.bind(r[0],function(a){clearTimeout(i),e.predelay?j=setTimeout(function(){f.show(a)},e.predelay):f.show(a)}).bind(r[1],function(a){clearTimeout(j),e.delay?i=setTimeout(function(){f.hide(a)},e.delay):f.hide(a)}),k&&e.cancelDefault&&(d.removeAttr("title"),d.data("title",k)),a.extend(f,{show:function(b){if(!h){l?h=a(l):e.tip?h=a(e.tip).eq(0):k?h=a(e.layout).addClass(e.tipClass).appendTo(document.body).hide().append(k):(h=d.next(),h.length||(h=d.parent().next()));if(!h.length)throw"Cannot find tooltip for "+d}if(f.isShown())return f;h.stop(!0,!0);var o=c(d,h,e);e.tip&&h.html(d.data("title")),b=a.Event(),b.type="onBeforeShow",g.trigger(b,[o]);if(b.isDefaultPrevented())return f;o=c(d,h,e),h.css({position:"absolute",top:o.top,left:o.left}),n=!0,m[0].call(f,function(){b.type="onShow",n="full",g.trigger(b)});var p=e.events.tooltip.split(/,\s*/);h.data("__set")||(h.unbind(p[0]).bind(p[0],function(){clearTimeout(i),clearTimeout(j)}),p[1]&&!d.is("input:not(:checkbox, :radio), textarea")&&h.unbind(p[1]).bind(p[1],function(a){a.relatedTarget!=d[0]&&d.trigger(r[1].split(" ")[0])}),e.tip||h.data("__set",!0));return f},hide:function(c){if(!h||!f.isShown())return f;c=a.Event(),c.type="onBeforeHide",g.trigger(c);if(!c.isDefaultPrevented()){n=!1,b[e.effect][1].call(f,function(){c.type="onHide",g.trigger(c)});return f}},isShown:function(a){return a?n=="full":n},getConf:function(){return e},getTip:function(){return h},getTrigger:function(){return d}}),a.each("onHide,onBeforeShow,onShow,onBeforeHide".split(","),function(b,c){a.isFunction(e[c])&&a(f).bind(c,e[c]),f[c]=function(b){b&&a(f).bind(c,b);return f}})}a.fn.tooltip=function(b){var c=this.data("tooltip");if(c)return c;b=a.extend(!0,{},a.tools.tooltip.conf,b),typeof b.position=="string"&&(b.position=b.position.split(/,?\s/)),this.each(function(){c=new d(a(this),b),a(this).data("tooltip",c)});return b.api?c:this}})(jQuery);
45
+ (function(a){var b=a.tools.tooltip;b.dynamic={conf:{classNames:"top right bottom left"}};function c(b){var c=a(window),d=c.width()+c.scrollLeft(),e=c.height()+c.scrollTop();return[b.offset().top<=c.scrollTop(),d<=b.offset().left+b.width(),e<=b.offset().top+b.height(),c.scrollLeft()>=b.offset().left]}function d(a){var b=a.length;while(b--)if(a[b])return!1;return!0}a.fn.dynamic=function(e){typeof e=="number"&&(e={speed:e}),e=a.extend({},b.dynamic.conf,e);var f=a.extend(!0,{},e),g=e.classNames.split(/\s/),h;this.each(function(){var b=a(this).tooltip().onBeforeShow(function(b,e){var i=this.getTip(),j=this.getConf();h||(h=[j.position[0],j.position[1],j.offset[0],j.offset[1],a.extend({},j)]),a.extend(j,h[4]),j.position=[h[0],h[1]],j.offset=[h[2],h[3]],i.css({visibility:"hidden",position:"absolute",top:e.top,left:e.left}).show();var k=a.extend(!0,{},f),l=c(i);if(!d(l)){l[2]&&(a.extend(j,k.top),j.position[0]="top",i.addClass(g[0])),l[3]&&(a.extend(j,k.right),j.position[1]="right",i.addClass(g[1])),l[0]&&(a.extend(j,k.bottom),j.position[0]="bottom",i.addClass(g[2])),l[1]&&(a.extend(j,k.left),j.position[1]="left",i.addClass(g[3]));if(l[0]||l[2])j.offset[0]*=-1;if(l[1]||l[3])j.offset[1]*=-1}i.css({visibility:"visible"}).hide()});b.onBeforeShow(function(){var a=this.getConf(),b=this.getTip();setTimeout(function(){a.position=[h[0],h[1]],a.offset=[h[2],h[3]]},0)}),b.onHide(function(){var a=this.getTip();a.removeClass(e.classNames)}),ret=b});return e.api?ret:this}})(jQuery);
46
+ (function(a){var b=a.tools.tooltip;a.extend(b.conf,{direction:"up",bounce:!1,slideOffset:10,slideInSpeed:200,slideOutSpeed:200,slideFade:!a.browser.msie});var c={up:["-","top"],down:["+","top"],left:["-","left"],right:["+","left"]};b.addEffect("slide",function(a){var b=this.getConf(),d=this.getTip(),e=b.slideFade?{opacity:b.opacity}:{},f=c[b.direction]||c.up;e[f[1]]=f[0]+"="+b.slideOffset,b.slideFade&&d.css({opacity:0}),d.show().animate(e,b.slideInSpeed,a)},function(b){var d=this.getConf(),e=d.slideOffset,f=d.slideFade?{opacity:0}:{},g=c[d.direction]||c.up,h=""+g[0];d.bounce&&(h=h=="+"?"-":"+"),f[g[1]]=h+"="+e,this.getTip().animate(f,d.slideOutSpeed,function(){a(this).hide(),b.call()})})})(jQuery);
47
+ (function(a){a.tools=a.tools||{version:"v1.2.6"};var b=/\[type=([a-z]+)\]/,c=/^-?[0-9]*(\.[0-9]+)?$/,d=a.tools.dateinput,e=/^([a-z0-9_\.\-\+]+)@([\da-z\.\-]+)\.([a-z\.]{2,6})$/i,f=/^(https?:\/\/)?[\da-z\.\-]+\.[a-z\.]{2,6}[#&+_\?\/\w \.\-=]*$/i,g;g=a.tools.validator={conf:{grouped:!1,effect:"default",errorClass:"invalid",inputEvent:null,errorInputEvent:"keyup",formEvent:"submit",lang:"en",message:"<div/>",messageAttr:"data-message",messageClass:"error",offset:[0,0],position:"center right",singleError:!1,speed:"normal"},messages:{"*":{en:"Please correct this value"}},localize:function(b,c){a.each(c,function(a,c){g.messages[a]=g.messages[a]||{},g.messages[a][b]=c})},localizeFn:function(b,c){g.messages[b]=g.messages[b]||{},a.extend(g.messages[b],c)},fn:function(c,d,e){a.isFunction(d)?e=d:(typeof d=="string"&&(d={en:d}),this.messages[c.key||c]=d);var f=b.exec(c);f&&(c=i(f[1])),j.push([c,e])},addEffect:function(a,b,c){k[a]=[b,c]}};function h(b,c,d){var e=b.offset().top,f=b.offset().left,g=d.position.split(/,?\s+/),h=g[0],i=g[1];e-=c.outerHeight()-d.offset[0],f+=b.outerWidth()+d.offset[1],/iPad/i.test(navigator.userAgent)&&(e-=a(window).scrollTop());var j=c.outerHeight()+b.outerHeight();h=="center"&&(e+=j/2),h=="bottom"&&(e+=j);var k=b.outerWidth();i=="center"&&(f-=(k+c.outerWidth())/2),i=="left"&&(f-=k);return{top:e,left:f}}function i(a){function b(){return this.getAttribute("type")==a}b.key="[type="+a+"]";return b}var j=[],k={"default":[function(b){var c=this.getConf();a.each(b,function(b,d){var e=d.input;e.addClass(c.errorClass);var f=e.data("msg.el");f||(f=a(c.message).addClass(c.messageClass).appendTo(document.body),e.data("msg.el",f)),f.css({visibility:"hidden"}).find("p").remove(),a.each(d.messages,function(b,c){a("<p/>").html(c).appendTo(f)}),f.outerWidth()==f.parent().width()&&f.add(f.find("p")).css({display:"inline"});var g=h(e,f,c);f.css({visibility:"visible",position:"absolute",top:g.top,left:g.left}).fadeIn(c.speed)})},function(b){var c=this.getConf();b.removeClass(c.errorClass).each(function(){var b=a(this).data("msg.el");b&&b.css({visibility:"hidden"})})}]};a.each("email,url,number".split(","),function(b,c){a.expr[":"][c]=function(a){return a.getAttribute("type")===c}}),a.fn.oninvalid=function(a){return this[a?"bind":"trigger"]("OI",a)},g.fn(":email","Please enter a valid email address",function(a,b){return!b||e.test(b)}),g.fn(":url","Please enter a valid URL",function(a,b){return!b||f.test(b)}),g.fn(":number","Please enter a numeric value.",function(a,b){return c.test(b)}),g.fn("[max]","Please enter a value no larger than $1",function(a,b){if(b===""||d&&a.is(":date"))return!0;var c=a.attr("max");return parseFloat(b)<=parseFloat(c)?!0:[c]}),g.fn("[min]","Please enter a value of at least $1",function(a,b){if(b===""||d&&a.is(":date"))return!0;var c=a.attr("min");return parseFloat(b)>=parseFloat(c)?!0:[c]}),g.fn("[required]","Please complete this mandatory field.",function(a,b){if(a.is(":checkbox"))return a.is(":checked");return b}),g.fn("[pattern]",function(a){var b=new RegExp("^"+a.attr("pattern")+"$");return b.test(a.val())});function l(b,c,e){var f=this,i=c.add(f);b=b.not(":button, :image, :reset, :submit"),c.attr("novalidate","novalidate");function l(b,c,d){if(e.grouped||!b.length){var f;if(d===!1||a.isArray(d)){f=g.messages[c.key||c]||g.messages["*"],f=f[e.lang]||g.messages["*"].en;var h=f.match(/\$\d/g);h&&a.isArray(d)&&a.each(h,function(a){f=f.replace(this,d[a])})}else f=d[e.lang]||d;b.push(f)}}a.extend(f,{getConf:function(){return e},getForm:function(){return c},getInputs:function(){return b},reflow:function(){b.each(function(){var b=a(this),c=b.data("msg.el");if(c){var d=h(b,c,e);c.css({top:d.top,left:d.left})}});return f},invalidate:function(c,d){if(!d){var g=[];a.each(c,function(a,c){var d=b.filter("[name='"+a+"']");d.length&&(d.trigger("OI",[c]),g.push({input:d,messages:[c]}))}),c=g,d=a.Event()}d.type="onFail",i.trigger(d,[c]),d.isDefaultPrevented()||k[e.effect][0].call(f,c,d);return f},reset:function(c){c=c||b,c.removeClass(e.errorClass).each(function(){var b=a(this).data("msg.el");b&&(b.remove(),a(this).data("msg.el",null))}).unbind(e.errorInputEvent||"");return f},destroy:function(){c.unbind(e.formEvent+".V").unbind("reset.V"),b.unbind(e.inputEvent+".V").unbind("change.V");return f.reset()},checkValidity:function(c,g){c=c||b,c=c.not(":disabled");if(!c.length)return!0;g=g||a.Event(),g.type="onBeforeValidate",i.trigger(g,[c]);if(g.isDefaultPrevented())return g.result;var h=[];c.not(":radio:not(:checked)").each(function(){var b=[],c=a(this).data("messages",b),k=d&&c.is(":date")?"onHide.v":e.errorInputEvent+".v";c.unbind(k),a.each(j,function(){var a=this,d=a[0];if(c.filter(d).length){var h=a[1].call(f,c,c.val());if(h!==!0){g.type="onBeforeFail",i.trigger(g,[c,d]);if(g.isDefaultPrevented())return!1;var j=c.attr(e.messageAttr);if(j){b=[j];return!1}l(b,d,h)}}}),b.length&&(h.push({input:c,messages:b}),c.trigger("OI",[b]),e.errorInputEvent&&c.bind(k,function(a){f.checkValidity(c,a)}));if(e.singleError&&h.length)return!1});var m=k[e.effect];if(!m)throw"Validator: cannot find effect \""+e.effect+"\"";if(h.length){f.invalidate(h,g);return!1}m[1].call(f,c,g),g.type="onSuccess",i.trigger(g,[c]),c.unbind(e.errorInputEvent+".v");return!0}}),a.each("onBeforeValidate,onBeforeFail,onFail,onSuccess".split(","),function(b,c){a.isFunction(e[c])&&a(f).bind(c,e[c]),f[c]=function(b){b&&a(f).bind(c,b);return f}}),e.formEvent&&c.bind(e.formEvent+".V",function(a){if(!f.checkValidity(null,a))return a.preventDefault();a.target=c,a.type=e.formEvent}),c.bind("reset.V",function(){f.reset()}),b[0]&&b[0].validity&&b.each(function(){this.oninvalid=function(){return!1}}),c[0]&&(c[0].checkValidity=f.checkValidity),e.inputEvent&&b.bind(e.inputEvent+".V",function(b){f.checkValidity(a(this),b)}),b.filter(":checkbox, select").filter("[required]").bind("change.V",function(b){var c=a(this);(this.checked||c.is("select")&&a(this).val())&&k[e.effect][1].call(f,c,b)});var m=b.filter(":radio").change(function(a){f.checkValidity(m,a)});a(window).resize(function(){f.reflow()})}a.fn.validator=function(b){var c=this.data("validator");c&&(c.destroy(),this.removeData("validator")),b=a.extend(!0,{},g.conf,b);if(this.is("form"))return this.each(function(){var d=a(this);c=new l(d.find(":input"),d,b),d.data("validator",c)});c=new l(this,this.eq(0).closest("form"),b);return this.data("validator",c)}})(jQuery);
app/view/admin/themes-updated.php ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div class="wrap">
2
+
3
+ <?php screen_icon(); ?>
4
+
5
+ <h2><?php _e( 'Update Core Calendar Files', AI1EC_PLUGIN_NAME ); ?></h2>
6
+
7
+ <?php echo $msg; ?>
8
+
9
+ <?php if ( $errors ): ?>
10
+ <?php foreach ( $errors as $error ): ?>
11
+ <?php echo $error; ?>
12
+ <?php endforeach; ?>
13
+ <?php endif; ?>
14
+
15
+ <div class="updated"><p>
16
+ <?php _e( 'Whenever core files are updated, please be sure to reload your web browser to make sure the most recent versions of the files are used.', AI1EC_PLUGIN_NAME ); ?>
17
+ </p></div>
18
+
19
+ <p><a class="button" href="<?php echo AI1EC_SETTINGS_BASE_URL; ?>"><?php _e( 'All-in-One Calendar Settings »', AI1EC_PLUGIN_NAME ); ?></a></p>
20
+
21
+ </div>
language/all-in-one-event-calendar.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the same license as the All-in-One Calendar by Then.ly package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: All-in-One Calendar by Then.ly 1.6.3\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/all-in-one-event-calendar\n"
7
- "POT-Creation-Date: 2012-05-11 11:22:57+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -12,23 +12,23 @@ msgstr ""
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
 
15
- #: app/controller/class-ai1ec-app-controller.php:412
16
- #: app/controller/class-ai1ec-app-controller.php:413
17
  msgid "Calendar Feeds"
18
  msgstr ""
19
 
20
- #: app/controller/class-ai1ec-app-controller.php:428
21
- #: app/controller/class-ai1ec-app-controller.php:429
22
  #: app/helper/class-ai1ec-settings-helper.php:320
23
  msgid "Calendar"
24
  msgstr ""
25
 
26
- #: app/controller/class-ai1ec-app-controller.php:443
27
- #: app/controller/class-ai1ec-app-controller.php:444
28
  msgid "Upgrade"
29
  msgstr ""
30
 
31
- #: app/controller/class-ai1ec-app-controller.php:631
32
  msgid "You do not have sufficient permissions to update plugins for this site."
33
  msgstr ""
34
 
@@ -48,19 +48,19 @@ msgid "Day"
48
  msgstr ""
49
 
50
  #: app/controller/class-ai1ec-calendar-controller.php:223
51
- #: app/controller/class-ai1ec-calendar-controller.php:477
52
  #: app/helper/class-ai1ec-settings-helper.php:157
53
  msgid "Agenda"
54
  msgstr ""
55
 
56
  #. translators: "%s" represents the week's starting date
57
- #: app/controller/class-ai1ec-calendar-controller.php:420
58
- #: app/helper/class-ai1ec-calendar-helper.php:892
59
- #: app/helper/class-ai1ec-calendar-helper.php:901
60
  msgid "Week of %s"
61
  msgstr ""
62
 
63
- #: app/controller/class-ai1ec-calendar-controller.php:420
64
  msgid "F j"
65
  msgstr ""
66
 
@@ -212,6 +212,33 @@ msgstr ""
212
  msgid "<a href=\"%s\" target=\"_blank\">Get Support</a>"
213
  msgstr ""
214
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
215
  #: app/helper/class-ai1ec-app-helper.php:156
216
  msgctxt "Custom post type name"
217
  msgid "Events"
@@ -318,72 +345,72 @@ msgstr ""
318
  msgid "Event date/time"
319
  msgstr ""
320
 
321
- #: app/helper/class-ai1ec-app-helper.php:734
322
  msgid "Select an option in the <strong>Calendar page</strong> dropdown list."
323
  msgstr ""
324
 
325
- #: app/helper/class-ai1ec-app-helper.php:737
326
  msgid "Select an option in the <strong>Timezone</strong> dropdown list."
327
  msgstr ""
328
 
329
- #: app/helper/class-ai1ec-app-helper.php:739
330
  msgid "Click <strong>Update Settings</strong>."
331
  msgstr ""
332
 
333
- #: app/helper/class-ai1ec-app-helper.php:744
334
  msgid ""
335
  "The plugin is installed, but has not been configured. <a href=\"%s\">Click "
336
  "here to set it up now &raquo;</a>"
337
  msgstr ""
338
 
339
- #: app/helper/class-ai1ec-app-helper.php:751
340
  msgid ""
341
  "The plugin is installed, but has not been configured. Please log in as an "
342
  "Administrator to set it up."
343
  msgstr ""
344
 
345
- #: app/helper/class-ai1ec-app-helper.php:756
346
  msgid "<p>To set up the plugin:</p>"
347
  msgstr ""
348
 
349
- #: app/helper/class-ai1ec-app-helper.php:764
350
  msgid "All-in-One Calendar Notice"
351
  msgstr ""
352
 
353
- #: app/helper/class-ai1ec-app-helper.php:781
354
  msgid "Event"
355
  msgid_plural "Events"
356
  msgstr[0] ""
357
  msgstr[1] ""
358
 
359
- #: app/helper/class-ai1ec-app-helper.php:793
360
  msgid "Event Category"
361
  msgid_plural "Event Categories"
362
  msgstr[0] ""
363
  msgstr[1] ""
364
 
365
- #: app/helper/class-ai1ec-app-helper.php:805
366
  msgid "Event Tag"
367
  msgid_plural "Event Tags"
368
  msgstr[0] ""
369
  msgstr[1] ""
370
 
371
  #. translators: "%s" represents the week's starting date
372
- #: app/helper/class-ai1ec-calendar-helper.php:800
373
- #: app/helper/class-ai1ec-calendar-helper.php:807
374
  msgid "j F Y"
375
  msgstr ""
376
 
377
- #: app/helper/class-ai1ec-calendar-helper.php:893
378
- #: app/helper/class-ai1ec-calendar-helper.php:902
379
  msgid "M j"
380
  msgstr ""
381
 
382
- #: app/helper/class-ai1ec-calendar-helper.php:934
383
  msgid "« Previous Events"
384
  msgstr ""
385
 
386
- #: app/helper/class-ai1ec-calendar-helper.php:941
387
  msgid "Next Events »"
388
  msgstr ""
389
 
@@ -479,7 +506,7 @@ msgstr ""
479
 
480
  #: app/helper/class-ai1ec-events-helper.php:607
481
  #: app/helper/class-ai1ec-events-helper.php:624
482
- #: app/helper/class-ai1ec-events-helper.php:1707
483
  #: app/helper/class-ai1ec-settings-helper.php:239
484
  #: app/view/admin/box_repeat.php:2
485
  msgid "Daily"
@@ -487,21 +514,21 @@ msgstr ""
487
 
488
  #: app/helper/class-ai1ec-events-helper.php:608
489
  #: app/helper/class-ai1ec-events-helper.php:625
490
- #: app/helper/class-ai1ec-events-helper.php:1719
491
  #: app/view/admin/box_repeat.php:3
492
  msgid "Weekly"
493
  msgstr ""
494
 
495
  #: app/helper/class-ai1ec-events-helper.php:609
496
  #: app/helper/class-ai1ec-events-helper.php:626
497
- #: app/helper/class-ai1ec-events-helper.php:1731
498
  #: app/view/admin/box_repeat.php:4
499
  msgid "Monthly"
500
  msgstr ""
501
 
502
  #: app/helper/class-ai1ec-events-helper.php:610
503
  #: app/helper/class-ai1ec-events-helper.php:627
504
- #: app/helper/class-ai1ec-events-helper.php:1743
505
  #: app/view/admin/box_repeat.php:5
506
  msgid "Yearly"
507
  msgstr ""
@@ -522,98 +549,98 @@ msgstr ""
522
  msgid "year(s)"
523
  msgstr ""
524
 
525
- #: app/helper/class-ai1ec-events-helper.php:1391
526
  msgid "Never"
527
  msgstr ""
528
 
529
- #: app/helper/class-ai1ec-events-helper.php:1392
530
  msgid "After"
531
  msgstr ""
532
 
533
- #: app/helper/class-ai1ec-events-helper.php:1393
534
  #: app/view/admin/box_repeat.php:28
535
  msgid "On date"
536
  msgstr ""
537
 
538
- #: app/helper/class-ai1ec-events-helper.php:1586
539
- #: app/helper/class-ai1ec-events-helper.php:1595
540
- #: app/helper/class-ai1ec-events-helper.php:1603
541
  msgctxt "Recurrence editor - weekly tab"
542
  msgid "on"
543
  msgstr ""
544
 
545
- #: app/helper/class-ai1ec-events-helper.php:1591
546
- #: app/helper/class-ai1ec-events-helper.php:1620
547
- #: app/helper/class-ai1ec-events-helper.php:1658
548
  msgid "and"
549
  msgstr ""
550
 
551
- #: app/helper/class-ai1ec-events-helper.php:1616
552
- #: app/helper/class-ai1ec-events-helper.php:1623
553
- #: app/helper/class-ai1ec-events-helper.php:1629
554
- #: app/helper/class-ai1ec-events-helper.php:1640
555
  msgctxt "Recurrence editor - monthly tab"
556
  msgid "on"
557
  msgstr ""
558
 
559
- #: app/helper/class-ai1ec-events-helper.php:1616
560
- #: app/helper/class-ai1ec-events-helper.php:1623
561
- #: app/helper/class-ai1ec-events-helper.php:1629
562
  msgid "of the month"
563
  msgstr ""
564
 
565
- #: app/helper/class-ai1ec-events-helper.php:1653
566
- #: app/helper/class-ai1ec-events-helper.php:1661
567
- #: app/helper/class-ai1ec-events-helper.php:1668
568
  msgctxt "Recurrence editor - yearly tab"
569
  msgid "on"
570
  msgstr ""
571
 
572
- #: app/helper/class-ai1ec-events-helper.php:1710
573
  msgid "Every other day"
574
  msgstr ""
575
 
576
- #: app/helper/class-ai1ec-events-helper.php:1712
577
  msgid "Every %d days"
578
  msgstr ""
579
 
580
- #: app/helper/class-ai1ec-events-helper.php:1722
581
  msgid "Every other week"
582
  msgstr ""
583
 
584
- #: app/helper/class-ai1ec-events-helper.php:1724
585
  msgid "Every %d weeks"
586
  msgstr ""
587
 
588
- #: app/helper/class-ai1ec-events-helper.php:1734
589
  msgid "Every other month"
590
  msgstr ""
591
 
592
- #: app/helper/class-ai1ec-events-helper.php:1736
593
  msgid "Every %d months"
594
  msgstr ""
595
 
596
- #: app/helper/class-ai1ec-events-helper.php:1746
597
  msgid "Every other year"
598
  msgstr ""
599
 
600
- #: app/helper/class-ai1ec-events-helper.php:1748
601
  msgid "Every %d years"
602
  msgstr ""
603
 
604
- #: app/helper/class-ai1ec-events-helper.php:1768
605
  msgid "until %s"
606
  msgstr ""
607
 
608
- #: app/helper/class-ai1ec-events-helper.php:1771
609
  msgid "for %d occurrences"
610
  msgstr ""
611
 
612
- #: app/helper/class-ai1ec-events-helper.php:1773
613
  msgid "forever"
614
  msgstr ""
615
 
616
- #: app/helper/class-ai1ec-events-helper.php:1870
617
  msgid "times"
618
  msgstr ""
619
 
@@ -649,7 +676,7 @@ msgstr ""
649
  msgid "Twice Daily"
650
  msgstr ""
651
 
652
- #: app/model/class-ai1ec-event.php:507
653
  msgid " (all-day)"
654
  msgstr ""
655
 
@@ -902,61 +929,69 @@ msgid "Keep all events <strong>expanded</strong> in the agenda view"
902
  msgstr ""
903
 
904
  #: app/view/admin/box_general_settings.php:35
905
- msgid "<strong>Exclude</strong> events from search results"
906
  msgstr ""
907
 
908
  #: app/view/admin/box_general_settings.php:41
 
 
 
 
 
 
 
 
909
  msgid ""
910
  "Show <strong>Post Your Event</strong> button above the calendar to "
911
  "privileged users"
912
  msgstr ""
913
 
914
- #: app/view/admin/box_general_settings.php:47
915
  msgid ""
916
  "Hide <strong>Subscribe</strong>/<strong>Add to Calendar</strong> buttons in "
917
  "calendar and single event views"
918
  msgstr ""
919
 
920
- #: app/view/admin/box_general_settings.php:53
921
  msgid "Hide <strong>Google Maps</strong> until clicked"
922
  msgstr ""
923
 
924
- #: app/view/admin/box_general_settings.php:59
925
  msgid "Include <strong>event categories</strong> in post category lists"
926
  msgstr ""
927
 
928
- #: app/view/admin/box_general_settings.php:63
929
  msgid "Adding/Editing Events"
930
  msgstr ""
931
 
932
- #: app/view/admin/box_general_settings.php:65
933
  msgid "Input dates in this format:"
934
  msgstr ""
935
 
936
- #: app/view/admin/box_general_settings.php:71
937
  msgid "Use <strong>24h time</strong> in time pickers"
938
  msgstr ""
939
 
940
- #: app/view/admin/box_general_settings.php:77
941
  msgid "<strong>Disable address autocomplete</strong> function"
942
  msgstr ""
943
 
944
- #: app/view/admin/box_general_settings.php:83
945
  msgid ""
946
  "Use the configured <strong>region</strong> (WordPress locale) to bias the "
947
  "address autocomplete function"
948
  msgstr ""
949
 
950
- #: app/view/admin/box_general_settings.php:89
951
  msgid "Display <strong>Publish</strong> at bottom of Edit Event form"
952
  msgstr ""
953
 
954
- #: app/view/admin/box_general_settings.php:93
955
  msgid "Sharing Data"
956
  msgstr ""
957
 
958
- #: app/view/admin/box_general_settings.php:97
959
- msgid "Allow The Seed to collect calendar statistics"
960
  msgstr ""
961
 
962
  #: app/view/admin/box_repeat.php:14
@@ -1190,6 +1225,16 @@ msgstr ""
1190
  msgid "Update Settings"
1191
  msgstr ""
1192
 
 
 
 
 
 
 
 
 
 
 
1193
  #: lib/class-ai1ec-updater.php:12
1194
  msgid "The plugin is at the latest version."
1195
  msgstr ""
@@ -1230,28 +1275,37 @@ msgstr ""
1230
  msgid "There are no upcoming events."
1231
  msgstr ""
1232
 
1233
- #: themes-ai1ec/vortex/agenda-widget.php:60
 
 
 
 
 
 
 
 
 
1234
  msgid "View Calendar"
1235
  msgstr ""
1236
 
1237
- #: themes-ai1ec/vortex/agenda-widget.php:69
1238
  #: themes-ai1ec/vortex/calendar.php:114
1239
  msgid ""
1240
  "Subscribe to this calendar using your favourite calendar program (iCal, "
1241
  "Outlook, etc.)"
1242
  msgstr ""
1243
 
1244
- #: themes-ai1ec/vortex/agenda-widget.php:70
1245
  #: themes-ai1ec/vortex/calendar.php:115
1246
  msgid "✔ Subscribe"
1247
  msgstr ""
1248
 
1249
- #: themes-ai1ec/vortex/agenda-widget.php:74
1250
  #: themes-ai1ec/vortex/calendar.php:120
1251
  msgid "Subscribe to this calendar in your Google Calendar"
1252
  msgstr ""
1253
 
1254
- #: themes-ai1ec/vortex/agenda-widget.php:76
1255
  msgid "Add to Google"
1256
  msgstr ""
1257
 
@@ -1272,22 +1326,22 @@ msgstr ""
1272
  msgid "There are no upcoming events to display at this time."
1273
  msgstr ""
1274
 
1275
- #: themes-ai1ec/vortex/agenda.php:62 themes-ai1ec/vortex/agenda.php:112
1276
- #: themes-ai1ec/vortex/month.php:81 themes-ai1ec/vortex/oneday.php:71
1277
- #: themes-ai1ec/vortex/week.php:70
1278
  msgid "(all-day)"
1279
  msgstr ""
1280
 
1281
- #: themes-ai1ec/vortex/agenda.php:80
1282
  msgid "Read more"
1283
  msgstr ""
1284
 
1285
- #: themes-ai1ec/vortex/agenda.php:84 themes-ai1ec/vortex/event-multi.php:45
1286
  #: themes-ai1ec/vortex/event-single.php:57
1287
  msgid "Categories:"
1288
  msgstr ""
1289
 
1290
- #: themes-ai1ec/vortex/agenda.php:90 themes-ai1ec/vortex/event-multi.php:51
1291
  #: themes-ai1ec/vortex/event-single.php:64
1292
  msgid "Tags:"
1293
  msgstr ""
@@ -1393,15 +1447,15 @@ msgstr ""
1393
  msgid "Add to Google Calendar"
1394
  msgstr ""
1395
 
1396
- #: themes-ai1ec/vortex/month.php:63 themes-ai1ec/vortex/oneday.php:57
1397
- #: themes-ai1ec/vortex/oneday.php:140 themes-ai1ec/vortex/week.php:56
1398
- #: themes-ai1ec/vortex/week.php:142
1399
  msgid "Summary:"
1400
  msgstr ""
1401
 
1402
- #: themes-ai1ec/vortex/month.php:66 themes-ai1ec/vortex/oneday.php:60
1403
- #: themes-ai1ec/vortex/oneday.php:143 themes-ai1ec/vortex/week.php:59
1404
- #: themes-ai1ec/vortex/week.php:145
1405
  msgid "click anywhere for details"
1406
  msgstr ""
1407
 
@@ -1413,9 +1467,9 @@ msgstr ""
1413
  msgid "All-in-One Calendar by Then.ly"
1414
  msgstr ""
1415
 
1416
- #. #-#-#-#-# plugin.pot (All-in-One Calendar by Then.ly 1.6.3) #-#-#-#-#
1417
  #. Plugin URI of the plugin/theme
1418
- #. #-#-#-#-# plugin.pot (All-in-One Calendar by Then.ly 1.6.3) #-#-#-#-#
1419
  #. Author URI of the plugin/theme
1420
  msgid "http://then.ly/"
1421
  msgstr ""
2
  # This file is distributed under the same license as the All-in-One Calendar by Then.ly package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: All-in-One Calendar by Then.ly 1.7\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/all-in-one-event-calendar\n"
7
+ "POT-Creation-Date: 2012-06-01 23:49:28+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
 
15
+ #: app/controller/class-ai1ec-app-controller.php:416
16
+ #: app/controller/class-ai1ec-app-controller.php:417
17
  msgid "Calendar Feeds"
18
  msgstr ""
19
 
20
+ #: app/controller/class-ai1ec-app-controller.php:432
21
+ #: app/controller/class-ai1ec-app-controller.php:433
22
  #: app/helper/class-ai1ec-settings-helper.php:320
23
  msgid "Calendar"
24
  msgstr ""
25
 
26
+ #: app/controller/class-ai1ec-app-controller.php:447
27
+ #: app/controller/class-ai1ec-app-controller.php:448
28
  msgid "Upgrade"
29
  msgstr ""
30
 
31
+ #: app/controller/class-ai1ec-app-controller.php:635
32
  msgid "You do not have sufficient permissions to update plugins for this site."
33
  msgstr ""
34
 
48
  msgstr ""
49
 
50
  #: app/controller/class-ai1ec-calendar-controller.php:223
51
+ #: app/controller/class-ai1ec-calendar-controller.php:483
52
  #: app/helper/class-ai1ec-settings-helper.php:157
53
  msgid "Agenda"
54
  msgstr ""
55
 
56
  #. translators: "%s" represents the week's starting date
57
+ #: app/controller/class-ai1ec-calendar-controller.php:425
58
+ #: app/helper/class-ai1ec-calendar-helper.php:909
59
+ #: app/helper/class-ai1ec-calendar-helper.php:918
60
  msgid "Week of %s"
61
  msgstr ""
62
 
63
+ #: app/controller/class-ai1ec-calendar-controller.php:425
64
  msgid "F j"
65
  msgstr ""
66
 
212
  msgid "<a href=\"%s\" target=\"_blank\">Get Support</a>"
213
  msgstr ""
214
 
215
+ #: app/controller/class-ai1ec-themes-controller.php:175
216
+ #: app/controller/class-ai1ec-themes-controller.php:176
217
+ #: app/view/admin/themes-updated.php:5
218
+ msgid "Update Core Calendar Files"
219
+ msgstr ""
220
+
221
+ #: app/controller/class-ai1ec-themes-controller.php:240
222
+ msgid ""
223
+ "<div class=\"error\"><p><strong>There was an error updating one of the files."
224
+ "</strong> Please FTP to your web server and manually copy <pre>%s</pre> to "
225
+ "<pre>%s</pre></p></div>"
226
+ msgstr ""
227
+
228
+ #: app/controller/class-ai1ec-themes-controller.php:250
229
+ msgid ""
230
+ "<div id=\"message\" class=\"error\"><h3>Errors occurred while we tried to "
231
+ "update your core calendar files.</h3><p><strong>Please follow any "
232
+ "instructions listed below or your calendar may malfunction:</strong></p></"
233
+ "div>"
234
+ msgstr ""
235
+
236
+ #: app/controller/class-ai1ec-themes-controller.php:253
237
+ msgid ""
238
+ "<div id=\"message\" class=\"updated\"><h3>Your core calendar files were "
239
+ "updated successfully.</h3></div>"
240
+ msgstr ""
241
+
242
  #: app/helper/class-ai1ec-app-helper.php:156
243
  msgctxt "Custom post type name"
244
  msgid "Events"
345
  msgid "Event date/time"
346
  msgstr ""
347
 
348
+ #: app/helper/class-ai1ec-app-helper.php:752
349
  msgid "Select an option in the <strong>Calendar page</strong> dropdown list."
350
  msgstr ""
351
 
352
+ #: app/helper/class-ai1ec-app-helper.php:755
353
  msgid "Select an option in the <strong>Timezone</strong> dropdown list."
354
  msgstr ""
355
 
356
+ #: app/helper/class-ai1ec-app-helper.php:757
357
  msgid "Click <strong>Update Settings</strong>."
358
  msgstr ""
359
 
360
+ #: app/helper/class-ai1ec-app-helper.php:762
361
  msgid ""
362
  "The plugin is installed, but has not been configured. <a href=\"%s\">Click "
363
  "here to set it up now &raquo;</a>"
364
  msgstr ""
365
 
366
+ #: app/helper/class-ai1ec-app-helper.php:769
367
  msgid ""
368
  "The plugin is installed, but has not been configured. Please log in as an "
369
  "Administrator to set it up."
370
  msgstr ""
371
 
372
+ #: app/helper/class-ai1ec-app-helper.php:774
373
  msgid "<p>To set up the plugin:</p>"
374
  msgstr ""
375
 
376
+ #: app/helper/class-ai1ec-app-helper.php:782
377
  msgid "All-in-One Calendar Notice"
378
  msgstr ""
379
 
380
+ #: app/helper/class-ai1ec-app-helper.php:799
381
  msgid "Event"
382
  msgid_plural "Events"
383
  msgstr[0] ""
384
  msgstr[1] ""
385
 
386
+ #: app/helper/class-ai1ec-app-helper.php:811
387
  msgid "Event Category"
388
  msgid_plural "Event Categories"
389
  msgstr[0] ""
390
  msgstr[1] ""
391
 
392
+ #: app/helper/class-ai1ec-app-helper.php:823
393
  msgid "Event Tag"
394
  msgid_plural "Event Tags"
395
  msgstr[0] ""
396
  msgstr[1] ""
397
 
398
  #. translators: "%s" represents the week's starting date
399
+ #: app/helper/class-ai1ec-calendar-helper.php:817
400
+ #: app/helper/class-ai1ec-calendar-helper.php:824
401
  msgid "j F Y"
402
  msgstr ""
403
 
404
+ #: app/helper/class-ai1ec-calendar-helper.php:910
405
+ #: app/helper/class-ai1ec-calendar-helper.php:919
406
  msgid "M j"
407
  msgstr ""
408
 
409
+ #: app/helper/class-ai1ec-calendar-helper.php:951
410
  msgid "« Previous Events"
411
  msgstr ""
412
 
413
+ #: app/helper/class-ai1ec-calendar-helper.php:958
414
  msgid "Next Events »"
415
  msgstr ""
416
 
506
 
507
  #: app/helper/class-ai1ec-events-helper.php:607
508
  #: app/helper/class-ai1ec-events-helper.php:624
509
+ #: app/helper/class-ai1ec-events-helper.php:1705
510
  #: app/helper/class-ai1ec-settings-helper.php:239
511
  #: app/view/admin/box_repeat.php:2
512
  msgid "Daily"
514
 
515
  #: app/helper/class-ai1ec-events-helper.php:608
516
  #: app/helper/class-ai1ec-events-helper.php:625
517
+ #: app/helper/class-ai1ec-events-helper.php:1717
518
  #: app/view/admin/box_repeat.php:3
519
  msgid "Weekly"
520
  msgstr ""
521
 
522
  #: app/helper/class-ai1ec-events-helper.php:609
523
  #: app/helper/class-ai1ec-events-helper.php:626
524
+ #: app/helper/class-ai1ec-events-helper.php:1729
525
  #: app/view/admin/box_repeat.php:4
526
  msgid "Monthly"
527
  msgstr ""
528
 
529
  #: app/helper/class-ai1ec-events-helper.php:610
530
  #: app/helper/class-ai1ec-events-helper.php:627
531
+ #: app/helper/class-ai1ec-events-helper.php:1741
532
  #: app/view/admin/box_repeat.php:5
533
  msgid "Yearly"
534
  msgstr ""
549
  msgid "year(s)"
550
  msgstr ""
551
 
552
+ #: app/helper/class-ai1ec-events-helper.php:1389
553
  msgid "Never"
554
  msgstr ""
555
 
556
+ #: app/helper/class-ai1ec-events-helper.php:1390
557
  msgid "After"
558
  msgstr ""
559
 
560
+ #: app/helper/class-ai1ec-events-helper.php:1391
561
  #: app/view/admin/box_repeat.php:28
562
  msgid "On date"
563
  msgstr ""
564
 
565
+ #: app/helper/class-ai1ec-events-helper.php:1584
566
+ #: app/helper/class-ai1ec-events-helper.php:1593
567
+ #: app/helper/class-ai1ec-events-helper.php:1601
568
  msgctxt "Recurrence editor - weekly tab"
569
  msgid "on"
570
  msgstr ""
571
 
572
+ #: app/helper/class-ai1ec-events-helper.php:1589
573
+ #: app/helper/class-ai1ec-events-helper.php:1618
574
+ #: app/helper/class-ai1ec-events-helper.php:1656
575
  msgid "and"
576
  msgstr ""
577
 
578
+ #: app/helper/class-ai1ec-events-helper.php:1614
579
+ #: app/helper/class-ai1ec-events-helper.php:1621
580
+ #: app/helper/class-ai1ec-events-helper.php:1627
581
+ #: app/helper/class-ai1ec-events-helper.php:1638
582
  msgctxt "Recurrence editor - monthly tab"
583
  msgid "on"
584
  msgstr ""
585
 
586
+ #: app/helper/class-ai1ec-events-helper.php:1614
587
+ #: app/helper/class-ai1ec-events-helper.php:1621
588
+ #: app/helper/class-ai1ec-events-helper.php:1627
589
  msgid "of the month"
590
  msgstr ""
591
 
592
+ #: app/helper/class-ai1ec-events-helper.php:1651
593
+ #: app/helper/class-ai1ec-events-helper.php:1659
594
+ #: app/helper/class-ai1ec-events-helper.php:1666
595
  msgctxt "Recurrence editor - yearly tab"
596
  msgid "on"
597
  msgstr ""
598
 
599
+ #: app/helper/class-ai1ec-events-helper.php:1708
600
  msgid "Every other day"
601
  msgstr ""
602
 
603
+ #: app/helper/class-ai1ec-events-helper.php:1710
604
  msgid "Every %d days"
605
  msgstr ""
606
 
607
+ #: app/helper/class-ai1ec-events-helper.php:1720
608
  msgid "Every other week"
609
  msgstr ""
610
 
611
+ #: app/helper/class-ai1ec-events-helper.php:1722
612
  msgid "Every %d weeks"
613
  msgstr ""
614
 
615
+ #: app/helper/class-ai1ec-events-helper.php:1732
616
  msgid "Every other month"
617
  msgstr ""
618
 
619
+ #: app/helper/class-ai1ec-events-helper.php:1734
620
  msgid "Every %d months"
621
  msgstr ""
622
 
623
+ #: app/helper/class-ai1ec-events-helper.php:1744
624
  msgid "Every other year"
625
  msgstr ""
626
 
627
+ #: app/helper/class-ai1ec-events-helper.php:1746
628
  msgid "Every %d years"
629
  msgstr ""
630
 
631
+ #: app/helper/class-ai1ec-events-helper.php:1766
632
  msgid "until %s"
633
  msgstr ""
634
 
635
+ #: app/helper/class-ai1ec-events-helper.php:1769
636
  msgid "for %d occurrences"
637
  msgstr ""
638
 
639
+ #: app/helper/class-ai1ec-events-helper.php:1771
640
  msgid "forever"
641
  msgstr ""
642
 
643
+ #: app/helper/class-ai1ec-events-helper.php:1868
644
  msgid "times"
645
  msgstr ""
646
 
676
  msgid "Twice Daily"
677
  msgstr ""
678
 
679
+ #: app/model/class-ai1ec-event.php:510
680
  msgid " (all-day)"
681
  msgstr ""
682
 
929
  msgstr ""
930
 
931
  #: app/view/admin/box_general_settings.php:35
932
+ msgid "<strong>Show year</strong> in agenda date labels"
933
  msgstr ""
934
 
935
  #: app/view/admin/box_general_settings.php:41
936
+ msgid "<strong>Show location in event titles</strong> in calendar views"
937
+ msgstr ""
938
+
939
+ #: app/view/admin/box_general_settings.php:47
940
+ msgid "<strong>Exclude</strong> events from search results"
941
+ msgstr ""
942
+
943
+ #: app/view/admin/box_general_settings.php:53
944
  msgid ""
945
  "Show <strong>Post Your Event</strong> button above the calendar to "
946
  "privileged users"
947
  msgstr ""
948
 
949
+ #: app/view/admin/box_general_settings.php:59
950
  msgid ""
951
  "Hide <strong>Subscribe</strong>/<strong>Add to Calendar</strong> buttons in "
952
  "calendar and single event views"
953
  msgstr ""
954
 
955
+ #: app/view/admin/box_general_settings.php:65
956
  msgid "Hide <strong>Google Maps</strong> until clicked"
957
  msgstr ""
958
 
959
+ #: app/view/admin/box_general_settings.php:71
960
  msgid "Include <strong>event categories</strong> in post category lists"
961
  msgstr ""
962
 
963
+ #: app/view/admin/box_general_settings.php:75
964
  msgid "Adding/Editing Events"
965
  msgstr ""
966
 
967
+ #: app/view/admin/box_general_settings.php:77
968
  msgid "Input dates in this format:"
969
  msgstr ""
970
 
971
+ #: app/view/admin/box_general_settings.php:83
972
  msgid "Use <strong>24h time</strong> in time pickers"
973
  msgstr ""
974
 
975
+ #: app/view/admin/box_general_settings.php:89
976
  msgid "<strong>Disable address autocomplete</strong> function"
977
  msgstr ""
978
 
979
+ #: app/view/admin/box_general_settings.php:95
980
  msgid ""
981
  "Use the configured <strong>region</strong> (WordPress locale) to bias the "
982
  "address autocomplete function"
983
  msgstr ""
984
 
985
+ #: app/view/admin/box_general_settings.php:101
986
  msgid "Display <strong>Publish</strong> at bottom of Edit Event form"
987
  msgstr ""
988
 
989
+ #: app/view/admin/box_general_settings.php:105
990
  msgid "Sharing Data"
991
  msgstr ""
992
 
993
+ #: app/view/admin/box_general_settings.php:109
994
+ msgid "Allow Then.ly to collect calendar statistics"
995
  msgstr ""
996
 
997
  #: app/view/admin/box_repeat.php:14
1225
  msgid "Update Settings"
1226
  msgstr ""
1227
 
1228
+ #: app/view/admin/themes-updated.php:16
1229
+ msgid ""
1230
+ "Whenever core files are updated, please be sure to reload your web browser "
1231
+ "to make sure the most recent versions of the files are used."
1232
+ msgstr ""
1233
+
1234
+ #: app/view/admin/themes-updated.php:19
1235
+ msgid "All-in-One Calendar Settings »"
1236
+ msgstr ""
1237
+
1238
  #: lib/class-ai1ec-updater.php:12
1239
  msgid "The plugin is at the latest version."
1240
  msgstr ""
1275
  msgid "There are no upcoming events."
1276
  msgstr ""
1277
 
1278
+ #: themes-ai1ec/vortex/agenda-widget.php:48 themes-ai1ec/vortex/agenda.php:68
1279
+ #: themes-ai1ec/vortex/agenda.php:118 themes-ai1ec/vortex/month.php:84
1280
+ #: themes-ai1ec/vortex/oneday.php:71 themes-ai1ec/vortex/oneday.php:82
1281
+ #: themes-ai1ec/vortex/oneday.php:158 themes-ai1ec/vortex/oneday.php:170
1282
+ #: themes-ai1ec/vortex/week.php:70 themes-ai1ec/vortex/week.php:81
1283
+ #: themes-ai1ec/vortex/week.php:160 themes-ai1ec/vortex/week.php:171
1284
+ msgid "@ %s"
1285
+ msgstr ""
1286
+
1287
+ #: themes-ai1ec/vortex/agenda-widget.php:66
1288
  msgid "View Calendar"
1289
  msgstr ""
1290
 
1291
+ #: themes-ai1ec/vortex/agenda-widget.php:75
1292
  #: themes-ai1ec/vortex/calendar.php:114
1293
  msgid ""
1294
  "Subscribe to this calendar using your favourite calendar program (iCal, "
1295
  "Outlook, etc.)"
1296
  msgstr ""
1297
 
1298
+ #: themes-ai1ec/vortex/agenda-widget.php:76
1299
  #: themes-ai1ec/vortex/calendar.php:115
1300
  msgid "✔ Subscribe"
1301
  msgstr ""
1302
 
1303
+ #: themes-ai1ec/vortex/agenda-widget.php:80
1304
  #: themes-ai1ec/vortex/calendar.php:120
1305
  msgid "Subscribe to this calendar in your Google Calendar"
1306
  msgstr ""
1307
 
1308
+ #: themes-ai1ec/vortex/agenda-widget.php:82
1309
  msgid "Add to Google"
1310
  msgstr ""
1311
 
1326
  msgid "There are no upcoming events to display at this time."
1327
  msgstr ""
1328
 
1329
+ #: themes-ai1ec/vortex/agenda.php:65 themes-ai1ec/vortex/agenda.php:121
1330
+ #: themes-ai1ec/vortex/month.php:88 themes-ai1ec/vortex/oneday.php:74
1331
+ #: themes-ai1ec/vortex/week.php:73
1332
  msgid "(all-day)"
1333
  msgstr ""
1334
 
1335
+ #: themes-ai1ec/vortex/agenda.php:86
1336
  msgid "Read more"
1337
  msgstr ""
1338
 
1339
+ #: themes-ai1ec/vortex/agenda.php:90 themes-ai1ec/vortex/event-multi.php:45
1340
  #: themes-ai1ec/vortex/event-single.php:57
1341
  msgid "Categories:"
1342
  msgstr ""
1343
 
1344
+ #: themes-ai1ec/vortex/agenda.php:96 themes-ai1ec/vortex/event-multi.php:51
1345
  #: themes-ai1ec/vortex/event-single.php:64
1346
  msgid "Tags:"
1347
  msgstr ""
1447
  msgid "Add to Google Calendar"
1448
  msgstr ""
1449
 
1450
+ #: themes-ai1ec/vortex/month.php:67 themes-ai1ec/vortex/oneday.php:57
1451
+ #: themes-ai1ec/vortex/oneday.php:148 themes-ai1ec/vortex/week.php:56
1452
+ #: themes-ai1ec/vortex/week.php:150
1453
  msgid "Summary:"
1454
  msgstr ""
1455
 
1456
+ #: themes-ai1ec/vortex/month.php:70 themes-ai1ec/vortex/oneday.php:60
1457
+ #: themes-ai1ec/vortex/oneday.php:151 themes-ai1ec/vortex/week.php:59
1458
+ #: themes-ai1ec/vortex/week.php:153
1459
  msgid "click anywhere for details"
1460
  msgstr ""
1461
 
1467
  msgid "All-in-One Calendar by Then.ly"
1468
  msgstr ""
1469
 
1470
+ #. #-#-#-#-# plugin.pot (All-in-One Calendar by Then.ly 1.7) #-#-#-#-#
1471
  #. Plugin URI of the plugin/theme
1472
+ #. #-#-#-#-# plugin.pot (All-in-One Calendar by Then.ly 1.7) #-#-#-#-#
1473
  #. Author URI of the plugin/theme
1474
  msgid "http://then.ly/"
1475
  msgstr ""
readme.txt CHANGED
@@ -2,9 +2,9 @@
2
  Contributors: theseed, hubrik, vtowel, yani.iliev
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9JJMUW48W2ED8
4
  Tags: calendar, event, events, ics, ics calendar, ical-feed, ics feed, wordpress ics importer, wordpress ical importer, upcoming events, todo, notes, journal, freebusy, availability, web calendar, web events, webcal, google calendar, ical, iCalendar, all-in-one, ai1ec, google calendar sync, ical sync, events sync, holiday calendar, calendar 2011, events 2011, widget, events widget, upcoming events widget, calendar widget, agenda widget
5
- Requires at least: 3.1.3
6
- Tested up to: 3.3.2
7
- Stable tag: 1.6.3
8
 
9
  A calendar system with month, week, agenda views, upcoming events widget, color-coded categories, recurrence, and import/export of .ics feeds.
10
 
@@ -14,7 +14,8 @@ Welcome to the [All-in-One Event Calendar Plugin](http://then.ly/), from [Then.l
14
 
15
  Our new calendar system combines a clean visual design, solid architectural patterns and a powerful set of features to create the most advanced calendar system available for WordPress. Best of all: it’s completely free.
16
 
17
- **New in version 1.6:** Download the free Premium version at [then.ly](http://then.ly/) and choose from 3 custom designed themes for your Calendar, or develop your own!
 
18
 
19
  = Calendar Features For Users =
20
 
@@ -81,28 +82,20 @@ https://vimeo.com/41738066
81
  * Filter by post ids (separate ids by comma): **[ai1ec post_id="1, 2"]**
82
 
83
  == Changelog ==
84
- = Version 1.6.3 Premium & Free =
 
 
 
 
 
 
 
85
  * Added support for server running versions of php below 5.2.9
86
 
87
- = Version 1.6.2 Premium & Free =
88
  * Fixed bug that was breaking adding/importing/editing events
89
  * Enabled updates and update notifications when there is a newer version
90
 
91
- = Version 1.6.1 Premium =
92
- * Fixed bug that was breaking widget management screen
93
- * Removed some warnings from month view in certain setups
94
-
95
- = Version 1.6 Premium =
96
- * Choose new Calendar Themes
97
- * Duplicate Events
98
- * Create Print View
99
- * Add location details that allow latitude and longitude for areas poorly covered by Google Maps
100
- * Turn on/off autocomplete for addresses
101
- * See more intuitive views of multi-day events on weekly and monthly calendars
102
- * Calendar administration role to allow for dedicated calendar application
103
- * Security updates
104
- * Bug fixes
105
-
106
  = Version 1.6.1 =
107
  * Fixed bug that was breaking widget management screen
108
  * Removed some warnings from month view in certain setups
2
  Contributors: theseed, hubrik, vtowel, yani.iliev
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9JJMUW48W2ED8
4
  Tags: calendar, event, events, ics, ics calendar, ical-feed, ics feed, wordpress ics importer, wordpress ical importer, upcoming events, todo, notes, journal, freebusy, availability, web calendar, web events, webcal, google calendar, ical, iCalendar, all-in-one, ai1ec, google calendar sync, ical sync, events sync, holiday calendar, calendar 2011, events 2011, widget, events widget, upcoming events widget, calendar widget, agenda widget
5
+ Requires at least: 3.2
6
+ Tested up to: 3.4
7
+ Stable tag: 1.7
8
 
9
  A calendar system with month, week, agenda views, upcoming events widget, color-coded categories, recurrence, and import/export of .ics feeds.
10
 
14
 
15
  Our new calendar system combines a clean visual design, solid architectural patterns and a powerful set of features to create the most advanced calendar system available for WordPress. Best of all: it’s completely free.
16
 
17
+ Download the free Premium version at [then.ly](http://then.ly/) and choose from 3 custom designed themes for your Calendar, or develop your own!
18
+
19
 
20
  = Calendar Features For Users =
21
 
82
  * Filter by post ids (separate ids by comma): **[ai1ec post_id="1, 2"]**
83
 
84
  == Changelog ==
85
+ = Version 1.7 =
86
+ * Restored support for WordPress 3.2.x, which fixes numerous JavaScript issues in that version of WordPress
87
+ * Removed opaque background from calendar containers to better match WP theme background
88
+ * Removed jQuery conflicts to reduce issues with colliding JavaScript
89
+ * Fixed display bugs for multi-day events
90
+ * Other bug fixes
91
+
92
+ = Version 1.6.3 =
93
  * Added support for server running versions of php below 5.2.9
94
 
95
+ = Version 1.6.2 =
96
  * Fixed bug that was breaking adding/importing/editing events
97
  * Enabled updates and update notifications when there is a newer version
98
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
99
  = Version 1.6.1 =
100
  * Fixed bug that was breaking widget management screen
101
  * Removed some warnings from month view in certain setups
themes-ai1ec/vortex/agenda-widget.php CHANGED
@@ -18,6 +18,9 @@
18
  <div class="ai1ec-month"><?php echo date_i18n( 'M', $timestamp, true ); ?></div>
19
  <div class="ai1ec-day"><?php echo date_i18n( 'j', $timestamp, true ); ?></div>
20
  <div class="ai1ec-weekday"><?php echo date_i18n( 'D', $timestamp, true ); ?></div>
 
 
 
21
  </h3>
22
  <ol class="ai1ec-date-events">
23
  <?php foreach( $date_info['events'] as $category ): ?>
@@ -41,6 +44,9 @@
41
  <?php endif; ?>
42
  <span class="ai1ec-event-title">
43
  <?php echo esc_html( apply_filters( 'the_title', $event->post->post_title ) ); ?>
 
 
 
44
  </span>
45
  </a>
46
 
18
  <div class="ai1ec-month"><?php echo date_i18n( 'M', $timestamp, true ); ?></div>
19
  <div class="ai1ec-day"><?php echo date_i18n( 'j', $timestamp, true ); ?></div>
20
  <div class="ai1ec-weekday"><?php echo date_i18n( 'D', $timestamp, true ); ?></div>
21
+ <?php if ( $show_year_in_agenda_dates ): ?>
22
+ <div class="ai1ec-year"><?php echo date_i18n( 'Y', $timestamp, true ) ?></div>
23
+ <?php endif; ?>
24
  </h3>
25
  <ol class="ai1ec-date-events">
26
  <?php foreach( $date_info['events'] as $category ): ?>
44
  <?php endif; ?>
45
  <span class="ai1ec-event-title">
46
  <?php echo esc_html( apply_filters( 'the_title', $event->post->post_title ) ); ?>
47
+ <?php if ( $show_location_in_title && isset( $event->venue ) && $event->venue != '' ): ?>
48
+ <span class="ai1ec-event-location"><?php echo sprintf( __( '@ %s', AI1EC_PLUGIN_NAME ), $event->venue ); ?></span>
49
+ <?php endif; ?>
50
  </span>
51
  </a>
52
 
themes-ai1ec/vortex/agenda.php CHANGED
@@ -38,6 +38,9 @@
38
  <div class="ai1ec-month"><?php echo date_i18n( 'M', $timestamp, true ) ?></div>
39
  <div class="ai1ec-day"><?php echo date_i18n( 'j', $timestamp, true ) ?></div>
40
  <div class="ai1ec-weekday"><?php echo date_i18n( 'D', $timestamp, true ) ?></div>
 
 
 
41
  </h3>
42
  <ol class="ai1ec-date-events">
43
  <?php foreach( $date_info['events'] as $category ): ?>
@@ -61,6 +64,9 @@
61
  <?php if( $event->allday ): ?>
62
  <span class="ai1ec-allday-label"><?php _e( '(all-day)', AI1EC_PLUGIN_NAME ) ?></span>
63
  <?php endif ?>
 
 
 
64
  </div>
65
  <div class="ai1ec-event-time">
66
  <?php if( $event->allday ): ?>
@@ -108,6 +114,9 @@
108
  <?php endif ?>
109
  <div class="ai1ec-event-title">
110
  <?php echo esc_html( apply_filters( 'the_title', $event->post->post_title ) ) ?>
 
 
 
111
  <?php if( $event->allday ): ?>
112
  <span class="ai1ec-allday-label"><?php _e( '(all-day)', AI1EC_PLUGIN_NAME ) ?></span>
113
  <?php endif ?>
38
  <div class="ai1ec-month"><?php echo date_i18n( 'M', $timestamp, true ) ?></div>
39
  <div class="ai1ec-day"><?php echo date_i18n( 'j', $timestamp, true ) ?></div>
40
  <div class="ai1ec-weekday"><?php echo date_i18n( 'D', $timestamp, true ) ?></div>
41
+ <?php if ( $show_year_in_agenda_dates ): ?>
42
+ <div class="ai1ec-year"><?php echo date_i18n( 'Y', $timestamp, true ) ?></div>
43
+ <?php endif; ?>
44
  </h3>
45
  <ol class="ai1ec-date-events">
46
  <?php foreach( $date_info['events'] as $category ): ?>
64
  <?php if( $event->allday ): ?>
65
  <span class="ai1ec-allday-label"><?php _e( '(all-day)', AI1EC_PLUGIN_NAME ) ?></span>
66
  <?php endif ?>
67
+ <?php if ( $show_location_in_title && isset( $event->venue ) && $event->venue != '' ): ?>
68
+ <span class="ai1ec-event-location"><?php echo sprintf( __( '@ %s', AI1EC_PLUGIN_NAME ), $event->venue ); ?></span>
69
+ <?php endif; ?>
70
  </div>
71
  <div class="ai1ec-event-time">
72
  <?php if( $event->allday ): ?>
114
  <?php endif ?>
115
  <div class="ai1ec-event-title">
116
  <?php echo esc_html( apply_filters( 'the_title', $event->post->post_title ) ) ?>
117
+ <?php if ( $show_location_in_title && isset( $event->venue ) && $event->venue != '' ): ?>
118
+ <span class="ai1ec-event-location"><?php echo sprintf( __( '@ %s', AI1EC_PLUGIN_NAME ), $event->venue ); ?></span>
119
+ <?php endif; ?>
120
  <?php if( $event->allday ): ?>
121
  <span class="ai1ec-allday-label"><?php _e( '(all-day)', AI1EC_PLUGIN_NAME ) ?></span>
122
  <?php endif ?>
themes-ai1ec/vortex/css/calendar.css CHANGED
@@ -1 +1,939 @@
1
- .clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;content:""}.clearfix:after{clear:both}.hide-text{overflow:hidden;text-indent:100%;white-space:nowrap}.input-block-level{display:block;width:100%;min-height:28px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box}.ai1ec-container{clear:both}#ai1ec-calendar-view-container{position:relative;clear:both;margin-bottom:.2em}.ai1ec-calendar-toolbar{width:100%!important;border:0!important;margin:0!important}.ai1ec-calendar-toolbar td{background:none!important;border:0!important;padding:0!important;text-align:center;vertical-align:middle;white-space:nowrap;width:33%}.ai1ec-calendar-toolbar td:last-child{text-align:right}.ai1ec-calendar-toolbar td:first-child{text-align:left}.thenly #ai1ec-view-dropdown a.btn,.thenly #ai1ec-view-dropdown .dropdown-menu a{line-height:21px}.thenly #ai1ec-view-dropdown a.btn .caret{margin-top:9px}.thenly #ai1ec-view-dropdown a img{border:0!important;padding:0!important;margin:0!important;float:none!important;position:static!important;vertical-align:bottom;background:none!important}.ai1ec-filters-container{display:inline-block}.ai1ec-filter-selector-container{position:relative;display:inline-block;text-align:left;white-space:normal}.ai1ec-filter-selector{display:none;background:#fff;border:1px solid rgba(0,0,0,0.2);-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,0.2);-moz-box-shadow:0 5px 10px rgba(0,0,0,0.2);box-shadow:0 5px 10px rgba(0,0,0,0.2);padding:.1em;position:absolute;overflow:auto;max-width:20em;max-height:30em;right:0;top:100%;z-index:10}.ai1ec-filter-selector ul{margin:0!important;padding:0!important}.ai1ec-filter-selector li{list-style:none}.ai1ec-filter-selector .ai1ec-category,.ai1ec-filter-selector .ai1ec-tag{font-size:8pt!important}.ai1ec-filter-selector-container:hover>.ai1ec-filter-selector{display:block}.ai1ec-clear-filters{display:none;font-size:11pt!important;font-weight:normal;color:#507295!important;cursor:pointer;text-decoration:none!important}.ai1ec-clear-filters:hover{color:#354c63!important}h2.ai1ec-calendar-title{float:left;font-size:20px!important;line-height:1.3em!important;margin:0 .5em 0 0!important}.ai1ec-today #ai1ec-today{display:none}.ai1ec-action-month .ai1ec-pagination a{width:7em}.ai1ec-action-week .ai1ec-pagination a,.ai1ec-action-oneday .ai1ec-pagination a{width:8em}.ai1ec-action-agenda .ai1ec-pagination a{width:9em}#ai1ec-prev-year,#ai1ec-next-year{width:4em}table.ai1ec-month-view,.ai1ec-week-view table,.ai1ec-oneday-view table{border-collapse:collapse;border:1px solid #ddd!important;margin:0!important;background:#fff;table-layout:fixed!important;clear:both;width:100%!important}.ai1ec-week-view .tablescroll_wrapper,.ai1ec-oneday-view .tablescroll_wrapper{position:relative;border-bottom:1px solid #ddd}table.ai1ec-week-view-original,table.ai1ec-oneday-view-original{visibility:hidden;height:400px}table.ai1ec-week-view-original.tablescroll_body,table.ai1ec-oneday-view-original.tablescroll_body{visibility:visible;height:auto}.ai1ec-week-view table.tablescroll_head,.ai1ec-oneday-view table.tablescroll_head,.ai1ec-week-view table.tablescroll_head th,.ai1ec-oneday-view table.tablescroll_head th{border-bottom:none!important;padding:2.48px!important}table.ai1ec-week-view-original.tablescroll_body,table.ai1ec-oneday-view-original.tablescroll_body,table.ai1ec-week-view-original.tablescroll_body tr:first-child td,table.ai1ec-oneday-view-original.tablescroll_body tr:first-child td{border-top:none!important}.ai1ec-month-view td,.ai1ec-week-view td,.ai1ec-oneday-view td{border:1px solid #ddd!important;background:none!important;padding:0!important;text-align:left;vertical-align:top}.ai1ec-month-view th,.ai1ec-week-view th,.ai1ec-oneday-view th{border:none!important;background:#f5f5f5!important;padding:.2em!important}.ai1ec-month-view td.ai1ec-empty{background:#f5f5f5!important}.ai1ec-month-view th,.ai1ec-week-view th,.ai1ec-week-view .ai1ec-hour-marker div,.ai1ec-week-view .ai1ec-allday-label,.ai1ec-oneday-view th,.ai1ec-oneday-view .ai1ec-hour-marker div,.ai1ec-oneday-view .ai1ec-allday-label{color:#9e9e9e!important;text-shadow:0 1px 0 #fff}.ai1ec-month-view th,.ai1ec-oneday-view th{text-align:center!important}.ai1ec-week-view th{text-align:left!important}.ai1ec-week-view .ai1ec-day,.ai1ec-oneday-view .ai1ec-day{height:1440px}.ai1ec-week-view th .ai1ec-weekday-date,.ai1ec-oneday-view th .ai1ec-weekday-date{font-size:10.5pt!important;font-weight:normal!important}.ai1ec-week-view th .ai1ec-weekday-day{font-size:9pt!important;font-weight:normal!important}.ai1ec-month-view .ai1ec-day,.ai1ec-week-view .ai1ec-day,.ai1ec-week-view .ai1ec-allday-events,.ai1ec-oneday-view .ai1ec-day,.ai1ec-oneday-view .ai1ec-allday-events{position:relative}.ai1ec-month-view .ai1ec-day-stretcher{float:left;height:94px;width:0}.ai1ec-month-view .ai1ec-today,.ai1ec-week-view .ai1ec-today{background:#ffd!important}.ai1ec-month-view .ai1ec-date{background:#eaf4ff;color:#a1a7ad;font-size:10pt;line-height:13px;height:13px;margin-bottom:1px;padding:0 .4em;font-size:8pt;text-align:right;text-shadow:0 1px 0 #fff}.ai1ec-week-view .ai1ec-grid-container,.ai1ec-oneday-view .ai1ec-grid-container{position:absolute;top:auto;left:0;right:0}.ai1ec-week-view .ai1ec-now-marker,.ai1ec-oneday-view .ai1ec-now-marker,.ai1ec-week-view .ai1ec-hour-marker,.ai1ec-oneday-view .ai1ec-hour-marker,.ai1ec-week-view .ai1ec-quarter-marker,.ai1ec-oneday-view .ai1ec-quarter-marker{position:absolute;left:0;right:0;padding-right:8px}.ai1ec-week-view .ai1ec-hour-marker,.ai1ec-oneday-view .ai1ec-hour-marker{border-top:1px solid #ddd;border-top:1px solid rgba(221,221,221,0.7);height:60px;background:rgba(221,221,221,0.4)!important}.ai1ec-week-view .ai1ec-hour-marker.ai1ec-business-hour,.ai1ec-oneday-view .ai1ec-hour-marker.ai1ec-business-hour{background:none!important}.ai1ec-week-view .ai1ec-hour-marker div,.ai1ec-oneday-view .ai1ec-hour-marker div,.ai1ec-week-view .ai1ec-allday-label,.ai1ec-oneday-view .ai1ec-allday-label{position:relative;z-index:2;margin-left:1px;padding:0 .2em;font-size:8pt!important;font-weight:normal!important;background:#f5f5f5;float:left;-webkit-border-radius:.3em;-moz-border-radius:.3em;border-radius:.3em}.ai1ec-week-view .ai1ec-allday-label,.ai1ec-oneday-view .ai1ec-allday-label{margin-top:1px}.ai1ec-week-view .ai1ec-quarter-marker,.ai1ec-oneday-view .ai1ec-quarter-marker{border-top:1px solid #ddd;border-top:1px solid rgba(221,221,221,0.4)}.ai1ec-week-view .ai1ec-now-marker,.ai1ec-oneday-view .ai1ec-now-marker{border-top:1px solid #f2c539;border-bottom:1px solid rgba(0,0,0,0.15);z-index:2}.ai1ec-month-view a.ai1ec-event-container,.ai1ec-week-view a.ai1ec-event-container,.ai1ec-oneday-view a.ai1ec-event-container{border:none!important;color:#507295!important;display:block;font-size:9pt;text-decoration:none!important}.ai1ec-month-view .ai1ec-event,.ai1ec-week-view .ai1ec-event,.ai1ec-oneday-view .ai1ec-event{-webkit-border-radius:.3em;-moz-border-radius:.3em;border-radius:.3em;margin:1px 0 0;max-height:100%;overflow:hidden;padding:0 3px 1px;white-space:nowrap}.ai1ec-month-view .ai1ec-allday .ai1ec-event,.ai1ec-week-view .ai1ec-allday .ai1ec-event,.ai1ec-oneday-view .ai1ec-allday .ai1ec-event,.ai1ec-month-view .ai1ec-multiday .ai1ec-event,.ai1ec-week-view .ai1ec-multiday .ai1ec-event,.ai1ec-oneday-view .ai1ec-multiday .ai1ec-event{background-color:#507295;color:#fff!important}.ai1ec-month-view .ai1ec-category-colors,.ai1ec-week-view .ai1ec-category-colors,.ai1ec-oneday-view .ai1ec-category-colors{float:right;font-size:1.2em;margin-top:1px}.ai1ec-month-view .ai1ec-event-popup,.ai1ec-week-view .ai1ec-event-popup,.ai1ec-oneday-view .ai1ec-event-popup,.ai1ec-month-view .ai1ec-event-summary,.ai1ec-week-view .ai1ec-event-summary,.ai1ec-oneday-view .ai1ec-event-summary{border:2px solid #d4d4d4;-webkit-box-shadow:0 5px 10px rgba(0,0,0,0.2);-moz-box-shadow:0 5px 10px rgba(0,0,0,0.2);box-shadow:0 5px 10px rgba(0,0,0,0.2);background:#fff}.ai1ec-month-view .ai1ec-event-popup,.ai1ec-week-view .ai1ec-event-popup,.ai1ec-oneday-view .ai1ec-event-popup{position:absolute;z-index:5;display:none;white-space:nowrap;color:#333!important;top:-5px;left:-2px;min-width:100%;-webkit-border-radius:0 .3em .3em 0;-moz-border-radius:0 .3em .3em 0;border-radius:0 .3em .3em 0}.ai1ec-month-view .ai1ec-event-popup.ai1ec-shifted-right,.ai1ec-week-view .ai1ec-event-popup.ai1ec-shifted-right,.ai1ec-oneday-view .ai1ec-event-popup.ai1ec-shifted-right{-webkit-border-radius:.3em 0 0 .3em;-moz-border-radius:.3em 0 0 .3em;border-radius:.3em 0 0 .3em}.ai1ec-month-view .ai1ec-event-popup-bg,.ai1ec-week-view .ai1ec-event-popup-bg,.ai1ec-oneday-view .ai1ec-event-popup-bg{position:relative;left:-2px;margin-right:-1px;padding:2px 2px 2px 5px;background:#fff}.ai1ec-month-view .ai1ec-shifted-right .ai1ec-event-popup-bg,.ai1ec-week-view .ai1ec-shifted-right .ai1ec-event-popup-bg,.ai1ec-oneday-view .ai1ec-shifted-right .ai1ec-event-popup-bg{left:1px;padding:2px 5px 2px 2px}.ai1ec-month-view .ai1ec-event-summary,.ai1ec-week-view .ai1ec-event-summary,.ai1ec-oneday-view .ai1ec-event-summary,.ai1ec-month-view .ai1ec-event-summary p,.ai1ec-week-view .ai1ec-event-summary p,.ai1ec-oneday-view .ai1ec-event-summary p{font-size:.95em!important}.ai1ec-month-view .ai1ec-event-summary,.ai1ec-week-view .ai1ec-event-summary,.ai1ec-oneday-view .ai1ec-event-summary{-webkit-border-radius:.3em 0 .3em .3em;-moz-border-radius:.3em 0 .3em .3em;border-radius:.3em 0 .3em .3em;color:#333;background-color:#fefef9;background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),color-stop(1.5em,#fff),to(#fafae3));background-image:-webkit-linear-gradient(#fff,#fff 1.5em,#fafae3);background-image:-moz-linear-gradient(top,#fff,#fff 1.5em,#fafae3);background-image:-ms-linear-gradient(#fff,#fff 1.5em,#fafae3);background-image:-o-linear-gradient(#fff,#fff 1.5em,#fafae3);background-image:linear-gradient(#fff,#fff 1.5em,#fafae3);background-repeat:no-repeat;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff',endColorstr='#fafae3',GradientType=0);overflow:hidden;padding:2px 4px 3px;position:absolute;right:100%;top:-2px;white-space:normal;width:13em}.ai1ec-month-view .ai1ec-shifted-right .ai1ec-event-summary,.ai1ec-week-view .ai1ec-shifted-right .ai1ec-event-summary,.ai1ec-oneday-view .ai1ec-shifted-right .ai1ec-event-summary{left:100%;-webkit-border-radius:0 .3em .3em .3em;-moz-border-radius:0 .3em .3em .3em;border-radius:0 .3em .3em .3em}.ai1ec-month-view .ai1ec-event-summary p,.ai1ec-week-view .ai1ec-event-summary p,.ai1ec-oneday-view .ai1ec-event-summary p{margin:0 0 .3em!important;padding:0!important}.ai1ec-month-view .ai1ec-event-time,.ai1ec-week-view .ai1ec-event-time,.ai1ec-oneday-view .ai1ec-event-time{font-size:8pt;font-weight:bold}.ai1ec-month-view .ai1ec-read-more,.ai1ec-week-view .ai1ec-read-more,.ai1ec-oneday-view .ai1ec-read-more{text-align:center;font-size:8pt;color:#97978b}.ai1ec-month-view a.ai1ec-event-container,.ai1ec-week-view .ai1ec-allday-events a.ai1ec-event-container,.ai1ec-oneday-view .ai1ec-allday-events a.ai1ec-event-container{position:relative}.ai1ec-oneday-view a.ai1ec-event-container{margin-right:10px}.ai1ec-oneday-view .ai1ec-allday-events a.ai1ec-event-container{margin:0 15px 0 50px}.ai1ec-week-view .ai1ec-week a.ai1ec-event-container,.ai1ec-oneday-view .ai1ec-oneday a.ai1ec-event-container{border:2px solid #cbd5df!important;-webkit-border-radius:.3em;-moz-border-radius:.3em;border-radius:.3em;-webkit-box-shadow:0 3px 6px rgba(0,0,0,0.2);-moz-box-shadow:0 3px 6px rgba(0,0,0,0.2);box-shadow:0 3px 6px rgba(0,0,0,0.2);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;background-color:#eaeef2;background-image:-moz-linear-gradient(top,#fff,#cbd5df);background-image:-ms-linear-gradient(top,#fff,#cbd5df);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#cbd5df));background-image:-webkit-linear-gradient(top,#fff,#cbd5df);background-image:-o-linear-gradient(top,#fff,#cbd5df);background-image:linear-gradient(top,#fff,#cbd5df);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff',endColorstr='#cbd5df',GradientType=0);background-color:#fff;position:absolute;right:0}.ai1ec-oneday-view .ai1ec-event-popup{top:-3px;min-width:0;right:13em}.ai1ec-week-view .ai1ec-week .ai1ec-event-popup{top:-3px}.ai1ec-oneday-view .ai1ec-oneday .ai1ec-event-title,.ai1ec-week-view .ai1ec-week .ai1ec-event-title{display:block;white-space:normal;font-size:8pt!important}.ai1ec-month-view .ai1ec-event{height:14px;line-height:14px;margin:0 0 1px}.ai1ec-month-view .ai1ec-multiday{position:absolute}.ai1ec-month-view .ai1ec-multiday-arrow1{background:#507295;border:7px solid #fff;border-left-color:#507295;border-right-width:0;height:1px;position:absolute;right:0;top:0;width:0}.ai1ec-month-view .ai1ec-multiday-arrow2{border:7px solid #507295;border-left-color:#fff;border-right-width:2px;height:1px;left:0;position:absolute;top:0;width:0}.ai1ec-month-view .ai1ec-multiday-bar{background:#507295;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;height:15px;left:0;position:absolute;top:0}.ai1ec-month-view .ai1ec-multiday-bar .ai1ec-event-title{margin-left:7px}.ai1ec-month-view .ai1ec-multiday-bar .ai1ec-event{margin:0}.ai1ec-month-view .ai1ec-multiday-bar .ai1ec-event-time{display:none}.ai1ec-month-view .ai1ec-event-dropdown{background:#FFF;border:1px solid #e7e7e7;border-top:0;left:-1px;position:absolute;top:78px;width:90px;z-index:1000}.ai1ec-month-view .ai1ec-obscured{display:none!important}.ai1ec-month-view a.ai1ec-scroll-up,.ai1ec-month-view a.ai1ec-scroll-down{border:1px solid #ddd;-webkit-border-radius:.2em;-moz-border-radius:.2em;border-radius:.2em;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;display:block;left:50%;height:16px;line-height:14px;margin-left:-8px;position:relative;text-align:center;text-decoration:none!important;width:16px}.ai1ec-month-view a.ai1ec-scroll-up:hover,.ai1ec-month-view a.ai1ec-scroll-down:hover{background-color:#ddd}.ai1ec-month-view a.ai1ec-scroll-up.ai1ec-disabled,.ai1ec-month-view a.ai1ec-scroll-down.ai1ec-disabled{border:0;cursor:default;opacity:.2;filter:alpha(opacity=20);padding:1px}.ai1ec-month-view a.ai1ec-scroll-up.ai1ec-disabled:hover,.ai1ec-month-view a.ai1ec-scroll-down.ai1ec-disabled:hover{background-color:transparent}.ai1ec-month-view .ai1ec-event-popup .ai1ec-event-popup-allround{border-radius:.3em}.ai1ec-month-view .ai1ec-event-popup .ai1ec-event-popup-allround .ai1ec-event-popup-bg{left:0;margin-right:2px;padding:2px}.ai1ec-month-view .ai1ec-event-popup .ai1ec-event-popup-allround .ai1ec-event-summary{display:none}.ai1ec-oneday-view .ai1ec-start-truncated .ai1ec-event-time,.ai1ec-week-view .ai1ec-start-truncated .ai1ec-event-time{display:none}.ai1ec-oneday-view .ai1ec-oneday a.ai1ec-event-container.ai1ec-start-truncated,.ai1ec-week-view .ai1ec-week a.ai1ec-event-container.ai1ec-start-truncated{border-top-left-radius:0;border-top-right-radius:0;-moz-border-radius-topleft:0;-moz-border-radius-topright:0;-webkit-border-top-left-radius:0;-webkit-border-top-right-radius:0}.ai1ec-oneday-view .ai1ec-oneday a.ai1ec-event-container.ai1ec-end-truncated,.ai1ec-week-view .ai1ec-week a.ai1ec-event-container.ai1ec-end-truncated{border-bottom-left-radius:0;border-bottom-right-radius:0;-moz-border-radius-bottomleft:0;-moz-border-radius-bottomright:0;-webkit-border-bottom-left-radius:0;-webkit-border-bottom-right-radius:0}.ai1ec-oneday-view .ai1ec-oneday .ai1ec-start-truncator,.ai1ec-week-view .ai1ec-week .ai1ec-start-truncator,.ai1ec-oneday-view .ai1ec-oneday .ai1ec-end-truncator,.ai1ec-week-view .ai1ec-week .ai1ec-end-truncator{position:absolute;line-height:1em;font-size:6pt}.ai1ec-oneday-view .ai1ec-oneday .ai1ec-start-truncator,.ai1ec-week-view .ai1ec-week .ai1ec-start-truncator{top:-2px;left:-2px}.ai1ec-oneday-view .ai1ec-oneday .ai1ec-end-truncator,.ai1ec-week-view .ai1ec-week .ai1ec-end-truncator{bottom:-2px;right:-2px}.ai1ec-agenda-view{clear:both;overflow:hidden;margin:0!important;padding:0!important}.ai1ec-agenda-view .ai1ec-no-results{font-size:10pt!important;font-style:italic}.ai1ec-agenda-view .ai1ec-date-events{overflow:hidden;margin:0 .75em 0 0!important;padding:0!important}.ai1ec-agenda-view>li,.ai1ec-agenda-view .ai1ec-date-events>li{list-style:none!important}.ai1ec-agenda-view .ai1ec-date{border-top:1px solid #e5e5e5;background:rgba(242,242,242,0.8);background:-webkit-gradient(linear,0 0,0 100%,from(#f2f2f2),color-stop(1em,#f2f2f2),to(rgba(242,242,242,0)));background:-webkit-linear-gradient(#f2f2f2,#f2f2f2 1em,rgba(242,242,242,0));background:-moz-linear-gradient(top,#f2f2f2,#f2f2f2 1em,rgba(242,242,242,0));background:-ms-linear-gradient(#f2f2f2,#f2f2f2 1em,rgba(242,242,242,0));background:-o-linear-gradient(#f2f2f2,#f2f2f2 1em,rgba(242,242,242,0));background:linear-gradient(#f2f2f2,#f2f2f2 1em,rgba(242,242,242,0));background-repeat:no-repeat;margin:0!important;overflow:hidden;padding:0!important}.ai1ec-agenda-view .ai1ec-date.ai1ec-today{border-top:1px solid #f0f0aa;background:rgba(244,244,191,0.8);background:-webkit-gradient(linear,0 0,0 100%,from(#f4f4bf),color-stop(1em,#f4f4bf),to(rgba(244,244,191,0)));background:-webkit-linear-gradient(#f4f4bf,#f4f4bf 1em,rgba(244,244,191,0));background:-moz-linear-gradient(top,#f4f4bf,#f4f4bf 1em,rgba(244,244,191,0));background:-ms-linear-gradient(#f4f4bf,#f4f4bf 1em,rgba(244,244,191,0));background:-o-linear-gradient(#f4f4bf,#f4f4bf 1em,rgba(244,244,191,0));background:linear-gradient(#f4f4bf,#f4f4bf 1em,rgba(244,244,191,0));background-repeat:no-repeat}.ai1ec-agenda-view h3.ai1ec-date-title{border:2px solid #8ba5c0;-webkit-border-radius:0 0 5px 5px;-moz-border-radius:0 0 5px 5px;border-radius:0 0 5px 5px;-webkit-box-shadow:0 2px 2px rgba(0,0,0,0.08);-moz-box-shadow:0 2px 2px rgba(0,0,0,0.08);box-shadow:0 2px 2px rgba(0,0,0,0.08);color:#525252;float:left;font-size:10pt;font-weight:normal;background-color:#f9f9f9;background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),color-stop(1em,#fff),to(#e0e0e0));background-image:-webkit-linear-gradient(#fff,#fff 1em,#e0e0e0);background-image:-moz-linear-gradient(top,#fff,#fff 1em,#e0e0e0);background-image:-ms-linear-gradient(#fff,#fff 1em,#e0e0e0);background-image:-o-linear-gradient(#fff,#fff 1em,#e0e0e0);background-image:linear-gradient(#fff,#fff 1em,#e0e0e0);background-repeat:no-repeat;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff',endColorstr='#e0e0e0',GradientType=0);line-height:1.1em;margin:0 .75em .5em!important;text-align:center;text-shadow:0 1px 0 #fff;width:4em}.ai1ec-agenda-view .ai1ec-month{color:#fff;background:#8ba5c0;font-size:.8em!important;letter-spacing:.2em;padding:.1em;text-transform:uppercase;text-shadow:0 -1px 0 rgba(0,0,0,0.25)}.ai1ec-agenda-view .ai1ec-day{font-size:2.2em!important;padding:.3em 0 .2em!important}.ai1ec-agenda-view .ai1ec-weekday{font-size:.8em!important;line-height:1.5em}.ai1ec-agenda-view .ai1ec-event{position:relative;clear:right;overflow:hidden;font-size:10pt;text-decoration:none;padding:.1em .3em!important;margin:.5em 0!important;background:#fff!important;border:1px solid #d4d4d4;-webkit-border-radius:.5em;-moz-border-radius:.5em;border-radius:.5em}.ai1ec-agenda-view .ai1ec-event.ai1ec-expanded{border:2px solid #d4d4d4;-webkit-box-shadow:1px 5px 8px rgba(0,0,0,0.08);-moz-box-shadow:1px 5px 8px rgba(0,0,0,0.08);box-shadow:1px 5px 8px rgba(0,0,0,0.08)}.ai1ec-agenda-view .ai1ec-event .ai1ec-event-click{cursor:pointer;line-height:1.4em;color:#507295;text-shadow:0 1px 0 #fff}.ai1ec-agenda-view .ai1ec-event .ai1ec-event-click:hover>.ai1ec-event-expand{visibility:visible}.ai1ec-agenda-view .ai1ec-event .ai1ec-event-time{float:left;margin-right:.5em;min-height:1em;font-weight:bold;line-height:1.4em}.ai1ec-agenda-view .ai1ec-event .ai1ec-event-title{margin:0 0 0 8em;font-size:10pt;font-weight:normal}.ai1ec-agenda-view .ai1ec-event:hover,.ai1ec-agenda-view .ai1ec-event.ai1ec-expanded:hover{border-color:#aeaeae}.ai1ec-agenda-view .ai1ec-event:hover .ai1ec-event-click{color:#354c63}.ai1ec-agenda-view .ai1ec-event.ai1ec-allday{padding:0!important}.ai1ec-agenda-view .ai1ec-event.ai1ec-allday .ai1ec-event-click{color:#fff;background:#507295;padding:.1em .4em;-webkit-border-radius:.3em;-moz-border-radius:.3em;border-radius:.3em;text-shadow:none}.ai1ec-agenda-view .ai1ec-event.ai1ec-allday .ai1ec-event-time{color:#fff}.ai1ec-agenda-view .ai1ec-event.ai1ec-allday .ai1ec-event-title{margin:0}.ai1ec-agenda-view .ai1ec-event.ai1ec-allday:hover .ai1ec-event-click{color:#fff;background:#354c63}.ai1ec-agenda-view .ai1ec-allday-label{font-size:8pt;color:rgba(255,255,255,0.5);padding-left:.2em}.ai1ec-agenda-view .ai1ec-event-expand{float:right;margin-left:.5em;visibility:hidden;font-size:9pt}.ai1ec-agenda-view .ai1ec-category-colors{float:left;font-size:.9em;margin:.2em .2em -0.2em -0.1em}.ai1ec-agenda-view .ai1ec-category-colors .ai1ec-category-color{padding:1px}.ai1ec-agenda-view .ai1ec-event-summary{display:none}.ai1ec-agenda-view .ai1ec-event-summary .ai1ec-event-title{margin:.1em 0;font-size:11pt;line-height:1.1em}.ai1ec-agenda-view .ai1ec-event-summary .ai1ec-event-time{width:auto;float:none;font-size:9pt;line-height:1.5em}.ai1ec-agenda-view .ai1ec-event-summary .ai1ec-event-click{border-bottom:1px solid #ddd;margin-bottom:.4em;padding:.5em .25em}.ai1ec-agenda-view .ai1ec-allday .ai1ec-event-summary .ai1ec-event-click{border-bottom:0;-webkit-border-radius:.3em .3em 0 0;-moz-border-radius:.3em .3em 0 0;border-radius:.3em .3em 0 0;padding:.4em .6em}.ai1ec-agenda-view .ai1ec-categories,.ai1ec-agenda-view .ai1ec-tags{font-size:8pt}.ai1ec-agenda-view .ai1ec-event-description,.ai1ec-agenda-view .ai1ec-event-description p{font-size:9pt;line-height:1.5em}.ai1ec-agenda-view .ai1ec-event-description{clear:both;overflow:hidden;padding:0 .25em 3.6em;max-height:20em}.ai1ec-agenda-view .ai1ec-event-description p{margin:.5em 0 .75em!important;padding:0!important}.ai1ec-agenda-view .ai1ec-event-description .ai1ec-label{font-size:8pt}.ai1ec-agenda-view .ai1ec-allday .ai1ec-event-description{position:relative;overflow:hidden;padding:0 .65em 3.5em}.ai1ec-agenda-view .ai1ec-event-overlay{position:absolute;z-index:5;bottom:0;left:0;right:0;padding:.4em .5em;-webkit-border-radius:0 0 .5em .5em;-moz-border-radius:0 0 .5em .5em;border-radius:0 0 .5em .5em;background:rgba(252,252,240,0.85);background:-moz-linear-gradient(top,rgba(255,255,255,0.75),#fafae3);background:-ms-linear-gradient(top,rgba(255,255,255,0.75),#fafae3);background:-webkit-gradient(linear,0 0,0 100%,from(rgba(255,255,255,0.75)),to(#fafae3));background:-webkit-linear-gradient(top,rgba(255,255,255,0.75),#fafae3);background:-o-linear-gradient(top,rgba(255,255,255,0.75),#fafae3);background:linear-gradient(top,rgba(255,255,255,0.75),#fafae3);background-repeat:repeat-x}.ai1ec-agenda-view .ai1ec-read-more{float:right;margin:.6em 0 .2em}.ai1ec-subscribe{clear:both}.ai1ec-subscribe-filtered{display:none}i.icon-print{padding:0 7px}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .clearfix {
2
+ *zoom: 1;
3
+ }
4
+ .clearfix:before,
5
+ .clearfix:after {
6
+ display: table;
7
+ content: "";
8
+ }
9
+ .clearfix:after {
10
+ clear: both;
11
+ }
12
+ .hide-text {
13
+ overflow: hidden;
14
+ text-indent: 100%;
15
+ white-space: nowrap;
16
+ }
17
+ .input-block-level {
18
+ display: block;
19
+ width: 100%;
20
+ min-height: 28px;
21
+ /* Make inputs at least the height of their button counterpart */
22
+
23
+ /* Makes inputs behave like true block-level elements */
24
+
25
+ -webkit-box-sizing: border-box;
26
+ -moz-box-sizing: border-box;
27
+ -ms-box-sizing: border-box;
28
+ box-sizing: border-box;
29
+ }
30
+ .ai1ec-container {
31
+ clear: both;
32
+ }
33
+ #ai1ec-calendar-view-container {
34
+ position: relative;
35
+ clear: both;
36
+ margin-bottom: 0.2em;
37
+ }
38
+ .ai1ec-calendar-toolbar {
39
+ width: 100% !important;
40
+ border: 0 !important;
41
+ margin: 0 !important;
42
+ }
43
+ .ai1ec-calendar-toolbar td {
44
+ background: none !important;
45
+ border: 0 !important;
46
+ padding: 0 !important;
47
+ text-align: center;
48
+ vertical-align: middle;
49
+ white-space: nowrap;
50
+ width: 33%;
51
+ }
52
+ .ai1ec-calendar-toolbar td:last-child {
53
+ text-align: right;
54
+ }
55
+ .ai1ec-calendar-toolbar td:first-child {
56
+ text-align: left;
57
+ }
58
+ .thenly #ai1ec-view-dropdown a.btn,
59
+ .thenly #ai1ec-view-dropdown .dropdown-menu a {
60
+ line-height: 21px;
61
+ }
62
+ .thenly #ai1ec-view-dropdown a.btn .caret {
63
+ margin-top: 9px;
64
+ }
65
+ .thenly #ai1ec-view-dropdown a img {
66
+ border: 0 !important;
67
+ padding: 0 !important;
68
+ margin: 0 !important;
69
+ float: none !important;
70
+ position: static !important;
71
+ vertical-align: bottom;
72
+ background: none !important;
73
+ }
74
+ .ai1ec-filters-container {
75
+ display: inline-block;
76
+ }
77
+ .ai1ec-filter-selector-container {
78
+ position: relative;
79
+ display: inline-block;
80
+ text-align: left;
81
+ white-space: normal;
82
+ }
83
+ .ai1ec-filter-selector {
84
+ display: none;
85
+ background: #ffffff;
86
+ border: 1px solid rgba(0, 0, 0, 0.2);
87
+ -webkit-border-radius: 5px;
88
+ -moz-border-radius: 5px;
89
+ border-radius: 5px;
90
+ -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
91
+ -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
92
+ box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
93
+ padding: 0.1em;
94
+ position: absolute;
95
+ overflow: auto;
96
+ max-width: 20em;
97
+ max-height: 30em;
98
+ right: 0;
99
+ top: 100%;
100
+ z-index: 10;
101
+ }
102
+ .ai1ec-filter-selector ul {
103
+ margin: 0 !important;
104
+ padding: 0 !important;
105
+ }
106
+ .ai1ec-filter-selector li {
107
+ list-style: none;
108
+ }
109
+ .ai1ec-filter-selector .ai1ec-category,
110
+ .ai1ec-filter-selector .ai1ec-tag {
111
+ font-size: 8pt !important;
112
+ }
113
+ .ai1ec-filter-selector-container:hover > .ai1ec-filter-selector {
114
+ display: block;
115
+ }
116
+ .ai1ec-clear-filters {
117
+ display: none;
118
+ font-size: 11pt !important;
119
+ font-weight: normal;
120
+ color: #507295 !important;
121
+ cursor: pointer;
122
+ text-decoration: none !important;
123
+ }
124
+ .ai1ec-clear-filters:hover {
125
+ color: #354c63 !important;
126
+ }
127
+ h2.ai1ec-calendar-title {
128
+ float: left;
129
+ font-size: 20px !important;
130
+ line-height: 1.3em !important;
131
+ margin: 0 0.5em 0 0 !important;
132
+ }
133
+ .ai1ec-today #ai1ec-today {
134
+ display: none;
135
+ }
136
+ .ai1ec-action-month .ai1ec-pagination a {
137
+ width: 7em;
138
+ }
139
+ .ai1ec-action-week .ai1ec-pagination a,
140
+ .ai1ec-action-oneday .ai1ec-pagination a {
141
+ width: 8em;
142
+ }
143
+ .ai1ec-action-agenda .ai1ec-pagination a {
144
+ width: 9em;
145
+ }
146
+ #ai1ec-prev-year,
147
+ #ai1ec-next-year {
148
+ width: 4em;
149
+ }
150
+ table.ai1ec-month-view,
151
+ .ai1ec-week-view table,
152
+ .ai1ec-oneday-view table {
153
+ border-collapse: collapse;
154
+ border: 1px solid #dddddd !important;
155
+ margin: 0 !important;
156
+ background: #ffffff;
157
+ table-layout: fixed !important;
158
+ clear: both;
159
+ width: 100% !important;
160
+ }
161
+ .ai1ec-week-view .tablescroll_wrapper,
162
+ .ai1ec-oneday-view .tablescroll_wrapper {
163
+ position: relative;
164
+ border-bottom: 1px solid #dddddd;
165
+ }
166
+ table.ai1ec-week-view-original,
167
+ table.ai1ec-oneday-view-original {
168
+ visibility: hidden;
169
+ height: 400px;
170
+ }
171
+ table.ai1ec-week-view-original.tablescroll_body,
172
+ table.ai1ec-oneday-view-original.tablescroll_body {
173
+ visibility: visible;
174
+ height: auto;
175
+ }
176
+ .ai1ec-week-view table.tablescroll_head,
177
+ .ai1ec-oneday-view table.tablescroll_head,
178
+ .ai1ec-week-view table.tablescroll_head th,
179
+ .ai1ec-oneday-view table.tablescroll_head th {
180
+ border-bottom: none !important;
181
+ padding: 2.48px !important;
182
+ }
183
+ table.ai1ec-week-view-original.tablescroll_body,
184
+ table.ai1ec-oneday-view-original.tablescroll_body,
185
+ table.ai1ec-week-view-original.tablescroll_body tr:first-child td,
186
+ table.ai1ec-oneday-view-original.tablescroll_body tr:first-child td {
187
+ border-top: none !important;
188
+ }
189
+ .ai1ec-month-view td,
190
+ .ai1ec-week-view td,
191
+ .ai1ec-oneday-view td {
192
+ border: 1px solid #dddddd !important;
193
+ background: none !important;
194
+ padding: 0 !important;
195
+ text-align: left;
196
+ vertical-align: top;
197
+ }
198
+ .ai1ec-month-view th,
199
+ .ai1ec-week-view th,
200
+ .ai1ec-oneday-view th {
201
+ border: none !important;
202
+ background: #f5f5f5 !important;
203
+ padding: 0.2em !important;
204
+ }
205
+ .ai1ec-month-view td.ai1ec-empty {
206
+ background: #f5f5f5 !important;
207
+ }
208
+ .ai1ec-month-view th,
209
+ .ai1ec-week-view th,
210
+ .ai1ec-week-view .ai1ec-hour-marker div,
211
+ .ai1ec-week-view .ai1ec-allday-label,
212
+ .ai1ec-oneday-view th,
213
+ .ai1ec-oneday-view .ai1ec-hour-marker div,
214
+ .ai1ec-oneday-view .ai1ec-allday-label {
215
+ color: #9e9e9e !important;
216
+ text-shadow: 0 1px 0 #ffffff;
217
+ }
218
+ .ai1ec-month-view th,
219
+ .ai1ec-oneday-view th {
220
+ text-align: center !important;
221
+ }
222
+ .ai1ec-week-view th {
223
+ text-align: left !important;
224
+ }
225
+ .ai1ec-week-view .ai1ec-day,
226
+ .ai1ec-oneday-view .ai1ec-day {
227
+ height: 1440px;
228
+ }
229
+ .ai1ec-week-view th .ai1ec-weekday-date,
230
+ .ai1ec-oneday-view th .ai1ec-weekday-date {
231
+ font-size: 10.5pt !important;
232
+ font-weight: normal !important;
233
+ }
234
+ .ai1ec-week-view th .ai1ec-weekday-day {
235
+ font-size: 9pt !important;
236
+ font-weight: normal !important;
237
+ }
238
+ .ai1ec-month-view .ai1ec-day,
239
+ .ai1ec-week-view .ai1ec-day,
240
+ .ai1ec-week-view .ai1ec-allday-events,
241
+ .ai1ec-oneday-view .ai1ec-day,
242
+ .ai1ec-oneday-view .ai1ec-allday-events {
243
+ position: relative;
244
+ }
245
+ .ai1ec-month-view .ai1ec-day-stretcher {
246
+ float: left;
247
+ height: 94px;
248
+ width: 0;
249
+ }
250
+ .ai1ec-month-view .ai1ec-today,
251
+ .ai1ec-week-view .ai1ec-today {
252
+ background: #ffffdd !important;
253
+ }
254
+ .ai1ec-month-view .ai1ec-date {
255
+ background: #eaf4ff;
256
+ color: #a1a7ad;
257
+ font-size: 10pt;
258
+ line-height: 13px;
259
+ height: 13px;
260
+ margin-bottom: 1px;
261
+ padding: 0 0.4em;
262
+ font-size: 8pt;
263
+ text-align: right;
264
+ text-shadow: 0 1px 0 #ffffff;
265
+ }
266
+ .ai1ec-week-view .ai1ec-grid-container,
267
+ .ai1ec-oneday-view .ai1ec-grid-container {
268
+ position: absolute;
269
+ top: auto;
270
+ left: 0;
271
+ right: 0;
272
+ }
273
+ .ai1ec-week-view .ai1ec-now-marker,
274
+ .ai1ec-oneday-view .ai1ec-now-marker,
275
+ .ai1ec-week-view .ai1ec-hour-marker,
276
+ .ai1ec-oneday-view .ai1ec-hour-marker,
277
+ .ai1ec-week-view .ai1ec-quarter-marker,
278
+ .ai1ec-oneday-view .ai1ec-quarter-marker {
279
+ position: absolute;
280
+ left: 0;
281
+ right: 0;
282
+ padding-right: 8px;
283
+ }
284
+ .ai1ec-week-view .ai1ec-hour-marker,
285
+ .ai1ec-oneday-view .ai1ec-hour-marker {
286
+ border-top: 1px solid #dddddd;
287
+ border-top: 1px solid rgba(221, 221, 221, 0.7);
288
+ height: 60px;
289
+ background: rgba(221, 221, 221, 0.4) !important;
290
+ }
291
+ .ai1ec-week-view .ai1ec-hour-marker.ai1ec-business-hour,
292
+ .ai1ec-oneday-view .ai1ec-hour-marker.ai1ec-business-hour {
293
+ background: none !important;
294
+ }
295
+ .ai1ec-week-view .ai1ec-hour-marker div,
296
+ .ai1ec-oneday-view .ai1ec-hour-marker div,
297
+ .ai1ec-week-view .ai1ec-allday-label,
298
+ .ai1ec-oneday-view .ai1ec-allday-label {
299
+ position: relative;
300
+ z-index: 2;
301
+ margin-left: 1px;
302
+ padding: 0 0.2em;
303
+ font-size: 8pt !important;
304
+ font-weight: normal !important;
305
+ background: #f5f5f5;
306
+ float: left;
307
+ -webkit-border-radius: 0.3em;
308
+ -moz-border-radius: 0.3em;
309
+ border-radius: 0.3em;
310
+ }
311
+ .ai1ec-week-view .ai1ec-allday-label,
312
+ .ai1ec-oneday-view .ai1ec-allday-label {
313
+ margin-top: 1px;
314
+ }
315
+ .ai1ec-week-view .ai1ec-quarter-marker,
316
+ .ai1ec-oneday-view .ai1ec-quarter-marker {
317
+ border-top: 1px solid #dddddd;
318
+ border-top: 1px solid rgba(221, 221, 221, 0.4);
319
+ }
320
+ .ai1ec-week-view .ai1ec-now-marker,
321
+ .ai1ec-oneday-view .ai1ec-now-marker {
322
+ border-top: 1px solid #f2c539;
323
+ border-bottom: 1px solid rgba(0, 0, 0, 0.15);
324
+ z-index: 2;
325
+ }
326
+ .ai1ec-month-view a.ai1ec-event-container,
327
+ .ai1ec-week-view a.ai1ec-event-container,
328
+ .ai1ec-oneday-view a.ai1ec-event-container {
329
+ border: none !important;
330
+ color: #507295 !important;
331
+ display: block;
332
+ font-size: 9pt;
333
+ text-decoration: none !important;
334
+ }
335
+ .ai1ec-month-view .ai1ec-event,
336
+ .ai1ec-week-view .ai1ec-event,
337
+ .ai1ec-oneday-view .ai1ec-event {
338
+ -webkit-border-radius: 0.3em;
339
+ -moz-border-radius: 0.3em;
340
+ border-radius: 0.3em;
341
+ margin: 1px 0 0;
342
+ max-height: 100%;
343
+ overflow: hidden;
344
+ padding: 0 3px 1px;
345
+ white-space: nowrap;
346
+ }
347
+ .ai1ec-month-view .ai1ec-allday .ai1ec-event,
348
+ .ai1ec-week-view .ai1ec-allday .ai1ec-event,
349
+ .ai1ec-oneday-view .ai1ec-allday .ai1ec-event,
350
+ .ai1ec-month-view .ai1ec-multiday .ai1ec-event,
351
+ .ai1ec-week-view .ai1ec-multiday .ai1ec-event,
352
+ .ai1ec-oneday-view .ai1ec-multiday .ai1ec-event {
353
+ background-color: #507295;
354
+ color: #ffffff !important;
355
+ }
356
+ .ai1ec-month-view .ai1ec-category-colors,
357
+ .ai1ec-week-view .ai1ec-category-colors,
358
+ .ai1ec-oneday-view .ai1ec-category-colors {
359
+ float: right;
360
+ font-size: 1.2em;
361
+ margin-top: 1px;
362
+ }
363
+ .ai1ec-month-view .ai1ec-event-popup,
364
+ .ai1ec-week-view .ai1ec-event-popup,
365
+ .ai1ec-oneday-view .ai1ec-event-popup,
366
+ .ai1ec-month-view .ai1ec-event-summary,
367
+ .ai1ec-week-view .ai1ec-event-summary,
368
+ .ai1ec-oneday-view .ai1ec-event-summary {
369
+ border: 2px solid #d4d4d4;
370
+ -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
371
+ -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
372
+ box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
373
+ background: #ffffff;
374
+ }
375
+ .ai1ec-month-view .ai1ec-event-popup,
376
+ .ai1ec-week-view .ai1ec-event-popup,
377
+ .ai1ec-oneday-view .ai1ec-event-popup {
378
+ position: absolute;
379
+ z-index: 5;
380
+ display: none;
381
+ white-space: nowrap;
382
+ color: #333333 !important;
383
+ top: -5px;
384
+ left: -2px;
385
+ min-width: 100%;
386
+ -webkit-border-radius: 0 0.3em 0.3em 0;
387
+ -moz-border-radius: 0 0.3em 0.3em 0;
388
+ border-radius: 0 0.3em 0.3em 0;
389
+ }
390
+ .ai1ec-month-view .ai1ec-event-popup.ai1ec-shifted-right,
391
+ .ai1ec-week-view .ai1ec-event-popup.ai1ec-shifted-right,
392
+ .ai1ec-oneday-view .ai1ec-event-popup.ai1ec-shifted-right {
393
+ -webkit-border-radius: 0.3em 0 0 0.3em;
394
+ -moz-border-radius: 0.3em 0 0 0.3em;
395
+ border-radius: 0.3em 0 0 0.3em;
396
+ }
397
+ .ai1ec-month-view .ai1ec-event-popup-bg,
398
+ .ai1ec-week-view .ai1ec-event-popup-bg,
399
+ .ai1ec-oneday-view .ai1ec-event-popup-bg {
400
+ position: relative;
401
+ left: -2px;
402
+ margin-right: -1px;
403
+ padding: 2px 2px 2px 5px;
404
+ background: #ffffff;
405
+ }
406
+ .ai1ec-month-view .ai1ec-shifted-right .ai1ec-event-popup-bg,
407
+ .ai1ec-week-view .ai1ec-shifted-right .ai1ec-event-popup-bg,
408
+ .ai1ec-oneday-view .ai1ec-shifted-right .ai1ec-event-popup-bg {
409
+ left: 1px;
410
+ padding: 2px 5px 2px 2px;
411
+ }
412
+ .ai1ec-month-view .ai1ec-event-summary,
413
+ .ai1ec-week-view .ai1ec-event-summary,
414
+ .ai1ec-oneday-view .ai1ec-event-summary,
415
+ .ai1ec-month-view .ai1ec-event-summary p,
416
+ .ai1ec-week-view .ai1ec-event-summary p,
417
+ .ai1ec-oneday-view .ai1ec-event-summary p {
418
+ font-size: 0.95em !important;
419
+ }
420
+ .ai1ec-month-view .ai1ec-event-summary,
421
+ .ai1ec-week-view .ai1ec-event-summary,
422
+ .ai1ec-oneday-view .ai1ec-event-summary {
423
+ -webkit-border-radius: 0.3em 0 0.3em 0.3em;
424
+ -moz-border-radius: 0.3em 0 0.3em 0.3em;
425
+ border-radius: 0.3em 0 0.3em 0.3em;
426
+ color: #333333;
427
+ background-color: #fefef9;
428
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), color-stop(1.5em, #ffffff), to(#fafae3));
429
+ background-image: -webkit-linear-gradient(#ffffff, #ffffff 1.5em, #fafae3);
430
+ background-image: -moz-linear-gradient(top, #ffffff, #ffffff 1.5em, #fafae3);
431
+ background-image: -ms-linear-gradient(#ffffff, #ffffff 1.5em, #fafae3);
432
+ background-image: -o-linear-gradient(#ffffff, #ffffff 1.5em, #fafae3);
433
+ background-image: linear-gradient(#ffffff, #ffffff 1.5em, #fafae3);
434
+ background-repeat: no-repeat;
435
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#fafae3', GradientType=0);
436
+ overflow: hidden;
437
+ padding: 2px 4px 3px;
438
+ position: absolute;
439
+ right: 100%;
440
+ top: -2px;
441
+ white-space: normal;
442
+ width: 13em;
443
+ }
444
+ .ai1ec-month-view .ai1ec-shifted-right .ai1ec-event-summary,
445
+ .ai1ec-week-view .ai1ec-shifted-right .ai1ec-event-summary,
446
+ .ai1ec-oneday-view .ai1ec-shifted-right .ai1ec-event-summary {
447
+ left: 100%;
448
+ -webkit-border-radius: 0 0.3em 0.3em 0.3em;
449
+ -moz-border-radius: 0 0.3em 0.3em 0.3em;
450
+ border-radius: 0 0.3em 0.3em 0.3em;
451
+ }
452
+ .ai1ec-month-view .ai1ec-event-summary p,
453
+ .ai1ec-week-view .ai1ec-event-summary p,
454
+ .ai1ec-oneday-view .ai1ec-event-summary p {
455
+ margin: 0 0 0.3em !important;
456
+ padding: 0 !important;
457
+ }
458
+ .ai1ec-month-view .ai1ec-event-time,
459
+ .ai1ec-week-view .ai1ec-event-time,
460
+ .ai1ec-oneday-view .ai1ec-event-time {
461
+ font-size: 8pt;
462
+ font-weight: bold;
463
+ }
464
+ .ai1ec-month-view .ai1ec-read-more,
465
+ .ai1ec-week-view .ai1ec-read-more,
466
+ .ai1ec-oneday-view .ai1ec-read-more {
467
+ text-align: center;
468
+ font-size: 8pt;
469
+ color: #97978b;
470
+ }
471
+ .ai1ec-month-view a.ai1ec-event-container,
472
+ .ai1ec-week-view .ai1ec-allday-events a.ai1ec-event-container,
473
+ .ai1ec-oneday-view .ai1ec-allday-events a.ai1ec-event-container {
474
+ position: relative;
475
+ }
476
+ .ai1ec-oneday-view a.ai1ec-event-container {
477
+ margin-right: 10px;
478
+ }
479
+ .ai1ec-oneday-view .ai1ec-allday-events a.ai1ec-event-container {
480
+ margin: 0 15px 0 50px;
481
+ }
482
+ .ai1ec-week-view .ai1ec-week a.ai1ec-event-container,
483
+ .ai1ec-oneday-view .ai1ec-oneday a.ai1ec-event-container {
484
+ border: 2px solid #cbd5df !important;
485
+ -webkit-border-radius: 0.3em;
486
+ -moz-border-radius: 0.3em;
487
+ border-radius: 0.3em;
488
+ -webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
489
+ -moz-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
490
+ box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
491
+ -webkit-box-sizing: border-box;
492
+ -moz-box-sizing: border-box;
493
+ -ms-box-sizing: border-box;
494
+ box-sizing: border-box;
495
+ background-color: #eaeef2;
496
+ background-image: -moz-linear-gradient(top, #ffffff, #cbd5df);
497
+ background-image: -ms-linear-gradient(top, #ffffff, #cbd5df);
498
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#cbd5df));
499
+ background-image: -webkit-linear-gradient(top, #ffffff, #cbd5df);
500
+ background-image: -o-linear-gradient(top, #ffffff, #cbd5df);
501
+ background-image: linear-gradient(top, #ffffff, #cbd5df);
502
+ background-repeat: repeat-x;
503
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#cbd5df', GradientType=0);
504
+ background-color: #ffffff;
505
+ position: absolute;
506
+ right: 0;
507
+ }
508
+ .ai1ec-oneday-view .ai1ec-event-popup {
509
+ top: -3px;
510
+ min-width: 0;
511
+ right: 13em;
512
+ }
513
+ .ai1ec-week-view .ai1ec-week .ai1ec-event-popup {
514
+ top: -3px;
515
+ }
516
+ .ai1ec-oneday-view .ai1ec-oneday .ai1ec-event-title,
517
+ .ai1ec-week-view .ai1ec-week .ai1ec-event-title {
518
+ display: block;
519
+ white-space: normal;
520
+ font-size: 8pt !important;
521
+ }
522
+ .ai1ec-month-view .ai1ec-event {
523
+ height: 14px;
524
+ line-height: 14px;
525
+ margin: 0 0 1px;
526
+ }
527
+ .ai1ec-month-view .ai1ec-multiday {
528
+ position: absolute;
529
+ }
530
+ .ai1ec-month-view .ai1ec-multiday-arrow1 {
531
+ background: #507295;
532
+ border: 7px solid #ffffff;
533
+ border-left-color: #507295;
534
+ border-right-width: 0;
535
+ height: 1px;
536
+ position: absolute;
537
+ right: 0;
538
+ top: 0;
539
+ width: 0;
540
+ }
541
+ .ai1ec-month-view .ai1ec-multiday-arrow2 {
542
+ border: 7px solid #507295;
543
+ border-left-color: #ffffff;
544
+ border-right-width: 2px;
545
+ height: 1px;
546
+ left: 0;
547
+ position: absolute;
548
+ top: 0;
549
+ width: 0;
550
+ }
551
+ .ai1ec-month-view .ai1ec-multiday-bar {
552
+ background: #507295;
553
+ -webkit-border-radius: 3px;
554
+ -moz-border-radius: 3px;
555
+ border-radius: 3px;
556
+ height: 15px;
557
+ left: 0;
558
+ position: absolute;
559
+ top: 0;
560
+ }
561
+ .ai1ec-month-view .ai1ec-multiday-bar .ai1ec-event-title {
562
+ margin-left: 7px;
563
+ }
564
+ .ai1ec-month-view .ai1ec-multiday-bar .ai1ec-event {
565
+ margin: 0;
566
+ }
567
+ .ai1ec-month-view .ai1ec-multiday-bar .ai1ec-event-time {
568
+ display: none;
569
+ }
570
+ .ai1ec-month-view .ai1ec-event-dropdown {
571
+ background: #FFF;
572
+ border: 1px solid #E7E7E7;
573
+ border-top: 0;
574
+ left: -1px;
575
+ position: absolute;
576
+ top: 78px;
577
+ width: 90px;
578
+ z-index: 1000;
579
+ }
580
+ .ai1ec-month-view .ai1ec-obscured {
581
+ display: none !important;
582
+ }
583
+ .ai1ec-month-view a.ai1ec-scroll-up,
584
+ .ai1ec-month-view a.ai1ec-scroll-down {
585
+ border: 1px solid #dddddd;
586
+ -webkit-border-radius: 0.2em;
587
+ -moz-border-radius: 0.2em;
588
+ border-radius: 0.2em;
589
+ -webkit-box-sizing: border-box;
590
+ -moz-box-sizing: border-box;
591
+ -ms-box-sizing: border-box;
592
+ box-sizing: border-box;
593
+ display: block;
594
+ left: 50%;
595
+ height: 16px;
596
+ line-height: 14px;
597
+ margin-left: -8px;
598
+ position: relative;
599
+ text-align: center;
600
+ text-decoration: none !important;
601
+ width: 16px;
602
+ }
603
+ .ai1ec-month-view a.ai1ec-scroll-up:hover,
604
+ .ai1ec-month-view a.ai1ec-scroll-down:hover {
605
+ background-color: #dddddd;
606
+ }
607
+ .ai1ec-month-view a.ai1ec-scroll-up.ai1ec-disabled,
608
+ .ai1ec-month-view a.ai1ec-scroll-down.ai1ec-disabled {
609
+ border: none;
610
+ cursor: default;
611
+ opacity: 0.2;
612
+ filter: alpha(opacity=20);
613
+ padding: 1px;
614
+ }
615
+ .ai1ec-month-view a.ai1ec-scroll-up.ai1ec-disabled:hover,
616
+ .ai1ec-month-view a.ai1ec-scroll-down.ai1ec-disabled:hover {
617
+ background-color: transparent;
618
+ }
619
+ .ai1ec-month-view .ai1ec-event-popup .ai1ec-event-popup-allround {
620
+ border-radius: 0.3em;
621
+ }
622
+ .ai1ec-month-view .ai1ec-event-popup .ai1ec-event-popup-allround .ai1ec-event-popup-bg {
623
+ left: 0;
624
+ margin-right: 2px;
625
+ padding: 2px;
626
+ }
627
+ .ai1ec-month-view .ai1ec-event-popup .ai1ec-event-popup-allround .ai1ec-event-summary {
628
+ display: none;
629
+ }
630
+ .ai1ec-oneday-view .ai1ec-start-truncated .ai1ec-event-time,
631
+ .ai1ec-week-view .ai1ec-start-truncated .ai1ec-event-time {
632
+ display: none;
633
+ }
634
+ .ai1ec-oneday-view .ai1ec-oneday a.ai1ec-event-container.ai1ec-start-truncated,
635
+ .ai1ec-week-view .ai1ec-week a.ai1ec-event-container.ai1ec-start-truncated {
636
+ border-top-left-radius: 0;
637
+ border-top-right-radius: 0;
638
+ -moz-border-radius-topleft: 0;
639
+ -moz-border-radius-topright: 0;
640
+ -webkit-border-top-left-radius: 0;
641
+ -webkit-border-top-right-radius: 0;
642
+ }
643
+ .ai1ec-oneday-view .ai1ec-oneday a.ai1ec-event-container.ai1ec-end-truncated,
644
+ .ai1ec-week-view .ai1ec-week a.ai1ec-event-container.ai1ec-end-truncated {
645
+ border-bottom-left-radius: 0;
646
+ border-bottom-right-radius: 0;
647
+ -moz-border-radius-bottomleft: 0;
648
+ -moz-border-radius-bottomright: 0;
649
+ -webkit-border-bottom-left-radius: 0;
650
+ -webkit-border-bottom-right-radius: 0;
651
+ }
652
+ .ai1ec-oneday-view .ai1ec-oneday .ai1ec-start-truncator,
653
+ .ai1ec-week-view .ai1ec-week .ai1ec-start-truncator,
654
+ .ai1ec-oneday-view .ai1ec-oneday .ai1ec-end-truncator,
655
+ .ai1ec-week-view .ai1ec-week .ai1ec-end-truncator {
656
+ position: absolute;
657
+ line-height: 1em;
658
+ font-size: 6pt;
659
+ }
660
+ .ai1ec-oneday-view .ai1ec-oneday .ai1ec-start-truncator,
661
+ .ai1ec-week-view .ai1ec-week .ai1ec-start-truncator {
662
+ top: -2px;
663
+ left: -2px;
664
+ }
665
+ .ai1ec-oneday-view .ai1ec-oneday .ai1ec-end-truncator,
666
+ .ai1ec-week-view .ai1ec-week .ai1ec-end-truncator {
667
+ bottom: -2px;
668
+ right: -2px;
669
+ }
670
+ .ai1ec-agenda-view {
671
+ clear: both;
672
+ overflow: hidden;
673
+ margin: 0 !important;
674
+ padding: 0 !important;
675
+ }
676
+ .ai1ec-agenda-view .ai1ec-no-results {
677
+ font-size: 10pt !important;
678
+ font-style: italic;
679
+ }
680
+ .ai1ec-agenda-view .ai1ec-date-events {
681
+ overflow: hidden;
682
+ margin: 0 0.75em 0 0 !important;
683
+ padding: 0 !important;
684
+ }
685
+ .ai1ec-agenda-view > li,
686
+ .ai1ec-agenda-view .ai1ec-date-events > li {
687
+ list-style: none !important;
688
+ }
689
+ .ai1ec-agenda-view .ai1ec-date {
690
+ border-top: 1px solid #e5e5e5;
691
+ background: rgba(242, 242, 242, 0.8);
692
+ background: -webkit-gradient(linear, 0 0, 0 100%, from(#f2f2f2), color-stop(1em, #f2f2f2), to(rgba(242, 242, 242, 0)));
693
+ background: -webkit-linear-gradient(#f2f2f2, #f2f2f2 1em, rgba(242, 242, 242, 0));
694
+ background: -moz-linear-gradient(top, #f2f2f2, #f2f2f2 1em, rgba(242, 242, 242, 0));
695
+ background: -ms-linear-gradient(#f2f2f2, #f2f2f2 1em, rgba(242, 242, 242, 0));
696
+ background: -o-linear-gradient(#f2f2f2, #f2f2f2 1em, rgba(242, 242, 242, 0));
697
+ background: linear-gradient(#f2f2f2, #f2f2f2 1em, rgba(242, 242, 242, 0));
698
+ background-repeat: no-repeat;
699
+ margin: 0 !important;
700
+ overflow: hidden;
701
+ padding: 0 !important;
702
+ }
703
+ .ai1ec-agenda-view .ai1ec-date.ai1ec-today {
704
+ border-top: 1px solid #f0f0aa;
705
+ background: rgba(244, 244, 191, 0.8);
706
+ background: -webkit-gradient(linear, 0 0, 0 100%, from(#f4f4bf), color-stop(1em, #f4f4bf), to(rgba(244, 244, 191, 0)));
707
+ background: -webkit-linear-gradient(#f4f4bf, #f4f4bf 1em, rgba(244, 244, 191, 0));
708
+ background: -moz-linear-gradient(top, #f4f4bf, #f4f4bf 1em, rgba(244, 244, 191, 0));
709
+ background: -ms-linear-gradient(#f4f4bf, #f4f4bf 1em, rgba(244, 244, 191, 0));
710
+ background: -o-linear-gradient(#f4f4bf, #f4f4bf 1em, rgba(244, 244, 191, 0));
711
+ background: linear-gradient(#f4f4bf, #f4f4bf 1em, rgba(244, 244, 191, 0));
712
+ background-repeat: no-repeat;
713
+ }
714
+ .ai1ec-agenda-view h3.ai1ec-date-title {
715
+ border: 2px solid #8ba5c0;
716
+ -webkit-border-radius: 0 0 5px 5px;
717
+ -moz-border-radius: 0 0 5px 5px;
718
+ border-radius: 0 0 5px 5px;
719
+ -webkit-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.08);
720
+ -moz-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.08);
721
+ box-shadow: 0 2px 2px rgba(0, 0, 0, 0.08);
722
+ color: #525252;
723
+ float: left;
724
+ font-size: 10pt;
725
+ font-weight: normal;
726
+ background-color: #f9f9f9;
727
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), color-stop(1em, #ffffff), to(#e0e0e0));
728
+ background-image: -webkit-linear-gradient(#ffffff, #ffffff 1em, #e0e0e0);
729
+ background-image: -moz-linear-gradient(top, #ffffff, #ffffff 1em, #e0e0e0);
730
+ background-image: -ms-linear-gradient(#ffffff, #ffffff 1em, #e0e0e0);
731
+ background-image: -o-linear-gradient(#ffffff, #ffffff 1em, #e0e0e0);
732
+ background-image: linear-gradient(#ffffff, #ffffff 1em, #e0e0e0);
733
+ background-repeat: no-repeat;
734
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e0e0e0', GradientType=0);
735
+ line-height: 1.1em;
736
+ margin: 0 0.75em 0.5em !important;
737
+ text-align: center;
738
+ text-shadow: 0 1px 0 #ffffff;
739
+ width: 4em;
740
+ }
741
+ .ai1ec-agenda-view .ai1ec-month {
742
+ color: #ffffff;
743
+ background: #8ba5c0;
744
+ font-size: 0.8em !important;
745
+ letter-spacing: 0.2em;
746
+ padding: 0.1em;
747
+ text-transform: uppercase;
748
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
749
+ }
750
+ .ai1ec-agenda-view .ai1ec-day {
751
+ font-size: 2.2em !important;
752
+ padding: 0.3em 0 0.2em !important;
753
+ }
754
+ .ai1ec-agenda-view .ai1ec-weekday {
755
+ font-size: 0.8em !important;
756
+ line-height: 1.5em;
757
+ }
758
+ .ai1ec-agenda-view .ai1ec-year {
759
+ color: #ffffff;
760
+ background: #8ba5c0;
761
+ font-size: 0.7em !important;
762
+ letter-spacing: 0.15em;
763
+ padding: 0.05em 0.1em 0;
764
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
765
+ }
766
+ .ai1ec-agenda-view .ai1ec-event {
767
+ position: relative;
768
+ clear: right;
769
+ overflow: hidden;
770
+ font-size: 10pt;
771
+ text-decoration: none;
772
+ padding: 0.1em 0.3em !important;
773
+ margin: 0.5em 0 !important;
774
+ background: #ffffff !important;
775
+ border: 1px solid #d4d4d4;
776
+ -webkit-border-radius: 0.5em;
777
+ -moz-border-radius: 0.5em;
778
+ border-radius: 0.5em;
779
+ }
780
+ .ai1ec-agenda-view .ai1ec-event.ai1ec-expanded {
781
+ border: 2px solid #d4d4d4;
782
+ -webkit-box-shadow: 1px 5px 8px rgba(0, 0, 0, 0.08);
783
+ -moz-box-shadow: 1px 5px 8px rgba(0, 0, 0, 0.08);
784
+ box-shadow: 1px 5px 8px rgba(0, 0, 0, 0.08);
785
+ }
786
+ .ai1ec-agenda-view .ai1ec-event .ai1ec-event-click {
787
+ cursor: pointer;
788
+ line-height: 1.4em;
789
+ color: #507295;
790
+ text-shadow: 0 1px 0 #ffffff;
791
+ }
792
+ .ai1ec-agenda-view .ai1ec-event .ai1ec-event-click:hover > .ai1ec-event-expand {
793
+ visibility: visible;
794
+ }
795
+ .ai1ec-agenda-view .ai1ec-event .ai1ec-event-time {
796
+ float: left;
797
+ margin-right: 0.5em;
798
+ min-height: 1em;
799
+ font-weight: bold;
800
+ line-height: 1.4em;
801
+ }
802
+ .ai1ec-agenda-view .ai1ec-event .ai1ec-event-title {
803
+ margin: 0 0 0 8em;
804
+ font-size: 10pt;
805
+ font-weight: normal;
806
+ }
807
+ .ai1ec-agenda-view .ai1ec-event:hover,
808
+ .ai1ec-agenda-view .ai1ec-event.ai1ec-expanded:hover {
809
+ border-color: #aeaeae;
810
+ }
811
+ .ai1ec-agenda-view .ai1ec-event:hover .ai1ec-event-click {
812
+ color: #354c63;
813
+ }
814
+ .ai1ec-agenda-view .ai1ec-event.ai1ec-allday {
815
+ padding: 0 !important;
816
+ }
817
+ .ai1ec-agenda-view .ai1ec-event.ai1ec-allday .ai1ec-event-click {
818
+ color: #ffffff;
819
+ background: #507295;
820
+ padding: 0.1em 0.4em;
821
+ -webkit-border-radius: 0.3em;
822
+ -moz-border-radius: 0.3em;
823
+ border-radius: 0.3em;
824
+ text-shadow: none;
825
+ }
826
+ .ai1ec-agenda-view .ai1ec-event.ai1ec-allday .ai1ec-event-time {
827
+ color: #ffffff;
828
+ }
829
+ .ai1ec-agenda-view .ai1ec-event.ai1ec-allday .ai1ec-event-title {
830
+ margin: 0;
831
+ }
832
+ .ai1ec-agenda-view .ai1ec-event.ai1ec-allday:hover .ai1ec-event-click {
833
+ color: #ffffff;
834
+ background: #354c63;
835
+ }
836
+ .ai1ec-agenda-view .ai1ec-allday-label {
837
+ font-size: 8pt;
838
+ color: rgba(255, 255, 255, 0.5);
839
+ padding-left: 0.2em;
840
+ }
841
+ .ai1ec-agenda-view .ai1ec-event-expand {
842
+ float: right;
843
+ margin-left: 0.5em;
844
+ visibility: hidden;
845
+ font-size: 9pt;
846
+ }
847
+ .ai1ec-agenda-view .ai1ec-category-colors {
848
+ float: left;
849
+ font-size: 0.9em;
850
+ margin: 0.2em 0.2em -0.2em -0.1em;
851
+ }
852
+ .ai1ec-agenda-view .ai1ec-category-colors .ai1ec-category-color {
853
+ padding: 1px;
854
+ }
855
+ .ai1ec-agenda-view .ai1ec-event-summary {
856
+ display: none;
857
+ }
858
+ .ai1ec-agenda-view .ai1ec-event-summary .ai1ec-event-title {
859
+ margin: 0.1em 0;
860
+ font-size: 11pt;
861
+ line-height: 1.1em;
862
+ }
863
+ .ai1ec-agenda-view .ai1ec-event-summary .ai1ec-event-time {
864
+ width: auto;
865
+ float: none;
866
+ font-size: 9pt;
867
+ line-height: 1.5em;
868
+ }
869
+ .ai1ec-agenda-view .ai1ec-event-summary .ai1ec-event-click {
870
+ border-bottom: 1px solid #dddddd;
871
+ margin-bottom: 0.4em;
872
+ padding: 0.5em 0.25em;
873
+ }
874
+ .ai1ec-agenda-view .ai1ec-allday .ai1ec-event-summary .ai1ec-event-click {
875
+ border-bottom: none;
876
+ -webkit-border-radius: 0.3em 0.3em 0 0;
877
+ -moz-border-radius: 0.3em 0.3em 0 0;
878
+ border-radius: 0.3em 0.3em 0 0;
879
+ padding: 0.4em 0.6em;
880
+ }
881
+ .ai1ec-agenda-view .ai1ec-categories,
882
+ .ai1ec-agenda-view .ai1ec-tags {
883
+ font-size: 8pt;
884
+ }
885
+ .ai1ec-agenda-view .ai1ec-event-description,
886
+ .ai1ec-agenda-view .ai1ec-event-description p {
887
+ font-size: 9pt;
888
+ line-height: 1.5em;
889
+ }
890
+ .ai1ec-agenda-view .ai1ec-event-description {
891
+ clear: both;
892
+ overflow: hidden;
893
+ padding: 0 0.25em 3.6em;
894
+ max-height: 20em;
895
+ }
896
+ .ai1ec-agenda-view .ai1ec-event-description p {
897
+ margin: 0.5em 0 0.75em !important;
898
+ padding: 0 !important;
899
+ }
900
+ .ai1ec-agenda-view .ai1ec-event-description .ai1ec-label {
901
+ font-size: 8pt;
902
+ }
903
+ .ai1ec-agenda-view .ai1ec-allday .ai1ec-event-description {
904
+ position: relative;
905
+ overflow: hidden;
906
+ padding: 0 0.65em 3.5em;
907
+ }
908
+ .ai1ec-agenda-view .ai1ec-event-overlay {
909
+ position: absolute;
910
+ z-index: 5;
911
+ bottom: 0;
912
+ left: 0;
913
+ right: 0;
914
+ padding: 0.4em 0.5em;
915
+ -webkit-border-radius: 0 0 0.5em 0.5em;
916
+ -moz-border-radius: 0 0 0.5em 0.5em;
917
+ border-radius: 0 0 0.5em 0.5em;
918
+ background: rgba(252, 252, 240, 0.85);
919
+ background: -moz-linear-gradient(top, rgba(255, 255, 255, 0.75), #fafae3);
920
+ background: -ms-linear-gradient(top, rgba(255, 255, 255, 0.75), #fafae3);
921
+ background: -webkit-gradient(linear, 0 0, 0 100%, from(rgba(255, 255, 255, 0.75)), to(#fafae3));
922
+ background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.75), #fafae3);
923
+ background: -o-linear-gradient(top, rgba(255, 255, 255, 0.75), #fafae3);
924
+ background: linear-gradient(top, rgba(255, 255, 255, 0.75), #fafae3);
925
+ background-repeat: repeat-x;
926
+ }
927
+ .ai1ec-agenda-view .ai1ec-read-more {
928
+ float: right;
929
+ margin: 0.6em 0 0.2em;
930
+ }
931
+ .ai1ec-subscribe {
932
+ clear: both;
933
+ }
934
+ .ai1ec-subscribe-filtered {
935
+ display: none;
936
+ }
937
+ i.icon-print {
938
+ padding: 0 7px;
939
+ }
themes-ai1ec/vortex/css/event.css CHANGED
@@ -1 +1,214 @@
1
- .clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;content:""}.clearfix:after{clear:both}.hide-text{overflow:hidden;text-indent:100%;white-space:nowrap}.input-block-level{display:block;width:100%;min-height:28px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box}.ai1ec-full-event{border:none!important;border-collapse:collapse!important;width:100%;margin-bottom:.5em!important}.ai1ec-full-event td{font-size:10pt!important}.ai1ec-full-event th,.ai1ec-full-event td{line-height:14pt!important;padding:.3em .5em!important;border:none!important;vertical-align:top}.ai1ec-full-event th.ai1ec-empty,.ai1ec-full-event td.ai1ec-empty{padding:0!important}.ai1ec-full-event th{color:#888!important;font-size:9pt!important;font-family:sans-serif!important;font-weight:bold;background:rgba(0,0,0,0.05600000000000001);background:-webkit-gradient(linear,0 0,100% 0,from(rgba(0,0,0,0.028000000000000004)),color-stop(90%,rgba(0,0,0,0.07)),to(rgba(0,0,0,0)));background:-webkit-linear-gradient(left,rgba(0,0,0,0.028000000000000004),rgba(0,0,0,0.07) 90%,rgba(0,0,0,0));background:-moz-linear-gradient(left,rgba(0,0,0,0.028000000000000004),rgba(0,0,0,0.07) 90%,rgba(0,0,0,0));background:-ms-linear-gradient(left,rgba(0,0,0,0.028000000000000004),rgba(0,0,0,0.07) 90%,rgba(0,0,0,0));background:-o-linear-gradient(left,rgba(0,0,0,0.028000000000000004),rgba(0,0,0,0.07) 90%,rgba(0,0,0,0));background:linear-gradient(left,rgba(0,0,0,0.028000000000000004),rgba(0,0,0,0.07) 90%,rgba(0,0,0,0));background-repeat:no-repeat;text-align:right;text-shadow:0 1px 0 #fff;width:6em}.ai1ec-multi-event th,.ai1ec-multi-event td{padding:.3em .5em!important}.ai1ec-full-event .ai1ec-time{line-height:16pt!important;vertical-align:middle}.ai1ec-full-event td.ai1ec-time{font-weight:bold;font-size:11pt!important}.ai1ec-full-event .ai1ec-allday-label{font-size:10pt!important;color:rgba(51,51,51,0.5);padding-left:.2em}.ai1ec-multi-event .ai1ec-time{line-height:15pt!important}.ai1ec-multi-event td.ai1ec-time{font-size:10pt!important}.ai1ec-multi-event .ai1ec-allday-label{font-size:9pt!important}.ai1ec-full-event td.ai1ec-location{min-width:30%}.ai1ec-full-event td.ai1ec-map{text-align:right}.ai1ec-full-event td.ai1ec-map.ai1ec-has-map{width:55%;text-align:left}.ai1ec-full-event .ai1ec-gmap-container{border:1px solid #ddd;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;margin-bottom:.3em;position:relative}.ai1ec-full-event #ai1ec-gmap-canvas{min-width:18em;width:100%;height:12em}.ai1ec-full-event .ai1ec-gmap-link{position:absolute;margin:0;font-size:.8em!important;bottom:-1px;right:-1px}.ai1ec-full-event #ai1ec-gmap-canvas input{margin:0!important}.ai1ec-multi-event .ai1ec-gmap-link{font-size:8pt!important;margin:-0.2em 0}.ai1ec-gmap-placeholder{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;color:#507295;cursor:pointer;height:12em;border:1px dashed #ddd;min-width:18em;margin-bottom:.3em;text-align:center;width:100%}.ai1ec-gmap-placeholder:hover{border-color:#b7b7b7;color:#354c63}.ai1ec-gmap-placeholder strong{position:relative;top:45%}.ai1ec-gmap-container-hidden{position:absolute!important;visibility:hidden}.ai1ec-full-event .ai1ec-contact a{white-space:nowrap}.ai1ec-full-event td.ai1ec-tags,.ai1ec-full-event td.ai1ec-categories{padding:.1em .2em!important}.ai1ec-full-event .ai1ec-category{float:left}.ai1ec-multi-event .ai1ec-category{font-size:8pt!important}.ai1ec-event-footer{clear:left;font-size:.9em!important;font-style:italic}.ai1ec-ics-icon{background:url(../img/ics-icon.png) no-repeat right;padding-right:15px}.ai1ec-excerpt{margin-bottom:.5em;font-size:10pt!important;line-height:1.6em;overflow:hidden}.ai1ec-excerpt>div{padding-left:7.2em}.ai1ec-excerpt .ai1ec-label{clear:left;float:left;background:rgba(0,0,0,0.05600000000000001);background:-webkit-gradient(linear,0 0,100% 0,from(rgba(0,0,0,0.4)),color-stop(90%,rgba(0,0,0,0.07)),to(rgba(0,0,0,0)));background:-webkit-linear-gradient(left,rgba(0,0,0,0.4),rgba(0,0,0,0.07) 90%,rgba(0,0,0,0));background:-moz-linear-gradient(left,rgba(0,0,0,0.4),rgba(0,0,0,0.07) 90%,rgba(0,0,0,0));background:-ms-linear-gradient(left,rgba(0,0,0,0.4),rgba(0,0,0,0.07) 90%,rgba(0,0,0,0));background:-o-linear-gradient(left,rgba(0,0,0,0.4),rgba(0,0,0,0.07) 90%,rgba(0,0,0,0));background:linear-gradient(left,rgba(0,0,0,0.4),rgba(0,0,0,0.07) 90%,rgba(0,0,0,0));background-repeat:no-repeat;margin-left:-7.2em;padding:0 .6em!important;text-align:right;text-shadow:0 1px 0 #fff;width:6em}.ai1ec-excerpt .ai1ec-time{font-weight:bold}.ai1ec-excerpt .ai1ec-event-link{float:right;font-size:8pt!important}.ai1ec-excerpt .ai1ec-allday-label{font-size:9pt!important;color:#bbb;padding-left:.2em}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .clearfix {
2
+ *zoom: 1;
3
+ }
4
+ .clearfix:before,
5
+ .clearfix:after {
6
+ display: table;
7
+ content: "";
8
+ }
9
+ .clearfix:after {
10
+ clear: both;
11
+ }
12
+ .hide-text {
13
+ overflow: hidden;
14
+ text-indent: 100%;
15
+ white-space: nowrap;
16
+ }
17
+ .input-block-level {
18
+ display: block;
19
+ width: 100%;
20
+ min-height: 28px;
21
+ /* Make inputs at least the height of their button counterpart */
22
+
23
+ /* Makes inputs behave like true block-level elements */
24
+
25
+ -webkit-box-sizing: border-box;
26
+ -moz-box-sizing: border-box;
27
+ -ms-box-sizing: border-box;
28
+ box-sizing: border-box;
29
+ }
30
+ .ai1ec-full-event {
31
+ border: none !important;
32
+ border-collapse: collapse !important;
33
+ width: 100%;
34
+ margin-bottom: 0.5em !important;
35
+ }
36
+ .ai1ec-full-event td {
37
+ font-size: 10pt !important;
38
+ }
39
+ .ai1ec-full-event th,
40
+ .ai1ec-full-event td {
41
+ line-height: 14pt !important;
42
+ padding: 0.3em 0.5em !important;
43
+ border: none !important;
44
+ vertical-align: top;
45
+ }
46
+ .ai1ec-full-event th.ai1ec-empty,
47
+ .ai1ec-full-event td.ai1ec-empty {
48
+ padding: 0 !important;
49
+ }
50
+ .ai1ec-full-event th {
51
+ color: #888 !important;
52
+ font-size: 9pt !important;
53
+ font-family: sans-serif !important;
54
+ font-weight: bold;
55
+ background: rgba(0, 0, 0, 0.05600000000000001);
56
+ background: -webkit-gradient(linear, 0 0, 100% 0, from(rgba(0, 0, 0, 0.028000000000000004)), color-stop(90%, rgba(0, 0, 0, 0.07)), to(rgba(0, 0, 0, 0)));
57
+ background: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.028000000000000004), rgba(0, 0, 0, 0.07) 90%, rgba(0, 0, 0, 0));
58
+ background: -moz-linear-gradient(left, rgba(0, 0, 0, 0.028000000000000004), rgba(0, 0, 0, 0.07) 90%, rgba(0, 0, 0, 0));
59
+ background: -ms-linear-gradient(left, rgba(0, 0, 0, 0.028000000000000004), rgba(0, 0, 0, 0.07) 90%, rgba(0, 0, 0, 0));
60
+ background: -o-linear-gradient(left, rgba(0, 0, 0, 0.028000000000000004), rgba(0, 0, 0, 0.07) 90%, rgba(0, 0, 0, 0));
61
+ background: linear-gradient(left, rgba(0, 0, 0, 0.028000000000000004), rgba(0, 0, 0, 0.07) 90%, rgba(0, 0, 0, 0));
62
+ background-repeat: no-repeat;
63
+ text-align: right;
64
+ text-shadow: 0 1px 0 #ffffff;
65
+ width: 6em;
66
+ }
67
+ .ai1ec-multi-event th,
68
+ .ai1ec-multi-event td {
69
+ padding: 0.3em 0.5em !important;
70
+ }
71
+ .ai1ec-full-event .ai1ec-time {
72
+ line-height: 16pt !important;
73
+ vertical-align: middle;
74
+ }
75
+ .ai1ec-full-event td.ai1ec-time {
76
+ font-weight: bold;
77
+ font-size: 11pt !important;
78
+ }
79
+ .ai1ec-full-event .ai1ec-allday-label {
80
+ font-size: 10pt !important;
81
+ color: rgba(51, 51, 51, 0.5);
82
+ padding-left: 0.2em;
83
+ }
84
+ .ai1ec-multi-event .ai1ec-time {
85
+ line-height: 15pt !important;
86
+ }
87
+ .ai1ec-multi-event td.ai1ec-time {
88
+ font-size: 10pt !important;
89
+ }
90
+ .ai1ec-multi-event .ai1ec-allday-label {
91
+ font-size: 9pt !important;
92
+ }
93
+ .ai1ec-full-event td.ai1ec-location {
94
+ min-width: 30%;
95
+ }
96
+ .ai1ec-full-event td.ai1ec-map {
97
+ text-align: right;
98
+ }
99
+ .ai1ec-full-event td.ai1ec-map.ai1ec-has-map {
100
+ width: 55%;
101
+ text-align: left;
102
+ }
103
+ .ai1ec-full-event .ai1ec-gmap-container {
104
+ border: 1px solid #dddddd;
105
+ -webkit-border-radius: 4px;
106
+ -moz-border-radius: 4px;
107
+ border-radius: 4px;
108
+ margin-bottom: 0.3em;
109
+ position: relative;
110
+ }
111
+ .ai1ec-full-event #ai1ec-gmap-canvas {
112
+ min-width: 18em;
113
+ width: 100%;
114
+ height: 12em;
115
+ }
116
+ .ai1ec-full-event .ai1ec-gmap-link {
117
+ position: absolute;
118
+ margin: 0;
119
+ font-size: 0.8em !important;
120
+ bottom: -1px;
121
+ right: -1px;
122
+ }
123
+ .ai1ec-full-event #ai1ec-gmap-canvas input {
124
+ margin: 0 !important;
125
+ }
126
+ .ai1ec-multi-event .ai1ec-gmap-link {
127
+ font-size: 8pt !important;
128
+ margin: -0.2em 0;
129
+ }
130
+ .ai1ec-gmap-placeholder {
131
+ -webkit-border-radius: 4px;
132
+ -moz-border-radius: 4px;
133
+ border-radius: 4px;
134
+ color: #507295;
135
+ cursor: pointer;
136
+ height: 12em;
137
+ border: 1px dashed #dddddd;
138
+ min-width: 18em;
139
+ margin-bottom: 0.3em;
140
+ text-align: center;
141
+ width: 100%;
142
+ }
143
+ .ai1ec-gmap-placeholder:hover {
144
+ border-color: #b7b7b7;
145
+ color: #354c63;
146
+ }
147
+ .ai1ec-gmap-placeholder strong {
148
+ position: relative;
149
+ top: 45%;
150
+ }
151
+ .ai1ec-gmap-container-hidden {
152
+ position: absolute !important;
153
+ visibility: hidden;
154
+ }
155
+ .ai1ec-full-event .ai1ec-contact a {
156
+ white-space: nowrap;
157
+ }
158
+ .ai1ec-full-event td.ai1ec-tags,
159
+ .ai1ec-full-event td.ai1ec-categories {
160
+ padding: 0.1em 0.2em !important;
161
+ }
162
+ .ai1ec-full-event .ai1ec-category {
163
+ float: left;
164
+ }
165
+ .ai1ec-multi-event .ai1ec-category {
166
+ font-size: 8pt !important;
167
+ }
168
+ .ai1ec-event-footer {
169
+ clear: left;
170
+ font-size: 0.9em !important;
171
+ font-style: italic;
172
+ }
173
+ .ai1ec-ics-icon {
174
+ background: url(../img/ics-icon.png) no-repeat right;
175
+ padding-right: 15px;
176
+ }
177
+ .ai1ec-excerpt {
178
+ margin-bottom: 0.5em;
179
+ font-size: 10pt !important;
180
+ line-height: 1.6em;
181
+ overflow: hidden;
182
+ }
183
+ .ai1ec-excerpt > div {
184
+ padding-left: 7.2em;
185
+ }
186
+ .ai1ec-excerpt .ai1ec-label {
187
+ clear: left;
188
+ float: left;
189
+ background: rgba(0, 0, 0, 0.05600000000000001);
190
+ background: -webkit-gradient(linear, 0 0, 100% 0, from(rgba(0, 0, 0, 0.4)), color-stop(90%, rgba(0, 0, 0, 0.07)), to(rgba(0, 0, 0, 0)));
191
+ background: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.07) 90%, rgba(0, 0, 0, 0));
192
+ background: -moz-linear-gradient(left, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.07) 90%, rgba(0, 0, 0, 0));
193
+ background: -ms-linear-gradient(left, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.07) 90%, rgba(0, 0, 0, 0));
194
+ background: -o-linear-gradient(left, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.07) 90%, rgba(0, 0, 0, 0));
195
+ background: linear-gradient(left, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.07) 90%, rgba(0, 0, 0, 0));
196
+ background-repeat: no-repeat;
197
+ margin-left: -7.2em;
198
+ padding: 0 0.6em !important;
199
+ text-align: right;
200
+ text-shadow: 0 1px 0 #ffffff;
201
+ width: 6em;
202
+ }
203
+ .ai1ec-excerpt .ai1ec-time {
204
+ font-weight: bold;
205
+ }
206
+ .ai1ec-excerpt .ai1ec-event-link {
207
+ float: right;
208
+ font-size: 8pt !important;
209
+ }
210
+ .ai1ec-excerpt .ai1ec-allday-label {
211
+ font-size: 9pt !important;
212
+ color: #bbb;
213
+ padding-left: 0.2em;
214
+ }
themes-ai1ec/vortex/css/general.css CHANGED
@@ -1 +1,1808 @@
1
- .clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;content:""}.clearfix:after{clear:both}.hide-text{overflow:hidden;text-indent:100%;white-space:nowrap}.input-block-level{display:block;width:100%;min-height:28px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box}@font-face{font-family:'FontAwesome';src:url('../font/fontawesome-webfont.eot');src:url('../font/fontawesome-webfont.eot?#iefix') format('embedded-opentype'),url('../font/fontawesome-webfont.woff') format('woff'),url('../font/fontawesome-webfont.ttf') format('truetype'),url('../font/fontawesome-webfont.svgz#FontAwesomeRegular') format('svg'),url('../font/fontawesome-webfont.svg#FontAwesomeRegular') format('svg');font-weight:normal;font-style:normal}[class^="icon-"],[class*=" icon-"]{display:inline;width:auto;height:auto;line-height:inherit;vertical-align:baseline;background-image:none;background-position:0 0;background-repeat:repeat}li[class^="icon-"],li[class*=" icon-"]{display:block}[class^="icon-"]:before,[class*=" icon-"]:before{font-family:FontAwesome;font-weight:normal;font-style:normal;display:inline-block;text-decoration:inherit}a [class^="icon-"],a [class*=" icon-"]{display:inline-block;text-decoration:inherit}.icon-large:before{vertical-align:top;font-size:1.3333333333333333em}.btn [class^="icon-"],.btn [class*=" icon-"]{line-height:.9em}li [class^="icon-"],li [class*=" icon-"]{display:inline-block;width:1.25em;text-align:center}li .icon-large[class^="icon-"],li .icon-large[class*=" icon-"]{width:1.875em}li[class^="icon-"],li[class*=" icon-"]{margin-left:0;list-style-type:none}li[class^="icon-"]:before,li[class*=" icon-"]:before{text-indent:-2em;text-align:center}li[class^="icon-"].icon-large:before,li[class*=" icon-"].icon-large:before{text-indent:-1.3333333333333333em}.icon-glass:before{content:"\f000"}.icon-music:before{content:"\f001"}.icon-search:before{content:"\f002"}.icon-envelope:before{content:"\f003"}.icon-heart:before{content:"\f004"}.icon-star:before{content:"\f005"}.icon-star-empty:before{content:"\f006"}.icon-user:before{content:"\f007"}.icon-film:before{content:"\f008"}.icon-th-large:before{content:"\f009"}.icon-th:before{content:"\f00a"}.icon-th-list:before{content:"\f00b"}.icon-ok:before{content:"\f00c"}.icon-remove:before{content:"\f00d"}.icon-zoom-in:before{content:"\f00e"}.icon-zoom-out:before{content:"\f010"}.icon-off:before{content:"\f011"}.icon-signal:before{content:"\f012"}.icon-cog:before{content:"\f013"}.icon-trash:before{content:"\f014"}.icon-home:before{content:"\f015"}.icon-file:before{content:"\f016"}.icon-time:before{content:"\f017"}.icon-road:before{content:"\f018"}.icon-download-alt:before{content:"\f019"}.icon-download:before{content:"\f01a"}.icon-upload:before{content:"\f01b"}.icon-inbox:before{content:"\f01c"}.icon-play-circle:before{content:"\f01d"}.icon-repeat:before{content:"\f01e"}.icon-refresh:before{content:"\f021"}.icon-list-alt:before{content:"\f022"}.icon-lock:before{content:"\f023"}.icon-flag:before{content:"\f024"}.icon-headphones:before{content:"\f025"}.icon-volume-off:before{content:"\f026"}.icon-volume-down:before{content:"\f027"}.icon-volume-up:before{content:"\f028"}.icon-qrcode:before{content:"\f029"}.icon-barcode:before{content:"\f02a"}.icon-tag:before{content:"\f02b"}.icon-tags:before{content:"\f02c"}.icon-book:before{content:"\f02d"}.icon-bookmark:before{content:"\f02e"}.icon-print:before{content:"\f02f"}.icon-camera:before{content:"\f030"}.icon-font:before{content:"\f031"}.icon-bold:before{content:"\f032"}.icon-italic:before{content:"\f033"}.icon-text-height:before{content:"\f034"}.icon-text-width:before{content:"\f035"}.icon-align-left:before{content:"\f036"}.icon-align-center:before{content:"\f037"}.icon-align-right:before{content:"\f038"}.icon-align-justify:before{content:"\f039"}.icon-list:before{content:"\f03a"}.icon-indent-left:before{content:"\f03b"}.icon-indent-right:before{content:"\f03c"}.icon-facetime-video:before{content:"\f03d"}.icon-picture:before{content:"\f03e"}.icon-pencil:before{content:"\f040"}.icon-map-marker:before{content:"\f041"}.icon-adjust:before{content:"\f042"}.icon-tint:before{content:"\f043"}.icon-edit:before{content:"\f044"}.icon-share:before{content:"\f045"}.icon-check:before{content:"\f046"}.icon-move:before{content:"\f047"}.icon-step-backward:before{content:"\f048"}.icon-fast-backward:before{content:"\f049"}.icon-backward:before{content:"\f04a"}.icon-play:before{content:"\f04b"}.icon-pause:before{content:"\f04c"}.icon-stop:before{content:"\f04d"}.icon-forward:before{content:"\f04e"}.icon-fast-forward:before{content:"\f050"}.icon-step-forward:before{content:"\f051"}.icon-eject:before{content:"\f052"}.icon-chevron-left:before{content:"\f053"}.icon-chevron-right:before{content:"\f054"}.icon-plus-sign:before{content:"\f055"}.icon-minus-sign:before{content:"\f056"}.icon-remove-sign:before{content:"\f057"}.icon-ok-sign:before{content:"\f058"}.icon-question-sign:before{content:"\f059"}.icon-info-sign:before{content:"\f05a"}.icon-screenshot:before{content:"\f05b"}.icon-remove-circle:before{content:"\f05c"}.icon-ok-circle:before{content:"\f05d"}.icon-ban-circle:before{content:"\f05e"}.icon-arrow-left:before{content:"\f060"}.icon-arrow-right:before{content:"\f061"}.icon-arrow-up:before{content:"\f062"}.icon-arrow-down:before{content:"\f063"}.icon-share-alt:before{content:"\f064"}.icon-resize-full:before{content:"\f065"}.icon-resize-small:before{content:"\f066"}.icon-plus:before{content:"\f067"}.icon-minus:before{content:"\f068"}.icon-asterisk:before{content:"\f069"}.icon-exclamation-sign:before{content:"\f06a"}.icon-gift:before{content:"\f06b"}.icon-leaf:before{content:"\f06c"}.icon-fire:before{content:"\f06d"}.icon-eye-open:before{content:"\f06e"}.icon-eye-close:before{content:"\f070"}.icon-warning-sign:before{content:"\f071"}.icon-plane:before{content:"\f072"}.icon-calendar:before{content:"\f073"}.icon-random:before{content:"\f074"}.icon-comment:before{content:"\f075"}.icon-magnet:before{content:"\f076"}.icon-chevron-up:before{content:"\f077"}.icon-chevron-down:before{content:"\f078"}.icon-retweet:before{content:"\f079"}.icon-shopping-cart:before{content:"\f07a"}.icon-folder-close:before{content:"\f07b"}.icon-folder-open:before{content:"\f07c"}.icon-resize-vertical:before{content:"\f07d"}.icon-resize-horizontal:before{content:"\f07e"}.icon-bar-chart:before{content:"\f080"}.icon-twitter-sign:before{content:"\f081"}.icon-facebook-sign:before{content:"\f082"}.icon-camera-retro:before{content:"\f083"}.icon-key:before{content:"\f084"}.icon-cogs:before{content:"\f085"}.icon-comments:before{content:"\f086"}.icon-thumbs-up:before{content:"\f087"}.icon-thumbs-down:before{content:"\f088"}.icon-star-half:before{content:"\f089"}.icon-heart-empty:before{content:"\f08a"}.icon-signout:before{content:"\f08b"}.icon-linkedin-sign:before{content:"\f08c"}.icon-pushpin:before{content:"\f08d"}.icon-external-link:before{content:"\f08e"}.icon-signin:before{content:"\f090"}.icon-trophy:before{content:"\f091"}.icon-github-sign:before{content:"\f092"}.icon-upload-alt:before{content:"\f093"}.icon-lemon:before{content:"\f094"}.thenly{margin:0;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;line-height:16px;color:#333;background-color:#fff}.thenly article,.thenly aside,.thenly details,.thenly figcaption,.thenly figure,.thenly footer,.thenly header,.thenly hgroup,.thenly nav,.thenly section{display:block}.thenly audio,.thenly canvas,.thenly video{display:inline-block;*display:inline;*zoom:1}.thenly audio:not([controls]){display:none}.thenly html{font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}.thenly a:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.thenly a:hover,.thenly a:active{outline:0}.thenly sub,.thenly sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}.thenly sup{top:-0.5em}.thenly sub{bottom:-0.25em}.thenly img{height:auto;border:0;-ms-interpolation-mode:bicubic;vertical-align:middle}.thenly button,.thenly input,.thenly select,.thenly textarea{margin:0;font-size:100%;vertical-align:middle}.thenly button,.thenly input{*overflow:visible;line-height:normal}.thenly button::-moz-focus-inner,.thenly input::-moz-focus-inner{padding:0;border:0}.thenly button,.thenly input[type="button"],.thenly input[type="reset"],.thenly input[type="submit"]{cursor:pointer;-webkit-appearance:button}.thenly input[type="search"]{-webkit-appearance:textfield;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.thenly input[type="search"]::-webkit-search-decoration,.thenly input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none}.thenly textarea{overflow:auto;vertical-align:top}.thenly body{margin:0;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;line-height:16px;color:#333;background-color:#fff}.thenly a{color:#507295;text-decoration:none}.thenly a:hover{color:#354c63;text-decoration:underline}.thenly p{margin:0 0 8px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;line-height:16px}.thenly p small{font-size:11px;color:#999}.thenly .lead{margin-bottom:16px;font-size:20px;font-weight:200;line-height:24px}.thenly h1,.thenly h2,.thenly h3,.thenly h4,.thenly h5,.thenly h6{margin:0;font-family:Calibri,Nunito,'Helvetica Neue',Helvetica,Arial,sans-serif;font-weight:bold;color:#333;text-rendering:optimizelegibility}.thenly h1 small,.thenly h2 small,.thenly h3 small,.thenly h4 small,.thenly h5 small,.thenly h6 small{font-weight:normal;color:#999}.thenly h1{font-size:30px;line-height:32px}.thenly h1 small{font-size:18px}.thenly h2{font-size:24px;line-height:32px}.thenly h2 small{font-size:18px}.thenly h3{line-height:24px;font-size:18px}.thenly h3 small{font-size:14px}.thenly h4,.thenly h5,.thenly h6{line-height:16px}.thenly h4{font-size:14px}.thenly h4 small{font-size:12px}.thenly h5{font-size:12px}.thenly h6{font-size:11px;color:#999;text-transform:uppercase}.thenly .page-header{padding-bottom:15px;margin:16px 0;border-bottom:1px solid #eee}.thenly .page-header h1{line-height:1}.thenly ul,.thenly ol{padding:0;margin:0 0 8px 25px}.thenly ul ul,.thenly ul ol,.thenly ol ol,.thenly ol ul{margin-bottom:0}.thenly ul{list-style:disc}.thenly ol{list-style:decimal}.thenly li{line-height:16px}.thenly ul.unstyled,.thenly ol.unstyled{margin-left:0;list-style:none}.thenly dl{margin-bottom:16px}.thenly dt,.thenly dd{line-height:16px}.thenly dt{font-weight:bold;line-height:15px}.thenly dd{margin-left:8px}.thenly .dl-horizontal dt{float:left;clear:left;width:120px;text-align:right}.thenly .dl-horizontal dd{margin-left:130px}.thenly hr{margin:16px 0;border:0;border-top:1px solid #eee;border-bottom:1px solid #fff}.thenly strong{font-weight:bold}.thenly em{font-style:italic}.thenly .muted{color:#999}.thenly abbr[title]{border-bottom:1px dotted #ddd;cursor:help}.thenly abbr.initialism{font-size:90%;text-transform:uppercase}.thenly blockquote{padding:0 0 0 15px;margin:0 0 16px;border-left:5px solid #eee}.thenly blockquote p{margin-bottom:0;font-size:16px;font-weight:300;line-height:20px}.thenly blockquote small{display:block;line-height:16px;color:#999}.thenly blockquote small:before{content:'\2014 \00A0'}.thenly blockquote.pull-right{float:right;padding-left:0;padding-right:15px;border-left:0;border-right:5px solid #eee}.thenly blockquote.pull-right p,.thenly blockquote.pull-right small{text-align:right}.thenly q:before,.thenly q:after,.thenly blockquote:before,.thenly blockquote:after{content:""}.thenly address{display:block;margin-bottom:16px;line-height:16px;font-style:normal}.thenly small{font-size:100%}.thenly cite{font-style:normal}.thenly .dropdown{position:relative}.thenly .dropdown-toggle{*margin-bottom:-3px}.thenly .dropdown-toggle:active,.thenly .open .dropdown-toggle{outline:0}.thenly .caret{display:inline-block;width:0;height:0;vertical-align:top;border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid #000;opacity:.3;filter:alpha(opacity=30);content:""}.thenly .dropdown .caret{margin-top:8px;margin-left:2px}.thenly .dropdown:hover .caret,.thenly .open.dropdown .caret{opacity:1;filter:alpha(opacity=100)}.thenly .dropdown-menu{position:absolute;top:100%;left:0;z-index:2000;float:left;display:none;min-width:160px;padding:4px 0;margin:0;list-style:none;background-color:#fff;border-color:#ccc;border-color:rgba(0,0,0,0.2);border-style:solid;border-width:1px;-webkit-border-radius:0 0 5px 5px;-moz-border-radius:0 0 5px 5px;border-radius:0 0 5px 5px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,0.2);-moz-box-shadow:0 5px 10px rgba(0,0,0,0.2);box-shadow:0 5px 10px rgba(0,0,0,0.2);-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box;*border-right-width:2px;*border-bottom-width:2px}.thenly .dropdown-menu.pull-right{right:0;left:auto}.thenly .dropdown-menu .divider{height:1px;margin:7px 1px;overflow:hidden;background-color:#e5e5e5;border-bottom:1px solid #fff;*width:100%;*margin:-5px 0 5px}.thenly .dropdown-menu a{display:block;padding:3px 15px;clear:both;font-weight:normal;line-height:16px;color:#333;white-space:nowrap}.thenly .dropdown-menu li>a:hover,.thenly .dropdown-menu .active>a,.thenly .dropdown-menu .active>a:hover{color:#000;text-decoration:none;background-color:#e0efff}.thenly .dropdown.open{*z-index:2000}.thenly .dropdown.open .dropdown-toggle{color:#fff;background:#ccc;background:rgba(0,0,0,0.3)}.thenly .dropdown.open .dropdown-menu{display:block}.thenly .pull-right .dropdown-menu{left:auto;right:0}.thenly .dropup .caret,.thenly .navbar-fixed-bottom .dropdown .caret{border-top:0;border-bottom:4px solid #000;content:"\2191"}.thenly .dropup .dropdown-menu,.thenly .navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:1px}.thenly .typeahead{margin-top:2px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.thenly .btn{display:inline-block;*display:inline;*zoom:1;padding:4px 10px 4px;margin-bottom:0;font-size:13px;line-height:16px;color:#333;text-align:center;text-shadow:0 1px 1px rgba(255,255,255,0.75);vertical-align:middle;background-color:#f5f5f5;background-image:-moz-linear-gradient(top,#fff,#e6e6e6);background-image:-ms-linear-gradient(top,#fff,#e6e6e6);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#e6e6e6));background-image:-webkit-linear-gradient(top,#fff,#e6e6e6);background-image:-o-linear-gradient(top,#fff,#e6e6e6);background-image:linear-gradient(top,#fff,#e6e6e6);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff',endColorstr='#e6e6e6',GradientType=0);border-color:#e6e6e6 #e6e6e6 #bfbfbf;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:dximagetransform.microsoft.gradient(enabled=false);border:1px solid #ccc;border-bottom-color:#b3b3b3;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);box-shadow:inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);cursor:pointer;*margin-left:.3em}.thenly .btn:hover,.thenly .btn:active,.thenly .btn.active,.thenly .btn.disabled,.thenly .btn[disabled]{background-color:#e6e6e6}.thenly .btn:active,.thenly .btn.active{background-color:#ccc \9}.thenly .btn:first-child{*margin-left:0}.thenly .btn:hover{color:#333;text-decoration:none;background-color:#e6e6e6;background-position:0 -15px;-webkit-transition:background-position .1s linear;-moz-transition:background-position .1s linear;-ms-transition:background-position .1s linear;-o-transition:background-position .1s linear;transition:background-position .1s linear}.thenly .btn:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.thenly .btn.active,.thenly .btn:active{background-image:none;-webkit-box-shadow:inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);-moz-box-shadow:inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);box-shadow:inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);background-color:#e6e6e6;background-color:#d9d9d9 \9;outline:0}.thenly .btn.disabled,.thenly .btn[disabled]{cursor:default;background-image:none;background-color:#e6e6e6;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.thenly .btn-large{padding:9px 14px;font-size:15px;line-height:normal;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.thenly .btn-large [class^="icon-"]{margin-top:1px}.thenly .btn-small{padding:5px 9px;font-size:11px;line-height:14px}.thenly .btn-small [class^="icon-"]{margin-top:-1px}.thenly .btn-mini{padding:2px 6px;font-size:11px;line-height:12px}.thenly .btn-primary,.thenly .btn-primary:hover,.thenly .btn-warning,.thenly .btn-warning:hover,.thenly .btn-danger,.thenly .btn-danger:hover,.thenly .btn-success,.thenly .btn-success:hover,.thenly .btn-info,.thenly .btn-info:hover,.thenly .btn-inverse,.thenly .btn-inverse:hover{text-shadow:0 -1px 0 rgba(0,0,0,0.25);color:#fff}.thenly .btn-primary.active,.thenly .btn-warning.active,.thenly .btn-danger.active,.thenly .btn-success.active,.thenly .btn-info.active,.thenly .btn-inverse.active{color:rgba(255,255,255,0.75)}.thenly .btn-primary{background-color:#5977a6;background-image:-moz-linear-gradient(top,#597fa6,#596ca6);background-image:-ms-linear-gradient(top,#597fa6,#596ca6);background-image:-webkit-gradient(linear,0 0,0 100%,from(#597fa6),to(#596ca6));background-image:-webkit-linear-gradient(top,#597fa6,#596ca6);background-image:-o-linear-gradient(top,#597fa6,#596ca6);background-image:linear-gradient(top,#597fa6,#596ca6);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#597fa6',endColorstr='#596ca6',GradientType=0);border-color:#596ca6 #596ca6 #3e4b74;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:dximagetransform.microsoft.gradient(enabled=false)}.thenly .btn-primary:hover,.thenly .btn-primary:active,.thenly .btn-primary.active,.thenly .btn-primary.disabled,.thenly .btn-primary[disabled]{background-color:#596ca6}.thenly .btn-primary:active,.thenly .btn-primary.active{background-color:#475684 \9}.thenly .btn-warning{background-color:#faa732;background-image:-moz-linear-gradient(top,#fbb450,#f89406);background-image:-ms-linear-gradient(top,#fbb450,#f89406);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fbb450),to(#f89406));background-image:-webkit-linear-gradient(top,#fbb450,#f89406);background-image:-o-linear-gradient(top,#fbb450,#f89406);background-image:linear-gradient(top,#fbb450,#f89406);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fbb450',endColorstr='#f89406',GradientType=0);border-color:#f89406 #f89406 #ad6704;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:dximagetransform.microsoft.gradient(enabled=false)}.thenly .btn-warning:hover,.thenly .btn-warning:active,.thenly .btn-warning.active,.thenly .btn-warning.disabled,.thenly .btn-warning[disabled]{background-color:#f89406}.thenly .btn-warning:active,.thenly .btn-warning.active{background-color:#c67605 \9}.thenly .btn-danger{background-color:#da4f49;background-image:-moz-linear-gradient(top,#ee5f5b,#bd362f);background-image:-ms-linear-gradient(top,#ee5f5b,#bd362f);background-image:-webkit-gradient(linear,0 0,0 100%,from(#ee5f5b),to(#bd362f));background-image:-webkit-linear-gradient(top,#ee5f5b,#bd362f);background-image:-o-linear-gradient(top,#ee5f5b,#bd362f);background-image:linear-gradient(top,#ee5f5b,#bd362f);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b',endColorstr='#bd362f',GradientType=0);border-color:#bd362f #bd362f #802420;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:dximagetransform.microsoft.gradient(enabled=false)}.thenly .btn-danger:hover,.thenly .btn-danger:active,.thenly .btn-danger.active,.thenly .btn-danger.disabled,.thenly .btn-danger[disabled]{background-color:#bd362f}.thenly .btn-danger:active,.thenly .btn-danger.active{background-color:#942a25 \9}.thenly .btn-success{background-color:#5bb75b;background-image:-moz-linear-gradient(top,#62c462,#51a351);background-image:-ms-linear-gradient(top,#62c462,#51a351);background-image:-webkit-gradient(linear,0 0,0 100%,from(#62c462),to(#51a351));background-image:-webkit-linear-gradient(top,#62c462,#51a351);background-image:-o-linear-gradient(top,#62c462,#51a351);background-image:linear-gradient(top,#62c462,#51a351);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462',endColorstr='#51a351',GradientType=0);border-color:#51a351 #51a351 #387038;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:dximagetransform.microsoft.gradient(enabled=false)}.thenly .btn-success:hover,.thenly .btn-success:active,.thenly .btn-success.active,.thenly .btn-success.disabled,.thenly .btn-success[disabled]{background-color:#51a351}.thenly .btn-success:active,.thenly .btn-success.active{background-color:#408140 \9}.thenly .btn-info{background-color:#e0efff;background-image:-moz-linear-gradient(top,#e0efff,#e0efff);background-image:-ms-linear-gradient(top,#e0efff,#e0efff);background-image:-webkit-gradient(linear,0 0,0 100%,from(#e0efff),to(#e0efff));background-image:-webkit-linear-gradient(top,#e0efff,#e0efff);background-image:-o-linear-gradient(top,#e0efff,#e0efff);background-image:linear-gradient(top,#e0efff,#e0efff);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#e0efff',endColorstr='#e0efff',GradientType=0);border-color:#e0efff #e0efff #94c8ff;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:dximagetransform.microsoft.gradient(enabled=false)}.thenly .btn-info:hover,.thenly .btn-info:active,.thenly .btn-info.active,.thenly .btn-info.disabled,.thenly .btn-info[disabled]{background-color:#e0efff}.thenly .btn-info:active,.thenly .btn-info.active{background-color:#add5ff \9}.thenly .btn-inverse{background-color:#414141;background-image:-moz-linear-gradient(top,#555,#222);background-image:-ms-linear-gradient(top,#555,#222);background-image:-webkit-gradient(linear,0 0,0 100%,from(#555),to(#222));background-image:-webkit-linear-gradient(top,#555,#222);background-image:-o-linear-gradient(top,#555,#222);background-image:linear-gradient(top,#555,#222);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#555555',endColorstr='#222222',GradientType=0);border-color:#222 #222 #000;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:dximagetransform.microsoft.gradient(enabled=false)}.thenly .btn-inverse:hover,.thenly .btn-inverse:active,.thenly .btn-inverse.active,.thenly .btn-inverse.disabled,.thenly .btn-inverse[disabled]{background-color:#222}.thenly .btn-inverse:active,.thenly .btn-inverse.active{background-color:#080808 \9}.thenly button.btn,.thenly input[type="submit"].btn{*padding-top:2px;*padding-bottom:2px}.thenly button.btn::-moz-focus-inner,.thenly input[type="submit"].btn::-moz-focus-inner{padding:0;border:0}.thenly button.btn.btn-large,.thenly input[type="submit"].btn.btn-large{*padding-top:7px;*padding-bottom:7px}.thenly button.btn.btn-small,.thenly input[type="submit"].btn.btn-small{*padding-top:3px;*padding-bottom:3px}.thenly button.btn.btn-mini,.thenly input[type="submit"].btn.btn-mini{*padding-top:1px;*padding-bottom:1px}.thenly .btn-group{position:relative;*zoom:1;*margin-left:.3em}.thenly .btn-group:before,.thenly .btn-group:after{display:table;content:""}.thenly .btn-group:after{clear:both}.thenly .btn-group:first-child{*margin-left:0}.thenly .btn-group+.btn-group{margin-left:5px}.thenly .btn-toolbar{margin-top:8px;margin-bottom:8px}.thenly .btn-toolbar .btn-group{display:inline-block;*display:inline;*zoom:1}.thenly .btn-group .btn{position:relative;float:left;margin-left:-1px;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.thenly .btn-group .btn:first-child{margin-left:0;-webkit-border-top-left-radius:4px;-moz-border-radius-topleft:4px;border-top-left-radius:4px;-webkit-border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px;border-bottom-left-radius:4px}.thenly .btn-group .btn:last-child,.thenly .btn-group .dropdown-toggle{-webkit-border-top-right-radius:4px;-moz-border-radius-topright:4px;border-top-right-radius:4px;-webkit-border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px;border-bottom-right-radius:4px}.thenly .btn-group .btn.large:first-child{margin-left:0;-webkit-border-top-left-radius:6px;-moz-border-radius-topleft:6px;border-top-left-radius:6px;-webkit-border-bottom-left-radius:6px;-moz-border-radius-bottomleft:6px;border-bottom-left-radius:6px}.thenly .btn-group .btn.large:last-child,.thenly .btn-group .large.dropdown-toggle{-webkit-border-top-right-radius:6px;-moz-border-radius-topright:6px;border-top-right-radius:6px;-webkit-border-bottom-right-radius:6px;-moz-border-radius-bottomright:6px;border-bottom-right-radius:6px}.thenly .btn-group .btn:hover,.thenly .btn-group .btn:focus,.thenly .btn-group .btn:active,.thenly .btn-group .btn.active{z-index:2}.thenly .btn-group .dropdown-toggle:active,.thenly .btn-group.open .dropdown-toggle{outline:0}.thenly .btn-group .dropdown-toggle{padding-left:8px;padding-right:8px;-webkit-box-shadow:inset 1px 0 0 rgba(255,255,255,0.125),inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);-moz-box-shadow:inset 1px 0 0 rgba(255,255,255,0.125),inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);box-shadow:inset 1px 0 0 rgba(255,255,255,0.125),inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);*padding-top:3px;*padding-bottom:3px}.thenly .btn-group .btn-mini.dropdown-toggle{padding-left:5px;padding-right:5px;*padding-top:1px;*padding-bottom:1px}.thenly .btn-group .btn-small.dropdown-toggle{*padding-top:4px;*padding-bottom:4px}.thenly .btn-group .btn-large.dropdown-toggle{padding-left:12px;padding-right:12px}.thenly .btn-group.open{*z-index:2000}.thenly .btn-group.open .dropdown-menu{display:block;margin-top:1px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.thenly .btn-group.open .dropdown-toggle{background-image:none;-webkit-box-shadow:inset 0 1px 6px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);-moz-box-shadow:inset 0 1px 6px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);box-shadow:inset 0 1px 6px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05)}.thenly .btn .caret{margin-top:7px;margin-left:0}.thenly .btn:hover .caret,.thenly .open.btn-group .caret{opacity:1;filter:alpha(opacity=100)}.thenly .btn-mini .caret{margin-top:5px}.thenly .btn-small .caret{margin-top:6px}.thenly .btn-large .caret{margin-top:6px;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #000}.thenly .btn-primary .caret,.thenly .btn-warning .caret,.thenly .btn-danger .caret,.thenly .btn-info .caret,.thenly .btn-success .caret,.thenly .btn-inverse .caret{border-top-color:#fff;border-bottom-color:#fff;opacity:.75;filter:alpha(opacity=75)}.thenly .pull-right{float:right}.thenly .pull-left{float:left}.thenly .hide{display:none}.thenly .show{display:block}.thenly .invisible{visibility:hidden}.thenly .btn-info,.thenly .btn-info:hover,.thenly .btn-info:active,.thenly .btn-info.active,.thenly .btn-info.active:hover{color:#333;text-shadow:0 1px 1px rgba(255,255,255,0.75)}.thenly .btn-toolbar .btn.btn-mini{top:5px}.thenly ul.dropdown-menu li{list-style-type:none!important}.thenly small{margin:0!important}.thenly tr{background:none!important}.tooltip{position:absolute;z-index:2020;display:block;visibility:visible;padding:5px;font-size:11px;opacity:0;filter:alpha(opacity=0)}.tooltip.in{opacity:.8;filter:alpha(opacity=80)}.tooltip.top{margin-top:-2px}.tooltip.right{margin-left:2px}.tooltip.bottom{margin-top:2px}.tooltip.left{margin-left:-2px}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #000}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:5px solid #000}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #000}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-right:5px solid #000}.tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;text-decoration:none;background-color:#000;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0}.ai1ec-loading{position:absolute;z-index:9;top:0;left:0;width:100%;height:100%;background:url(../img/ajax-loader.gif) no-repeat center center;display:none}.ai1ec-label{padding:0 .2em;font-size:9pt;font-weight:bold;color:#999!important}.ai1ec-category{cursor:pointer;font-size:.9em;border:1px solid #dcdcdc;text-shadow:0 1px 0 #fff;padding:2pt 3pt!important;margin:.2em!important;text-decoration:none!important;text-transform:uppercase;letter-spacing:1pt;white-space:nowrap;color:#7f7f7f!important;background:#f0f0f0;border-radius:.3em;-moz-border-radius:.3em;-webkit-border-radius:.3em}.ai1ec-category:hover{color:#333!important;background:#dcdcdc}.ai1ec-category.ai1ec-selected{background:#e0efff;border-color:#b7daff;color:#787e85!important}.ai1ec-category.ai1ec-selected:hover{background:#b7daff;color:#333!important}.ai1ec-category-color{-webkit-border-radius:.2em;-moz-border-radius:.2em;border-radius:.2em;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.25),inset 0 -1px 2px rgba(0,0,0,0.5);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,0.25),inset 0 -1px 2px rgba(0,0,0,0.5);box-shadow:inset 0 1px 0 rgba(255,255,255,0.25),inset 0 -1px 2px rgba(0,0,0,0.5);display:inline-block;height:.9em;margin:0 1px;width:.9em}.ai1ec-tag{color:#507295!important;line-height:1.3em;cursor:pointer;white-space:nowrap;margin:.1em .2em;padding:.1em .2em;-webkit-border-radius:.3em;-moz-border-radius:.3em;border-radius:.3em;display:inline-block}.ai1ec-tag:hover{color:#354c63!important;text-decoration:none}.ai1ec-tag.ai1ec-selected{background:#e0efff}.ai1ec-subscribe-google img{background:none!important;border:none!important;float:left;height:32px!important;margin:-8px .5em -10px 0!important;padding:0!important;width:30px!important}.ai1ec-agenda-widget-view{font-size:.8em!important;overflow:hidden}.ai1ec-agenda-widget-view div{margin:0}.ai1ec-agenda-widget-view .ai1ec-no-results{font-style:italic;font-size:1.4em!important}.ai1ec-agenda-widget-view>ol{margin:0!important;padding:0!important}.ai1ec-agenda-widget-view li{list-style:none!important;border:none!important}.ai1ec-agenda-widget-view .ai1ec-date-events{overflow:hidden;margin:0 .5em 0 0!important;padding:0!important}.ai1ec-agenda-widget-view .ai1ec-date{border-top:1px solid #e5e5e5!important;background:rgba(242,242,242,0.8);background:-webkit-gradient(linear,0 0,0 100%,from(#f2f2f2),color-stop(1em,#f2f2f2),to(rgba(242,242,242,0)));background:-webkit-linear-gradient(#f2f2f2,#f2f2f2 1em,rgba(242,242,242,0));background:-moz-linear-gradient(top,#f2f2f2,#f2f2f2 1em,rgba(242,242,242,0));background:-ms-linear-gradient(#f2f2f2,#f2f2f2 1em,rgba(242,242,242,0));background:-o-linear-gradient(#f2f2f2,#f2f2f2 1em,rgba(242,242,242,0));background:linear-gradient(#f2f2f2,#f2f2f2 1em,rgba(242,242,242,0));background-repeat:no-repeat;margin:0!important;overflow:hidden;padding:0!important}.ai1ec-agenda-widget-view .ai1ec-date.ai1ec-today{border-top:1px solid #f0f0aa!important;background:rgba(244,244,191,0.8);background:-webkit-gradient(linear,0 0,0 100%,from(#f4f4bf),color-stop(1em,#f4f4bf),to(rgba(244,244,191,0)));background:-webkit-linear-gradient(#f4f4bf,#f4f4bf 1em,rgba(244,244,191,0));background:-moz-linear-gradient(top,#f4f4bf,#f4f4bf 1em,rgba(244,244,191,0));background:-ms-linear-gradient(#f4f4bf,#f4f4bf 1em,rgba(244,244,191,0));background:-o-linear-gradient(#f4f4bf,#f4f4bf 1em,rgba(244,244,191,0));background:linear-gradient(#f4f4bf,#f4f4bf 1em,rgba(244,244,191,0));background-repeat:no-repeat}.ai1ec-agenda-widget-view h3.ai1ec-date-title{border:2px solid #8ba5c0;-webkit-border-radius:0 0 .5em .5em;-moz-border-radius:0 0 .5em .5em;border-radius:0 0 .5em .5em;-webkit-box-shadow:0 2px 2px rgba(0,0,0,0.08);-moz-box-shadow:0 2px 2px rgba(0,0,0,0.08);box-shadow:0 2px 2px rgba(0,0,0,0.08);color:#525252;float:left;font-size:1em;font-weight:normal;background-color:#f9f9f9;background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),color-stop(1em,#fff),to(#e0e0e0));background-image:-webkit-linear-gradient(#fff,#fff 1em,#e0e0e0);background-image:-moz-linear-gradient(top,#fff,#fff 1em,#e0e0e0);background-image:-ms-linear-gradient(#fff,#fff 1em,#e0e0e0);background-image:-o-linear-gradient(#fff,#fff 1em,#e0e0e0);background-image:linear-gradient(#fff,#fff 1em,#e0e0e0);background-repeat:no-repeat;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff',endColorstr='#e0e0e0',GradientType=0);line-height:1.1em;margin:0 .5em .5em!important;padding:0!important;text-align:center;text-shadow:0 1px 0 #fff;width:3.5em}.ai1ec-agenda-widget-view .ai1ec-month{text-shadow:0 -1px 0 rgba(0,0,0,0.25);background:#8ba5c0;font-size:.9em!important;padding:.1em 0 .2em;text-transform:uppercase;letter-spacing:.2em;color:#fff}.ai1ec-agenda-widget-view .ai1ec-day{font-size:1.7em!important;padding:.3em 0 .2em!important}.ai1ec-agenda-widget-view .ai1ec-weekday{font-size:.9em!important;line-height:1.5em}.ai1ec-agenda-widget-view .ai1ec-event{clear:right;font-size:1.2em;line-height:1.3em;margin:.5em 0!important;overflow:hidden;padding:0!important;position:relative}.ai1ec-agenda-widget-view .ai1ec-event a{color:#507295;display:block;background:#fff;border:1px solid #d4d4d4;-webkit-border-radius:.4em;-moz-border-radius:.4em;border-radius:.4em;padding:.2em .4em!important;text-decoration:none!important}.ai1ec-agenda-widget-view .ai1ec-event a:hover{border-color:#aeaeae;color:#354c63;text-decoration:none!important}.ai1ec-agenda-widget-view .ai1ec-event .ai1ec-event-time{font-weight:bold}.ai1ec-agenda-widget-view .ai1ec-event .ai1ec-event-title{font-weight:normal}.ai1ec-agenda-widget-view .ai1ec-event.ai1ec-allday a{background:#507295;border:1px solid transparent;color:#fff}.ai1ec-agenda-widget-view .ai1ec-event.ai1ec-allday a:hover{background:#354c63}.ai1ec-agenda-widget-view .ai1ec-event.ai1ec-allday a .ai1ec-event-time{color:#fff}.ai1ec-agenda-widget-view .ai1ec-event .ai1ec-category-colors{font-size:.9em}.ai1ec-agenda-widget-view .ai1ec-event .ai1ec-category-colors .ai1ec-category-color{margin:0 0 -0.1em;padding:1px}.ai1ec-agenda-widget-view .ai1ec-subscribe-google img{width:19px!important;height:20px!important;margin:-5px .5em -5px 0!important}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .clearfix {
2
+ *zoom: 1;
3
+ }
4
+ .clearfix:before,
5
+ .clearfix:after {
6
+ display: table;
7
+ content: "";
8
+ }
9
+ .clearfix:after {
10
+ clear: both;
11
+ }
12
+ .hide-text {
13
+ overflow: hidden;
14
+ text-indent: 100%;
15
+ white-space: nowrap;
16
+ }
17
+ .input-block-level {
18
+ display: block;
19
+ width: 100%;
20
+ min-height: 28px;
21
+ /* Make inputs at least the height of their button counterpart */
22
+
23
+ /* Makes inputs behave like true block-level elements */
24
+
25
+ -webkit-box-sizing: border-box;
26
+ -moz-box-sizing: border-box;
27
+ -ms-box-sizing: border-box;
28
+ box-sizing: border-box;
29
+ }
30
+ /* Font Awesome
31
+ the iconic font designed for use with Twitter Bootstrap
32
+ -------------------------------------------------------
33
+ The full suite of pictographic icons, examples, and documentation
34
+ can be found at: http://fortawesome.github.com/Font-Awesome/
35
+
36
+ License
37
+ -------------------------------------------------------
38
+ The Font Awesome webfont, CSS, and LESS files are licensed under CC BY 3.0:
39
+ http://creativecommons.org/licenses/by/3.0/ A mention of
40
+ 'Font Awesome - http://fortawesome.github.com/Font-Awesome' in human-readable
41
+ source code is considered acceptable attribution (most common on the web).
42
+ If human readable source code is not available to the end user, a mention in
43
+ an 'About' or 'Credits' screen is considered acceptable (most common in desktop
44
+ or mobile software).
45
+
46
+ Contact
47
+ -------------------------------------------------------
48
+ Email: dave@davegandy.com
49
+ Twitter: http://twitter.com/fortaweso_me
50
+ Work: http://lemonwi.se co-founder
51
+
52
+ */
53
+ @font-face {
54
+ font-family: 'FontAwesome';
55
+ src: url('../font/fontawesome-webfont.eot');
56
+ src: url('../font/fontawesome-webfont.eot?#iefix') format('embedded-opentype'), url('../font/fontawesome-webfont.woff') format('woff'), url('../font/fontawesome-webfont.ttf') format('truetype'), url('../font/fontawesome-webfont.svgz#FontAwesomeRegular') format('svg'), url('../font/fontawesome-webfont.svg#FontAwesomeRegular') format('svg');
57
+ font-weight: normal;
58
+ font-style: normal;
59
+ }
60
+ /* sprites.less reset */
61
+ [class^="icon-"],
62
+ [class*=" icon-"] {
63
+ display: inline;
64
+ width: auto;
65
+ height: auto;
66
+ line-height: inherit;
67
+ vertical-align: baseline;
68
+ background-image: none;
69
+ background-position: 0% 0%;
70
+ background-repeat: repeat;
71
+ }
72
+ li[class^="icon-"],
73
+ li[class*=" icon-"] {
74
+ display: block;
75
+ }
76
+ /* Font Awesome styles
77
+ ------------------------------------------------------- */
78
+ [class^="icon-"]:before,
79
+ [class*=" icon-"]:before {
80
+ font-family: FontAwesome;
81
+ font-weight: normal;
82
+ font-style: normal;
83
+ display: inline-block;
84
+ text-decoration: inherit;
85
+ }
86
+ a [class^="icon-"],
87
+ a [class*=" icon-"] {
88
+ display: inline-block;
89
+ text-decoration: inherit;
90
+ }
91
+ /* makes the font 33% larger relative to the icon container */
92
+ .icon-large:before {
93
+ vertical-align: top;
94
+ font-size: 1.3333333333333333em;
95
+ }
96
+ .btn [class^="icon-"],
97
+ .btn [class*=" icon-"] {
98
+ /* keeps button heights with and without icons the same */
99
+
100
+ line-height: .9em;
101
+ }
102
+ li [class^="icon-"],
103
+ li [class*=" icon-"] {
104
+ display: inline-block;
105
+ width: 1.25em;
106
+ text-align: center;
107
+ }
108
+ li .icon-large[class^="icon-"],
109
+ li .icon-large[class*=" icon-"] {
110
+ /* 1.5 increased font size for icon-large * 1.25 width */
111
+
112
+ width: 1.875em;
113
+ }
114
+ li[class^="icon-"],
115
+ li[class*=" icon-"] {
116
+ margin-left: 0;
117
+ list-style-type: none;
118
+ }
119
+ li[class^="icon-"]:before,
120
+ li[class*=" icon-"]:before {
121
+ text-indent: -2em;
122
+ text-align: center;
123
+ }
124
+ li[class^="icon-"].icon-large:before,
125
+ li[class*=" icon-"].icon-large:before {
126
+ text-indent: -1.3333333333333333em;
127
+ }
128
+ /* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
129
+ readers do not read off random characters that represent icons */
130
+ .icon-glass:before {
131
+ content: "\f000";
132
+ }
133
+ .icon-music:before {
134
+ content: "\f001";
135
+ }
136
+ .icon-search:before {
137
+ content: "\f002";
138
+ }
139
+ .icon-envelope:before {
140
+ content: "\f003";
141
+ }
142
+ .icon-heart:before {
143
+ content: "\f004";
144
+ }
145
+ .icon-star:before {
146
+ content: "\f005";
147
+ }
148
+ .icon-star-empty:before {
149
+ content: "\f006";
150
+ }
151
+ .icon-user:before {
152
+ content: "\f007";
153
+ }
154
+ .icon-film:before {
155
+ content: "\f008";
156
+ }
157
+ .icon-th-large:before {
158
+ content: "\f009";
159
+ }
160
+ .icon-th:before {
161
+ content: "\f00a";
162
+ }
163
+ .icon-th-list:before {
164
+ content: "\f00b";
165
+ }
166
+ .icon-ok:before {
167
+ content: "\f00c";
168
+ }
169
+ .icon-remove:before {
170
+ content: "\f00d";
171
+ }
172
+ .icon-zoom-in:before {
173
+ content: "\f00e";
174
+ }
175
+ .icon-zoom-out:before {
176
+ content: "\f010";
177
+ }
178
+ .icon-off:before {
179
+ content: "\f011";
180
+ }
181
+ .icon-signal:before {
182
+ content: "\f012";
183
+ }
184
+ .icon-cog:before {
185
+ content: "\f013";
186
+ }
187
+ .icon-trash:before {
188
+ content: "\f014";
189
+ }
190
+ .icon-home:before {
191
+ content: "\f015";
192
+ }
193
+ .icon-file:before {
194
+ content: "\f016";
195
+ }
196
+ .icon-time:before {
197
+ content: "\f017";
198
+ }
199
+ .icon-road:before {
200
+ content: "\f018";
201
+ }
202
+ .icon-download-alt:before {
203
+ content: "\f019";
204
+ }
205
+ .icon-download:before {
206
+ content: "\f01a";
207
+ }
208
+ .icon-upload:before {
209
+ content: "\f01b";
210
+ }
211
+ .icon-inbox:before {
212
+ content: "\f01c";
213
+ }
214
+ .icon-play-circle:before {
215
+ content: "\f01d";
216
+ }
217
+ .icon-repeat:before {
218
+ content: "\f01e";
219
+ }
220
+ /* \f020 is not a valid unicode character. all shifted one down */
221
+ .icon-refresh:before {
222
+ content: "\f021";
223
+ }
224
+ .icon-list-alt:before {
225
+ content: "\f022";
226
+ }
227
+ .icon-lock:before {
228
+ content: "\f023";
229
+ }
230
+ .icon-flag:before {
231
+ content: "\f024";
232
+ }
233
+ .icon-headphones:before {
234
+ content: "\f025";
235
+ }
236
+ .icon-volume-off:before {
237
+ content: "\f026";
238
+ }
239
+ .icon-volume-down:before {
240
+ content: "\f027";
241
+ }
242
+ .icon-volume-up:before {
243
+ content: "\f028";
244
+ }
245
+ .icon-qrcode:before {
246
+ content: "\f029";
247
+ }
248
+ .icon-barcode:before {
249
+ content: "\f02a";
250
+ }
251
+ .icon-tag:before {
252
+ content: "\f02b";
253
+ }
254
+ .icon-tags:before {
255
+ content: "\f02c";
256
+ }
257
+ .icon-book:before {
258
+ content: "\f02d";
259
+ }
260
+ .icon-bookmark:before {
261
+ content: "\f02e";
262
+ }
263
+ .icon-print:before {
264
+ content: "\f02f";
265
+ }
266
+ .icon-camera:before {
267
+ content: "\f030";
268
+ }
269
+ .icon-font:before {
270
+ content: "\f031";
271
+ }
272
+ .icon-bold:before {
273
+ content: "\f032";
274
+ }
275
+ .icon-italic:before {
276
+ content: "\f033";
277
+ }
278
+ .icon-text-height:before {
279
+ content: "\f034";
280
+ }
281
+ .icon-text-width:before {
282
+ content: "\f035";
283
+ }
284
+ .icon-align-left:before {
285
+ content: "\f036";
286
+ }
287
+ .icon-align-center:before {
288
+ content: "\f037";
289
+ }
290
+ .icon-align-right:before {
291
+ content: "\f038";
292
+ }
293
+ .icon-align-justify:before {
294
+ content: "\f039";
295
+ }
296
+ .icon-list:before {
297
+ content: "\f03a";
298
+ }
299
+ .icon-indent-left:before {
300
+ content: "\f03b";
301
+ }
302
+ .icon-indent-right:before {
303
+ content: "\f03c";
304
+ }
305
+ .icon-facetime-video:before {
306
+ content: "\f03d";
307
+ }
308
+ .icon-picture:before {
309
+ content: "\f03e";
310
+ }
311
+ .icon-pencil:before {
312
+ content: "\f040";
313
+ }
314
+ .icon-map-marker:before {
315
+ content: "\f041";
316
+ }
317
+ .icon-adjust:before {
318
+ content: "\f042";
319
+ }
320
+ .icon-tint:before {
321
+ content: "\f043";
322
+ }
323
+ .icon-edit:before {
324
+ content: "\f044";
325
+ }
326
+ .icon-share:before {
327
+ content: "\f045";
328
+ }
329
+ .icon-check:before {
330
+ content: "\f046";
331
+ }
332
+ .icon-move:before {
333
+ content: "\f047";
334
+ }
335
+ .icon-step-backward:before {
336
+ content: "\f048";
337
+ }
338
+ .icon-fast-backward:before {
339
+ content: "\f049";
340
+ }
341
+ .icon-backward:before {
342
+ content: "\f04a";
343
+ }
344
+ .icon-play:before {
345
+ content: "\f04b";
346
+ }
347
+ .icon-pause:before {
348
+ content: "\f04c";
349
+ }
350
+ .icon-stop:before {
351
+ content: "\f04d";
352
+ }
353
+ .icon-forward:before {
354
+ content: "\f04e";
355
+ }
356
+ .icon-fast-forward:before {
357
+ content: "\f050";
358
+ }
359
+ .icon-step-forward:before {
360
+ content: "\f051";
361
+ }
362
+ .icon-eject:before {
363
+ content: "\f052";
364
+ }
365
+ .icon-chevron-left:before {
366
+ content: "\f053";
367
+ }
368
+ .icon-chevron-right:before {
369
+ content: "\f054";
370
+ }
371
+ .icon-plus-sign:before {
372
+ content: "\f055";
373
+ }
374
+ .icon-minus-sign:before {
375
+ content: "\f056";
376
+ }
377
+ .icon-remove-sign:before {
378
+ content: "\f057";
379
+ }
380
+ .icon-ok-sign:before {
381
+ content: "\f058";
382
+ }
383
+ .icon-question-sign:before {
384
+ content: "\f059";
385
+ }
386
+ .icon-info-sign:before {
387
+ content: "\f05a";
388
+ }
389
+ .icon-screenshot:before {
390
+ content: "\f05b";
391
+ }
392
+ .icon-remove-circle:before {
393
+ content: "\f05c";
394
+ }
395
+ .icon-ok-circle:before {
396
+ content: "\f05d";
397
+ }
398
+ .icon-ban-circle:before {
399
+ content: "\f05e";
400
+ }
401
+ .icon-arrow-left:before {
402
+ content: "\f060";
403
+ }
404
+ .icon-arrow-right:before {
405
+ content: "\f061";
406
+ }
407
+ .icon-arrow-up:before {
408
+ content: "\f062";
409
+ }
410
+ .icon-arrow-down:before {
411
+ content: "\f063";
412
+ }
413
+ .icon-share-alt:before {
414
+ content: "\f064";
415
+ }
416
+ .icon-resize-full:before {
417
+ content: "\f065";
418
+ }
419
+ .icon-resize-small:before {
420
+ content: "\f066";
421
+ }
422
+ .icon-plus:before {
423
+ content: "\f067";
424
+ }
425
+ .icon-minus:before {
426
+ content: "\f068";
427
+ }
428
+ .icon-asterisk:before {
429
+ content: "\f069";
430
+ }
431
+ .icon-exclamation-sign:before {
432
+ content: "\f06a";
433
+ }
434
+ .icon-gift:before {
435
+ content: "\f06b";
436
+ }
437
+ .icon-leaf:before {
438
+ content: "\f06c";
439
+ }
440
+ .icon-fire:before {
441
+ content: "\f06d";
442
+ }
443
+ .icon-eye-open:before {
444
+ content: "\f06e";
445
+ }
446
+ .icon-eye-close:before {
447
+ content: "\f070";
448
+ }
449
+ .icon-warning-sign:before {
450
+ content: "\f071";
451
+ }
452
+ .icon-plane:before {
453
+ content: "\f072";
454
+ }
455
+ .icon-calendar:before {
456
+ content: "\f073";
457
+ }
458
+ .icon-random:before {
459
+ content: "\f074";
460
+ }
461
+ .icon-comment:before {
462
+ content: "\f075";
463
+ }
464
+ .icon-magnet:before {
465
+ content: "\f076";
466
+ }
467
+ .icon-chevron-up:before {
468
+ content: "\f077";
469
+ }
470
+ .icon-chevron-down:before {
471
+ content: "\f078";
472
+ }
473
+ .icon-retweet:before {
474
+ content: "\f079";
475
+ }
476
+ .icon-shopping-cart:before {
477
+ content: "\f07a";
478
+ }
479
+ .icon-folder-close:before {
480
+ content: "\f07b";
481
+ }
482
+ .icon-folder-open:before {
483
+ content: "\f07c";
484
+ }
485
+ .icon-resize-vertical:before {
486
+ content: "\f07d";
487
+ }
488
+ .icon-resize-horizontal:before {
489
+ content: "\f07e";
490
+ }
491
+ .icon-bar-chart:before {
492
+ content: "\f080";
493
+ }
494
+ .icon-twitter-sign:before {
495
+ content: "\f081";
496
+ }
497
+ .icon-facebook-sign:before {
498
+ content: "\f082";
499
+ }
500
+ .icon-camera-retro:before {
501
+ content: "\f083";
502
+ }
503
+ .icon-key:before {
504
+ content: "\f084";
505
+ }
506
+ .icon-cogs:before {
507
+ content: "\f085";
508
+ }
509
+ .icon-comments:before {
510
+ content: "\f086";
511
+ }
512
+ .icon-thumbs-up:before {
513
+ content: "\f087";
514
+ }
515
+ .icon-thumbs-down:before {
516
+ content: "\f088";
517
+ }
518
+ .icon-star-half:before {
519
+ content: "\f089";
520
+ }
521
+ .icon-heart-empty:before {
522
+ content: "\f08a";
523
+ }
524
+ .icon-signout:before {
525
+ content: "\f08b";
526
+ }
527
+ .icon-linkedin-sign:before {
528
+ content: "\f08c";
529
+ }
530
+ .icon-pushpin:before {
531
+ content: "\f08d";
532
+ }
533
+ .icon-external-link:before {
534
+ content: "\f08e";
535
+ }
536
+ .icon-signin:before {
537
+ content: "\f090";
538
+ }
539
+ .icon-trophy:before {
540
+ content: "\f091";
541
+ }
542
+ .icon-github-sign:before {
543
+ content: "\f092";
544
+ }
545
+ .icon-upload-alt:before {
546
+ content: "\f093";
547
+ }
548
+ .icon-lemon:before {
549
+ content: "\f094";
550
+ }
551
+ .thenly {
552
+ margin: 0;
553
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
554
+ font-size: 13px;
555
+ line-height: 16px;
556
+ color: #333333;
557
+ }
558
+ .thenly article,
559
+ .thenly aside,
560
+ .thenly details,
561
+ .thenly figcaption,
562
+ .thenly figure,
563
+ .thenly footer,
564
+ .thenly header,
565
+ .thenly hgroup,
566
+ .thenly nav,
567
+ .thenly section {
568
+ display: block;
569
+ }
570
+ .thenly audio,
571
+ .thenly canvas,
572
+ .thenly video {
573
+ display: inline-block;
574
+ *display: inline;
575
+ *zoom: 1;
576
+ }
577
+ .thenly audio:not([controls]) {
578
+ display: none;
579
+ }
580
+ .thenly html {
581
+ font-size: 100%;
582
+ -webkit-text-size-adjust: 100%;
583
+ -ms-text-size-adjust: 100%;
584
+ }
585
+ .thenly a:focus {
586
+ outline: thin dotted #333;
587
+ outline: 5px auto -webkit-focus-ring-color;
588
+ outline-offset: -2px;
589
+ }
590
+ .thenly a:hover,
591
+ .thenly a:active {
592
+ outline: 0;
593
+ }
594
+ .thenly sub,
595
+ .thenly sup {
596
+ position: relative;
597
+ font-size: 75%;
598
+ line-height: 0;
599
+ vertical-align: baseline;
600
+ }
601
+ .thenly sup {
602
+ top: -0.5em;
603
+ }
604
+ .thenly sub {
605
+ bottom: -0.25em;
606
+ }
607
+ .thenly img {
608
+ height: auto;
609
+ border: 0;
610
+ -ms-interpolation-mode: bicubic;
611
+ vertical-align: middle;
612
+ }
613
+ .thenly button,
614
+ .thenly input,
615
+ .thenly select,
616
+ .thenly textarea {
617
+ margin: 0;
618
+ font-size: 100%;
619
+ vertical-align: middle;
620
+ }
621
+ .thenly button,
622
+ .thenly input {
623
+ *overflow: visible;
624
+ line-height: normal;
625
+ }
626
+ .thenly button::-moz-focus-inner,
627
+ .thenly input::-moz-focus-inner {
628
+ padding: 0;
629
+ border: 0;
630
+ }
631
+ .thenly button,
632
+ .thenly input[type="button"],
633
+ .thenly input[type="reset"],
634
+ .thenly input[type="submit"] {
635
+ cursor: pointer;
636
+ -webkit-appearance: button;
637
+ }
638
+ .thenly input[type="search"] {
639
+ -webkit-appearance: textfield;
640
+ -webkit-box-sizing: content-box;
641
+ -moz-box-sizing: content-box;
642
+ box-sizing: content-box;
643
+ }
644
+ .thenly input[type="search"]::-webkit-search-decoration,
645
+ .thenly input[type="search"]::-webkit-search-cancel-button {
646
+ -webkit-appearance: none;
647
+ }
648
+ .thenly textarea {
649
+ overflow: auto;
650
+ vertical-align: top;
651
+ }
652
+ .thenly body {
653
+ margin: 0;
654
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
655
+ font-size: 13px;
656
+ line-height: 16px;
657
+ color: #333333;
658
+ background-color: #ffffff;
659
+ }
660
+ .thenly a {
661
+ color: #507295;
662
+ text-decoration: none;
663
+ }
664
+ .thenly a:hover {
665
+ color: #354c63;
666
+ text-decoration: underline;
667
+ }
668
+ .thenly p {
669
+ margin: 0 0 8px;
670
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
671
+ font-size: 13px;
672
+ line-height: 16px;
673
+ }
674
+ .thenly p small {
675
+ font-size: 11px;
676
+ color: #999999;
677
+ }
678
+ .thenly .lead {
679
+ margin-bottom: 16px;
680
+ font-size: 20px;
681
+ font-weight: 200;
682
+ line-height: 24px;
683
+ }
684
+ .thenly h1,
685
+ .thenly h2,
686
+ .thenly h3,
687
+ .thenly h4,
688
+ .thenly h5,
689
+ .thenly h6 {
690
+ margin: 0;
691
+ font-family: Calibri, Nunito, 'Helvetica Neue', Helvetica, Arial, sans-serif;
692
+ font-weight: bold;
693
+ color: #333333;
694
+ text-rendering: optimizelegibility;
695
+ }
696
+ .thenly h1 small,
697
+ .thenly h2 small,
698
+ .thenly h3 small,
699
+ .thenly h4 small,
700
+ .thenly h5 small,
701
+ .thenly h6 small {
702
+ font-weight: normal;
703
+ color: #999999;
704
+ }
705
+ .thenly h1 {
706
+ font-size: 30px;
707
+ line-height: 32px;
708
+ }
709
+ .thenly h1 small {
710
+ font-size: 18px;
711
+ }
712
+ .thenly h2 {
713
+ font-size: 24px;
714
+ line-height: 32px;
715
+ }
716
+ .thenly h2 small {
717
+ font-size: 18px;
718
+ }
719
+ .thenly h3 {
720
+ line-height: 24px;
721
+ font-size: 18px;
722
+ }
723
+ .thenly h3 small {
724
+ font-size: 14px;
725
+ }
726
+ .thenly h4,
727
+ .thenly h5,
728
+ .thenly h6 {
729
+ line-height: 16px;
730
+ }
731
+ .thenly h4 {
732
+ font-size: 14px;
733
+ }
734
+ .thenly h4 small {
735
+ font-size: 12px;
736
+ }
737
+ .thenly h5 {
738
+ font-size: 12px;
739
+ }
740
+ .thenly h6 {
741
+ font-size: 11px;
742
+ color: #999999;
743
+ text-transform: uppercase;
744
+ }
745
+ .thenly .page-header {
746
+ padding-bottom: 15px;
747
+ margin: 16px 0;
748
+ border-bottom: 1px solid #eeeeee;
749
+ }
750
+ .thenly .page-header h1 {
751
+ line-height: 1;
752
+ }
753
+ .thenly ul,
754
+ .thenly ol {
755
+ padding: 0;
756
+ margin: 0 0 8px 25px;
757
+ }
758
+ .thenly ul ul,
759
+ .thenly ul ol,
760
+ .thenly ol ol,
761
+ .thenly ol ul {
762
+ margin-bottom: 0;
763
+ }
764
+ .thenly ul {
765
+ list-style: disc;
766
+ }
767
+ .thenly ol {
768
+ list-style: decimal;
769
+ }
770
+ .thenly li {
771
+ line-height: 16px;
772
+ }
773
+ .thenly ul.unstyled,
774
+ .thenly ol.unstyled {
775
+ margin-left: 0;
776
+ list-style: none;
777
+ }
778
+ .thenly dl {
779
+ margin-bottom: 16px;
780
+ }
781
+ .thenly dt,
782
+ .thenly dd {
783
+ line-height: 16px;
784
+ }
785
+ .thenly dt {
786
+ font-weight: bold;
787
+ line-height: 15px;
788
+ }
789
+ .thenly dd {
790
+ margin-left: 8px;
791
+ }
792
+ .thenly .dl-horizontal dt {
793
+ float: left;
794
+ clear: left;
795
+ width: 120px;
796
+ text-align: right;
797
+ }
798
+ .thenly .dl-horizontal dd {
799
+ margin-left: 130px;
800
+ }
801
+ .thenly hr {
802
+ margin: 16px 0;
803
+ border: 0;
804
+ border-top: 1px solid #eeeeee;
805
+ border-bottom: 1px solid #ffffff;
806
+ }
807
+ .thenly strong {
808
+ font-weight: bold;
809
+ }
810
+ .thenly em {
811
+ font-style: italic;
812
+ }
813
+ .thenly .muted {
814
+ color: #999999;
815
+ }
816
+ .thenly abbr[title] {
817
+ border-bottom: 1px dotted #ddd;
818
+ cursor: help;
819
+ }
820
+ .thenly abbr.initialism {
821
+ font-size: 90%;
822
+ text-transform: uppercase;
823
+ }
824
+ .thenly blockquote {
825
+ padding: 0 0 0 15px;
826
+ margin: 0 0 16px;
827
+ border-left: 5px solid #eeeeee;
828
+ }
829
+ .thenly blockquote p {
830
+ margin-bottom: 0;
831
+ font-size: 16px;
832
+ font-weight: 300;
833
+ line-height: 20px;
834
+ }
835
+ .thenly blockquote small {
836
+ display: block;
837
+ line-height: 16px;
838
+ color: #999999;
839
+ }
840
+ .thenly blockquote small:before {
841
+ content: '\2014 \00A0';
842
+ }
843
+ .thenly blockquote.pull-right {
844
+ float: right;
845
+ padding-left: 0;
846
+ padding-right: 15px;
847
+ border-left: 0;
848
+ border-right: 5px solid #eeeeee;
849
+ }
850
+ .thenly blockquote.pull-right p,
851
+ .thenly blockquote.pull-right small {
852
+ text-align: right;
853
+ }
854
+ .thenly q:before,
855
+ .thenly q:after,
856
+ .thenly blockquote:before,
857
+ .thenly blockquote:after {
858
+ content: "";
859
+ }
860
+ .thenly address {
861
+ display: block;
862
+ margin-bottom: 16px;
863
+ line-height: 16px;
864
+ font-style: normal;
865
+ }
866
+ .thenly small {
867
+ font-size: 100%;
868
+ }
869
+ .thenly cite {
870
+ font-style: normal;
871
+ }
872
+ .thenly .dropdown {
873
+ position: relative;
874
+ }
875
+ .thenly .dropdown-toggle {
876
+ *margin-bottom: -3px;
877
+ }
878
+ .thenly .dropdown-toggle:active,
879
+ .thenly .open .dropdown-toggle {
880
+ outline: 0;
881
+ }
882
+ .thenly .caret {
883
+ display: inline-block;
884
+ width: 0;
885
+ height: 0;
886
+ vertical-align: top;
887
+ border-left: 4px solid transparent;
888
+ border-right: 4px solid transparent;
889
+ border-top: 4px solid #000000;
890
+ opacity: 0.3;
891
+ filter: alpha(opacity=30);
892
+ content: "";
893
+ }
894
+ .thenly .dropdown .caret {
895
+ margin-top: 8px;
896
+ margin-left: 2px;
897
+ }
898
+ .thenly .dropdown:hover .caret,
899
+ .thenly .open.dropdown .caret {
900
+ opacity: 1;
901
+ filter: alpha(opacity=100);
902
+ }
903
+ .thenly .dropdown-menu {
904
+ position: absolute;
905
+ top: 100%;
906
+ left: 0;
907
+ z-index: 2000;
908
+ float: left;
909
+ display: none;
910
+ min-width: 160px;
911
+ padding: 4px 0;
912
+ margin: 0;
913
+ list-style: none;
914
+ background-color: #ffffff;
915
+ border-color: #ccc;
916
+ border-color: rgba(0, 0, 0, 0.2);
917
+ border-style: solid;
918
+ border-width: 1px;
919
+ -webkit-border-radius: 0 0 5px 5px;
920
+ -moz-border-radius: 0 0 5px 5px;
921
+ border-radius: 0 0 5px 5px;
922
+ -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
923
+ -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
924
+ box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
925
+ -webkit-background-clip: padding-box;
926
+ -moz-background-clip: padding;
927
+ background-clip: padding-box;
928
+ *border-right-width: 2px;
929
+ *border-bottom-width: 2px;
930
+ }
931
+ .thenly .dropdown-menu.pull-right {
932
+ right: 0;
933
+ left: auto;
934
+ }
935
+ .thenly .dropdown-menu .divider {
936
+ height: 1px;
937
+ margin: 7px 1px;
938
+ overflow: hidden;
939
+ background-color: #e5e5e5;
940
+ border-bottom: 1px solid #ffffff;
941
+ *width: 100%;
942
+ *margin: -5px 0 5px;
943
+ }
944
+ .thenly .dropdown-menu a {
945
+ display: block;
946
+ padding: 3px 15px;
947
+ clear: both;
948
+ font-weight: normal;
949
+ line-height: 16px;
950
+ color: #333333;
951
+ white-space: nowrap;
952
+ }
953
+ .thenly .dropdown-menu li > a:hover,
954
+ .thenly .dropdown-menu .active > a,
955
+ .thenly .dropdown-menu .active > a:hover {
956
+ color: #000000;
957
+ text-decoration: none;
958
+ background-color: #e0efff;
959
+ }
960
+ .thenly .dropdown.open {
961
+ *z-index: 2000;
962
+ }
963
+ .thenly .dropdown.open .dropdown-toggle {
964
+ color: #ffffff;
965
+ background: #ccc;
966
+ background: rgba(0, 0, 0, 0.3);
967
+ }
968
+ .thenly .dropdown.open .dropdown-menu {
969
+ display: block;
970
+ }
971
+ .thenly .pull-right .dropdown-menu {
972
+ left: auto;
973
+ right: 0;
974
+ }
975
+ .thenly .dropup .caret,
976
+ .thenly .navbar-fixed-bottom .dropdown .caret {
977
+ border-top: 0;
978
+ border-bottom: 4px solid #000000;
979
+ content: "\2191";
980
+ }
981
+ .thenly .dropup .dropdown-menu,
982
+ .thenly .navbar-fixed-bottom .dropdown .dropdown-menu {
983
+ top: auto;
984
+ bottom: 100%;
985
+ margin-bottom: 1px;
986
+ }
987
+ .thenly .typeahead {
988
+ margin-top: 2px;
989
+ -webkit-border-radius: 4px;
990
+ -moz-border-radius: 4px;
991
+ border-radius: 4px;
992
+ }
993
+ .thenly .btn {
994
+ display: inline-block;
995
+ *display: inline;
996
+ /* IE7 inline-block hack */
997
+
998
+ *zoom: 1;
999
+ padding: 4px 10px 4px;
1000
+ margin-bottom: 0;
1001
+ font-size: 13px;
1002
+ line-height: 16px;
1003
+ color: #333333;
1004
+ text-align: center;
1005
+ text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
1006
+ vertical-align: middle;
1007
+ background-color: #f5f5f5;
1008
+ background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
1009
+ background-image: -ms-linear-gradient(top, #ffffff, #e6e6e6);
1010
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
1011
+ background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
1012
+ background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
1013
+ background-image: linear-gradient(top, #ffffff, #e6e6e6);
1014
+ background-repeat: repeat-x;
1015
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e6e6e6', GradientType=0);
1016
+ border-color: #e6e6e6 #e6e6e6 #bfbfbf;
1017
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
1018
+ filter: progid:dximagetransform.microsoft.gradient(enabled=false);
1019
+ border: 1px solid #cccccc;
1020
+ border-bottom-color: #b3b3b3;
1021
+ -webkit-border-radius: 4px;
1022
+ -moz-border-radius: 4px;
1023
+ border-radius: 4px;
1024
+ -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
1025
+ -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
1026
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
1027
+ cursor: pointer;
1028
+ *margin-left: .3em;
1029
+ }
1030
+ .thenly .btn:hover,
1031
+ .thenly .btn:active,
1032
+ .thenly .btn.active,
1033
+ .thenly .btn.disabled,
1034
+ .thenly .btn[disabled] {
1035
+ background-color: #e6e6e6;
1036
+ }
1037
+ .thenly .btn:active,
1038
+ .thenly .btn.active {
1039
+ background-color: #cccccc \9;
1040
+ }
1041
+ .thenly .btn:first-child {
1042
+ *margin-left: 0;
1043
+ }
1044
+ .thenly .btn:hover {
1045
+ color: #333333;
1046
+ text-decoration: none;
1047
+ background-color: #e6e6e6;
1048
+ background-position: 0 -15px;
1049
+ -webkit-transition: background-position 0.1s linear;
1050
+ -moz-transition: background-position 0.1s linear;
1051
+ -ms-transition: background-position 0.1s linear;
1052
+ -o-transition: background-position 0.1s linear;
1053
+ transition: background-position 0.1s linear;
1054
+ }
1055
+ .thenly .btn:focus {
1056
+ outline: thin dotted #333;
1057
+ outline: 5px auto -webkit-focus-ring-color;
1058
+ outline-offset: -2px;
1059
+ }
1060
+ .thenly .btn.active,
1061
+ .thenly .btn:active {
1062
+ background-image: none;
1063
+ -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
1064
+ -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
1065
+ box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
1066
+ background-color: #e6e6e6;
1067
+ background-color: #d9d9d9 \9;
1068
+ outline: 0;
1069
+ }
1070
+ .thenly .btn.disabled,
1071
+ .thenly .btn[disabled] {
1072
+ cursor: default;
1073
+ background-image: none;
1074
+ background-color: #e6e6e6;
1075
+ opacity: 0.65;
1076
+ filter: alpha(opacity=65);
1077
+ -webkit-box-shadow: none;
1078
+ -moz-box-shadow: none;
1079
+ box-shadow: none;
1080
+ }
1081
+ .thenly .btn-large {
1082
+ padding: 9px 14px;
1083
+ font-size: 15px;
1084
+ line-height: normal;
1085
+ -webkit-border-radius: 5px;
1086
+ -moz-border-radius: 5px;
1087
+ border-radius: 5px;
1088
+ }
1089
+ .thenly .btn-large [class^="icon-"] {
1090
+ margin-top: 1px;
1091
+ }
1092
+ .thenly .btn-small {
1093
+ padding: 5px 9px;
1094
+ font-size: 11px;
1095
+ line-height: 14px;
1096
+ }
1097
+ .thenly .btn-small [class^="icon-"] {
1098
+ margin-top: -1px;
1099
+ }
1100
+ .thenly .btn-mini {
1101
+ padding: 2px 6px;
1102
+ font-size: 11px;
1103
+ line-height: 12px;
1104
+ }
1105
+ .thenly .btn-primary,
1106
+ .thenly .btn-primary:hover,
1107
+ .thenly .btn-warning,
1108
+ .thenly .btn-warning:hover,
1109
+ .thenly .btn-danger,
1110
+ .thenly .btn-danger:hover,
1111
+ .thenly .btn-success,
1112
+ .thenly .btn-success:hover,
1113
+ .thenly .btn-info,
1114
+ .thenly .btn-info:hover,
1115
+ .thenly .btn-inverse,
1116
+ .thenly .btn-inverse:hover {
1117
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
1118
+ color: #ffffff;
1119
+ }
1120
+ .thenly .btn-primary.active,
1121
+ .thenly .btn-warning.active,
1122
+ .thenly .btn-danger.active,
1123
+ .thenly .btn-success.active,
1124
+ .thenly .btn-info.active,
1125
+ .thenly .btn-inverse.active {
1126
+ color: rgba(255, 255, 255, 0.75);
1127
+ }
1128
+ .thenly .btn-primary {
1129
+ background-color: #5977a6;
1130
+ background-image: -moz-linear-gradient(top, #597fa6, #596ca6);
1131
+ background-image: -ms-linear-gradient(top, #597fa6, #596ca6);
1132
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#597fa6), to(#596ca6));
1133
+ background-image: -webkit-linear-gradient(top, #597fa6, #596ca6);
1134
+ background-image: -o-linear-gradient(top, #597fa6, #596ca6);
1135
+ background-image: linear-gradient(top, #597fa6, #596ca6);
1136
+ background-repeat: repeat-x;
1137
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#597fa6', endColorstr='#596ca6', GradientType=0);
1138
+ border-color: #596ca6 #596ca6 #3e4b74;
1139
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
1140
+ filter: progid:dximagetransform.microsoft.gradient(enabled=false);
1141
+ }
1142
+ .thenly .btn-primary:hover,
1143
+ .thenly .btn-primary:active,
1144
+ .thenly .btn-primary.active,
1145
+ .thenly .btn-primary.disabled,
1146
+ .thenly .btn-primary[disabled] {
1147
+ background-color: #596ca6;
1148
+ }
1149
+ .thenly .btn-primary:active,
1150
+ .thenly .btn-primary.active {
1151
+ background-color: #475684 \9;
1152
+ }
1153
+ .thenly .btn-warning {
1154
+ background-color: #faa732;
1155
+ background-image: -moz-linear-gradient(top, #fbb450, #f89406);
1156
+ background-image: -ms-linear-gradient(top, #fbb450, #f89406);
1157
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fbb450), to(#f89406));
1158
+ background-image: -webkit-linear-gradient(top, #fbb450, #f89406);
1159
+ background-image: -o-linear-gradient(top, #fbb450, #f89406);
1160
+ background-image: linear-gradient(top, #fbb450, #f89406);
1161
+ background-repeat: repeat-x;
1162
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fbb450', endColorstr='#f89406', GradientType=0);
1163
+ border-color: #f89406 #f89406 #ad6704;
1164
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
1165
+ filter: progid:dximagetransform.microsoft.gradient(enabled=false);
1166
+ }
1167
+ .thenly .btn-warning:hover,
1168
+ .thenly .btn-warning:active,
1169
+ .thenly .btn-warning.active,
1170
+ .thenly .btn-warning.disabled,
1171
+ .thenly .btn-warning[disabled] {
1172
+ background-color: #f89406;
1173
+ }
1174
+ .thenly .btn-warning:active,
1175
+ .thenly .btn-warning.active {
1176
+ background-color: #c67605 \9;
1177
+ }
1178
+ .thenly .btn-danger {
1179
+ background-color: #da4f49;
1180
+ background-image: -moz-linear-gradient(top, #ee5f5b, #bd362f);
1181
+ background-image: -ms-linear-gradient(top, #ee5f5b, #bd362f);
1182
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#bd362f));
1183
+ background-image: -webkit-linear-gradient(top, #ee5f5b, #bd362f);
1184
+ background-image: -o-linear-gradient(top, #ee5f5b, #bd362f);
1185
+ background-image: linear-gradient(top, #ee5f5b, #bd362f);
1186
+ background-repeat: repeat-x;
1187
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b', endColorstr='#bd362f', GradientType=0);
1188
+ border-color: #bd362f #bd362f #802420;
1189
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
1190
+ filter: progid:dximagetransform.microsoft.gradient(enabled=false);
1191
+ }
1192
+ .thenly .btn-danger:hover,
1193
+ .thenly .btn-danger:active,
1194
+ .thenly .btn-danger.active,
1195
+ .thenly .btn-danger.disabled,
1196
+ .thenly .btn-danger[disabled] {
1197
+ background-color: #bd362f;
1198
+ }
1199
+ .thenly .btn-danger:active,
1200
+ .thenly .btn-danger.active {
1201
+ background-color: #942a25 \9;
1202
+ }
1203
+ .thenly .btn-success {
1204
+ background-color: #5bb75b;
1205
+ background-image: -moz-linear-gradient(top, #62c462, #51a351);
1206
+ background-image: -ms-linear-gradient(top, #62c462, #51a351);
1207
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#51a351));
1208
+ background-image: -webkit-linear-gradient(top, #62c462, #51a351);
1209
+ background-image: -o-linear-gradient(top, #62c462, #51a351);
1210
+ background-image: linear-gradient(top, #62c462, #51a351);
1211
+ background-repeat: repeat-x;
1212
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462', endColorstr='#51a351', GradientType=0);
1213
+ border-color: #51a351 #51a351 #387038;
1214
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
1215
+ filter: progid:dximagetransform.microsoft.gradient(enabled=false);
1216
+ }
1217
+ .thenly .btn-success:hover,
1218
+ .thenly .btn-success:active,
1219
+ .thenly .btn-success.active,
1220
+ .thenly .btn-success.disabled,
1221
+ .thenly .btn-success[disabled] {
1222
+ background-color: #51a351;
1223
+ }
1224
+ .thenly .btn-success:active,
1225
+ .thenly .btn-success.active {
1226
+ background-color: #408140 \9;
1227
+ }
1228
+ .thenly .btn-info {
1229
+ background-color: #e0efff;
1230
+ background-image: -moz-linear-gradient(top, #e0efff, #e0efff);
1231
+ background-image: -ms-linear-gradient(top, #e0efff, #e0efff);
1232
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#e0efff), to(#e0efff));
1233
+ background-image: -webkit-linear-gradient(top, #e0efff, #e0efff);
1234
+ background-image: -o-linear-gradient(top, #e0efff, #e0efff);
1235
+ background-image: linear-gradient(top, #e0efff, #e0efff);
1236
+ background-repeat: repeat-x;
1237
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e0efff', endColorstr='#e0efff', GradientType=0);
1238
+ border-color: #e0efff #e0efff #94c8ff;
1239
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
1240
+ filter: progid:dximagetransform.microsoft.gradient(enabled=false);
1241
+ }
1242
+ .thenly .btn-info:hover,
1243
+ .thenly .btn-info:active,
1244
+ .thenly .btn-info.active,
1245
+ .thenly .btn-info.disabled,
1246
+ .thenly .btn-info[disabled] {
1247
+ background-color: #e0efff;
1248
+ }
1249
+ .thenly .btn-info:active,
1250
+ .thenly .btn-info.active {
1251
+ background-color: #add5ff \9;
1252
+ }
1253
+ .thenly .btn-inverse {
1254
+ background-color: #414141;
1255
+ background-image: -moz-linear-gradient(top, #555555, #222222);
1256
+ background-image: -ms-linear-gradient(top, #555555, #222222);
1257
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#555555), to(#222222));
1258
+ background-image: -webkit-linear-gradient(top, #555555, #222222);
1259
+ background-image: -o-linear-gradient(top, #555555, #222222);
1260
+ background-image: linear-gradient(top, #555555, #222222);
1261
+ background-repeat: repeat-x;
1262
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#555555', endColorstr='#222222', GradientType=0);
1263
+ border-color: #222222 #222222 #000000;
1264
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
1265
+ filter: progid:dximagetransform.microsoft.gradient(enabled=false);
1266
+ }
1267
+ .thenly .btn-inverse:hover,
1268
+ .thenly .btn-inverse:active,
1269
+ .thenly .btn-inverse.active,
1270
+ .thenly .btn-inverse.disabled,
1271
+ .thenly .btn-inverse[disabled] {
1272
+ background-color: #222222;
1273
+ }
1274
+ .thenly .btn-inverse:active,
1275
+ .thenly .btn-inverse.active {
1276
+ background-color: #080808 \9;
1277
+ }
1278
+ .thenly button.btn,
1279
+ .thenly input[type="submit"].btn {
1280
+ *padding-top: 2px;
1281
+ *padding-bottom: 2px;
1282
+ }
1283
+ .thenly button.btn::-moz-focus-inner,
1284
+ .thenly input[type="submit"].btn::-moz-focus-inner {
1285
+ padding: 0;
1286
+ border: 0;
1287
+ }
1288
+ .thenly button.btn.btn-large,
1289
+ .thenly input[type="submit"].btn.btn-large {
1290
+ *padding-top: 7px;
1291
+ *padding-bottom: 7px;
1292
+ }
1293
+ .thenly button.btn.btn-small,
1294
+ .thenly input[type="submit"].btn.btn-small {
1295
+ *padding-top: 3px;
1296
+ *padding-bottom: 3px;
1297
+ }
1298
+ .thenly button.btn.btn-mini,
1299
+ .thenly input[type="submit"].btn.btn-mini {
1300
+ *padding-top: 1px;
1301
+ *padding-bottom: 1px;
1302
+ }
1303
+ .thenly .btn-group {
1304
+ position: relative;
1305
+ *zoom: 1;
1306
+ *margin-left: .3em;
1307
+ }
1308
+ .thenly .btn-group:before,
1309
+ .thenly .btn-group:after {
1310
+ display: table;
1311
+ content: "";
1312
+ }
1313
+ .thenly .btn-group:after {
1314
+ clear: both;
1315
+ }
1316
+ .thenly .btn-group:first-child {
1317
+ *margin-left: 0;
1318
+ }
1319
+ .thenly .btn-group + .btn-group {
1320
+ margin-left: 5px;
1321
+ }
1322
+ .thenly .btn-toolbar {
1323
+ margin-top: 8px;
1324
+ margin-bottom: 8px;
1325
+ }
1326
+ .thenly .btn-toolbar .btn-group {
1327
+ display: inline-block;
1328
+ *display: inline;
1329
+ /* IE7 inline-block hack */
1330
+
1331
+ *zoom: 1;
1332
+ }
1333
+ .thenly .btn-group .btn {
1334
+ position: relative;
1335
+ float: left;
1336
+ margin-left: -1px;
1337
+ -webkit-border-radius: 0;
1338
+ -moz-border-radius: 0;
1339
+ border-radius: 0;
1340
+ }
1341
+ .thenly .btn-group .btn:first-child {
1342
+ margin-left: 0;
1343
+ -webkit-border-top-left-radius: 4px;
1344
+ -moz-border-radius-topleft: 4px;
1345
+ border-top-left-radius: 4px;
1346
+ -webkit-border-bottom-left-radius: 4px;
1347
+ -moz-border-radius-bottomleft: 4px;
1348
+ border-bottom-left-radius: 4px;
1349
+ }
1350
+ .thenly .btn-group .btn:last-child,
1351
+ .thenly .btn-group .dropdown-toggle {
1352
+ -webkit-border-top-right-radius: 4px;
1353
+ -moz-border-radius-topright: 4px;
1354
+ border-top-right-radius: 4px;
1355
+ -webkit-border-bottom-right-radius: 4px;
1356
+ -moz-border-radius-bottomright: 4px;
1357
+ border-bottom-right-radius: 4px;
1358
+ }
1359
+ .thenly .btn-group .btn.large:first-child {
1360
+ margin-left: 0;
1361
+ -webkit-border-top-left-radius: 6px;
1362
+ -moz-border-radius-topleft: 6px;
1363
+ border-top-left-radius: 6px;
1364
+ -webkit-border-bottom-left-radius: 6px;
1365
+ -moz-border-radius-bottomleft: 6px;
1366
+ border-bottom-left-radius: 6px;
1367
+ }
1368
+ .thenly .btn-group .btn.large:last-child,
1369
+ .thenly .btn-group .large.dropdown-toggle {
1370
+ -webkit-border-top-right-radius: 6px;
1371
+ -moz-border-radius-topright: 6px;
1372
+ border-top-right-radius: 6px;
1373
+ -webkit-border-bottom-right-radius: 6px;
1374
+ -moz-border-radius-bottomright: 6px;
1375
+ border-bottom-right-radius: 6px;
1376
+ }
1377
+ .thenly .btn-group .btn:hover,
1378
+ .thenly .btn-group .btn:focus,
1379
+ .thenly .btn-group .btn:active,
1380
+ .thenly .btn-group .btn.active {
1381
+ z-index: 2;
1382
+ }
1383
+ .thenly .btn-group .dropdown-toggle:active,
1384
+ .thenly .btn-group.open .dropdown-toggle {
1385
+ outline: 0;
1386
+ }
1387
+ .thenly .btn-group .dropdown-toggle {
1388
+ padding-left: 8px;
1389
+ padding-right: 8px;
1390
+ -webkit-box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.125), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
1391
+ -moz-box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.125), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
1392
+ box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.125), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
1393
+ *padding-top: 3px;
1394
+ *padding-bottom: 3px;
1395
+ }
1396
+ .thenly .btn-group .btn-mini.dropdown-toggle {
1397
+ padding-left: 5px;
1398
+ padding-right: 5px;
1399
+ *padding-top: 1px;
1400
+ *padding-bottom: 1px;
1401
+ }
1402
+ .thenly .btn-group .btn-small.dropdown-toggle {
1403
+ *padding-top: 4px;
1404
+ *padding-bottom: 4px;
1405
+ }
1406
+ .thenly .btn-group .btn-large.dropdown-toggle {
1407
+ padding-left: 12px;
1408
+ padding-right: 12px;
1409
+ }
1410
+ .thenly .btn-group.open {
1411
+ *z-index: 2000;
1412
+ }
1413
+ .thenly .btn-group.open .dropdown-menu {
1414
+ display: block;
1415
+ margin-top: 1px;
1416
+ -webkit-border-radius: 5px;
1417
+ -moz-border-radius: 5px;
1418
+ border-radius: 5px;
1419
+ }
1420
+ .thenly .btn-group.open .dropdown-toggle {
1421
+ background-image: none;
1422
+ -webkit-box-shadow: inset 0 1px 6px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
1423
+ -moz-box-shadow: inset 0 1px 6px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
1424
+ box-shadow: inset 0 1px 6px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
1425
+ }
1426
+ .thenly .btn .caret {
1427
+ margin-top: 7px;
1428
+ margin-left: 0;
1429
+ }
1430
+ .thenly .btn:hover .caret,
1431
+ .thenly .open.btn-group .caret {
1432
+ opacity: 1;
1433
+ filter: alpha(opacity=100);
1434
+ }
1435
+ .thenly .btn-mini .caret {
1436
+ margin-top: 5px;
1437
+ }
1438
+ .thenly .btn-small .caret {
1439
+ margin-top: 6px;
1440
+ }
1441
+ .thenly .btn-large .caret {
1442
+ margin-top: 6px;
1443
+ border-left: 5px solid transparent;
1444
+ border-right: 5px solid transparent;
1445
+ border-top: 5px solid #000000;
1446
+ }
1447
+ .thenly .btn-primary .caret,
1448
+ .thenly .btn-warning .caret,
1449
+ .thenly .btn-danger .caret,
1450
+ .thenly .btn-info .caret,
1451
+ .thenly .btn-success .caret,
1452
+ .thenly .btn-inverse .caret {
1453
+ border-top-color: #ffffff;
1454
+ border-bottom-color: #ffffff;
1455
+ opacity: 0.75;
1456
+ filter: alpha(opacity=75);
1457
+ }
1458
+ .thenly .pull-right {
1459
+ float: right;
1460
+ }
1461
+ .thenly .pull-left {
1462
+ float: left;
1463
+ }
1464
+ .thenly .hide {
1465
+ display: none;
1466
+ }
1467
+ .thenly .show {
1468
+ display: block;
1469
+ }
1470
+ .thenly .invisible {
1471
+ visibility: hidden;
1472
+ }
1473
+ .thenly .btn-info,
1474
+ .thenly .btn-info:hover,
1475
+ .thenly .btn-info:active,
1476
+ .thenly .btn-info.active,
1477
+ .thenly .btn-info.active:hover {
1478
+ color: #333333;
1479
+ text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
1480
+ }
1481
+ .thenly .btn-toolbar .btn.btn-mini {
1482
+ top: 5px;
1483
+ }
1484
+ .thenly ul.dropdown-menu li {
1485
+ list-style-type: none !important;
1486
+ }
1487
+ .thenly small {
1488
+ margin: 0 !important;
1489
+ }
1490
+ .thenly tr {
1491
+ background: none !important;
1492
+ }
1493
+ .tooltip {
1494
+ position: absolute;
1495
+ z-index: 2020;
1496
+ display: block;
1497
+ visibility: visible;
1498
+ padding: 5px;
1499
+ font-size: 11px;
1500
+ opacity: 0;
1501
+ filter: alpha(opacity=0);
1502
+ }
1503
+ .tooltip.in {
1504
+ opacity: 0.8;
1505
+ filter: alpha(opacity=80);
1506
+ }
1507
+ .tooltip.top {
1508
+ margin-top: -2px;
1509
+ }
1510
+ .tooltip.right {
1511
+ margin-left: 2px;
1512
+ }
1513
+ .tooltip.bottom {
1514
+ margin-top: 2px;
1515
+ }
1516
+ .tooltip.left {
1517
+ margin-left: -2px;
1518
+ }
1519
+ .tooltip.top .tooltip-arrow {
1520
+ bottom: 0;
1521
+ left: 50%;
1522
+ margin-left: -5px;
1523
+ border-left: 5px solid transparent;
1524
+ border-right: 5px solid transparent;
1525
+ border-top: 5px solid #000000;
1526
+ }
1527
+ .tooltip.left .tooltip-arrow {
1528
+ top: 50%;
1529
+ right: 0;
1530
+ margin-top: -5px;
1531
+ border-top: 5px solid transparent;
1532
+ border-bottom: 5px solid transparent;
1533
+ border-left: 5px solid #000000;
1534
+ }
1535
+ .tooltip.bottom .tooltip-arrow {
1536
+ top: 0;
1537
+ left: 50%;
1538
+ margin-left: -5px;
1539
+ border-left: 5px solid transparent;
1540
+ border-right: 5px solid transparent;
1541
+ border-bottom: 5px solid #000000;
1542
+ }
1543
+ .tooltip.right .tooltip-arrow {
1544
+ top: 50%;
1545
+ left: 0;
1546
+ margin-top: -5px;
1547
+ border-top: 5px solid transparent;
1548
+ border-bottom: 5px solid transparent;
1549
+ border-right: 5px solid #000000;
1550
+ }
1551
+ .tooltip-inner {
1552
+ max-width: 200px;
1553
+ padding: 3px 8px;
1554
+ color: #ffffff;
1555
+ text-align: center;
1556
+ text-decoration: none;
1557
+ background-color: #000000;
1558
+ -webkit-border-radius: 4px;
1559
+ -moz-border-radius: 4px;
1560
+ border-radius: 4px;
1561
+ }
1562
+ .tooltip-arrow {
1563
+ position: absolute;
1564
+ width: 0;
1565
+ height: 0;
1566
+ }
1567
+ .ai1ec-loading {
1568
+ position: absolute;
1569
+ z-index: 9;
1570
+ top: 0;
1571
+ left: 0;
1572
+ width: 100%;
1573
+ height: 100%;
1574
+ background: url(../img/ajax-loader.gif) no-repeat center center;
1575
+ display: none;
1576
+ }
1577
+ .ai1ec-label {
1578
+ padding: 0 0.2em;
1579
+ font-size: 9pt;
1580
+ font-weight: bold;
1581
+ color: #999999 !important;
1582
+ }
1583
+ .ai1ec-category {
1584
+ cursor: pointer;
1585
+ font-size: 0.9em;
1586
+ border: 1px solid #dcdcdc;
1587
+ text-shadow: 0 1px 0 #ffffff;
1588
+ padding: 2pt 3pt !important;
1589
+ margin: 0.2em !important;
1590
+ text-decoration: none !important;
1591
+ text-transform: uppercase;
1592
+ letter-spacing: 1pt;
1593
+ white-space: nowrap;
1594
+ color: #7f7f7f !important;
1595
+ background: #f0f0f0;
1596
+ border-radius: 0.3em;
1597
+ -moz-border-radius: 0.3em;
1598
+ -webkit-border-radius: 0.3em;
1599
+ }
1600
+ .ai1ec-category:hover {
1601
+ color: #333333 !important;
1602
+ background: #dcdcdc;
1603
+ }
1604
+ .ai1ec-category.ai1ec-selected {
1605
+ background: #e0efff;
1606
+ border-color: #b7daff;
1607
+ color: #787e85 !important;
1608
+ }
1609
+ .ai1ec-category.ai1ec-selected:hover {
1610
+ background: #b7daff;
1611
+ color: #333333 !important;
1612
+ }
1613
+ .ai1ec-category-color {
1614
+ -webkit-border-radius: 0.2em;
1615
+ -moz-border-radius: 0.2em;
1616
+ border-radius: 0.2em;
1617
+ -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), inset 0 -1px 2px rgba(0,0,0,0.5);
1618
+ -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), inset 0 -1px 2px rgba(0,0,0,0.5);
1619
+ box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), inset 0 -1px 2px rgba(0,0,0,0.5);
1620
+ display: inline-block;
1621
+ height: 0.9em;
1622
+ margin: 0 1px;
1623
+ width: 0.9em;
1624
+ }
1625
+ .ai1ec-tag {
1626
+ color: #507295 !important;
1627
+ line-height: 1.3em;
1628
+ cursor: pointer;
1629
+ white-space: nowrap;
1630
+ margin: 0.1em 0.2em;
1631
+ padding: 0.1em 0.2em;
1632
+ -webkit-border-radius: 0.3em;
1633
+ -moz-border-radius: 0.3em;
1634
+ border-radius: 0.3em;
1635
+ display: inline-block;
1636
+ }
1637
+ .ai1ec-tag:hover {
1638
+ color: #354c63 !important;
1639
+ text-decoration: none;
1640
+ }
1641
+ .ai1ec-tag.ai1ec-selected {
1642
+ background: #e0efff;
1643
+ }
1644
+ .ai1ec-subscribe-google img {
1645
+ background: none !important;
1646
+ border: none !important;
1647
+ float: left;
1648
+ height: 32px !important;
1649
+ margin: -8px 0.5em -10px 0 !important;
1650
+ padding: 0 !important;
1651
+ width: 30px !important;
1652
+ }
1653
+ .ai1ec-agenda-widget-view {
1654
+ font-size: 0.8em !important;
1655
+ overflow: hidden;
1656
+ }
1657
+ .ai1ec-agenda-widget-view div {
1658
+ margin: 0;
1659
+ }
1660
+ .ai1ec-agenda-widget-view .ai1ec-no-results {
1661
+ font-style: italic;
1662
+ font-size: 1.4em !important;
1663
+ }
1664
+ .ai1ec-agenda-widget-view > ol {
1665
+ margin: 0 !important;
1666
+ padding: 0 !important;
1667
+ }
1668
+ .ai1ec-agenda-widget-view li {
1669
+ list-style: none !important;
1670
+ border: none !important;
1671
+ }
1672
+ .ai1ec-agenda-widget-view .ai1ec-date-events {
1673
+ overflow: hidden;
1674
+ margin: 0 0.5em 0 0 !important;
1675
+ padding: 0 !important;
1676
+ }
1677
+ .ai1ec-agenda-widget-view .ai1ec-date {
1678
+ border-top: 1px solid #e5e5e5 !important;
1679
+ background: rgba(242, 242, 242, 0.8);
1680
+ background: -webkit-gradient(linear, 0 0, 0 100%, from(#f2f2f2), color-stop(1em, #f2f2f2), to(rgba(242, 242, 242, 0)));
1681
+ background: -webkit-linear-gradient(#f2f2f2, #f2f2f2 1em, rgba(242, 242, 242, 0));
1682
+ background: -moz-linear-gradient(top, #f2f2f2, #f2f2f2 1em, rgba(242, 242, 242, 0));
1683
+ background: -ms-linear-gradient(#f2f2f2, #f2f2f2 1em, rgba(242, 242, 242, 0));
1684
+ background: -o-linear-gradient(#f2f2f2, #f2f2f2 1em, rgba(242, 242, 242, 0));
1685
+ background: linear-gradient(#f2f2f2, #f2f2f2 1em, rgba(242, 242, 242, 0));
1686
+ background-repeat: no-repeat;
1687
+ margin: 0 !important;
1688
+ overflow: hidden;
1689
+ padding: 0 !important;
1690
+ }
1691
+ .ai1ec-agenda-widget-view .ai1ec-date.ai1ec-today {
1692
+ border-top: 1px solid #f0f0aa !important;
1693
+ background: rgba(244, 244, 191, 0.8);
1694
+ background: -webkit-gradient(linear, 0 0, 0 100%, from(#f4f4bf), color-stop(1em, #f4f4bf), to(rgba(244, 244, 191, 0)));
1695
+ background: -webkit-linear-gradient(#f4f4bf, #f4f4bf 1em, rgba(244, 244, 191, 0));
1696
+ background: -moz-linear-gradient(top, #f4f4bf, #f4f4bf 1em, rgba(244, 244, 191, 0));
1697
+ background: -ms-linear-gradient(#f4f4bf, #f4f4bf 1em, rgba(244, 244, 191, 0));
1698
+ background: -o-linear-gradient(#f4f4bf, #f4f4bf 1em, rgba(244, 244, 191, 0));
1699
+ background: linear-gradient(#f4f4bf, #f4f4bf 1em, rgba(244, 244, 191, 0));
1700
+ background-repeat: no-repeat;
1701
+ }
1702
+ .ai1ec-agenda-widget-view h3.ai1ec-date-title {
1703
+ border: 2px solid #8ba5c0;
1704
+ -webkit-border-radius: 0 0 0.5em 0.5em;
1705
+ -moz-border-radius: 0 0 0.5em 0.5em;
1706
+ border-radius: 0 0 0.5em 0.5em;
1707
+ -webkit-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.08);
1708
+ -moz-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.08);
1709
+ box-shadow: 0 2px 2px rgba(0, 0, 0, 0.08);
1710
+ color: #525252;
1711
+ float: left;
1712
+ font-size: 1em;
1713
+ font-weight: normal;
1714
+ background-color: #f9f9f9;
1715
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), color-stop(1em, #ffffff), to(#e0e0e0));
1716
+ background-image: -webkit-linear-gradient(#ffffff, #ffffff 1em, #e0e0e0);
1717
+ background-image: -moz-linear-gradient(top, #ffffff, #ffffff 1em, #e0e0e0);
1718
+ background-image: -ms-linear-gradient(#ffffff, #ffffff 1em, #e0e0e0);
1719
+ background-image: -o-linear-gradient(#ffffff, #ffffff 1em, #e0e0e0);
1720
+ background-image: linear-gradient(#ffffff, #ffffff 1em, #e0e0e0);
1721
+ background-repeat: no-repeat;
1722
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e0e0e0', GradientType=0);
1723
+ line-height: 1.1em;
1724
+ margin: 0 0.5em 0.5em !important;
1725
+ padding: 0 !important;
1726
+ text-align: center;
1727
+ text-shadow: 0 1px 0 #ffffff;
1728
+ width: 3.5em;
1729
+ }
1730
+ .ai1ec-agenda-widget-view .ai1ec-month {
1731
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
1732
+ background: #8ba5c0;
1733
+ font-size: 0.9em !important;
1734
+ padding: 0.1em 0 0.2em;
1735
+ text-transform: uppercase;
1736
+ letter-spacing: 0.2em;
1737
+ color: #ffffff;
1738
+ }
1739
+ .ai1ec-agenda-widget-view .ai1ec-day {
1740
+ font-size: 1.7em !important;
1741
+ padding: 0.3em 0 0.2em !important;
1742
+ }
1743
+ .ai1ec-agenda-widget-view .ai1ec-weekday {
1744
+ font-size: 0.9em !important;
1745
+ line-height: 1.5em;
1746
+ }
1747
+ .ai1ec-agenda-widget-view .ai1ec-year {
1748
+ color: #ffffff;
1749
+ background: #8ba5c0;
1750
+ font-size: 0.8em !important;
1751
+ letter-spacing: 0.15em;
1752
+ padding: 0 0.1em;
1753
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
1754
+ }
1755
+ .ai1ec-agenda-widget-view .ai1ec-event {
1756
+ clear: right;
1757
+ font-size: 1.2em;
1758
+ line-height: 1.3em;
1759
+ margin: 0.5em 0 !important;
1760
+ overflow: hidden;
1761
+ padding: 0 !important;
1762
+ position: relative;
1763
+ }
1764
+ .ai1ec-agenda-widget-view .ai1ec-event a {
1765
+ color: #507295;
1766
+ display: block;
1767
+ background: #ffffff;
1768
+ border: 1px solid #d4d4d4;
1769
+ -webkit-border-radius: 0.4em;
1770
+ -moz-border-radius: 0.4em;
1771
+ border-radius: 0.4em;
1772
+ padding: 0.2em 0.4em !important;
1773
+ text-decoration: none !important;
1774
+ }
1775
+ .ai1ec-agenda-widget-view .ai1ec-event a:hover {
1776
+ border-color: #aeaeae;
1777
+ color: #354c63;
1778
+ text-decoration: none !important;
1779
+ }
1780
+ .ai1ec-agenda-widget-view .ai1ec-event .ai1ec-event-time {
1781
+ font-weight: bold;
1782
+ }
1783
+ .ai1ec-agenda-widget-view .ai1ec-event .ai1ec-event-title {
1784
+ font-weight: normal;
1785
+ }
1786
+ .ai1ec-agenda-widget-view .ai1ec-event.ai1ec-allday a {
1787
+ background: #507295;
1788
+ border: 1px solid transparent;
1789
+ color: #ffffff;
1790
+ }
1791
+ .ai1ec-agenda-widget-view .ai1ec-event.ai1ec-allday a:hover {
1792
+ background: #354c63;
1793
+ }
1794
+ .ai1ec-agenda-widget-view .ai1ec-event.ai1ec-allday a .ai1ec-event-time {
1795
+ color: #ffffff;
1796
+ }
1797
+ .ai1ec-agenda-widget-view .ai1ec-event .ai1ec-category-colors {
1798
+ font-size: 0.9em;
1799
+ }
1800
+ .ai1ec-agenda-widget-view .ai1ec-event .ai1ec-category-colors .ai1ec-category-color {
1801
+ margin: 0 0 -0.1em;
1802
+ padding: 1px;
1803
+ }
1804
+ .ai1ec-agenda-widget-view .ai1ec-subscribe-google img {
1805
+ width: 19px !important;
1806
+ height: 20px !important;
1807
+ margin: -5px 0.5em -5px 0 !important;
1808
+ }
themes-ai1ec/vortex/css/print.css CHANGED
@@ -1 +1,106 @@
1
- body{background:white;color:black;margin:0}#header,#navigation,#comments,#sidebar,#subcontent,#footer{display:none}#wpadminbar,footer{display:none}#page>header{display:none}#content{margin-top:-60px!important}*,.ai1ec-agenda-view .ai1ec-date{background:white!important;color:black!important}.thenly table.ai1ec-calendar-toolbar{display:none}.thenly .ai1ec-agenda-view .ai1ec-event.ai1ec-expanded{box-shadow:none;border:2px solid gray!important;background:none!important}.thenly .ai1ec-agenda-view h3.ai1ec-date-title{border:2px solid gray!important}.thenly ol.ai1ec-agenda-view h3.ai1ec-date-title{margin-top:.5em!important;border-radius:0}.thenly h3.ai1ec-date-title{width:5em;color:black}.thenly h3.ai1ec-date-title .ai1ec-month{display:inline;float:right;color:black}.thenly h3.ai1ec-date-title .ai1ec-day{padding:0!important;font-size:1em!important;color:black}.thenly h3.ai1ec-date-title .ai1ec-weekday{display:inline;float:left;color:black}.thenly div.ai1ec-event-click,.thenly div.ai1ec-categories{display:none}.thenly div.ai1ec-event-summary,.thenly div.ai1ec-event-summary div.ai1ec-event-click,.thenly div.ai1ec-event-description{display:block!important}.thenly ol.ai1ec-agenda-view div.ai1ec-event-summary div.ai1ec-event-title{display:inline}.thenly ol.ai1ec-agenda-view div.ai1ec-event-summary div.ai1ec-event-time{display:inline}.thenly a.ai1ec-button{display:none}.thenly ol.ai1ec-agenda-view div.ai1ec-event-description{padding:0!important}.thenly ol.ai1ec-agenda-view div.ai1ec-event-overlay{display:none}.thenly .entry-meta{display:none}.thenly #ai1ec-today,.thenly #ai1ec-expand-all,.thenly #ai1ec-collapse-all,.thenly #ai1ec-prev-page,.thenly #ai1ec-next-page{display:none}.thenly .ai1ec-subscribe,.thenly .ai1ec-subscribe-google{display:none}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ body {
2
+ background: white;
3
+ color: black;
4
+ margin: 0;
5
+ }
6
+ #header,
7
+ #navigation,
8
+ #comments,
9
+ #sidebar,
10
+ #subcontent,
11
+ #footer {
12
+ display: none;
13
+ }
14
+ #wpadminbar,
15
+ footer {
16
+ display: none;
17
+ }
18
+ #page > header {
19
+ display: none;
20
+ }
21
+ #content {
22
+ margin-top: -60px !important;
23
+ }
24
+ *,
25
+ .ai1ec-agenda-view .ai1ec-date {
26
+ background: white !important;
27
+ color: black !important;
28
+ }
29
+ .thenly {
30
+ /* Agenda event description */
31
+
32
+ /* Hide the buttons */
33
+
34
+ }
35
+ .thenly table.ai1ec-calendar-toolbar {
36
+ display: none;
37
+ }
38
+ .thenly .ai1ec-agenda-view .ai1ec-event.ai1ec-expanded {
39
+ box-shadow: none;
40
+ border: 2px solid gray !important;
41
+ background: none !important;
42
+ }
43
+ .thenly .ai1ec-agenda-view h3.ai1ec-date-title {
44
+ border: 2px solid gray !important;
45
+ }
46
+ .thenly ol.ai1ec-agenda-view h3.ai1ec-date-title {
47
+ margin-top: 0.5em !important;
48
+ border-radius: 0;
49
+ }
50
+ .thenly h3.ai1ec-date-title {
51
+ width: 5em;
52
+ color: black;
53
+ }
54
+ .thenly h3.ai1ec-date-title .ai1ec-month {
55
+ display: inline;
56
+ float: right;
57
+ color: black;
58
+ }
59
+ .thenly h3.ai1ec-date-title .ai1ec-day {
60
+ padding: 0 !important;
61
+ font-size: 1em !important;
62
+ color: black;
63
+ }
64
+ .thenly h3.ai1ec-date-title .ai1ec-weekday {
65
+ display: inline;
66
+ float: left;
67
+ color: black;
68
+ }
69
+ .thenly div.ai1ec-event-click,
70
+ .thenly div.ai1ec-categories {
71
+ display: none;
72
+ }
73
+ .thenly div.ai1ec-event-summary,
74
+ .thenly div.ai1ec-event-summary div.ai1ec-event-click,
75
+ .thenly div.ai1ec-event-description {
76
+ display: block !important;
77
+ }
78
+ .thenly ol.ai1ec-agenda-view div.ai1ec-event-summary div.ai1ec-event-title {
79
+ display: inline;
80
+ }
81
+ .thenly ol.ai1ec-agenda-view div.ai1ec-event-summary div.ai1ec-event-time {
82
+ display: inline;
83
+ }
84
+ .thenly a.ai1ec-button {
85
+ display: none;
86
+ }
87
+ .thenly ol.ai1ec-agenda-view div.ai1ec-event-description {
88
+ padding: 0 !important;
89
+ }
90
+ .thenly ol.ai1ec-agenda-view div.ai1ec-event-overlay {
91
+ display: none;
92
+ }
93
+ .thenly .entry-meta {
94
+ display: none;
95
+ }
96
+ .thenly #ai1ec-today,
97
+ .thenly #ai1ec-expand-all,
98
+ .thenly #ai1ec-collapse-all,
99
+ .thenly #ai1ec-prev-page,
100
+ .thenly #ai1ec-next-page {
101
+ display: none;
102
+ }
103
+ .thenly .ai1ec-subscribe,
104
+ .thenly .ai1ec-subscribe-google {
105
+ display: none;
106
+ }
themes-ai1ec/vortex/js/bootstrap-dropdown.js CHANGED
@@ -27,8 +27,8 @@ if ( ! jQuery.fn.dropdown ) {
27
 
28
  var toggle = '[data-toggle="dropdown"]'
29
  , Dropdown = function ( element ) {
30
- var $el = $(element).on('click.dropdown.data-api', this.toggle)
31
- $('html').on('click.dropdown.data-api', function () {
32
  $el.parent().removeClass('open')
33
  })
34
  }
@@ -85,8 +85,8 @@ if ( ! jQuery.fn.dropdown ) {
85
  * =================================== */
86
 
87
  $(function () {
88
- $('html').on('click.dropdown.data-api', clearMenus)
89
- $('body').on('click.dropdown.data-api', toggle, Dropdown.prototype.toggle)
90
  })
91
 
92
  }( window.jQuery );
27
 
28
  var toggle = '[data-toggle="dropdown"]'
29
  , Dropdown = function ( element ) {
30
+ var $el = $(element).delegate(this.toggle, 'click.dropdown.data-api')
31
+ $('html').bind('click.dropdown.data-api', function () {
32
  $el.parent().removeClass('open')
33
  })
34
  }
85
  * =================================== */
86
 
87
  $(function () {
88
+ $('html').bind('click.dropdown.data-api', clearMenus)
89
+ $('body').delegate(toggle, 'click.dropdown.data-api', Dropdown.prototype.toggle)
90
  })
91
 
92
  }( window.jQuery );
themes-ai1ec/vortex/js/bootstrap-tooltip.js CHANGED
@@ -46,8 +46,8 @@ if ( ! jQuery.fn.tooltip ) {
46
  if (this.options.trigger != 'manual') {
47
  eventIn = this.options.trigger == 'hover' ? 'mouseenter' : 'focus'
48
  eventOut = this.options.trigger == 'hover' ? 'mouseleave' : 'blur'
49
- this.$element.on(eventIn, this.options.selector, $.proxy(this.enter, this))
50
- this.$element.on(eventOut, this.options.selector, $.proxy(this.leave, this))
51
  }
52
 
53
  this.options.selector ?
46
  if (this.options.trigger != 'manual') {
47
  eventIn = this.options.trigger == 'hover' ? 'mouseenter' : 'focus'
48
  eventOut = this.options.trigger == 'hover' ? 'mouseleave' : 'blur'
49
+ this.$element.delegate(this.options.selector, eventIn, $.proxy(this.enter, this))
50
+ this.$element.delegate(this.options.selector, eventOut, $.proxy(this.leave, this))
51
  }
52
 
53
  this.options.selector ?
themes-ai1ec/vortex/js/calendar.js CHANGED
@@ -114,6 +114,8 @@ jQuery( document ).ready( function( $ ) {
114
 
115
  /**
116
  * Load a calendar view represented by the given hash value.
 
 
117
  */
118
  function load_view( hash ) {
119
 
@@ -347,7 +349,7 @@ jQuery( document ).ready( function( $ ) {
347
  });
348
  for ( var i = addDropdownContainer; i < $events.length; i++ ) {
349
  // Need to reset styles for events in dropdown.
350
- revert_multiday_bar( $events[i] )
351
 
352
  // Add an arrow for multiday events.
353
  if ( $( $events[i] ).hasClass( "ai1ec-multiday" ) ) {
@@ -395,7 +397,7 @@ jQuery( document ).ready( function( $ ) {
395
  // *** Month view ***
396
 
397
  /**
398
- * Extends day bars for multiday intervals
399
  */
400
  function extend_multiday_events() {
401
 
@@ -403,25 +405,22 @@ jQuery( document ).ready( function( $ ) {
403
  revert_multiday_events();
404
 
405
  var $days = $('.ai1ec-day');
406
- $('.ai1ec-month-view .ai1ec-multiday:visible').each(function() {
407
  var container = this.parentNode;
408
 
409
  var elHeight = $(this).outerHeight( true );
410
  var elWidth = $(container).width() + 1;
411
 
412
- var $elTitle = $(".ai1ec-event-title", this).first();
413
 
414
- var endDate = this.getAttribute("end-date");
415
- var endDay = endDate.split(/ /)[2];
416
- var endMonthYear = endDate.substr(0, endDate.lastIndexOf(" "));
417
 
418
- var $startEl = $(".ai1ec-date", container);
419
  var startDay = $startEl.html();
420
 
421
- var nextMonthBar = false;
422
- if (endMonthYear != $(".ai1ec-calendar-title").html()) {
423
- endDay = $(".ai1ec-date", $days[$days.length-1]).html();
424
- nextMonthBar = true;
425
  }
426
 
427
  var $evtContainer = $(this);
@@ -431,80 +430,98 @@ jQuery( document ).ready( function( $ ) {
431
  var daysLeft = deltaDays;
432
  var lineWidth = 0;
433
 
434
- $(this).css("width", 0);
435
-
436
- $days.each( function(i) {
437
- var $dayEl = $( ".ai1ec-date", this );
438
  var $td = $( this.parentNode );
439
  cellNum = $td.index();
440
 
441
- if ( parseInt( $dayEl.html() ) >= startDay &&
442
- parseInt( $dayEl.html() ) <= endDay ) {
443
 
444
- if ( parseInt( $dayEl.html() ) == startDay ) {
445
- marginSize = parseInt( $dayEl.css("marginBottom") ) + 16;
446
  }
447
  if ( cellNum != 0 ) {
 
 
448
  lineWidth = $td.offset().left + $td.width() - $(container).offset().left;
449
- } else {
450
- if ( parseInt( $dayEl.html() ) > startDay && daysLeft != 0 ) {
451
- var $block = $evtContainer.clone(false);
452
- $dayEl.parent().append($block);
453
-
454
- $block.addClass("ai1ec-multiday-bar");
455
-
456
- $block
457
- .css({
458
- position: "absolute",
459
- left: '1px',
460
- top: parseInt($dayEl.css("marginBottom")) + 13, // line height is 16px - 3px of initial margin
461
- backgroundColor: bgColor
462
- });
463
-
464
- var j = ( daysLeft > 7 ? i + 7 - 1 : i + daysLeft - 1 );
465
- var w = ( $( $days[j] ).offset().left + $( $days[j] ).width() - $($days[j].parentNode.parentNode).offset().left);
466
-
467
- $block.css( "width", w - 1 );
468
-
469
- if ( daysLeft > 1 ) {
470
- $block.append( create_multiday_arrow( 1, bgColor ));
471
- }
472
-
473
- $block.append( create_multiday_arrow( 2, bgColor ));
474
- curLine++;
475
  }
476
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
477
 
478
  // Keep constant margin (number of bars) during the first row.
479
  if ( curLine == 0 ) {
480
- $dayEl.css({ "marginBottom": marginSize + "px" });
 
481
  // But need to reset it and append margins from the begining for
482
  // subsequent weeks.
483
- } else {
484
- $dayEl.css({ "marginBottom": "+=16px" });
485
- }
486
- // Adding "start arrow" to the end of multi-month bars.
487
- if ( nextMonthBar ) {
488
- $evtContainer.append( create_multiday_arrow( 1, bgColor ));
489
  }
 
490
  daysLeft--;
491
  }
492
  });
 
 
 
 
 
 
493
  $(this).css({
494
- position: "absolute",
495
- top: $startEl.outerHeight( true ) - elHeight - 1 + "px",
496
  left: '1px',
497
- width: lineWidth + "px"
498
  });
499
- // Add an arrow to the initial bar for multi-week events.
 
500
  if ( curLine > 0 ) {
501
  $(this).append( create_multiday_arrow( 1, bgColor ) );
502
  }
503
- })
 
 
 
 
 
 
 
504
  }
505
 
506
  /**
507
  * Creates arrow for multiday bars.
 
 
 
508
  */
509
  function create_multiday_arrow( type, color ) {
510
  var $arrow = $( '<div class="ai1ec-multiday-arrow' + type + '"></div>' );
@@ -521,28 +538,31 @@ jQuery( document ).ready( function( $ ) {
521
  * Reverts styling added for multiday bars. Needed to apply filters.
522
  */
523
  function revert_multiday_events() {
524
- $(".ai1ec-month-view .ai1ec-date").each(function() {
 
525
  $(this).css({ marginBottom: "1px" });
526
  });
527
 
528
- $('.ai1ec-month-view .ai1ec-multiday-bar').remove();
529
- $('.ai1ec-month-view .ai1ec-multiday-arrow1').remove();
530
- $('.ai1ec-month-view .ai1ec-multiday-arrow2').remove();
531
 
532
- $('.ai1ec-month-view .ai1ec-multiday').each( function () {
533
- revert_multiday_bar(this);
534
  });
535
  }
536
 
537
- function revert_multiday_bar(bar) {
 
 
 
538
  $( bar ).css({
539
- position: "relative",
540
- left: "auto",
541
- top: "auto",
542
- width: "auto"
543
- })
544
- var weekBarsClassName = "."+bar.className.replace(/\s+/igm, ".") + ".ai1ec-multiday-bar"
545
- $(weekBarsClassName).remove();
 
546
 
547
  $( '.ai1ec-multiday-arrow1, ai1ec-multiday-arrow2', bar ).remove();
548
  }
@@ -648,7 +668,7 @@ jQuery( document ).ready( function( $ ) {
648
  // post IDs. Only include filter selectors that have a selection.
649
  var selected_ids = new Array();
650
 
651
- selected_cats =
652
  $('.ai1ec-filters-container .ai1ec-dropdown.active + #ai1ec-selected-categories').val();
653
  if( selected_cats ) {
654
  selected_ids.push( selected_cats );
@@ -657,7 +677,7 @@ jQuery( document ).ready( function( $ ) {
657
  selected_cats = '';
658
  }
659
 
660
- selected_tags =
661
  $('.ai1ec-filters-container .ai1ec-dropdown.active + #ai1ec-selected-tags').val();
662
  if( selected_tags ) {
663
  selected_ids.push( selected_tags );
@@ -668,12 +688,13 @@ jQuery( document ).ready( function( $ ) {
668
 
669
  selected_ids = selected_ids.join();
670
 
671
- // Modify export URL
672
  var export_url = ai1ec_convert_entities( ai1ec_calendar.export_url );
673
  if( selected_ids.length ) {
674
  export_url += selected_cats + selected_tags;
675
  $( '.ai1ec-subscribe-filtered' ).fadeIn( 'fast' );
676
- } else {
 
677
  $( '.ai1ec-subscribe-filtered' ).fadeOut( 'fast' );
678
  }
679
  $( '.ai1ec-subscribe' ).attr( 'href', export_url );
@@ -726,8 +747,10 @@ jQuery( document ).ready( function( $ ) {
726
  }
727
  } );
728
 
729
- // If there are multiday events in this view, stretch them out.
 
730
  if ( $('.ai1ec-month-view .ai1ec-multiday').length ) {
 
731
  extend_multiday_events();
732
  }
733
  },
@@ -845,6 +868,7 @@ jQuery( document ).ready( function( $ ) {
845
 
846
  // If in month view, extend multiday events.
847
  if ( $('.ai1ec-month-view .ai1ec-multiday').length ) {
 
848
  extend_multiday_events();
849
  }
850
 
@@ -853,8 +877,12 @@ jQuery( document ).ready( function( $ ) {
853
  }
854
 
855
  // If there are preselected tag/cat IDs, update the filter UI.
856
- if( $('#ai1ec-selected-categories').val() != '' ||
857
- $('#ai1ec-selected-tags').val() != '' )
 
 
858
  update_filter_selectors();
 
 
859
  initialize_view();
860
  } );
114
 
115
  /**
116
  * Load a calendar view represented by the given hash value.
117
+ *
118
+ * @param {string} hash The hash string requesting a calendar view
119
  */
120
  function load_view( hash ) {
121
 
349
  });
350
  for ( var i = addDropdownContainer; i < $events.length; i++ ) {
351
  // Need to reset styles for events in dropdown.
352
+ revert_multiday_bar( $events[i] );
353
 
354
  // Add an arrow for multiday events.
355
  if ( $( $events[i] ).hasClass( "ai1ec-multiday" ) ) {
397
  // *** Month view ***
398
 
399
  /**
400
+ * Extends day bars for multiday events.
401
  */
402
  function extend_multiday_events() {
403
 
405
  revert_multiday_events();
406
 
407
  var $days = $('.ai1ec-day');
408
+ $('.ai1ec-month-view .ai1ec-multiday:visible').each( function() {
409
  var container = this.parentNode;
410
 
411
  var elHeight = $(this).outerHeight( true );
412
  var elWidth = $(container).width() + 1;
413
 
414
+ var $elTitle = $( '.ai1ec-event-title', this ).first();
415
 
416
+ var endDay = $(this).data( 'endDay' );
 
 
417
 
418
+ var $startEl = $( '.ai1ec-date', container );
419
  var startDay = $startEl.html();
420
 
421
+ var nextMonthBar = $( this ).data( 'endTruncated' );
422
+ if ( nextMonthBar ) {
423
+ endDay = $( '.ai1ec-date', $days[$days.length - 1] ).html();
 
424
  }
425
 
426
  var $evtContainer = $(this);
430
  var daysLeft = deltaDays;
431
  var lineWidth = 0;
432
 
433
+ $days.each( function( i ) {
434
+ var $dayEl = $( '.ai1ec-date', this );
 
 
435
  var $td = $( this.parentNode );
436
  cellNum = $td.index();
437
 
438
+ var day = parseInt( $dayEl.html() );
439
+ if ( day >= startDay && day <= endDay ) {
440
 
441
+ if ( day == startDay ) {
442
+ marginSize = parseInt( $dayEl.css( 'marginBottom' ) ) + 16;
443
  }
444
  if ( cellNum != 0 ) {
445
+ // Extend initial event bar to the end of first (!) week.
446
+ if ( curLine == 0 ) {
447
  lineWidth = $td.offset().left + $td.width() - $(container).offset().left;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
448
  }
449
  }
450
+ else if ( day > startDay && daysLeft != 0 ) {
451
+ var $block = $evtContainer.clone(false);
452
+ $dayEl.parent().append($block);
453
+
454
+ // Create a new spanning multiday bar. "ai1ec-multiday-bar" is used
455
+ // for proper styling, while "ai1ec-multiday-clone" identifies the
456
+ // clones so they can be removed when required.
457
+ $block.addClass( 'ai1ec-multiday-bar ai1ec-multiday-clone' );
458
+
459
+ $block
460
+ .css({
461
+ position: "absolute",
462
+ left: '1px',
463
+ top: parseInt( $dayEl.css( 'marginBottom' ) ) + 13, // line height is 16px - 3px of initial margin
464
+ backgroundColor: bgColor
465
+ });
466
+
467
+ var j = ( daysLeft > 7 ? i + 7 - 1 : i + daysLeft - 1 );
468
+ var w = ( $( $days[j] ).offset().left + $( $days[j] ).width() - $($days[j].parentNode.parentNode).offset().left);
469
+
470
+ $block.css( 'width', w - 3 );
471
+
472
+ if ( daysLeft > 7 ) {
473
+ $block.append( create_multiday_arrow( 1, bgColor ));
474
+ }
475
+
476
+ $block.append( create_multiday_arrow( 2, bgColor ));
477
+ curLine++;
478
+ }
479
 
480
  // Keep constant margin (number of bars) during the first row.
481
  if ( curLine == 0 ) {
482
+ $dayEl.css({ 'marginBottom': marginSize + 'px' });
483
+ }
484
  // But need to reset it and append margins from the begining for
485
  // subsequent weeks.
486
+ else {
487
+ $dayEl.css({ 'marginBottom': '+=16px' });
 
 
 
 
488
  }
489
+
490
  daysLeft--;
491
  }
492
  });
493
+ // Adding "start arrow" to the end of multi-month bars.
494
+ if ( nextMonthBar ) {
495
+ var $lastBarPiece = $( '.' + $evtContainer[0].className.replace( /\s+/igm, '.' ) ).last();
496
+ $lastBarPiece.append( create_multiday_arrow( 1, bgColor ));
497
+ }
498
+
499
  $(this).css({
500
+ position: 'absolute',
501
+ top: $startEl.outerHeight( true ) - elHeight - 1 + 'px',
502
  left: '1px',
503
+ width: lineWidth + 'px'
504
  });
505
+
506
+ // Add an ending arrow to the initial event bar for multi-week events.
507
  if ( curLine > 0 ) {
508
  $(this).append( create_multiday_arrow( 1, bgColor ) );
509
  }
510
+ // Add a starting arrow to the initial event bar for events starting in
511
+ // previous month.
512
+ if ( $(this).data( 'startTruncated' ) ) {
513
+ $(this)
514
+ .append( create_multiday_arrow( 2, bgColor ) )
515
+ .addClass( 'ai1ec-multiday-bar' );
516
+ }
517
+ });
518
  }
519
 
520
  /**
521
  * Creates arrow for multiday bars.
522
+ *
523
+ * @param {int} type 1 for ending arrow, 2 for starting arrow
524
+ * @param {string} color Color of the multiday event
525
  */
526
  function create_multiday_arrow( type, color ) {
527
  var $arrow = $( '<div class="ai1ec-multiday-arrow' + type + '"></div>' );
538
  * Reverts styling added for multiday bars. Needed to apply filters.
539
  */
540
  function revert_multiday_events() {
541
+ var $view = $( '.ai1ec-month-view' );
542
+ $( '.ai1ec-date', $view ).each(function() {
543
  $(this).css({ marginBottom: "1px" });
544
  });
545
 
546
+ $( '.ai1ec-multiday-clone', $view ).remove();
 
 
547
 
548
+ $( '.ai1ec-multiday', $view ).each( function() {
549
+ revert_multiday_bar( this );
550
  });
551
  }
552
 
553
+ /**
554
+ * Reverts first multibar of a multiday event to its initial appearance.
555
+ */
556
+ function revert_multiday_bar( bar ) {
557
  $( bar ).css({
558
+ position: 'relative',
559
+ left: 'auto',
560
+ top: 'auto',
561
+ width: 'auto'
562
+ });
563
+
564
+ var weekBarsSelector = '.' + bar.className.replace( /\s+/igm, '.' ) + '.ai1ec-multiday-clone';
565
+ $( weekBarsSelector ).remove();
566
 
567
  $( '.ai1ec-multiday-arrow1, ai1ec-multiday-arrow2', bar ).remove();
568
  }
668
  // post IDs. Only include filter selectors that have a selection.
669
  var selected_ids = new Array();
670
 
671
+ var selected_cats =
672
  $('.ai1ec-filters-container .ai1ec-dropdown.active + #ai1ec-selected-categories').val();
673
  if( selected_cats ) {
674
  selected_ids.push( selected_cats );
677
  selected_cats = '';
678
  }
679
 
680
+ var selected_tags =
681
  $('.ai1ec-filters-container .ai1ec-dropdown.active + #ai1ec-selected-tags').val();
682
  if( selected_tags ) {
683
  selected_ids.push( selected_tags );
688
 
689
  selected_ids = selected_ids.join();
690
 
691
+ // Modify export URL.
692
  var export_url = ai1ec_convert_entities( ai1ec_calendar.export_url );
693
  if( selected_ids.length ) {
694
  export_url += selected_cats + selected_tags;
695
  $( '.ai1ec-subscribe-filtered' ).fadeIn( 'fast' );
696
+ }
697
+ else {
698
  $( '.ai1ec-subscribe-filtered' ).fadeOut( 'fast' );
699
  }
700
  $( '.ai1ec-subscribe' ).attr( 'href', export_url );
747
  }
748
  } );
749
 
750
+ // If there are multiday events in this view, revert them and recreate
751
+ // them after filters have been applied.
752
  if ( $('.ai1ec-month-view .ai1ec-multiday').length ) {
753
+ revert_multiday_events();
754
  extend_multiday_events();
755
  }
756
  },
868
 
869
  // If in month view, extend multiday events.
870
  if ( $('.ai1ec-month-view .ai1ec-multiday').length ) {
871
+ revert_multiday_events();
872
  extend_multiday_events();
873
  }
874
 
877
  }
878
 
879
  // If there are preselected tag/cat IDs, update the filter UI.
880
+ var selected_cats = $('#ai1ec-selected-categories').val(),
881
+ selected_tags = $('#ai1ec-selected-tags').val();
882
+ if( typeof( selected_cats ) == 'string' && selected_cats != '' ||
883
+ typeof( selected_tags ) == 'string' && selected_tags != '' ) {
884
  update_filter_selectors();
885
+ }
886
+
887
  initialize_view();
888
  } );
themes-ai1ec/vortex/js/calendar.min.js CHANGED
@@ -1 +1 @@
1
- function ai1ec_convert_entities(a){var b,c;b=function(a){if(/&[^;]+;/.test(a)){var b=document.createElement("div");return b.innerHTML=a,b.firstChild?b.firstChild.nodeValue:a}return a};if(typeof a=="string")return b(a);if(typeof a=="object")for(c in a)typeof a[c]=="string"&&(a[c]=b(a[c]));return a}function get_hashless_url(){var a=window.location.href,b=window.location.hash,c=a.indexOf(b)||a.length,d=a.substr(0,c);return d}jQuery(document).ready(function(a){function g(){var a=document.location.hash,b=ai1ec_convert_entities(ai1ec_calendar.default_hash);if(d!=a&&(a!=""||d!=b)){var c=a;c||(c=b),h(c)}}function h(b){a("#ai1ec-calendar-view-loading").fadeIn("fast"),a("#ai1ec-calendar-view").fadeTo("fast",.3,function(){var c=b.substring(1);a.post(ai1ec_calendar.ajaxurl,c,function(b){var c=a("body").attr("class");c=c.replace(/\s?\bai1ec-[\w-]+\b/g,""),c+=" "+b.body_class,a("body").attr("class",c);var d=a("#ai1ec-calendar-view-container");d.height(d.height());var e=a("#ai1ec-calendar-view").html(b.html).height();d.animate({height:e},{complete:function(){d.height("auto")}}),a("#ai1ec-calendar-view-loading").fadeOut("fast"),a("#ai1ec-calendar-view").fadeTo("fast",1),y()},"json")}),d=b}function j(){a("#ai1ec-print-button").toggle(a(".ai1ec-agenda-view").length!=0)}function l(){var b=a(this).prev();b.removeClass("ai1ec-event-popup-allround");if(a(this.parentNode).is(".ai1ec-multiday")){var c="."+this.parentNode.className.replace(" ai1ec-multiday-bar","").replace(/\s+/igm,"."),d=a(c);d.each(function(c){var e=a(".ai1ec-event-popup",d[c]);b[0]!=e[0]&&e.addClass("ai1ec-event-popup-allround").css("visibility","visible").fadeIn(100)})}if(!b.data("ai1ec_offset")){b.css("visibility","hidden").show();var e=a("#ai1ec-calendar-view-container"),f=b.width(),g=b.offset(),h=e.offset(),i=h.left+e.width(),j=a(".ai1ec-event-summary",b);g.left+f>i&&b.offset({left:i-f,top:g.top}),j.offset().left<h.left&&b.addClass("ai1ec-shifted-right"),b.hide().css("visibility","visible"),b.data("ai1ec_offset",!0)}b.css({"z-index":++k}).fadeIn(100,Modernizr.touch?null:function(){a(this).data("ai1ec_mouseinside")||a(this).each(m)});if(Modernizr.touch)return a(".ai1ec-month-view .ai1ec-event-popup, .ai1ec-week-view .ai1ec-event-popup").not(b).fadeOut(100,function(){a(this).parent().css({zIndex:"auto"})}),!1}function m(){var b="."+this.parentNode.className.replace(" ai1ec-multiday-bar","").replace(/\s+/igm,"."),c=a(b+" .ai1ec-event-popup");a(c).fadeOut(100,function(){a(this).parent().css({zIndex:"auto"})}).data("ai1ec_mouseinside",!1)}function n(){a(".ai1ec-month-view").length&&(s(),a(".ai1ec-month-view .ai1ec-day").each(function(){var b=5,c=80,d=-1,e=a(".ai1ec-event-container:visible",this);e.each(function(a){this.offsetTop>=c&&d==-1&&(d=a>1?a-1:0)});if(d!=-1){var f=document.createElement("div");f.className="ai1ec-event-dropdown",a(f).css({top:e[d].offsetTop,display:"none"});for(var g=d;g<e.length;g++)r(e[g]),a(e[g]).hasClass("ai1ec-multiday")&&a(e[g]).append(p(1,e[g].style.backgroundColor)),a(f).append(e[g]);$scroll_down=a('<a href="#" class="ai1ec-scroll-down"></a>'),$scroll_down.bind("hover click",function(){return a(f).fadeIn(100),!1});var h=a(this).find(".ai1ec-date");parseInt(h.css("marginBottom"))>c&&(h.css({marginBottom:c-15+"px"}),a(f).css({top:c+"px"})),a(this).append(f),a(this).append($scroll_down),Modernizr.touch?($scroll_up=a('<a href="#" class="ai1ec-scroll-up"></a>'),$scroll_up.bind("click",function(){return a(f).fadeOut(100),!1}),a(f).append($scroll_up)):a(f).bind("mouseleave",function(){a(this).fadeOut(100)})}}))}function o(){q();var b=a(".ai1ec-day");a(".ai1ec-month-view .ai1ec-multiday:visible").each(function(){var c=this.parentNode,d=a(this).outerHeight(!0),e=a(c).width()+1,f=a(".ai1ec-event-title",this).first(),g=this.getAttribute("end-date"),h=g.split(/ /)[2],i=g.substr(0,g.lastIndexOf(" ")),j=a(".ai1ec-date",c),k=j.html(),l=!1;i!=a(".ai1ec-calendar-title").html()&&(h=a(".ai1ec-date",b[b.length-1]).html(),l=!0);var m=a(this),n=a(".ai1ec-event",m)[0].style.backgroundColor,o=0,q=h-k+1,r=q,s=0;a(this).css("width",0),b.each(function(d){var e=a(".ai1ec-date",this),f=a(this.parentNode);cellNum=f.index();if(parseInt(e.html())>=k&&parseInt(e.html())<=h){parseInt(e.html())==k&&(marginSize=parseInt(e.css("marginBottom"))+16);if(cellNum!=0)s=f.offset().left+f.width()-a(c).offset().left;else if(parseInt(e.html())>k&&r!=0){var g=m.clone(!1);e.parent().append(g),g.addClass("ai1ec-multiday-bar"),g.css({position:"absolute",left:"1px",top:parseInt(e.css("marginBottom"))+13,backgroundColor:n});var i=r>7?d+7-1:d+r-1,j=a(b[i]).offset().left+a(b[i]).width()-a(b[i].parentNode.parentNode).offset().left;g.css("width",j-1),r>1&&g.append(p(1,n)),g.append(p(2,n)),o++}o==0?e.css({marginBottom:marginSize+"px"}):e.css({marginBottom:"+=16px"}),l&&m.append(p(1,n)),r--}}),a(this).css({position:"absolute",top:j.outerHeight(!0)-d-1+"px",left:"1px",width:s+"px"}),o>0&&a(this).append(p(1,n))})}function p(b,c){var d=a('<div class="ai1ec-multiday-arrow'+b+'"></div>');return b==1?d.css({borderLeftColor:c}):d.css({borderTopColor:c,borderRightColor:c,borderBottomColor:c}),d}function q(){a(".ai1ec-month-view .ai1ec-date").each(function(){a(this).css({marginBottom:"1px"})}),a(".ai1ec-month-view .ai1ec-multiday-bar").remove(),a(".ai1ec-month-view .ai1ec-multiday-arrow1").remove(),a(".ai1ec-month-view .ai1ec-multiday-arrow2").remove(),a(".ai1ec-month-view .ai1ec-multiday").each(function(){r(this)})}function r(b){a(b).css({position:"relative",left:"auto",top:"auto",width:"auto"});var c="."+b.className.replace(/\s+/igm,".")+".ai1ec-multiday-bar";a(c).remove(),a(".ai1ec-multiday-arrow1, ai1ec-multiday-arrow2",b).remove()}function s(){a(".ai1ec-month-view .ai1ec-event-dropdown").each(function(){var b=this.parentNode;a(this).find(".ai1ec-event-container").each(function(){b.appendChild(this)})}),a(".ai1ec-month-view .ai1ec-event-dropdown").remove(),a(".ai1ec-month-view .ai1ec-scroll-down").remove()}function t(){a(this).hide().parent().addClass("ai1ec-expanded").end().prev().show().find(".ai1ec-event-description").hide().slideDown("fast")}function u(){a(this).next().slideUp("fast",function(){a(this).parent().parent().removeClass("ai1ec-expanded").end().hide().next().show()})}function v(b){var c=!1;return b.find("ol.ai1ec-date-events li.ai1ec-event").each(function(){a(this).css("display")!="none"&&(c=!0)}),c}function w(){var b=new Array;selected_cats=a(".ai1ec-filters-container .ai1ec-dropdown.active + #ai1ec-selected-categories").val(),selected_cats?(b.push(selected_cats),selected_cats="&ai1ec_cat_ids="+selected_cats):selected_cats="",selected_tags=a(".ai1ec-filters-container .ai1ec-dropdown.active + #ai1ec-selected-tags").val(),selected_tags?(b.push(selected_tags),selected_tags="&ai1ec_tag_ids="+selected_tags):selected_tags="",b=b.join();var c=ai1ec_convert_entities(ai1ec_calendar.export_url);b.length?(c+=selected_cats+selected_tags,a(".ai1ec-subscribe-filtered").fadeIn("fast")):a(".ai1ec-subscribe-filtered").fadeOut("fast"),a(".ai1ec-subscribe").attr("href",c),a(".ai1ec-subscribe-google").attr("href","http://www.google.com/calendar/render?cid="+escape(c.replace("webcal://","http://")));var d={action:"ai1ec_term_filter",ai1ec_post_ids:e,ai1ec_term_ids:b},f=a("#ai1ec-calendar-view-loading").delay(500).fadeIn("fast"),g=a("#ai1ec-calendar-view").delay(500).fadeTo("fast",.3);a.post(ai1ec_calendar.ajaxurl,d,function(b){f.clearQueue().fadeOut("fast"),g.clearQueue().fadeTo("fast",1);var c=[];a.each(b.matching_ids,function(a,b){c.push("#ai1ec-calendar-view .ai1ec-event-id-"+b)}),a(c.join()).css("display","block"),c=[],a.each(b.unmatching_ids,function(a,b){c.push("#ai1ec-calendar-view .ai1ec-event-id-"+b)}),a(c.join()).css("display","none"),a("ol.ai1ec-agenda-view > li.ai1ec-date").each(function(){v(a(this))?a(this).slideDown("fast"):a(this).slideUp("fast")}),a(".ai1ec-month-view .ai1ec-multiday").length&&o()},"json")}function x(){a(".ai1ec-filter-selector-container").each(function(){a("li.ai1ec-selected",this).length?a(".ai1ec-dropdown",this).addClass("active btn-info"):a(".ai1ec-dropdown",this).removeClass("active btn-info")}),a(".ai1ec-filters-container .ai1ec-selected").length?a(".ai1ec-clear-filters").fadeIn("fast"):a(".ai1ec-clear-filters").fadeOut("fast"),w()}function y(){var b=a("body").attr("class").split(" ");for(i in b){var c=/ai1ec-action-([\w]+)/.exec(b[i]);if(c!=null)break}var d=a("#ai1ec-view-"+c[1]);a("#ai1ec-current-view").contents().remove().end().prepend(d.contents().clone()).append('<span class="caret"></span>'),a("#ai1ec-view-dropdown .dropdown-menu li").removeClass("active"),d.parent().addClass("active"),e=new Array,a(".ai1ec-post-id").each(function(){e.push(this.value)}),e=e.join(),a("table.ai1ec-week-view-original").tableScroll({height:400,containerClass:"ai1ec-week-view"}),a("table.ai1ec-oneday-view-original").tableScroll({height:400,containerClass:"ai1ec-oneday-view"}),a(".ai1ec-active-event:first").length?(a(".ai1ec-month-view .ai1ec-active-event:first, .ai1ec-oneday-view .ai1ec-active-event:first, .ai1ec-week-view .ai1ec-active-event:first").each(function(){a(this).each(l).prev().data("ai1ec_mouseinside",!0)}),a(".ai1ec-agenda-view .ai1ec-active-event:first > .ai1ec-event-click").each(t),a.scrollTo(".ai1ec-active-event:first",1e3,{offset:{left:0,top:-window.innerHeight/2+100}})):(a(".ai1ec-week-view").length||a(".ai1ec-oneday-view").length)&&a(".ai1ec-oneday-view .tablescroll_wrapper, .ai1ec-week-view .tablescroll_wrapper").scrollTo(".ai1ec-hour-marker:eq(6)"),a(".ai1ec-dropdown.active").length&&(a(".ai1ec-month-view .ai1ec-event-container, .ai1ec-oneday-view .ai1ec-event-container, .ai1ec-week-view .ai1ec-event-container, .ai1ec-agenda-view .ai1ec-event").hide(),w()),a(".ai1ec-month-view .ai1ec-multiday").length&&o(),j()}if(ai1ec_calendar.selector!=undefined&&ai1ec_calendar.selector!=""&&a(ai1ec_calendar.selector).length==1){var b=a(":header:contains("+ai1ec_calendar.title+"):first");b.length||(b=a('<h1 class="page-title"></h1>'),b.text(ai1ec_calendar.title));var c=a("#ai1ec-container").detach().before(b);a(ai1ec_calendar.selector).empty().append(c).hide().css("visibility","visible").fadeIn("fast")}var d="",e,f=a("body").attr("class");f==undefined&&(f=""),f.match(/\s?\bai1ec-[\w-]+\b/)==null&&(f+=" "+ai1ec_calendar.body_class,a("body").attr("class",f)),setInterval(g,300),a("a.ai1ec-load-view").live("click",function(){h(a(this).attr("href"))}),a("#ai1ec-print-button").click(function(a){a.preventDefault();var b=get_hashless_url(),c=b+"&print=true"+window.location.hash;window.open(c,"Print page")});var k=999;a(".ai1ec-month-view .ai1ec-event, .ai1ec-oneday-view .ai1ec-event, .ai1ec-week-view .ai1ec-event").live(Modernizr.touch?"click":"mouseenter",l),Modernizr.touch||a(".ai1ec-month-view .ai1ec-event-popup, .ai1ec-oneday-view .ai1ec-event-popup, .ai1ec-week-view .ai1ec-event-popup").live("mouseleave",m).live("mousemove",function(){a(this).data("ai1ec_mouseinside",!0)}),a(".ai1ec-month-view, .ai1ec-oneday-view, .ai1ec-week-view").length&&a(window).blur(function(){a(".ai1ec-event-popup:visible").each(m)}),a(".ai1ec-oneday-view .ai1ec-oneday a.ai1ec-event-container, .ai1ec-week-view .ai1ec-week a.ai1ec-event-container").live("mouseenter",function(){a(this).delay(500).queue(function(){a(this).css("z-index",5)})}).live("mouseleave",function(){a(this).clearQueue().css("z-index","auto")}),a(".ai1ec-agenda-view .ai1ec-event > .ai1ec-event-click").live("click",t),a(".ai1ec-agenda-view .ai1ec-event-summary > .ai1ec-event-click").live("click",u),a(".ai1ec-action-agenda #ai1ec-expand-all").live("click",function(){a(".ai1ec-event > .ai1ec-event-click:visible").click()}),a(".ai1ec-action-agenda #ai1ec-collapse-all").live("click",function(){a(".ai1ec-event-summary > .ai1ec-event-click:visible").click()}),element_selector(".ai1ec-category-filter-selector li","ai1ec-selected","ai1ec-categories","#ai1ec-selected-categories"),element_selector(".ai1ec-tag-filter-selector li","ai1ec-selected","ai1ec-tags","#ai1ec-selected-tags"),a(".ai1ec-filter-selector li").click(x),a(".ai1ec-clear-filters").click(function(){a(".ai1ec-filter-selector-container li").removeClass("ai1ec-selected"),x()}),(a("#ai1ec-selected-categories").val()!=""||a("#ai1ec-selected-tags").val()!="")&&x(),y()});
1
+ function ai1ec_convert_entities(a){var b,c;b=function(a){if(/&[^;]+;/.test(a)){var b=document.createElement("div");return b.innerHTML=a,b.firstChild?b.firstChild.nodeValue:a}return a};if(typeof a=="string")return b(a);if(typeof a=="object")for(c in a)typeof a[c]=="string"&&(a[c]=b(a[c]));return a}function get_hashless_url(){var a=window.location.href,b=window.location.hash,c=a.indexOf(b)||a.length,d=a.substr(0,c);return d}jQuery(document).ready(function(a){function g(){var a=document.location.hash,b=ai1ec_convert_entities(ai1ec_calendar.default_hash);if(d!=a&&(a!=""||d!=b)){var c=a;c||(c=b),h(c)}}function h(b){a("#ai1ec-calendar-view-loading").fadeIn("fast"),a("#ai1ec-calendar-view").fadeTo("fast",.3,function(){var c=b.substring(1);a.post(ai1ec_calendar.ajaxurl,c,function(b){var c=a("body").attr("class");c=c.replace(/\s?\bai1ec-[\w-]+\b/g,""),c+=" "+b.body_class,a("body").attr("class",c);var d=a("#ai1ec-calendar-view-container");d.height(d.height());var e=a("#ai1ec-calendar-view").html(b.html).height();d.animate({height:e},{complete:function(){d.height("auto")}}),a("#ai1ec-calendar-view-loading").fadeOut("fast"),a("#ai1ec-calendar-view").fadeTo("fast",1),y()},"json")}),d=b}function j(){a("#ai1ec-print-button").toggle(a(".ai1ec-agenda-view").length!=0)}function l(){var b=a(this).prev();b.removeClass("ai1ec-event-popup-allround");if(a(this.parentNode).is(".ai1ec-multiday")){var c="."+this.parentNode.className.replace(" ai1ec-multiday-bar","").replace(/\s+/igm,"."),d=a(c);d.each(function(c){var e=a(".ai1ec-event-popup",d[c]);b[0]!=e[0]&&e.addClass("ai1ec-event-popup-allround").css("visibility","visible").fadeIn(100)})}if(!b.data("ai1ec_offset")){b.css("visibility","hidden").show();var e=a("#ai1ec-calendar-view-container"),f=b.width(),g=b.offset(),h=e.offset(),i=h.left+e.width(),j=a(".ai1ec-event-summary",b);g.left+f>i&&b.offset({left:i-f,top:g.top}),j.offset().left<h.left&&b.addClass("ai1ec-shifted-right"),b.hide().css("visibility","visible"),b.data("ai1ec_offset",!0)}b.css({"z-index":++k}).fadeIn(100,Modernizr.touch?null:function(){a(this).data("ai1ec_mouseinside")||a(this).each(m)});if(Modernizr.touch)return a(".ai1ec-month-view .ai1ec-event-popup, .ai1ec-week-view .ai1ec-event-popup").not(b).fadeOut(100,function(){a(this).parent().css({zIndex:"auto"})}),!1}function m(){var b="."+this.parentNode.className.replace(" ai1ec-multiday-bar","").replace(/\s+/igm,"."),c=a(b+" .ai1ec-event-popup");a(c).fadeOut(100,function(){a(this).parent().css({zIndex:"auto"})}).data("ai1ec_mouseinside",!1)}function n(){a(".ai1ec-month-view").length&&(s(),a(".ai1ec-month-view .ai1ec-day").each(function(){var b=5,c=80,d=-1,e=a(".ai1ec-event-container:visible",this);e.each(function(a){this.offsetTop>=c&&d==-1&&(d=a>1?a-1:0)});if(d!=-1){var f=document.createElement("div");f.className="ai1ec-event-dropdown",a(f).css({top:e[d].offsetTop,display:"none"});for(var g=d;g<e.length;g++)r(e[g]),a(e[g]).hasClass("ai1ec-multiday")&&a(e[g]).append(p(1,e[g].style.backgroundColor)),a(f).append(e[g]);$scroll_down=a('<a href="#" class="ai1ec-scroll-down"></a>'),$scroll_down.bind("hover click",function(){return a(f).fadeIn(100),!1});var h=a(this).find(".ai1ec-date");parseInt(h.css("marginBottom"))>c&&(h.css({marginBottom:c-15+"px"}),a(f).css({top:c+"px"})),a(this).append(f),a(this).append($scroll_down),Modernizr.touch?($scroll_up=a('<a href="#" class="ai1ec-scroll-up"></a>'),$scroll_up.bind("click",function(){return a(f).fadeOut(100),!1}),a(f).append($scroll_up)):a(f).bind("mouseleave",function(){a(this).fadeOut(100)})}}))}function o(){q();var b=a(".ai1ec-day");a(".ai1ec-month-view .ai1ec-multiday:visible").each(function(){var c=this.parentNode,d=a(this).outerHeight(!0),e=a(c).width()+1,f=a(".ai1ec-event-title",this).first(),g=a(this).data("endDay"),h=a(".ai1ec-date",c),i=h.html(),j=a(this).data("endTruncated");j&&(g=a(".ai1ec-date",b[b.length-1]).html());var k=a(this),l=a(".ai1ec-event",k)[0].style.backgroundColor,m=0,n=g-i+1,o=n,q=0;b.each(function(d){var e=a(".ai1ec-date",this),f=a(this.parentNode);cellNum=f.index();var h=parseInt(e.html());if(h>=i&&h<=g){h==i&&(marginSize=parseInt(e.css("marginBottom"))+16);if(cellNum!=0)m==0&&(q=f.offset().left+f.width()-a(c).offset().left);else if(h>i&&o!=0){var j=k.clone(!1);e.parent().append(j),j.addClass("ai1ec-multiday-bar ai1ec-multiday-clone"),j.css({position:"absolute",left:"1px",top:parseInt(e.css("marginBottom"))+13,backgroundColor:l});var n=o>7?d+7-1:d+o-1,r=a(b[n]).offset().left+a(b[n]).width()-a(b[n].parentNode.parentNode).offset().left;j.css("width",r-3),o>7&&j.append(p(1,l)),j.append(p(2,l)),m++}m==0?e.css({marginBottom:marginSize+"px"}):e.css({marginBottom:"+=16px"}),o--}});if(j){var r=a("."+k[0].className.replace(/\s+/igm,".")).last();r.append(p(1,l))}a(this).css({position:"absolute",top:h.outerHeight(!0)-d-1+"px",left:"1px",width:q+"px"}),m>0&&a(this).append(p(1,l)),a(this).data("startTruncated")&&a(this).append(p(2,l)).addClass("ai1ec-multiday-bar")})}function p(b,c){var d=a('<div class="ai1ec-multiday-arrow'+b+'"></div>');return b==1?d.css({borderLeftColor:c}):d.css({borderTopColor:c,borderRightColor:c,borderBottomColor:c}),d}function q(){var b=a(".ai1ec-month-view");a(".ai1ec-date",b).each(function(){a(this).css({marginBottom:"1px"})}),a(".ai1ec-multiday-clone",b).remove(),a(".ai1ec-multiday",b).each(function(){r(this)})}function r(b){a(b).css({position:"relative",left:"auto",top:"auto",width:"auto"});var c="."+b.className.replace(/\s+/igm,".")+".ai1ec-multiday-clone";a(c).remove(),a(".ai1ec-multiday-arrow1, ai1ec-multiday-arrow2",b).remove()}function s(){a(".ai1ec-month-view .ai1ec-event-dropdown").each(function(){var b=this.parentNode;a(this).find(".ai1ec-event-container").each(function(){b.appendChild(this)})}),a(".ai1ec-month-view .ai1ec-event-dropdown").remove(),a(".ai1ec-month-view .ai1ec-scroll-down").remove()}function t(){a(this).hide().parent().addClass("ai1ec-expanded").end().prev().show().find(".ai1ec-event-description").hide().slideDown("fast")}function u(){a(this).next().slideUp("fast",function(){a(this).parent().parent().removeClass("ai1ec-expanded").end().hide().next().show()})}function v(b){var c=!1;return b.find("ol.ai1ec-date-events li.ai1ec-event").each(function(){a(this).css("display")!="none"&&(c=!0)}),c}function w(){var b=new Array,c=a(".ai1ec-filters-container .ai1ec-dropdown.active + #ai1ec-selected-categories").val();c?(b.push(c),c="&ai1ec_cat_ids="+c):c="";var d=a(".ai1ec-filters-container .ai1ec-dropdown.active + #ai1ec-selected-tags").val();d?(b.push(d),d="&ai1ec_tag_ids="+d):d="",b=b.join();var f=ai1ec_convert_entities(ai1ec_calendar.export_url);b.length?(f+=c+d,a(".ai1ec-subscribe-filtered").fadeIn("fast")):a(".ai1ec-subscribe-filtered").fadeOut("fast"),a(".ai1ec-subscribe").attr("href",f),a(".ai1ec-subscribe-google").attr("href","http://www.google.com/calendar/render?cid="+escape(f.replace("webcal://","http://")));var g={action:"ai1ec_term_filter",ai1ec_post_ids:e,ai1ec_term_ids:b},h=a("#ai1ec-calendar-view-loading").delay(500).fadeIn("fast"),i=a("#ai1ec-calendar-view").delay(500).fadeTo("fast",.3);a.post(ai1ec_calendar.ajaxurl,g,function(b){h.clearQueue().fadeOut("fast"),i.clearQueue().fadeTo("fast",1);var c=[];a.each(b.matching_ids,function(a,b){c.push("#ai1ec-calendar-view .ai1ec-event-id-"+b)}),a(c.join()).css("display","block"),c=[],a.each(b.unmatching_ids,function(a,b){c.push("#ai1ec-calendar-view .ai1ec-event-id-"+b)}),a(c.join()).css("display","none"),a("ol.ai1ec-agenda-view > li.ai1ec-date").each(function(){v(a(this))?a(this).slideDown("fast"):a(this).slideUp("fast")}),a(".ai1ec-month-view .ai1ec-multiday").length&&(q(),o())},"json")}function x(){a(".ai1ec-filter-selector-container").each(function(){a("li.ai1ec-selected",this).length?a(".ai1ec-dropdown",this).addClass("active btn-info"):a(".ai1ec-dropdown",this).removeClass("active btn-info")}),a(".ai1ec-filters-container .ai1ec-selected").length?a(".ai1ec-clear-filters").fadeIn("fast"):a(".ai1ec-clear-filters").fadeOut("fast"),w()}function y(){var b=a("body").attr("class").split(" ");for(i in b){var c=/ai1ec-action-([\w]+)/.exec(b[i]);if(c!=null)break}var d=a("#ai1ec-view-"+c[1]);a("#ai1ec-current-view").contents().remove().end().prepend(d.contents().clone()).append('<span class="caret"></span>'),a("#ai1ec-view-dropdown .dropdown-menu li").removeClass("active"),d.parent().addClass("active"),e=new Array,a(".ai1ec-post-id").each(function(){e.push(this.value)}),e=e.join(),a("table.ai1ec-week-view-original").tableScroll({height:400,containerClass:"ai1ec-week-view"}),a("table.ai1ec-oneday-view-original").tableScroll({height:400,containerClass:"ai1ec-oneday-view"}),a(".ai1ec-active-event:first").length?(a(".ai1ec-month-view .ai1ec-active-event:first, .ai1ec-oneday-view .ai1ec-active-event:first, .ai1ec-week-view .ai1ec-active-event:first").each(function(){a(this).each(l).prev().data("ai1ec_mouseinside",!0)}),a(".ai1ec-agenda-view .ai1ec-active-event:first > .ai1ec-event-click").each(t),a.scrollTo(".ai1ec-active-event:first",1e3,{offset:{left:0,top:-window.innerHeight/2+100}})):(a(".ai1ec-week-view").length||a(".ai1ec-oneday-view").length)&&a(".ai1ec-oneday-view .tablescroll_wrapper, .ai1ec-week-view .tablescroll_wrapper").scrollTo(".ai1ec-hour-marker:eq(6)"),a(".ai1ec-dropdown.active").length&&(a(".ai1ec-month-view .ai1ec-event-container, .ai1ec-oneday-view .ai1ec-event-container, .ai1ec-week-view .ai1ec-event-container, .ai1ec-agenda-view .ai1ec-event").hide(),w()),a(".ai1ec-month-view .ai1ec-multiday").length&&(q(),o()),j()}if(ai1ec_calendar.selector!=undefined&&ai1ec_calendar.selector!=""&&a(ai1ec_calendar.selector).length==1){var b=a(":header:contains("+ai1ec_calendar.title+"):first");b.length||(b=a('<h1 class="page-title"></h1>'),b.text(ai1ec_calendar.title));var c=a("#ai1ec-container").detach().before(b);a(ai1ec_calendar.selector).empty().append(c).hide().css("visibility","visible").fadeIn("fast")}var d="",e,f=a("body").attr("class");f==undefined&&(f=""),f.match(/\s?\bai1ec-[\w-]+\b/)==null&&(f+=" "+ai1ec_calendar.body_class,a("body").attr("class",f)),setInterval(g,300),a("a.ai1ec-load-view").live("click",function(){h(a(this).attr("href"))}),a("#ai1ec-print-button").click(function(a){a.preventDefault();var b=get_hashless_url(),c=b+"&print=true"+window.location.hash;window.open(c,"Print page")});var k=999;a(".ai1ec-month-view .ai1ec-event, .ai1ec-oneday-view .ai1ec-event, .ai1ec-week-view .ai1ec-event").live(Modernizr.touch?"click":"mouseenter",l),Modernizr.touch||a(".ai1ec-month-view .ai1ec-event-popup, .ai1ec-oneday-view .ai1ec-event-popup, .ai1ec-week-view .ai1ec-event-popup").live("mouseleave",m).live("mousemove",function(){a(this).data("ai1ec_mouseinside",!0)}),a(".ai1ec-month-view, .ai1ec-oneday-view, .ai1ec-week-view").length&&a(window).blur(function(){a(".ai1ec-event-popup:visible").each(m)}),a(".ai1ec-oneday-view .ai1ec-oneday a.ai1ec-event-container, .ai1ec-week-view .ai1ec-week a.ai1ec-event-container").live("mouseenter",function(){a(this).delay(500).queue(function(){a(this).css("z-index",5)})}).live("mouseleave",function(){a(this).clearQueue().css("z-index","auto")}),a(".ai1ec-agenda-view .ai1ec-event > .ai1ec-event-click").live("click",t),a(".ai1ec-agenda-view .ai1ec-event-summary > .ai1ec-event-click").live("click",u),a(".ai1ec-action-agenda #ai1ec-expand-all").live("click",function(){a(".ai1ec-event > .ai1ec-event-click:visible").click()}),a(".ai1ec-action-agenda #ai1ec-collapse-all").live("click",function(){a(".ai1ec-event-summary > .ai1ec-event-click:visible").click()}),element_selector(".ai1ec-category-filter-selector li","ai1ec-selected","ai1ec-categories","#ai1ec-selected-categories"),element_selector(".ai1ec-tag-filter-selector li","ai1ec-selected","ai1ec-tags","#ai1ec-selected-tags"),a(".ai1ec-filter-selector li").click(x),a(".ai1ec-clear-filters").click(function(){a(".ai1ec-filter-selector-container li").removeClass("ai1ec-selected"),x()});var z=a("#ai1ec-selected-categories").val(),A=a("#ai1ec-selected-tags").val();(typeof z=="string"&&z!=""||typeof A=="string"&&A!="")&&x(),y()});
themes-ai1ec/vortex/js/general.min.js CHANGED
@@ -1 +1 @@
1
- jQuery.fn.dropdown||!function(a){function d(){a(b).parent().removeClass("open")}"use strict";var b='[data-toggle="dropdown"]',c=function(b){var c=a(b).on("click.dropdown.data-api",this.toggle);a("html").on("click.dropdown.data-api",function(){c.parent().removeClass("open")})};c.prototype={constructor:c,toggle:function(b){var c=a(this),e=c.attr("data-target"),f,g;return e||(e=c.attr("href"),e=e&&e.replace(/.*(?=#[^\s]*$)/,"")),f=a(e),f.length||(f=c.parent()),g=f.hasClass("open"),d(),!g&&f.toggleClass("open"),!1}},a.fn.dropdown=function(b){return this.each(function(){var d=a(this),e=d.data("dropdown");e||d.data("dropdown",e=new c(this)),typeof b=="string"&&e[b].call(d)})},a.fn.dropdown.Constructor=c,a(function(){a("html").on("click.dropdown.data-api",d),a("body").on("click.dropdown.data-api",b,c.prototype.toggle)})}(window.jQuery),jQuery.fn.tooltip||!function(a){"use strict";var b=function(a,b){this.init("tooltip",a,b)};b.prototype={constructor:b,init:function(b,c,d){var e,f;this.type=b,this.$element=a(c),this.options=this.getOptions(d),this.enabled=!0,this.options.trigger!="manual"&&(e=this.options.trigger=="hover"?"mouseenter":"focus",f=this.options.trigger=="hover"?"mouseleave":"blur",this.$element.on(e,this.options.selector,a.proxy(this.enter,this)),this.$element.on(f,this.options.selector,a.proxy(this.leave,this))),this.options.selector?this._options=a.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},getOptions:function(b){return b=a.extend({},a.fn[this.type].defaults,b,this.$element.data()),b.delay&&typeof b.delay=="number"&&(b.delay={show:b.delay,hide:b.delay}),b},enter:function(b){var c=a(b.currentTarget)[this.type](this._options).data(this.type);!c.options.delay||!c.options.delay.show?c.show():(c.hoverState="in",setTimeout(function(){c.hoverState=="in"&&c.show()},c.options.delay.show))},leave:function(b){var c=a(b.currentTarget)[this.type](this._options).data(this.type);!c.options.delay||!c.options.delay.hide?c.hide():(c.hoverState="out",setTimeout(function(){c.hoverState=="out"&&c.hide()},c.options.delay.hide))},show:function(){var a,b,c,d,e,f,g;if(this.hasContent()&&this.enabled){a=this.tip(),this.setContent(),this.options.animation&&a.addClass("fade"),f=typeof this.options.placement=="function"?this.options.placement.call(this,a[0],this.$element[0]):this.options.placement,b=/in/.test(f),a.remove().css({top:0,left:0,display:"block"}).appendTo(b?this.$element:document.body),c=this.getPosition(b),d=a[0].offsetWidth,e=a[0].offsetHeight;switch(b?f.split(" ")[1]:f){case"bottom":g={top:c.top+c.height,left:c.left+c.width/2-d/2};break;case"top":g={top:c.top-e,left:c.left+c.width/2-d/2};break;case"left":g={top:c.top+c.height/2-e/2,left:c.left-d};break;case"right":g={top:c.top+c.height/2-e/2,left:c.left+c.width}}a.css(g).addClass(f).addClass("in")}},setContent:function(){var a=this.tip();a.find(".tooltip-inner").html(this.getTitle()),a.removeClass("fade in top bottom left right")},hide:function(){function d(){var b=setTimeout(function(){c.off(a.support.transition.end).remove()},500);c.one(a.support.transition.end,function(){clearTimeout(b),c.remove()})}var b=this,c=this.tip();c.removeClass("in"),a.support.transition&&this.$tip.hasClass("fade")?d():c.remove()},fixTitle:function(){var a=this.$element;(a.attr("title")||typeof a.attr("data-original-title")!="string")&&a.attr("data-original-title",a.attr("title")||"").removeAttr("title")},hasContent:function(){return this.getTitle()},getPosition:function(b){return a.extend({},b?{top:0,left:0}:this.$element.offset(),{width:this.$element[0].offsetWidth,height:this.$element[0].offsetHeight})},getTitle:function(){var a,b=this.$element,c=this.options;return a=b.attr("data-original-title")||(typeof c.title=="function"?c.title.call(b[0]):c.title),a=(a||"").toString().replace(/(^\s*|\s*$)/,""),a},tip:function(){return this.$tip=this.$tip||a(this.options.template)},validate:function(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)},enable:function(){this.enabled=!0},disable:function(){this.enabled=!1},toggleEnabled:function(){this.enabled=!this.enabled},toggle:function(){this[this.tip().hasClass("in")?"hide":"show"]()}},a.fn.tooltip=function(c){return this.each(function(){var d=a(this),e=d.data("tooltip"),f=typeof c=="object"&&c;e||d.data("tooltip",e=new b(this,f)),typeof c=="string"&&e[c]()})},a.fn.tooltip.Constructor=b,a.fn.tooltip.defaults={animation:!0,delay:0,selector:!1,placement:"top",trigger:"hover",title:"",template:'<div class="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>'}}(window.jQuery),jQuery(function(a){a(document).delegate('[rel="tooltip"]',"hover.ai1ec",function(){if(a(this).is(".ai1ec-category .ai1ec-category-color"))return;a(this).data("tooltipped.ai1ec")||a(this).tooltip().tooltip("show").data("tooltipped.ai1ec",!0)})});
1
+ jQuery.fn.dropdown||!function(a){function d(){a(b).parent().removeClass("open")}"use strict";var b='[data-toggle="dropdown"]',c=function(b){var c=a(b).delegate(this.toggle,"click.dropdown.data-api");a("html").bind("click.dropdown.data-api",function(){c.parent().removeClass("open")})};c.prototype={constructor:c,toggle:function(b){var c=a(this),e=c.attr("data-target"),f,g;return e||(e=c.attr("href"),e=e&&e.replace(/.*(?=#[^\s]*$)/,"")),f=a(e),f.length||(f=c.parent()),g=f.hasClass("open"),d(),!g&&f.toggleClass("open"),!1}},a.fn.dropdown=function(b){return this.each(function(){var d=a(this),e=d.data("dropdown");e||d.data("dropdown",e=new c(this)),typeof b=="string"&&e[b].call(d)})},a.fn.dropdown.Constructor=c,a(function(){a("html").bind("click.dropdown.data-api",d),a("body").delegate(b,"click.dropdown.data-api",c.prototype.toggle)})}(window.jQuery),jQuery.fn.tooltip||!function(a){"use strict";var b=function(a,b){this.init("tooltip",a,b)};b.prototype={constructor:b,init:function(b,c,d){var e,f;this.type=b,this.$element=a(c),this.options=this.getOptions(d),this.enabled=!0,this.options.trigger!="manual"&&(e=this.options.trigger=="hover"?"mouseenter":"focus",f=this.options.trigger=="hover"?"mouseleave":"blur",this.$element.delegate(this.options.selector,e,a.proxy(this.enter,this)),this.$element.delegate(this.options.selector,f,a.proxy(this.leave,this))),this.options.selector?this._options=a.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},getOptions:function(b){return b=a.extend({},a.fn[this.type].defaults,b,this.$element.data()),b.delay&&typeof b.delay=="number"&&(b.delay={show:b.delay,hide:b.delay}),b},enter:function(b){var c=a(b.currentTarget)[this.type](this._options).data(this.type);!c.options.delay||!c.options.delay.show?c.show():(c.hoverState="in",setTimeout(function(){c.hoverState=="in"&&c.show()},c.options.delay.show))},leave:function(b){var c=a(b.currentTarget)[this.type](this._options).data(this.type);!c.options.delay||!c.options.delay.hide?c.hide():(c.hoverState="out",setTimeout(function(){c.hoverState=="out"&&c.hide()},c.options.delay.hide))},show:function(){var a,b,c,d,e,f,g;if(this.hasContent()&&this.enabled){a=this.tip(),this.setContent(),this.options.animation&&a.addClass("fade"),f=typeof this.options.placement=="function"?this.options.placement.call(this,a[0],this.$element[0]):this.options.placement,b=/in/.test(f),a.remove().css({top:0,left:0,display:"block"}).appendTo(b?this.$element:document.body),c=this.getPosition(b),d=a[0].offsetWidth,e=a[0].offsetHeight;switch(b?f.split(" ")[1]:f){case"bottom":g={top:c.top+c.height,left:c.left+c.width/2-d/2};break;case"top":g={top:c.top-e,left:c.left+c.width/2-d/2};break;case"left":g={top:c.top+c.height/2-e/2,left:c.left-d};break;case"right":g={top:c.top+c.height/2-e/2,left:c.left+c.width}}a.css(g).addClass(f).addClass("in")}},setContent:function(){var a=this.tip();a.find(".tooltip-inner").html(this.getTitle()),a.removeClass("fade in top bottom left right")},hide:function(){function d(){var b=setTimeout(function(){c.off(a.support.transition.end).remove()},500);c.one(a.support.transition.end,function(){clearTimeout(b),c.remove()})}var b=this,c=this.tip();c.removeClass("in"),a.support.transition&&this.$tip.hasClass("fade")?d():c.remove()},fixTitle:function(){var a=this.$element;(a.attr("title")||typeof a.attr("data-original-title")!="string")&&a.attr("data-original-title",a.attr("title")||"").removeAttr("title")},hasContent:function(){return this.getTitle()},getPosition:function(b){return a.extend({},b?{top:0,left:0}:this.$element.offset(),{width:this.$element[0].offsetWidth,height:this.$element[0].offsetHeight})},getTitle:function(){var a,b=this.$element,c=this.options;return a=b.attr("data-original-title")||(typeof c.title=="function"?c.title.call(b[0]):c.title),a=(a||"").toString().replace(/(^\s*|\s*$)/,""),a},tip:function(){return this.$tip=this.$tip||a(this.options.template)},validate:function(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)},enable:function(){this.enabled=!0},disable:function(){this.enabled=!1},toggleEnabled:function(){this.enabled=!this.enabled},toggle:function(){this[this.tip().hasClass("in")?"hide":"show"]()}},a.fn.tooltip=function(c){return this.each(function(){var d=a(this),e=d.data("tooltip"),f=typeof c=="object"&&c;e||d.data("tooltip",e=new b(this,f)),typeof c=="string"&&e[c]()})},a.fn.tooltip.Constructor=b,a.fn.tooltip.defaults={animation:!0,delay:0,selector:!1,placement:"top",trigger:"hover",title:"",template:'<div class="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>'}}(window.jQuery),jQuery(function(a){a(document).delegate('[rel="tooltip"]',"hover.ai1ec",function(){if(a(this).is(".ai1ec-category .ai1ec-category-color"))return;a(this).data("tooltipped.ai1ec")||a(this).tooltip().tooltip("show").data("tooltipped.ai1ec",!0)})});
themes-ai1ec/vortex/less/build-css.sh CHANGED
@@ -1,6 +1,6 @@
1
  #!/bin/bash
2
 
3
- LESSC="lessc --yui-compress --include-path=."
4
 
5
  if which -s lessc; then
6
  $LESSC general.less > ../css/general.css
1
  #!/bin/bash
2
 
3
+ LESSC="lessc --include-path=."
4
 
5
  if which -s lessc; then
6
  $LESSC general.less > ../css/general.css
themes-ai1ec/vortex/less/calendar.less CHANGED
@@ -1,8 +1,8 @@
1
- /**
2
- * @file
3
- *
4
- * Used on the full calendar views page only (month, week, day, agenda, etc.).
5
- */
6
 
7
  // ======================
8
  // = Variables & mixins =
@@ -668,6 +668,14 @@ table.ai1ec-oneday-view-original {
668
  font-size: 0.8em !important;
669
  line-height: 1.5em;
670
  }
 
 
 
 
 
 
 
 
671
 
672
  // Agenda view events.
673
  .ai1ec-event {
1
+ //
2
+ // @file
3
+ //
4
+ // Used on the full calendar views page only (month, week, day, agenda, etc.).
5
+ //
6
 
7
  // ======================
8
  // = Variables & mixins =
668
  font-size: 0.8em !important;
669
  line-height: 1.5em;
670
  }
671
+ .ai1ec-year {
672
+ color: @agendaDateTitleMonthText;
673
+ background: @agendaDateTitleBorder;
674
+ font-size: 0.7em !important;
675
+ letter-spacing: 0.15em;
676
+ padding: 0.05em 0.1em 0;
677
+ text-shadow: 0 -1px 0 rgba(0,0,0,0.25);
678
+ }
679
 
680
  // Agenda view events.
681
  .ai1ec-event {
themes-ai1ec/vortex/less/event.less CHANGED
@@ -1,8 +1,8 @@
1
- /**
2
- * @file
3
- *
4
- * Used for single and multiple event pages (not calendar views).
5
- */
6
 
7
  // ======================
8
  // = Variables & mixins =
1
+ //
2
+ // @file
3
+ //
4
+ // Used for single and multiple event pages (not calendar views).
5
+ //
6
 
7
  // ======================
8
  // = Variables & mixins =
themes-ai1ec/vortex/less/general.less CHANGED
@@ -1,10 +1,10 @@
1
- /**
2
- * @file
3
- *
4
- * CSS declarations for all parts of a WordPress site in which the All-in-One
5
- * Calendar plugin is active. Mostly the bare minimum required for proper
6
- * styling of widgets.
7
- */
8
 
9
  // ======================
10
  // = Variables & mixins =
@@ -50,7 +50,6 @@
50
  font-size: @baseFontSize;
51
  line-height: @baseLineHeight;
52
  color: @textColor;
53
- background-color: @bodyBackground;
54
 
55
  // Tweaks to info-styled buttons.
56
  .btn-info,
@@ -255,6 +254,14 @@
255
  font-size: 0.9em !important;
256
  line-height: 1.5em;
257
  }
 
 
 
 
 
 
 
 
258
 
259
  // Agenda widget view events.
260
  .ai1ec-event {
1
+ //
2
+ // @file
3
+ //
4
+ // CSS declarations for all parts of a WordPress site in which the All-in-One
5
+ // Calendar plugin is active. Mostly the bare minimum required for proper
6
+ // styling of widgets.
7
+ //
8
 
9
  // ======================
10
  // = Variables & mixins =
50
  font-size: @baseFontSize;
51
  line-height: @baseLineHeight;
52
  color: @textColor;
 
53
 
54
  // Tweaks to info-styled buttons.
55
  .btn-info,
254
  font-size: 0.9em !important;
255
  line-height: 1.5em;
256
  }
257
+ .ai1ec-year {
258
+ color: @agendaDateTitleMonthText;
259
+ background: @agendaDateTitleBorder;
260
+ font-size: 0.8em !important;
261
+ letter-spacing: 0.15em;
262
+ padding: 0 0.1em;
263
+ text-shadow: 0 -1px 0 rgba(0,0,0,0.25);
264
+ }
265
 
266
  // Agenda widget view events.
267
  .ai1ec-event {
themes-ai1ec/vortex/less/mixins-custom.less CHANGED
@@ -1,8 +1,8 @@
1
- /**
2
- * @file
3
- *
4
- * Custom mixins where Bootstrap mixins fall short.
5
- */
6
 
7
  // Gradients.
8
  #gradient {
1
+ //
2
+ // @file
3
+ //
4
+ // Custom mixins where Bootstrap mixins fall short.
5
+ //
6
 
7
  // Gradients.
8
  #gradient {
themes-ai1ec/vortex/less/variables.less CHANGED
@@ -1,9 +1,9 @@
1
- /**
2
- * @file
3
- *
4
- * This is adapted from Twitter Bootstrap. Change these variables to modify the
5
- * look of the calendar.
6
- */
7
 
8
 
9
  // GLOBAL VALUES
@@ -137,32 +137,6 @@
137
  // -------------------------
138
  @hrBorder: @grayLighter;
139
 
140
- /* Not used...
141
- // Navbar
142
- // -------------------------
143
- @navbarHeight: 40px;
144
- @navbarBackground: @grayDarker;
145
- @navbarBackgroundHighlight: @grayDark;
146
-
147
- @navbarText: @grayLight;
148
- @navbarLinkColor: @grayLight;
149
- @navbarLinkColorHover: @white;
150
- @navbarLinkColorActive: @navbarLinkColorHover;
151
- @navbarLinkBackgroundHover: transparent;
152
- @navbarLinkBackgroundActive: @navbarBackground;
153
-
154
- @navbarSearchBackground: lighten(@navbarBackground, 25%);
155
- @navbarSearchBackgroundFocus: @white;
156
- @navbarSearchBorder: darken(@navbarSearchBackground, 30%);
157
- @navbarSearchPlaceholderColor: #ccc;
158
-
159
-
160
- // Hero unit
161
- // -------------------------
162
- @heroUnitBackground: @grayLighter;
163
- @heroUnitHeadingColor: inherit;
164
- @heroUnitLeadColor: inherit;
165
- */
166
 
167
  // Form states and alerts
168
  // -------------------------
1
+ //
2
+ // @file
3
+ //
4
+ // This is adapted from Twitter Bootstrap. Change these variables to modify the
5
+ // look of the calendar.
6
+ //
7
 
8
 
9
  // GLOBAL VALUES
137
  // -------------------------
138
  @hrBorder: @grayLighter;
139
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
140
 
141
  // Form states and alerts
142
  // -------------------------
themes-ai1ec/vortex/month.php CHANGED
@@ -42,14 +42,18 @@
42
 
43
  <div class="ai1ec-day">
44
  <div class="ai1ec-date"><?php echo $day['date'] ?></div>
45
- <?php foreach( $day['events'] as $event ): ?>
46
  <a href="<?php echo esc_attr( get_permalink( $event->post_id ) ) . $event->instance_id ?>"
47
- <?php if( $event->multiday ) echo 'end-date="' . $event->multiday_end_date . '"'; ?>
 
 
 
 
48
  class="ai1ec-event-container
49
  ai1ec-event-id-<?php echo $event->post_id ?>
50
  ai1ec-event-instance-id-<?php echo $event->instance_id ?>
51
- <?php if( $event->allday ) echo 'ai1ec-allday' ?>
52
- <?php if( $event->multiday ) echo 'ai1ec-multiday' ?>">
53
 
54
  <?php // Insert post ID for use by JavaScript filtering later ?>
55
  <input type="hidden" class="ai1ec-post-id" value="<?php echo $event->post_id ?>" />
@@ -76,6 +80,9 @@
76
  <?php $read_more = strlen( apply_filters( 'the_title', $event->post->post_title ) ) > 35 ? '...' : '' ?>
77
  <?php echo esc_html( substr( apply_filters( 'the_title', $event->post->post_title ), 0, 35 ) . $read_more ); ?>
78
  <?php endif; ?>
 
 
 
79
  </span>
80
  <?php if( $event->allday ): ?>
81
  <small><?php esc_html_e( '(all-day)', AI1EC_PLUGIN_NAME ) ?></small>
42
 
43
  <div class="ai1ec-day">
44
  <div class="ai1ec-date"><?php echo $day['date'] ?></div>
45
+ <?php foreach ( $day['events'] as $event ): ?>
46
  <a href="<?php echo esc_attr( get_permalink( $event->post_id ) ) . $event->instance_id ?>"
47
+ <?php if( $event->multiday ) : ?>
48
+ data-end-day="<?php echo $event->multiday_end_day; ?>"
49
+ data-start-truncated="<?php echo $event->start_truncated ? 'true' : 'false'; ?>"
50
+ data-end-truncated="<?php echo $event->end_truncated ? 'true' : 'false'; ?>"
51
+ <?php endif; ?>
52
  class="ai1ec-event-container
53
  ai1ec-event-id-<?php echo $event->post_id ?>
54
  ai1ec-event-instance-id-<?php echo $event->instance_id ?>
55
+ <?php if ( $event->allday ) echo 'ai1ec-allday' ?>
56
+ <?php if ( $event->multiday ) echo 'ai1ec-multiday' ?>">
57
 
58
  <?php // Insert post ID for use by JavaScript filtering later ?>
59
  <input type="hidden" class="ai1ec-post-id" value="<?php echo $event->post_id ?>" />
80
  <?php $read_more = strlen( apply_filters( 'the_title', $event->post->post_title ) ) > 35 ? '...' : '' ?>
81
  <?php echo esc_html( substr( apply_filters( 'the_title', $event->post->post_title ), 0, 35 ) . $read_more ); ?>
82
  <?php endif; ?>
83
+ <?php if ( $show_location_in_title && isset( $event->venue ) && $event->venue != '' ): ?>
84
+ <span class="ai1ec-event-location"><?php echo esc_html( sprintf( __( '@ %s', AI1EC_PLUGIN_NAME ), $event->venue ) ); ?></span>
85
+ <?php endif; ?>
86
  </span>
87
  <?php if( $event->allday ): ?>
88
  <small><?php esc_html_e( '(all-day)', AI1EC_PLUGIN_NAME ) ?></small>
themes-ai1ec/vortex/oneday.php CHANGED
@@ -67,13 +67,21 @@
67
  <?php $read_more = strlen( apply_filters( 'the_title', $event->post->post_title ) ) > 35 ? '...' : '' ?>
68
  <?php echo esc_html( substr( apply_filters( 'the_title', $event->post->post_title ), 0, 35 ) . $read_more ); ?>
69
  <?php endif; ?>
 
 
 
70
  </span>
71
  <small><?php esc_html_e( '(all-day)', AI1EC_PLUGIN_NAME ) ?></small>
72
  </div>
73
  </div><!-- .event-popup -->
74
 
75
  <div class="ai1ec-event <?php if( $event->post_id == $active_event ) echo 'ai1ec-active-event' ?>" style="<?php echo $event->color_style ?>">
76
- <span class="ai1ec-event-title"><?php echo esc_html( apply_filters( 'the_title', $event->post->post_title ) ) ?></span>
 
 
 
 
 
77
  </div>
78
 
79
  </a>
@@ -146,6 +154,9 @@
146
  <span class="ai1ec-event-time"><?php echo esc_html( $event->short_start_time ); ?></span>
147
  <span class="ai1ec-event-title">
148
  <?php echo esc_html( apply_filters( 'the_title', $event->post->post_title ) ); ?>
 
 
 
149
  </span>
150
  </div>
151
  </div>
@@ -153,7 +164,12 @@
153
 
154
  <div class="ai1ec-event <?php if( $event->post_id == $active_event ) echo 'ai1ec-active-event' ?>">
155
  <span class="ai1ec-event-time"><?php echo esc_html( $event->short_start_time ); ?></span>
156
- <span class="ai1ec-event-title"><?php echo esc_html( apply_filters( 'the_title', $event->post->post_title ) ); ?></span>
 
 
 
 
 
157
  </div>
158
 
159
  </a>
67
  <?php $read_more = strlen( apply_filters( 'the_title', $event->post->post_title ) ) > 35 ? '...' : '' ?>
68
  <?php echo esc_html( substr( apply_filters( 'the_title', $event->post->post_title ), 0, 35 ) . $read_more ); ?>
69
  <?php endif; ?>
70
+ <?php if ( $show_location_in_title && isset( $event->venue ) && $event->venue != '' ): ?>
71
+ <span class="ai1ec-event-location"><?php echo sprintf( __( '@ %s', AI1EC_PLUGIN_NAME ), $event->venue ); ?></span>
72
+ <?php endif; ?>
73
  </span>
74
  <small><?php esc_html_e( '(all-day)', AI1EC_PLUGIN_NAME ) ?></small>
75
  </div>
76
  </div><!-- .event-popup -->
77
 
78
  <div class="ai1ec-event <?php if( $event->post_id == $active_event ) echo 'ai1ec-active-event' ?>" style="<?php echo $event->color_style ?>">
79
+ <span class="ai1ec-event-title">
80
+ <?php echo esc_html( apply_filters( 'the_title', $event->post->post_title ) ) ?>
81
+ <?php if ( $show_location_in_title && isset( $event->venue ) && $event->venue != '' ): ?>
82
+ <span class="ai1ec-event-location"><?php echo sprintf( __( '@ %s', AI1EC_PLUGIN_NAME ), $event->venue ); ?></span>
83
+ <?php endif; ?>
84
+ </span>
85
  </div>
86
 
87
  </a>
154
  <span class="ai1ec-event-time"><?php echo esc_html( $event->short_start_time ); ?></span>
155
  <span class="ai1ec-event-title">
156
  <?php echo esc_html( apply_filters( 'the_title', $event->post->post_title ) ); ?>
157
+ <?php if ( $show_location_in_title && isset( $event->venue ) && $event->venue != '' ): ?>
158
+ <span class="ai1ec-event-location"><?php echo sprintf( __( '@ %s', AI1EC_PLUGIN_NAME ), $event->venue ); ?></span>
159
+ <?php endif; ?>
160
  </span>
161
  </div>
162
  </div>
164
 
165
  <div class="ai1ec-event <?php if( $event->post_id == $active_event ) echo 'ai1ec-active-event' ?>">
166
  <span class="ai1ec-event-time"><?php echo esc_html( $event->short_start_time ); ?></span>
167
+ <span class="ai1ec-event-title">
168
+ <?php echo esc_html( apply_filters( 'the_title', $event->post->post_title ) ); ?>
169
+ <?php if ( $show_location_in_title && isset( $event->venue ) && $event->venue != '' ): ?>
170
+ <span class="ai1ec-event-location"><?php echo sprintf( __( '@ %s', AI1EC_PLUGIN_NAME ), $event->venue ); ?></span>
171
+ <?php endif; ?>
172
+ </span>
173
  </div>
174
 
175
  </a>
themes-ai1ec/vortex/style.css CHANGED
@@ -4,6 +4,6 @@
4
  * Author: Then.ly
5
  * Author URI: http://then.ly/
6
  * Description: The default All-in-One Calendar theme.
7
- * Version: 1.0
8
  * Tags: light, white, gray, blue
9
  */
4
  * Author: Then.ly
5
  * Author URI: http://then.ly/
6
  * Description: The default All-in-One Calendar theme.
7
+ * Version: 1.7
8
  * Tags: light, white, gray, blue
9
  */
themes-ai1ec/vortex/week.php CHANGED
@@ -66,13 +66,21 @@
66
  <?php $read_more = strlen( apply_filters( 'the_title', $event->post->post_title ) ) > 35 ? '...' : '' ?>
67
  <?php echo esc_html( substr( apply_filters( 'the_title', $event->post->post_title ), 0, 35 ) . $read_more ); ?>
68
  <?php endif; ?>
 
 
 
69
  </span>
70
  <small><?php esc_html_e( '(all-day)', AI1EC_PLUGIN_NAME ) ?></small>
71
  </div>
72
  </div><!-- .event-popup -->
73
 
74
  <div class="ai1ec-event <?php if( $event->post_id == $active_event ) echo 'ai1ec-active-event' ?>" style="<?php echo $event->color_style ?>">
75
- <span class="ai1ec-event-title"><?php echo esc_html( apply_filters( 'the_title', $event->post->post_title ) ) ?></span>
 
 
 
 
 
76
  </div>
77
 
78
  </a>
@@ -146,14 +154,23 @@
146
  </div>
147
  <div class="ai1ec-event-popup-bg">
148
  <span class="ai1ec-event-time"><?php echo esc_html( $event->short_start_time ) ?></span>
149
- <span class="ai1ec-event-title"><?php echo esc_html( apply_filters( 'the_title', $event->post->post_title ) ) ?></span>
 
 
 
 
150
  </span>
151
  </div>
152
  </div><!-- .event-popup -->
153
 
154
  <div class="ai1ec-event <?php if( $event->post_id == $active_event ) echo 'ai1ec-active-event' ?>">
155
  <span class="ai1ec-event-time"><?php echo esc_html( $event->short_start_time ) ?></span>
156
- <span class="ai1ec-event-title"><?php echo esc_html( apply_filters( 'the_title', $event->post->post_title ) ) ?></span>
 
 
 
 
 
157
  </div>
158
 
159
  </a>
66
  <?php $read_more = strlen( apply_filters( 'the_title', $event->post->post_title ) ) > 35 ? '...' : '' ?>
67
  <?php echo esc_html( substr( apply_filters( 'the_title', $event->post->post_title ), 0, 35 ) . $read_more ); ?>
68
  <?php endif; ?>
69
+ <?php if ( $show_location_in_title && isset( $event->venue ) && $event->venue != '' ): ?>
70
+ <span class="ai1ec-event-location"><?php echo sprintf( __( '@ %s', AI1EC_PLUGIN_NAME ), $event->venue ); ?></span>
71
+ <?php endif; ?>
72
  </span>
73
  <small><?php esc_html_e( '(all-day)', AI1EC_PLUGIN_NAME ) ?></small>
74
  </div>
75
  </div><!-- .event-popup -->
76
 
77
  <div class="ai1ec-event <?php if( $event->post_id == $active_event ) echo 'ai1ec-active-event' ?>" style="<?php echo $event->color_style ?>">
78
+ <span class="ai1ec-event-title">
79
+ <?php echo esc_html( apply_filters( 'the_title', $event->post->post_title ) ) ?>
80
+ <?php if ( $show_location_in_title && isset( $event->venue ) && $event->venue != '' ): ?>
81
+ <span class="ai1ec-event-location"><?php echo sprintf( __( '@ %s', AI1EC_PLUGIN_NAME ), $event->venue ); ?></span>
82
+ <?php endif; ?>
83
+ </span>
84
  </div>
85
 
86
  </a>
154
  </div>
155
  <div class="ai1ec-event-popup-bg">
156
  <span class="ai1ec-event-time"><?php echo esc_html( $event->short_start_time ) ?></span>
157
+ <span class="ai1ec-event-title">
158
+ <?php echo esc_html( apply_filters( 'the_title', $event->post->post_title ) ) ?>
159
+ <?php if ( $show_location_in_title && isset( $event->venue ) && $event->venue != '' ): ?>
160
+ <span class="ai1ec-event-location"><?php echo esc_html( sprintf( __( '@ %s', AI1EC_PLUGIN_NAME ), $event->venue ) ); ?></span>
161
+ <?php endif; ?>
162
  </span>
163
  </div>
164
  </div><!-- .event-popup -->
165
 
166
  <div class="ai1ec-event <?php if( $event->post_id == $active_event ) echo 'ai1ec-active-event' ?>">
167
  <span class="ai1ec-event-time"><?php echo esc_html( $event->short_start_time ) ?></span>
168
+ <span class="ai1ec-event-title">
169
+ <?php echo esc_html( apply_filters( 'the_title', $event->post->post_title ) ) ?>
170
+ <?php if ( $show_location_in_title && isset( $event->venue ) && $event->venue != '' ): ?>
171
+ <span class="ai1ec-event-location"><?php echo esc_html( sprintf( __( '@ %s', AI1EC_PLUGIN_NAME ), $event->venue ) ); ?></span>
172
+ <?php endif; ?>
173
+ </span>
174
  </div>
175
 
176
  </a>
uninstall.php CHANGED
@@ -17,72 +17,85 @@ require_once( dirname( __FILE__ ) . '/all-in-one-event-calendar.php' );
17
  * @return void
18
  **/
19
  function remove_taxonomy( $taxonomy ) {
20
- global $wp_taxonomies, $ai1ec_app_helper;
21
-
22
- // add event categories and event tags taxonomies
23
- // if missing
24
- if( ! taxonomy_exists( $taxonomy ) ) {
25
- $ai1ec_app_helper->create_post_type();
26
- }
27
-
28
- // get all terms in $taxonomy
29
  $terms = get_terms( $taxonomy );
30
-
31
  // delete all terms in $taxonomy
32
  foreach( $terms as $term ) {
33
  wp_delete_term( $term->term_id, $taxonomy );
34
  }
35
-
36
  // deregister $taxonomy
37
  unset( $wp_taxonomies[$taxonomy] );
38
-
39
- // do we need to flush the rewrite rules?
40
- $GLOBALS['wp_rewrite']->flush_rules();
41
  }
42
 
43
  // ====================================================================
44
  // = Trigger Uninstall process only if WP_UNINSTALL_PLUGIN is defined =
45
  // ====================================================================
46
  if( defined( 'WP_UNINSTALL_PLUGIN' ) ) {
47
- global $wpdb;
48
-
49
- // Delete event categories taxonomy
50
- remove_taxonomy( 'events_categories' );
51
-
52
- // Delete event tags taxonomy
53
- remove_taxonomy( 'events_tags' );
54
-
55
- // Delete db version
56
- delete_option( 'ai1ec_db_version' );
57
-
58
- // Delete cron version
59
- delete_option( 'ai1ec_cron_version' );
60
-
61
- // Delete settings
62
- delete_option( 'ai1ec_settings' );
63
-
64
- // Delete scheduled cron
65
- wp_clear_scheduled_hook( 'ai1ec_cron' );
66
-
67
- // Delete events
68
- $table_name = $wpdb->prefix . 'ai1ec_events';
69
- $query = "SELECT DISTINCT post_id FROM $table_name";
70
- foreach( $wpdb->get_col( $query ) as $postid ) {
71
- wp_delete_post( (int) $postid, true );
72
- }
73
-
74
- // Delete table events
75
- $wpdb->query("DROP TABLE IF EXISTS $table_name");
76
-
77
- // Delete table event instances
78
- $table_name = $wpdb->prefix . 'ai1ec_event_instances';
79
- $wpdb->query("DROP TABLE IF EXISTS $table_name");
80
-
81
- // Delete table event feeds
82
- $table_name = $wpdb->prefix . 'ai1ec_event_feeds';
83
- $wpdb->query("DROP TABLE IF EXISTS $table_name");
84
-
85
- // Delete table category colors
86
- $table_name = $wpdb->prefix . 'ai1ec_event_category_colors';
87
- $wpdb->query("DROP TABLE IF EXISTS $table_name");
 
 
 
 
 
 
 
 
 
 
 
 
 
88
  }
17
  * @return void
18
  **/
19
  function remove_taxonomy( $taxonomy ) {
20
+ global $wp_taxonomies, $ai1ec_app_helper;
21
+
22
+ // add event categories and event tags taxonomies
23
+ // if missing
24
+ if( ! taxonomy_exists( $taxonomy ) ) {
25
+ $ai1ec_app_helper->create_post_type();
26
+ }
27
+
28
+ // get all terms in $taxonomy
29
  $terms = get_terms( $taxonomy );
30
+
31
  // delete all terms in $taxonomy
32
  foreach( $terms as $term ) {
33
  wp_delete_term( $term->term_id, $taxonomy );
34
  }
35
+
36
  // deregister $taxonomy
37
  unset( $wp_taxonomies[$taxonomy] );
38
+
39
+ // do we need to flush the rewrite rules?
40
+ $GLOBALS['wp_rewrite']->flush_rules();
41
  }
42
 
43
  // ====================================================================
44
  // = Trigger Uninstall process only if WP_UNINSTALL_PLUGIN is defined =
45
  // ====================================================================
46
  if( defined( 'WP_UNINSTALL_PLUGIN' ) ) {
47
+ global $wpdb, $wp_filesystem;
48
+
49
+ // Delete event categories taxonomy
50
+ remove_taxonomy( 'events_categories' );
51
+
52
+ // Delete event tags taxonomy
53
+ remove_taxonomy( 'events_tags' );
54
+
55
+ // Delete db version
56
+ delete_option( 'ai1ec_db_version' );
57
+
58
+ // Delete core themes version
59
+ delete_option( 'ai1ec_themes_version' );
60
+
61
+ // Delete cron version
62
+ delete_option( 'ai1ec_cron_version' );
63
+
64
+ // Delete settings
65
+ delete_option( 'ai1ec_settings' );
66
+
67
+ // Delete scheduled cron
68
+ wp_clear_scheduled_hook( 'ai1ec_cron' );
69
+
70
+ // Delete events
71
+ $table_name = $wpdb->prefix . 'ai1ec_events';
72
+ $query = "SELECT DISTINCT post_id FROM $table_name";
73
+ foreach( $wpdb->get_col( $query ) as $postid ) {
74
+ wp_delete_post( (int) $postid, true );
75
+ }
76
+
77
+ // Delete table events
78
+ $wpdb->query("DROP TABLE IF EXISTS $table_name");
79
+
80
+ // Delete table event instances
81
+ $table_name = $wpdb->prefix . 'ai1ec_event_instances';
82
+ $wpdb->query("DROP TABLE IF EXISTS $table_name");
83
+
84
+ // Delete table event feeds
85
+ $table_name = $wpdb->prefix . 'ai1ec_event_feeds';
86
+ $wpdb->query("DROP TABLE IF EXISTS $table_name");
87
+
88
+ // Delete table category colors
89
+ $table_name = $wpdb->prefix . 'ai1ec_event_category_colors';
90
+ $wpdb->query("DROP TABLE IF EXISTS $table_name");
91
+
92
+ // Delete themes folder
93
+ if( is_object( $wp_filesystem ) && ! is_wp_error( $wp_filesystem->errors ) ) {
94
+ // Get the base plugin folder
95
+ $themes_dir = $wp_filesystem->wp_content_dir() . AI1EC_THEMES_FOLDER;
96
+ if( ! empty( $themes_dir ) ) {
97
+ $themes_dir = trailingslashit( $themes_dir );
98
+ $wp_filesystem->delete( $themes_dir, true );
99
+ }
100
+ }
101
  }