├── .gitignore ├── img ├── 018.png ├── 028.png ├── 052.png ├── 131.png ├── google.png ├── facebook.png ├── twitter.png ├── waiting.gif ├── information.png ├── small-menu.png ├── wordpress.png ├── mid-greyscale.png ├── sprite_70x72.png ├── sprite_82x84.png ├── large-greyscale.png ├── small-fullcolour.png ├── small-greyscale.png ├── sprite_127x130.png ├── sprite_254x260.png └── large-greyscale45.png ├── languages └── eab.mo ├── css ├── eab-buddypress-my_events.min.css ├── eab-event-capabilities.min.css ├── eab-buddypress-my_events.css ├── smoothness │ └── images │ │ ├── ui-icons_222222_256x240.png │ │ ├── ui-icons_2e83ff_256x240.png │ │ ├── ui-icons_454545_256x240.png │ │ ├── ui-icons_888888_256x240.png │ │ ├── ui-icons_cd0a0a_256x240.png │ │ ├── ui-bg_flat_0_aaaaaa_40x100.png │ │ ├── ui-bg_flat_75_ffffff_40x100.png │ │ ├── ui-bg_glass_55_fbf9ee_1x400.png │ │ ├── ui-bg_glass_65_ffffff_1x400.png │ │ ├── ui-bg_glass_75_dadada_1x400.png │ │ ├── ui-bg_glass_75_e6e6e6_1x400.png │ │ ├── ui-bg_glass_95_fef1ec_1x400.png │ │ └── ui-bg_highlight-soft_75_cccccc_1x100.png ├── ui-lightness │ └── images │ │ ├── ui-icons_222222_256x240.png │ │ ├── ui-icons_228ef1_256x240.png │ │ ├── ui-icons_ef8c08_256x240.png │ │ ├── ui-icons_ffd27a_256x240.png │ │ ├── ui-icons_ffffff_256x240.png │ │ ├── ui-bg_flat_10_000000_40x100.png │ │ ├── ui-bg_glass_100_f6f6f6_1x400.png │ │ ├── ui-bg_glass_100_fdf5ce_1x400.png │ │ ├── ui-bg_glass_65_ffffff_1x400.png │ │ ├── ui-bg_gloss-wave_35_f6a828_500x100.png │ │ ├── ui-bg_highlight-soft_75_ffe45c_1x100.png │ │ ├── ui-bg_diagonals-thick_18_b81900_40x40.png │ │ ├── ui-bg_diagonals-thick_20_666666_40x40.png │ │ └── ui-bg_highlight-soft_100_eeeeee_1x100.png ├── eab-event-capabilities.css ├── upcoming_calendar_widget.min.css ├── upcoming_calendar_widget.css ├── jquery.countdown.min.css ├── eab-events-fpe.min.css ├── jquery.countdown.css ├── jquery.ui.timepicker.min.css ├── weekly-event-calendar.min.css ├── jquery.multiselect.min.css ├── eab-events-fpe.css ├── jquery.multiselect.css ├── weekly-event-calendar.css └── jquery.ui.timepicker.css ├── lib ├── widgets │ ├── Widget.class.php │ ├── NetworkUpcoming_Widget.class.php │ └── Attendees_Widget.class.php ├── plugins │ ├── eab-times-local_timezones.php │ ├── eab-import-facebook_events.php │ ├── lib │ │ └── Facebook │ │ │ ├── FileUpload │ │ │ └── FacebookVideo.php │ │ │ ├── Exceptions │ │ │ ├── FacebookSDKException.php │ │ │ ├── FacebookOtherException.php │ │ │ ├── FacebookClientException.php │ │ │ ├── FacebookServerException.php │ │ │ ├── FacebookThrottleException.php │ │ │ ├── FacebookAuthorizationException.php │ │ │ ├── FacebookAuthenticationException.php │ │ │ └── FacebookResumableUploadException.php │ │ │ ├── GraphNodes │ │ │ ├── GraphList.php │ │ │ ├── GraphObject.php │ │ │ ├── GraphApplication.php │ │ │ ├── GraphCoverPhoto.php │ │ │ ├── GraphPicture.php │ │ │ ├── Birthday.php │ │ │ ├── GraphLocation.php │ │ │ ├── GraphSessionInfo.php │ │ │ ├── GraphObjectFactory.php │ │ │ └── GraphAchievement.php │ │ │ ├── HttpClients │ │ │ ├── certs │ │ │ │ └── DigiCertHighAssuranceEVRootCA.pem │ │ │ ├── FacebookHttpClientInterface.php │ │ │ ├── FacebookStream.php │ │ │ └── FacebookStreamHttpClient.php │ │ │ ├── Http │ │ │ ├── RequestBodyInterface.php │ │ │ └── RequestBodyUrlEncoded.php │ │ │ ├── Url │ │ │ └── UrlDetectionInterface.php │ │ │ ├── Helpers │ │ │ ├── FacebookJavaScriptHelper.php │ │ │ ├── FacebookCanvasHelper.php │ │ │ └── FacebookPageTabHelper.php │ │ │ ├── PersistentData │ │ │ ├── PersistentDataInterface.php │ │ │ ├── FacebookMemoryPersistentDataHandler.php │ │ │ ├── FacebookSessionPersistentDataHandler.php │ │ │ └── PersistentDataFactory.php │ │ │ ├── PseudoRandomString │ │ │ ├── PseudoRandomStringGeneratorInterface.php │ │ │ ├── RandomBytesPseudoRandomStringGenerator.php │ │ │ ├── PseudoRandomStringGeneratorTrait.php │ │ │ ├── McryptPseudoRandomStringGenerator.php │ │ │ ├── OpenSslPseudoRandomStringGenerator.php │ │ │ └── UrandomPseudoRandomStringGenerator.php │ │ │ ├── polyfills.php │ │ │ ├── autoload.php │ │ │ └── FacebookApp.php │ ├── eab-events-expire_past_events.php │ ├── eab-events-all_events_default.php │ ├── eab-events-expire_month_old_events.php │ ├── eab-export-add_to_gcal.php │ └── eab-events-recurrent_redirect.php ├── class_eab_scheduler.php ├── twitteroauth │ └── LICENSE ├── class_eab_options.php ├── class-eab-activator.php ├── class_eab_error_reporter.php └── class-eab-taxonomies.php ├── default-templates ├── default │ ├── events.css │ ├── archive-incsub_event.php │ └── single-incsub_event.php ├── shortcode-single-default.php ├── shortcode-archive-default.php ├── shortcode-event_map-marker_body-default.php ├── shortcode-calendar-default.php ├── full-width │ ├── archive-incsub_event.php │ └── single-incsub_event.php └── calendar │ └── archive-incsub_event.php ├── js ├── eab-buddypress-group_events-fpe.js ├── eab-buddypress-group_events-fpe.min.js ├── eab-buddypress-limit_capacity-public.min.js ├── eab-buddypress-rsvp_close_period-public.min.js ├── eab-buddypress-rsvp_close_period-public.js ├── jquery.countdown-tr.min.js ├── eab-buddypress-limit_capacity-public.js ├── eab-buddypress-limit_capacity-admin.min.js ├── eab-buddypress-rsvp_close_period-admin.min.js ├── jquery.countdown-tr.js ├── eab-event-capabilities.min.js ├── eab-buddypress-limit_capacity-fpe.min.js ├── eab-buddypress-rsvp_close_period-fpe.min.js ├── eab-buddypress-limit_capacity-admin.js ├── eab-buddypress-rsvp_close_period-admin.js ├── eab-event-capabilities.js ├── eab-events-local_timezones.min.js ├── eab-buddypress-limit_capacity-fpe.js ├── eab-buddypress-rsvp_close_period-fpe.js ├── eab-event.min.js ├── event_countdown_flip.min.js ├── eab-event.js ├── editor.min.js ├── upcoming_calendar_widget.min.js ├── eab-rsvp_with_email.min.js ├── event_countdown_flip.js ├── upcoming_calendar_widget.js ├── eab-events-local_timezones.js ├── eab-rsvp_with_email.js └── editor.js ├── phpunit.xml.dist ├── .travis.yml ├── tests ├── bootstrap.php └── test-activate.php ├── dev-readme.txt ├── package.json ├── template-tags.php ├── wpml-config.xml ├── admin └── class-eab-shortcodes-menu.php └── dev-README.md /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules 3 | releases 4 | -------------------------------------------------------------------------------- /img/018.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpmudev/events-and-bookings/master/img/018.png -------------------------------------------------------------------------------- /img/028.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpmudev/events-and-bookings/master/img/028.png -------------------------------------------------------------------------------- /img/052.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpmudev/events-and-bookings/master/img/052.png -------------------------------------------------------------------------------- /img/131.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpmudev/events-and-bookings/master/img/131.png -------------------------------------------------------------------------------- /img/google.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpmudev/events-and-bookings/master/img/google.png -------------------------------------------------------------------------------- /img/facebook.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpmudev/events-and-bookings/master/img/facebook.png -------------------------------------------------------------------------------- /img/twitter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpmudev/events-and-bookings/master/img/twitter.png -------------------------------------------------------------------------------- /img/waiting.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpmudev/events-and-bookings/master/img/waiting.gif -------------------------------------------------------------------------------- /languages/eab.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpmudev/events-and-bookings/master/languages/eab.mo -------------------------------------------------------------------------------- /img/information.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpmudev/events-and-bookings/master/img/information.png -------------------------------------------------------------------------------- /img/small-menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpmudev/events-and-bookings/master/img/small-menu.png -------------------------------------------------------------------------------- /img/wordpress.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpmudev/events-and-bookings/master/img/wordpress.png -------------------------------------------------------------------------------- /img/mid-greyscale.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpmudev/events-and-bookings/master/img/mid-greyscale.png -------------------------------------------------------------------------------- /img/sprite_70x72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpmudev/events-and-bookings/master/img/sprite_70x72.png -------------------------------------------------------------------------------- /img/sprite_82x84.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpmudev/events-and-bookings/master/img/sprite_82x84.png -------------------------------------------------------------------------------- /img/large-greyscale.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpmudev/events-and-bookings/master/img/large-greyscale.png -------------------------------------------------------------------------------- /img/small-fullcolour.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpmudev/events-and-bookings/master/img/small-fullcolour.png -------------------------------------------------------------------------------- /img/small-greyscale.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpmudev/events-and-bookings/master/img/small-greyscale.png -------------------------------------------------------------------------------- /img/sprite_127x130.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpmudev/events-and-bookings/master/img/sprite_127x130.png -------------------------------------------------------------------------------- /img/sprite_254x260.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpmudev/events-and-bookings/master/img/sprite_254x260.png -------------------------------------------------------------------------------- /img/large-greyscale45.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpmudev/events-and-bookings/master/img/large-greyscale45.png -------------------------------------------------------------------------------- /css/eab-buddypress-my_events.min.css: -------------------------------------------------------------------------------- 1 | #eab-bp-my_events-wrapper{overflow:hidden}.eab-premium_event-unpaid_notice{color:#a00} -------------------------------------------------------------------------------- /css/eab-event-capabilities.min.css: -------------------------------------------------------------------------------- 1 | .eab-events-capabilities-per_role{display:none}.eab-events-capabilities-capability_box{line-height:1.8em} -------------------------------------------------------------------------------- /css/eab-buddypress-my_events.css: -------------------------------------------------------------------------------- 1 | #eab-bp-my_events-wrapper { 2 | overflow: hidden; 3 | } 4 | .eab-premium_event-unpaid_notice { 5 | color: #a00; 6 | } -------------------------------------------------------------------------------- /css/smoothness/images/ui-icons_222222_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpmudev/events-and-bookings/master/css/smoothness/images/ui-icons_222222_256x240.png -------------------------------------------------------------------------------- /css/smoothness/images/ui-icons_2e83ff_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpmudev/events-and-bookings/master/css/smoothness/images/ui-icons_2e83ff_256x240.png -------------------------------------------------------------------------------- /css/smoothness/images/ui-icons_454545_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpmudev/events-and-bookings/master/css/smoothness/images/ui-icons_454545_256x240.png -------------------------------------------------------------------------------- /css/smoothness/images/ui-icons_888888_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpmudev/events-and-bookings/master/css/smoothness/images/ui-icons_888888_256x240.png -------------------------------------------------------------------------------- /css/smoothness/images/ui-icons_cd0a0a_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpmudev/events-and-bookings/master/css/smoothness/images/ui-icons_cd0a0a_256x240.png -------------------------------------------------------------------------------- /css/ui-lightness/images/ui-icons_222222_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpmudev/events-and-bookings/master/css/ui-lightness/images/ui-icons_222222_256x240.png -------------------------------------------------------------------------------- /css/ui-lightness/images/ui-icons_228ef1_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpmudev/events-and-bookings/master/css/ui-lightness/images/ui-icons_228ef1_256x240.png -------------------------------------------------------------------------------- /css/ui-lightness/images/ui-icons_ef8c08_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpmudev/events-and-bookings/master/css/ui-lightness/images/ui-icons_ef8c08_256x240.png -------------------------------------------------------------------------------- /css/ui-lightness/images/ui-icons_ffd27a_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpmudev/events-and-bookings/master/css/ui-lightness/images/ui-icons_ffd27a_256x240.png -------------------------------------------------------------------------------- /css/ui-lightness/images/ui-icons_ffffff_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpmudev/events-and-bookings/master/css/ui-lightness/images/ui-icons_ffffff_256x240.png -------------------------------------------------------------------------------- /css/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpmudev/events-and-bookings/master/css/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png -------------------------------------------------------------------------------- /css/smoothness/images/ui-bg_flat_75_ffffff_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpmudev/events-and-bookings/master/css/smoothness/images/ui-bg_flat_75_ffffff_40x100.png -------------------------------------------------------------------------------- /css/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpmudev/events-and-bookings/master/css/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png -------------------------------------------------------------------------------- /css/smoothness/images/ui-bg_glass_65_ffffff_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpmudev/events-and-bookings/master/css/smoothness/images/ui-bg_glass_65_ffffff_1x400.png -------------------------------------------------------------------------------- /css/smoothness/images/ui-bg_glass_75_dadada_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpmudev/events-and-bookings/master/css/smoothness/images/ui-bg_glass_75_dadada_1x400.png -------------------------------------------------------------------------------- /css/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpmudev/events-and-bookings/master/css/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png -------------------------------------------------------------------------------- /css/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpmudev/events-and-bookings/master/css/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png -------------------------------------------------------------------------------- /css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpmudev/events-and-bookings/master/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png -------------------------------------------------------------------------------- /css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpmudev/events-and-bookings/master/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png -------------------------------------------------------------------------------- /css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpmudev/events-and-bookings/master/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png -------------------------------------------------------------------------------- /css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpmudev/events-and-bookings/master/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png -------------------------------------------------------------------------------- /css/eab-event-capabilities.css: -------------------------------------------------------------------------------- 1 | .eab-events-capabilities-per_role { 2 | display: none; 3 | } 4 | .eab-events-capabilities-capability_box { 5 | line-height: 1.8em; 6 | } 7 | -------------------------------------------------------------------------------- /css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpmudev/events-and-bookings/master/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png -------------------------------------------------------------------------------- /css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpmudev/events-and-bookings/master/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png -------------------------------------------------------------------------------- /css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpmudev/events-and-bookings/master/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png -------------------------------------------------------------------------------- /css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpmudev/events-and-bookings/master/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png -------------------------------------------------------------------------------- /css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpmudev/events-and-bookings/master/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png -------------------------------------------------------------------------------- /css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpmudev/events-and-bookings/master/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png -------------------------------------------------------------------------------- /css/upcoming_calendar_widget.min.css: -------------------------------------------------------------------------------- 1 | .wpmudevevents-upcoming_calendar_widget-event{font-size:1.2em;text-decoration:none;margin-top:.8em}.wpmudevevents-upcoming_calendar_widget-event-info{display:block;font-size:.8em} -------------------------------------------------------------------------------- /lib/widgets/Widget.class.php: -------------------------------------------------------------------------------- 1 | "> 2 |

get_title(); ?>

3 |
4 | 5 |
6 | -------------------------------------------------------------------------------- /js/eab-buddypress-group_events-fpe.js: -------------------------------------------------------------------------------- 1 | (function ($) { 2 | 3 | function append_meta_data (e, request) { 4 | request['eab_event-bp-group_event'] = $("#eab_event-bp-group_event").val(); 5 | } 6 | 7 | $(document).bind('eab-events-fpe-save_request', append_meta_data); 8 | 9 | })(jQuery); 10 | -------------------------------------------------------------------------------- /js/eab-buddypress-group_events-fpe.min.js: -------------------------------------------------------------------------------- 1 | /*! Events and Bookings - v1.9.9-beta-1 2 | * http://premium.wpmudev.org/project/events-and-booking 3 | * Copyright (c) 2018; * Licensed GPLv2+ */ 4 | 5 | !function(a){function b(b,c){c["eab_event-bp-group_event"]=a("#eab_event-bp-group_event").val()}a(document).bind("eab-events-fpe-save_request",b)}(jQuery); -------------------------------------------------------------------------------- /phpunit.xml.dist: -------------------------------------------------------------------------------- 1 | 9 | 10 | 11 | ./tests/ 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /js/eab-buddypress-limit_capacity-public.min.js: -------------------------------------------------------------------------------- 1 | /*! Events and Bookings - v1.9.9-beta-1 2 | * http://premium.wpmudev.org/project/events-and-booking 3 | * Copyright (c) 2018; * Licensed GPLv2+ */ 4 | 5 | !function(a){a(function(){a('input[name="quantity"]').each(function(){var b=a(this),c=parseInt(b.attr("max"),10);if(!c)return!0;b.on("keyup",function(a){return!(parseInt(b.val(),10)>c&&(b.val(""),1))})})})}(jQuery); -------------------------------------------------------------------------------- /js/eab-buddypress-rsvp_close_period-public.min.js: -------------------------------------------------------------------------------- 1 | /*! Events and Bookings - v1.9.9-beta-1 2 | * http://premium.wpmudev.org/project/events-and-booking 3 | * Copyright (c) 2018; * Licensed GPLv2+ */ 4 | 5 | !function(a){a(function(){a('input[name="quantity"]').each(function(){var b=a(this),c=parseInt(b.attr("max"),10);if(!c)return!0;b.on("keyup",function(a){return!(parseInt(b.val(),10)>c&&(b.val(""),1))})})})}(jQuery); -------------------------------------------------------------------------------- /js/eab-buddypress-rsvp_close_period-public.js: -------------------------------------------------------------------------------- 1 | (function ($) { 2 | 3 | $(function () { 4 | var $inputs = $('input[name="quantity"]'); 5 | $inputs.each(function () { 6 | var $me = $(this); 7 | var max = parseInt($me.attr("max"), 10); 8 | if (!max) return true; 9 | 10 | $me.on('keyup', function (e) { 11 | var current = parseInt($me.val(), 10); 12 | if (current > max) { 13 | $me.val(''); 14 | return false; 15 | } 16 | return true; 17 | }); 18 | }); 19 | }); 20 | 21 | })(jQuery); -------------------------------------------------------------------------------- /js/jquery.countdown-tr.min.js: -------------------------------------------------------------------------------- 1 | /*! Events and Bookings - v1.9.9-beta-1 2 | * http://premium.wpmudev.org/project/events-and-booking 3 | * Copyright (c) 2018; * Licensed GPLv2+ */ 4 | 5 | !function(a){a.countdown.regional.tr={labels:["Yıl","Ay","Hafta","Gün","Saat","Dakika","Saniye"],labels1:["Yıl","Ay","Hafta","Gün","Saat","Dakika","Saniye"],compactLabels:["y","a","h","g"],whichLabels:null,digits:["0","1","2","3","4","5","6","7","8","9"],timeSeparator:":",isRTL:!1},a.countdown.setDefaults(a.countdown.regional.tr)}(jQuery); -------------------------------------------------------------------------------- /js/eab-buddypress-limit_capacity-public.js: -------------------------------------------------------------------------------- 1 | (function ($) { 2 | 3 | $(function () { 4 | var $inputs = $('input[name="quantity"]'); 5 | $inputs.each(function () { 6 | var $me = $(this); 7 | var max = parseInt($me.attr("max"), 10); 8 | if (!max) return true; 9 | 10 | $me.on('keyup', function (e) { 11 | var current = parseInt($me.val(), 10); 12 | if (current > max) { 13 | $me.val(''); 14 | return false; 15 | } 16 | return true; 17 | }); 18 | }); 19 | }); 20 | 21 | })(jQuery); -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: php 2 | 3 | notifications: 4 | email: 5 | on_success: never 6 | on_failure: change 7 | 8 | php: 9 | - 5.3 10 | - 5.6 11 | 12 | env: 13 | - WP_VERSION=latest WP_MULTISITE=0 14 | - WP_VERSION=3.3 WP_MULTISITE=0 15 | - WP_VERSION=3.3.1 WP_MULTISITE=0 16 | 17 | matrix: 18 | include: 19 | - php: 5.3 20 | env: WP_VERSION=latest WP_MULTISITE=1 21 | 22 | before_script: 23 | - bash bin/install-wp-tests.sh wordpress_test root '' localhost $WP_VERSION 24 | 25 | script: phpunit 26 | -------------------------------------------------------------------------------- /tests/bootstrap.php: -------------------------------------------------------------------------------- 1 | 0?c.attr("checked",!1):c.attr("checked",!0)}function c(){var b=a("#eab_event_capacity");return a("#eab_event_capacity-unlimited").is(":checked")?b.val(0):b.focus()}a(function(){a("#eab_event_capacity").change(b),a("#eab_event_capacity-unlimited").change(c)})}(jQuery); -------------------------------------------------------------------------------- /js/eab-buddypress-rsvp_close_period-admin.min.js: -------------------------------------------------------------------------------- 1 | /*! Events and Bookings - v1.9.9-beta-1 2 | * http://premium.wpmudev.org/project/events-and-booking 3 | * Copyright (c) 2018; * Licensed GPLv2+ */ 4 | 5 | !function(a){function b(){var b=a("#eab_event_close_period"),c=a("#eab_event_close_period-nolimit"),d=parseInt(b.val(),10);d=d||0,d>0?c.attr("checked",!1):c.attr("checked",!0)}function c(){var b=a("#eab_event_close_period");return a("#eab_event_close_period-nolimit").is(":checked")?b.val(0):b.focus()}a(function(){a("#eab_event_close_period").change(b),a("#eab_event_close_period-nolimit").change(c)})}(jQuery); -------------------------------------------------------------------------------- /default-templates/shortcode-archive-default.php: -------------------------------------------------------------------------------- 1 |
2 | 3 | 4 |
5 |

get_title(); ?>

6 |
7 | 8 |
9 |
10 | 11 |
-------------------------------------------------------------------------------- /tests/test-activate.php: -------------------------------------------------------------------------------- 1 | prefix . 'eab_bookings'; 9 | $results = $wpdb->get_results( "DESCRIBE $table"); 10 | 11 | $this->assertNotEmpty( $results ); 12 | 13 | $table = $wpdb->prefix . 'eab_booking_meta'; 14 | $results = $wpdb->get_results( "DESCRIBE $table"); 15 | 16 | $this->assertNotEmpty( $results ); 17 | 18 | $this->assertEquals( array(), get_option( 'event_default' ) ); 19 | $this->assertTrue( get_option( 'eab_activation_redirect' ) ); 20 | } 21 | 22 | } -------------------------------------------------------------------------------- /css/jquery.countdown.min.css: -------------------------------------------------------------------------------- 1 | .countdown_rtl{direction:rtl}.countdown_holding span{background-color:#ccc}.countdown_row{clear:both;width:100%;padding:0 2px;text-align:center}.countdown_show1 .countdown_section{width:98%}.countdown_show2 .countdown_section{width:48%}.countdown_show3 .countdown_section{width:32.5%}.countdown_show4 .countdown_section{width:24.5%}.countdown_show5 .countdown_section{width:19.5%}.countdown_show6 .countdown_section{width:16.25%}.countdown_show7 .countdown_section{width:14%}.countdown_section{display:block;float:left;font-size:75%;text-align:center}.countdown_amount{font-size:200%}.countdown_descr{display:block;width:100%} -------------------------------------------------------------------------------- /dev-readme.txt: -------------------------------------------------------------------------------- 1 | === Events === 2 | Contributors: mohanjith 3 | Tags: events, booking 4 | Requires at least: 4.6 5 | Stable tag: trunk 6 | Tested up to: 4.9 7 | 8 | Allow your readers to register for events you organize 9 | 10 | == Description == 11 | 12 | Allow your readers to register for events you organize 13 | 14 | * Please note we will be automatically changing WPMU DEV Google Maps Plugin Settings if installed * 15 | 16 | == ChangeLog == 17 | 18 | = 1.0.2 = 19 | 20 | * Allow "No Start Time" and "No End Time" in front end event editor 21 | 22 | = 1.0.1 = 23 | 24 | * Initial release 25 | 26 | = 1.0.0 = 27 | 28 | * Initial release 29 | -------------------------------------------------------------------------------- /js/jquery.countdown-tr.js: -------------------------------------------------------------------------------- 1 | /* http://keith-wood.name/countdown.html 2 | * Turkish initialisation for the jQuery countdown extension 3 | * Written by Bekir Ahmetoğlu (bekir@cerek.com) Aug 2008. */ 4 | (function($) { 5 | $.countdown.regional['tr'] = { 6 | labels: ['Yıl', 'Ay', 'Hafta', 'Gün', 'Saat', 'Dakika', 'Saniye'], 7 | labels1: ['Yıl', 'Ay', 'Hafta', 'Gün', 'Saat', 'Dakika', 'Saniye'], 8 | compactLabels: ['y', 'a', 'h', 'g'], 9 | whichLabels: null, 10 | digits: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'], 11 | timeSeparator: ':', isRTL: false}; 12 | $.countdown.setDefaults($.countdown.regional['tr']); 13 | })(jQuery); 14 | -------------------------------------------------------------------------------- /default-templates/shortcode-event_map-marker_body-default.php: -------------------------------------------------------------------------------- 1 | ' . $events->get_excerpt_or_fallback($args['excerpt_length']) . ''; 6 | ?> 7 |
8 | 9 | get_venue_location(); ?> 10 | 11 |
12 | 13 |
-------------------------------------------------------------------------------- /js/eab-event-capabilities.min.js: -------------------------------------------------------------------------------- 1 | /*! Events and Bookings - v1.9.9-beta-1 2 | * http://premium.wpmudev.org/project/events-and-booking 3 | * Copyright (c) 2018; * Licensed GPLv2+ */ 4 | 5 | !function(a){function b(){var b=a("#eab-event-capabilities-switch_hub").val();if(b){var c=a("#eab-events-capabilities-editor-"+b);c.length&&(a(".eab-events-capabilities-per_role").hide(),c.show())}}function c(){a(".eab-events-capabilities-per_role input").attr("disabled",!0),a("#eab-event-capabilities-switch_hub").val("").attr("disabled",!0),a(".eab-events-capabilities-per_role").hide()}a(function(){a("#eab-event-capabilities-switch_hub").change(b),b(),a("#eab-event-capabilities-reset").click(c)})}(jQuery); -------------------------------------------------------------------------------- /js/eab-buddypress-limit_capacity-fpe.min.js: -------------------------------------------------------------------------------- 1 | /*! Events and Bookings - v1.9.9-beta-1 2 | * http://premium.wpmudev.org/project/events-and-booking 3 | * Copyright (c) 2018; * Licensed GPLv2+ */ 4 | 5 | !function(a){function b(b,c){c["eab-elc_capacity"]=a("#eab_event_capacity").val()}function c(){var b=a("#eab_event_capacity"),c=a("#eab_event_capacity-unlimited"),d=parseInt(b.val(),10);d=d||0,d>0?c.attr("checked",!1):c.attr("checked",!0)}function d(){var b=a("#eab_event_capacity");return a("#eab_event_capacity-unlimited").is(":checked")?b.val(0):b.focus()}a(document).bind("eab-events-fpe-save_request",b),a(function(){a("#eab_event_capacity").change(c),a("#eab_event_capacity-unlimited").change(d)})}(jQuery); -------------------------------------------------------------------------------- /js/eab-buddypress-rsvp_close_period-fpe.min.js: -------------------------------------------------------------------------------- 1 | /*! Events and Bookings - v1.9.9-beta-1 2 | * http://premium.wpmudev.org/project/events-and-booking 3 | * Copyright (c) 2018; * Licensed GPLv2+ */ 4 | 5 | !function(a){function b(b,c){c["eab-ecp_close_period"]=a("#eab_event_close_period").val()}function c(){var b=a("#eab_event_close_period"),c=a("#eab_event_close_period-nolimit"),d=parseInt(b.val(),10);d=d||0,d>0?c.attr("checked",!1):c.attr("checked",!0)}function d(){var b=a("#eab_event_close_period");return a("#eab_event_close_period-nolimit").is(":checked")?b.val(0):b.focus()}a(document).bind("eab-events-fpe-close_period_save_request",b),a(function(){a("#eab_event_close_period").change(c),a("#eab_event_close_period-nolimit").change(d)})}(jQuery); -------------------------------------------------------------------------------- /css/eab-events-fpe.min.css: -------------------------------------------------------------------------------- 1 | #ui-datepicker-div{display:none}.eab-events-fpe-col_wrapper{overflow:hidden;margin:.4% 0}.eab-events-fpe-meta_box{width:47%;padding:.4%;float:left}#eab-events-fpe-status_type{float:right}#eab-events-fpe-meta_box-venue,#eab-events-fpe-rsvps{float:none;width:auto}#eab-events-fpe-rsvps{border:none}.eab-events-fpe-meta_box label{display:inline-block;width:10em}#eab-events-fpe-date_time label{width:6em}#eab-events-fpe-waiting_indicator{margin-left:1em;margin-right:1.5em}.hide_time_option{display:none}.eab_action_button{cursor:pointer}#eab-events-fpe-event_title{width:99%;font-size:2em}#eab-events-fpe-venue{width:99%}#eab-events-fpe-date_time-error,.eab-events-fpe-error{color:#a00}.eab-events-fpe-success{color:#060}.eab-events-pae-meta_box{width:47%} -------------------------------------------------------------------------------- /js/eab-buddypress-limit_capacity-admin.js: -------------------------------------------------------------------------------- 1 | (function ($) { 2 | 3 | 4 | function capacity_change () { 5 | var $capacity = $("#eab_event_capacity"); 6 | var $unlimited = $("#eab_event_capacity-unlimited"); 7 | var cap = parseInt($capacity.val(), 10); 8 | cap = cap ? cap : 0; 9 | 10 | if (cap > 0) { 11 | $unlimited.attr("checked", false); 12 | } else { 13 | $unlimited.attr("checked", true); 14 | } 15 | } 16 | 17 | function unlimited_change () { 18 | var $capacity = $("#eab_event_capacity"); 19 | var $unlimited = $("#eab_event_capacity-unlimited"); 20 | 21 | if ($unlimited.is(":checked")) return $capacity.val(0); 22 | else return $capacity.focus(); 23 | } 24 | 25 | $(function () { 26 | $("#eab_event_capacity").change(capacity_change); 27 | $("#eab_event_capacity-unlimited").change(unlimited_change); 28 | }); 29 | 30 | })(jQuery); 31 | -------------------------------------------------------------------------------- /js/eab-buddypress-rsvp_close_period-admin.js: -------------------------------------------------------------------------------- 1 | (function ($) { 2 | 3 | 4 | function close_period_change () { 5 | var $close_period = $("#eab_event_close_period"); 6 | var $nolimit = $("#eab_event_close_period-nolimit"); 7 | var cp = parseInt($close_period.val(), 10); 8 | cp = cp ? cp : 0; 9 | 10 | if (cp > 0) { 11 | $nolimit.attr("checked", false); 12 | } else { 13 | $nolimit.attr("checked", true); 14 | } 15 | } 16 | 17 | function nolimit_change () { 18 | var $close_period = $("#eab_event_close_period"); 19 | var $nolimit = $("#eab_event_close_period-nolimit"); 20 | 21 | if ($nolimit.is(":checked")) return $close_period.val(0); 22 | else return $close_period.focus(); 23 | } 24 | 25 | $(function () { 26 | $("#eab_event_close_period").change(close_period_change); 27 | $("#eab_event_close_period-nolimit").change(nolimit_change); 28 | }); 29 | 30 | })(jQuery); 31 | -------------------------------------------------------------------------------- /js/eab-event-capabilities.js: -------------------------------------------------------------------------------- 1 | (function ($) { 2 | 3 | 4 | function switch_role () { 5 | var role = $("#eab-event-capabilities-switch_hub").val(); 6 | if (!role) return; 7 | 8 | var $role = $("#eab-events-capabilities-editor-"+role); 9 | if (!$role.length) return; 10 | 11 | $(".eab-events-capabilities-per_role").hide(); 12 | $role.show(); 13 | } 14 | 15 | function reset_roles () { 16 | $(".eab-events-capabilities-per_role input").attr("disabled", true); 17 | $("#eab-event-capabilities-switch_hub") 18 | .val('') 19 | .attr("disabled", true) 20 | ; 21 | $(".eab-events-capabilities-per_role").hide(); 22 | } 23 | 24 | // Init 25 | $(function () { 26 | 27 | $("#eab-event-capabilities-switch_hub").change(switch_role); 28 | switch_role(); 29 | 30 | $("#eab-event-capabilities-reset").click(reset_roles); 31 | 32 | }); 33 | })(jQuery); 34 | -------------------------------------------------------------------------------- /default-templates/shortcode-calendar-default.php: -------------------------------------------------------------------------------- 1 |
2 | set_class($args['class']); 7 | $renderer->set_footer($args['footer']); 8 | $renderer->set_scripts(!$args['override_scripts']); 9 | $renderer->set_navigation($args['navigation']); 10 | $renderer->set_track($args['track']); 11 | $renderer->set_title_format($args['title_format']); 12 | $renderer->set_short_title_format($args['short_title_format']); 13 | $renderer->set_long_date_format($args['long_date_format']); 14 | $renderer->set_thumbnail($args); 15 | $renderer->set_excerpt($args); 16 | 17 | echo $renderer->get_month_calendar($args['date']); 18 | ?> 19 |
-------------------------------------------------------------------------------- /lib/plugins/eab-times-local_timezones.php: -------------------------------------------------------------------------------- 1 | _add_hooks(); 17 | } 18 | 19 | private function _add_hooks () { 20 | add_action('eab-javascript-enqueue_scripts', array($this, 'include_scripts')); 21 | } 22 | 23 | public function include_scripts () { 24 | wp_enqueue_script('eab-events-local_timezones', EAB_PLUGIN_URL . "js/eab-events-local_timezones.js", array('jquery'), Eab_EventsHub::CURRENT_VERSION); 25 | } 26 | } 27 | Eab_Events_LocalTimezones::serve(); -------------------------------------------------------------------------------- /lib/plugins/eab-import-facebook_events.php: -------------------------------------------------------------------------------- 1 | = 0 ) 12 | { 13 | require_once( dirname( __FILE__ ) . '/eab-import-facebook_events-main.php'); 14 | } 15 | else 16 | { 17 | add_action( 'admin_notices', 'eab_show_php_notice' ); 18 | function eab_show_php_notice() { 19 | ?> 20 |
21 |

Import: Facebook Events addon.', Eab_EventsHub::TEXT_DOMAIN ); ?>

22 |
23 | -1?(e=e.split("-0000"),dateValue=e[0]):dateValue=e;var g=new Date(Date.parse(dateValue));if(isNaN(g))return!1;f.each(function(){var c=a(this),d=c.text();if(c.is(".eab-date_format-time")&&""!=d){var e=g.toLocaleTimeString(b).split(" GMT")[0],f=e.split(":");if(f.length-1>1){var h=f[2].split(" ")[1];e=void 0==h?f[0]+":"+f[1]:f[0]+":"+f[1]+" "+h}c.text(e)}else if(c.hasClass(".eab-date_format-date")&&""!=d){var i=g.toLocaleDateString(b).split(" GMT")[0];c.text(i)}})})})}(jQuery); -------------------------------------------------------------------------------- /js/eab-buddypress-limit_capacity-fpe.js: -------------------------------------------------------------------------------- 1 | (function ($) { 2 | 3 | function append_meta_data (e, request) { 4 | request['eab-elc_capacity'] = $("#eab_event_capacity").val(); 5 | } 6 | 7 | function capacity_change () { 8 | var $capacity = $("#eab_event_capacity"); 9 | var $unlimited = $("#eab_event_capacity-unlimited"); 10 | var cap = parseInt($capacity.val(), 10); 11 | cap = cap ? cap : 0; 12 | 13 | if (cap > 0) { 14 | $unlimited.attr("checked", false); 15 | } else { 16 | $unlimited.attr("checked", true); 17 | } 18 | } 19 | 20 | function unlimited_change () { 21 | var $capacity = $("#eab_event_capacity"); 22 | var $unlimited = $("#eab_event_capacity-unlimited"); 23 | 24 | if ($unlimited.is(":checked")) return $capacity.val(0); 25 | else return $capacity.focus(); 26 | } 27 | 28 | $(document).bind('eab-events-fpe-save_request', append_meta_data); 29 | $(function () { 30 | $("#eab_event_capacity").change(capacity_change); 31 | $("#eab_event_capacity-unlimited").change(unlimited_change); 32 | }); 33 | 34 | })(jQuery); 35 | -------------------------------------------------------------------------------- /js/eab-buddypress-rsvp_close_period-fpe.js: -------------------------------------------------------------------------------- 1 | (function ($) { 2 | 3 | function append_meta_data (e, request) { 4 | request['eab-ecp_close_period'] = $("#eab_event_close_period").val(); 5 | } 6 | 7 | function close_period_change () { 8 | var $close_period = $("#eab_event_close_period"); 9 | var $nolimit = $("#eab_event_close_period-nolimit"); 10 | var cp = parseInt($close_period.val(), 10); 11 | cp = cp ? cp : 0; 12 | 13 | if (cp > 0) { 14 | $nolimit.attr("checked", false); 15 | } else { 16 | $nolimit.attr("checked", true); 17 | } 18 | } 19 | 20 | function nolimit_change () { 21 | var $close_period = $("#eab_event_close_period"); 22 | var $nolimit = $("#eab_event_close_period-nolimit"); 23 | 24 | if ($nolimit.is(":checked")) return $close_period.val(0); 25 | else return $close_period.focus(); 26 | } 27 | 28 | $(document).bind('eab-events-fpe-close_period_save_request', append_meta_data); 29 | $(function () { 30 | $("#eab_event_close_period").change(close_period_change); 31 | $("#eab_event_close_period-nolimit").change(nolimit_change); 32 | }); 33 | 34 | })(jQuery); 35 | -------------------------------------------------------------------------------- /css/jquery.ui.timepicker.min.css: -------------------------------------------------------------------------------- 1 | .ui-timepicker-inline{display:inline}#ui-timepicker-div{padding:.2em}.ui-timepicker-table{display:inline-table;width:0}.ui-timepicker-table table{margin:.15em 0 0 0;border-collapse:collapse}.ui-timepicker-hours,.ui-timepicker-minutes{padding:.2em}.ui-timepicker-table .ui-timepicker-title{line-height:1.8em;text-align:center}.ui-timepicker-table td{padding:.1em;width:2.2em}.ui-timepicker-table th.periods{padding:.1em;width:2.2em}.ui-timepicker-table td span{display:block;padding:.2em .3em .2em .5em;width:1.2em;text-align:right;text-decoration:none}.ui-timepicker-table td a{display:block;padding:.2em .3em .2em .5em;width:1.2em;cursor:pointer;text-align:right;text-decoration:none}.ui-timepicker .ui-timepicker-buttonpane{background-image:none;margin:.7em 0 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0}.ui-timepicker .ui-timepicker-buttonpane button{margin:.5em .2em .4em;cursor:pointer;padding:.2em .6em .3em .6em;width:auto;overflow:visible}.ui-timepicker .ui-timepicker-close{float:right}.ui-timepicker .ui-timepicker-now{float:left}.ui-timepicker .ui-timepicker-deselect{float:left} -------------------------------------------------------------------------------- /lib/class_eab_scheduler.php: -------------------------------------------------------------------------------- 1 | _add_hooks(); 15 | } 16 | 17 | private function _add_hooks () { 18 | add_action('eab_scheduled_jobs', array($this, 'archive_old_events')); 19 | 20 | if (!wp_next_scheduled('eab_scheduled_jobs')) { 21 | wp_schedule_event(eab_current_time(), 'hourly', 'eab_scheduled_jobs'); 22 | } 23 | } 24 | 25 | /** 26 | * Sets status of old events to STATUS_ARCHIVED 27 | */ 28 | function archive_old_events () { 29 | $time = eab_current_time(); 30 | $events = Eab_CollectionFactory::get_old_events($time); 31 | foreach ($events as $event) { 32 | if ($event->get_last_end_timestamp() < $time) { 33 | if ($event->is_recurring()) continue; 34 | $event->set_status(Eab_EventModel::STATUS_ARCHIVED); 35 | do_action('eab-scheduler-event_archived', $event); 36 | } 37 | } 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /lib/twitteroauth/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2009 Abraham Williams - http://abrah.am - abraham@poseurte.ch 2 | 3 | Permission is hereby granted, free of charge, to any person 4 | obtaining a copy of this software and associated documentation 5 | files (the "Software"), to deal in the Software without 6 | restriction, including without limitation the rights to use, 7 | copy, modify, merge, publish, distribute, sublicense, and/or sell 8 | copies of the Software, and to permit persons to whom the 9 | Software is furnished to do so, subject to the following 10 | conditions: 11 | 12 | The above copyright notice and this permission notice shall be 13 | included in all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 16 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 17 | OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 18 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 19 | HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 20 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 21 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 22 | OTHER DEALINGS IN THE SOFTWARE. 23 | -------------------------------------------------------------------------------- /css/weekly-event-calendar.min.css: -------------------------------------------------------------------------------- 1 | #wpmudevevents-wrapper{padding:1em}.wpmudevevents-list{clear:both;padding:1em}.wpmudevevents-list table{width:100%;border-collapse:collapse}.wpmudevevents-list table th{width:12%;background:#333;color:#ddd;padding:.4em;cursor:default}.wpmudevevents-list table td{border:1px solid #ddd;height:60px}.wpmudevevents-list table td.today{background:#ddd}.wpmudevevents-list table td.now{background:#ddf}a.wpmudevevents-calendar-event{display:block;margin:.2em;padding:.1em .4em;background:#75ab24;color:#fff;text-decoration:none;border:1px solid #558b04;border-radius:5px}a.wpmudevevents-calendar-event:hover{background:#659b14;text-decoration:none}.wpmudevevents-calendar-event-info{display:none;position:absolute;padding:.4em;min-width:200px;background:#464646;margin-top:1em;border:1px solid #262626;border-radius:5px}.wpmudevevents-weekly-calendar-hours-mins{font-weight:700;font-size:.8em;text-align:center}.wpmudevevents-calendar-avatar,.wpmudevevents-calendar-thumbnail{float:left;width:80px;margin:5px}.wpmudevevents-calendar-author,.wpmudevevents-calendar-start,.wpmudevevents-calendar-venue{font-weight:700;font-size:larger;float:left;width:200px}.wpmudevevents-calendar-bio,.wpmudevevents-calendar-content{float:left;width:200px} -------------------------------------------------------------------------------- /js/eab-event.min.js: -------------------------------------------------------------------------------- 1 | /*! Events and Bookings - v1.9.9-beta-1 2 | * http://premium.wpmudev.org/project/events-and-booking 3 | * Copyright (c) 2018; * Licensed GPLv2+ */ 4 | 5 | jQuery(function(){jQuery(".hide-if-no-js").show(),jQuery("#wpmudevevents-rsvps-response").hide(),jQuery("#wpmudevevents-hide-rsvps").hide(),jQuery("#wpmudevevents-load-rsvps").click(function(){return jQuery("#wpmudevevents-rsvps-response").show(),jQuery("#wpmudevevents-hide-rsvps").show(),jQuery(this).hide(),""==jQuery("#wpmudevevents-rsvps-response").text()&&(jQuery("#wpmudevevents-rsvps-response").text("Loading..."),jQuery("#wpmudevevents-rsvps-response").load(jQuery("#wpmudevevents-load-rsvps").attr("href"))),!1}),jQuery("#wpmudevevents-hide-rsvps").click(function(){return jQuery("#wpmudevevents-rsvps-response").hide(),jQuery("#wpmudevevents-load-rsvps").show(),jQuery(this).hide(),""==jQuery("#wpmudevevents-rsvps-response").text()&&(jQuery("#wpmudevevents-rsvps-response").text("Loading..."),jQuery("#wpmudevevents-rsvps-response").load(jQuery("#wpmudevevents-load-rsvps").attr("href"))),!1}),jQuery(".eab-buy_tickets-target").hide(),jQuery(".eab-buy_tickets-trigger").show().click(function(){return jQuery(this).hide().parent().find(".eab-buy_tickets-target").show(),!1})}); -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "events-and-bookings", 3 | "title": "Events and Bookings", 4 | "description": "Events gives you a flexible WordPress-based system for organizing parties, dinners, fundraisers - you name it.", 5 | "version": "1.9.9.1", 6 | "homepage": "http://premium.wpmudev.org/project/events-and-booking", 7 | "authors": [{ 8 | "name": "S H Mohanjith" 9 | }, 10 | { 11 | "name": "Ve Bailovity" 12 | }, 13 | { 14 | "name": "Ignacio" 15 | }, 16 | { 17 | "name": "Ashok Kumar Nath" 18 | } 19 | ], 20 | "contributors": [{ 21 | "name": "Hoang Ngo" 22 | }, 23 | { 24 | "name": "Hakan Evin" 25 | } 26 | ], 27 | "devDependencies": { 28 | "grunt": "^0.4.5", 29 | "grunt-autoprefixer": "^3.0.4", 30 | "grunt-clear": "^0.2.1", 31 | "grunt-contrib-clean": "^1.0.0", 32 | "grunt-contrib-compass": "^1.1.1", 33 | "grunt-contrib-compress": "^1.4.1", 34 | "grunt-contrib-copy": "^1.0.0", 35 | "grunt-contrib-cssmin": "^2.0.0", 36 | "grunt-contrib-rename": "0.0.3", 37 | "grunt-contrib-uglify": "^2.1.0", 38 | "grunt-wp-i18n": "^1.0.0", 39 | "load-grunt-tasks": "^3.5.2", 40 | "time-grunt": "^1.4.0" 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /js/event_countdown_flip.min.js: -------------------------------------------------------------------------------- 1 | /*! Events and Bookings - v1.9.9-beta-1 2 | * http://premium.wpmudev.org/project/events-and-booking 3 | * Copyright (c) 2018; * Licensed GPLv2+ */ 4 | 5 | !function(a){a(document).on("eab-event_countdown-tick",function(b,c,d){if(!c.length)return!1;var e=c.find(".countdown_amount"),f=parseInt(c.attr("data-height"),10),g=parseInt(c.attr("data-size"),10);return!(!f||!g)&&(e.css({display:"inline-block",height:f,overflow:"hidden"}).each(function(){var b=a(this),c=parseInt(b.text(),10),e=parseInt(c/100,10),h=parseInt((c-100*e)/10,10),i=c-(100*e+10*h),j=e?3:2,k=Math.ceil(.5*(e+1)),l=Math.ceil(.5*(h+1)),m=Math.ceil(.5*(i+1)),n=(b.html("
"),b.find("span"));b.css({width:g*j}),n.css({float:"left",display:"inline-block",overflow:"hidden",background:"url("+d+") no-repeat",height:f,width:g}),e?n.filter(".eab_event_flip_hundreds").css({"background-position":e?(e+1)*g*-1-k+"px 0":"0 0"}):n.filter(".eab_event_flip_hundreds").remove(),n.filter(".eab_event_flip_tens").css({"background-position":(h+1)*g*-1-l+"px 0"}).end().filter(".eab_event_flip_ones").css({"background-position":(i+1)*g*-1-m+"px 0"}).end()}),!1)})}(jQuery); -------------------------------------------------------------------------------- /css/jquery.multiselect.min.css: -------------------------------------------------------------------------------- 1 | .ui-multiselect{padding:2px 0 2px 4px;text-align:left}.ui-multiselect span.ui-icon{float:right}.ui-multiselect-single .ui-multiselect-checkboxes input{position:absolute!important;top:auto!important;left:-9999px}.ui-multiselect-single .ui-multiselect-checkboxes label{padding:5px!important}.ui-multiselect-header{margin-bottom:3px;padding:3px 0 3px 4px}.ui-multiselect-header ul{font-size:.9em}.ui-multiselect-header ul li{float:left;padding:0 10px 0 0}.ui-multiselect-header a{text-decoration:none}.ui-multiselect-header a:hover{text-decoration:underline}.ui-multiselect-header span.ui-icon{float:left}.ui-multiselect-header li.ui-multiselect-close{float:right;text-align:right;padding-right:0}.ui-multiselect-menu{display:none;padding:3px;position:absolute;z-index:10000}.ui-multiselect-checkboxes{position:relative;overflow-y:scroll}.ui-multiselect-checkboxes label{cursor:default;display:block;border:1px solid transparent;padding:3px 1px}.ui-multiselect-checkboxes label input{position:relative;top:1px}.ui-multiselect-checkboxes li{clear:both;font-size:.9em;padding-right:3px}.ui-multiselect-checkboxes li.ui-multiselect-optgroup-label{text-align:center;font-weight:700;border-bottom:1px solid}.ui-multiselect-checkboxes li.ui-multiselect-optgroup-label a{display:block;padding:3px;margin:1px 0;text-decoration:none}* html .ui-multiselect-checkboxes label{border:none} -------------------------------------------------------------------------------- /lib/plugins/lib/Facebook/FileUpload/FacebookVideo.php: -------------------------------------------------------------------------------- 1 | '+eab_l10nEditor.add_map+''),a("#map_preview_container").unbind("agm_map_insert").bind("agm_map_insert",f)):(h.append(''+eab_l10nEditor.add_map+''),a(document).off("agm_map_insert",".agm-editor .map_preview_container").on("agm_map_insert",".agm-editor .map_preview_container",f)),a("body").off("click","li.existing_map_item .add_map_item").on("click","li.existing_map_item .add_map_item",e),a("#add_map").hide())})}(jQuery); -------------------------------------------------------------------------------- /lib/plugins/lib/Facebook/HttpClients/certs/DigiCertHighAssuranceEVRootCA.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIIDxTCCAq2gAwIBAgIQAqxcJmoLQJuPC3nyrkYldzANBgkqhkiG9w0BAQUFADBs 3 | MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3 4 | d3cuZGlnaWNlcnQuY29tMSswKQYDVQQDEyJEaWdpQ2VydCBIaWdoIEFzc3VyYW5j 5 | ZSBFViBSb290IENBMB4XDTA2MTExMDAwMDAwMFoXDTMxMTExMDAwMDAwMFowbDEL 6 | MAkGA1UEBhMCVVMxFTATBgNVBAoTDERpZ2lDZXJ0IEluYzEZMBcGA1UECxMQd3d3 7 | LmRpZ2ljZXJ0LmNvbTErMCkGA1UEAxMiRGlnaUNlcnQgSGlnaCBBc3N1cmFuY2Ug 8 | RVYgUm9vdCBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMbM5XPm 9 | +9S75S0tMqbf5YE/yc0lSbZxKsPVlDRnogocsF9ppkCxxLeyj9CYpKlBWTrT3JTW 10 | PNt0OKRKzE0lgvdKpVMSOO7zSW1xkX5jtqumX8OkhPhPYlG++MXs2ziS4wblCJEM 11 | xChBVfvLWokVfnHoNb9Ncgk9vjo4UFt3MRuNs8ckRZqnrG0AFFoEt7oT61EKmEFB 12 | Ik5lYYeBQVCmeVyJ3hlKV9Uu5l0cUyx+mM0aBhakaHPQNAQTXKFx01p8VdteZOE3 13 | hzBWBOURtCmAEvF5OYiiAhF8J2a3iLd48soKqDirCmTCv2ZdlYTBoSUeh10aUAsg 14 | EsxBu24LUTi4S8sCAwEAAaNjMGEwDgYDVR0PAQH/BAQDAgGGMA8GA1UdEwEB/wQF 15 | MAMBAf8wHQYDVR0OBBYEFLE+w2kD+L9HAdSYJhoIAu9jZCvDMB8GA1UdIwQYMBaA 16 | FLE+w2kD+L9HAdSYJhoIAu9jZCvDMA0GCSqGSIb3DQEBBQUAA4IBAQAcGgaX3Nec 17 | nzyIZgYIVyHbIUf4KmeqvxgydkAQV8GK83rZEWWONfqe/EW1ntlMMUu4kehDLI6z 18 | eM7b41N5cdblIZQB2lWHmiRk9opmzN6cN82oNLFpmyPInngiK3BD41VHMWEZ71jF 19 | hS9OMPagMRYjyOfiZRYzy78aG6A9+MpeizGLYAiJLQwGXFK3xPkKmNEVX58Svnw2 20 | Yzi9RKR/5CYrCsSXaQ3pjOLAEFe4yHYSkVXySGnYvCoCWw9E1CAx2/S6cCZdkGCe 21 | vEsXCS+0yx5DaMkHJ8HSXPfqIbloEpw8nL+e/IBcm2PN7EeqJSdnoDfzAIJ9VNep 22 | +OkuE6N36B9K 23 | -----END CERTIFICATE----- 24 | -------------------------------------------------------------------------------- /lib/plugins/lib/Facebook/Http/RequestBodyInterface.php: -------------------------------------------------------------------------------- 1 | getField('id'); 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /js/upcoming_calendar_widget.min.js: -------------------------------------------------------------------------------- 1 | /*! Events and Bookings - v1.9.9-beta-1 2 | * http://premium.wpmudev.org/project/events-and-booking 3 | * Copyright (c) 2018; * Licensed GPLv2+ */ 4 | 5 | !function(a){a(function(){a(document).bind("eab-cuw-render_complete",function(){a("table.eab-upcoming_calendar_widget").each(function(){var b=a(this);b.find("tbody a:not(.eab-upcoming_calendar_widget-navigation-link)").click(function(){var c=a(this),d=c.parents("td").find(".wdpmudevevents-upcoming_calendar_widget-info_wrapper");if(!d.length)return!1;var e=a("#wpmudevevents-upcoming_calendar_widget-shelf");return e.length&&e.remove(),b.after('