Changeset 2514156
- Timestamp:
- 04/13/2021 01:41:14 PM (5 years ago)
- Location:
- fooevents-calendar
- Files:
-
- 65 added
- 1 deleted
- 6 edited
-
tags/1.6.15 (added)
-
tags/1.6.15/.gitignore (added)
-
tags/1.6.15/class-fooevents-calendar.php (added)
-
tags/1.6.15/classes (added)
-
tags/1.6.15/classes/class-fooevents-calendar-widget.php (added)
-
tags/1.6.15/config.php (added)
-
tags/1.6.15/css (added)
-
tags/1.6.15/css/calendar-admin.css (added)
-
tags/1.6.15/css/fooevents-fullcalendar-dark.css (added)
-
tags/1.6.15/css/fooevents-fullcalendar-flat.css (added)
-
tags/1.6.15/css/fooevents-fullcalendar-light.css (added)
-
tags/1.6.15/css/fooevents-fullcalendar-minimalist.css (added)
-
tags/1.6.15/css/fooevents-list-dark-card.css (added)
-
tags/1.6.15/css/fooevents-list-light-card.css (added)
-
tags/1.6.15/css/fullcalendar.css (added)
-
tags/1.6.15/css/fullcalendar.min.css (added)
-
tags/1.6.15/css/fullcalendar.print.css (added)
-
tags/1.6.15/css/fullcalendar.print.min.css (added)
-
tags/1.6.15/css/style.css (added)
-
tags/1.6.15/default.mo (added)
-
tags/1.6.15/default.po (added)
-
tags/1.6.15/fooevents-calendar.php (added)
-
tags/1.6.15/getting-started-readme.txt (added)
-
tags/1.6.15/js (added)
-
tags/1.6.15/js/calendar-admin.js (added)
-
tags/1.6.15/js/fullcalendar.js (added)
-
tags/1.6.15/js/fullcalendar.min.js (added)
-
tags/1.6.15/js/gcal.js (added)
-
tags/1.6.15/js/gcal.min.js (added)
-
tags/1.6.15/js/locale-all.js (added)
-
tags/1.6.15/js/moment.min.js (added)
-
tags/1.6.15/languages (added)
-
tags/1.6.15/languages/fooevents-calendar-zh_TW.po (added)
-
tags/1.6.15/languages/readme.txt (added)
-
tags/1.6.15/license.txt (added)
-
tags/1.6.15/readme.txt (added)
-
tags/1.6.15/screenshot-1.png (added)
-
tags/1.6.15/screenshot-2.png (added)
-
tags/1.6.15/screenshot-3.png (added)
-
tags/1.6.15/screenshot-4.png (added)
-
tags/1.6.15/screenshot-5.png (added)
-
tags/1.6.15/screenshot-6.png (added)
-
tags/1.6.15/templates (added)
-
tags/1.6.15/templates/calendar-options-eventbrite.php (added)
-
tags/1.6.15/templates/calendar-options-layout.php (added)
-
tags/1.6.15/templates/calendar-options.php (added)
-
tags/1.6.15/templates/calendar.php (added)
-
tags/1.6.15/templates/event.php (added)
-
tags/1.6.15/templates/eventbrite-options.php (added)
-
tags/1.6.15/templates/eventmetabox.php (added)
-
tags/1.6.15/templates/list-of-events.php (added)
-
tags/1.6.15/templates/pluginintroduction.php (added)
-
tags/1.6.15/updatelog.txt (added)
-
tags/1.6.15/vendors (added)
-
tags/1.6.15/vendors/eventbrite (added)
-
tags/1.6.15/vendors/eventbrite/.travis.yml (added)
-
tags/1.6.15/vendors/eventbrite/AccessMethods.php (added)
-
tags/1.6.15/vendors/eventbrite/Authenticate.php (added)
-
tags/1.6.15/vendors/eventbrite/HttpClient.php (added)
-
tags/1.6.15/vendors/eventbrite/README.md (added)
-
tags/1.6.15/vendors/eventbrite/composer.json (added)
-
tags/1.6.15/vendors/eventbrite/phpunit.xml (added)
-
tags/1.6.15/vendors/eventbrite/tests (added)
-
tags/1.6.15/vendors/eventbrite/tests/ClientTest.php (added)
-
tags/1.6.15/vendors/index.php (added)
-
tags/1.6.8 (deleted)
-
trunk/class-fooevents-calendar.php (modified) (10 diffs)
-
trunk/default.mo (modified) (previous)
-
trunk/default.po (modified) (3 diffs)
-
trunk/fooevents-calendar.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/updatelog.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
fooevents-calendar/trunk/class-fooevents-calendar.php
r2505115 r2514156 119 119 if ( 'light' === $calendar_theme ) { 120 120 121 wp_enqueue_style( 'fooevents-calendar-full-callendar-light', $this->config->stylesPath . 'fooevents-fullcalendar-light.css', array(), $this-> Config->plugin_data['Version'] );121 wp_enqueue_style( 'fooevents-calendar-full-callendar-light', $this->config->stylesPath . 'fooevents-fullcalendar-light.css', array(), $this->config->plugin_data['Version'] ); 122 122 123 123 } elseif ( 'dark' === $calendar_theme ) { 124 124 125 wp_enqueue_style( 'fooevents-calendar-full-callendar-dark', $this->config->stylesPath . 'fooevents-fullcalendar-dark.css', array(), $this-> Config->plugin_data['Version'] );125 wp_enqueue_style( 'fooevents-calendar-full-callendar-dark', $this->config->stylesPath . 'fooevents-fullcalendar-dark.css', array(), $this->config->plugin_data['Version'] ); 126 126 127 127 } elseif ( 'flat' === $calendar_theme ) { 128 128 129 wp_enqueue_style( 'fooevents-calendar-full-callendar-flat', $this->config->stylesPath . 'fooevents-fullcalendar-flat.css', array(), $this-> Config->plugin_data['Version'] );129 wp_enqueue_style( 'fooevents-calendar-full-callendar-flat', $this->config->stylesPath . 'fooevents-fullcalendar-flat.css', array(), $this->config->plugin_data['Version'] ); 130 130 131 131 } elseif ( 'minimalist' === $calendar_theme ) { 132 132 133 wp_enqueue_style( 'fooevents-calendar-full-callendar-minimalist', $this->config->stylesPath . 'fooevents-fullcalendar-minimalist.css', array(), $this-> Config->plugin_data['Version'] );133 wp_enqueue_style( 'fooevents-calendar-full-callendar-minimalist', $this->config->stylesPath . 'fooevents-fullcalendar-minimalist.css', array(), $this->config->plugin_data['Version'] ); 134 134 135 135 } … … 139 139 if ( 'light-card' === $list_theme ) { 140 140 141 wp_enqueue_style( 'fooevents-calendar-list-light-card', $this->config->stylesPath . 'fooevents-list-light-card.css', array(), $this-> Config->plugin_data['Version'] );141 wp_enqueue_style( 'fooevents-calendar-list-light-card', $this->config->stylesPath . 'fooevents-list-light-card.css', array(), $this->config->plugin_data['Version'] ); 142 142 143 143 } elseif ( 'dark-card' === $list_theme ) { 144 144 145 wp_enqueue_style( 'fooevents-calendar-list-dark-card', $this->config->stylesPath . 'fooevents-list-dark-card.css', array(), $this-> Config->plugin_data['Version'] );145 wp_enqueue_style( 'fooevents-calendar-list-dark-card', $this->config->stylesPath . 'fooevents-list-dark-card.css', array(), $this->config->plugin_data['Version'] ); 146 146 147 147 } … … 554 554 } 555 555 } 556 557 if ( isset( $_POST['WooCommerceEventsEvent'] ) ) { 558 559 $events_event = sanitize_text_field( wp_unslash( $_POST['WooCommerceEventsEvent'] ) ); 560 update_post_meta( $post_id, 'WooCommerceEventsEvent', $events_event ); 561 562 } 563 564 $format = get_option( 'date_format' ); 565 566 $min = 60 * get_option( 'gmt_offset' ); 567 $sign = $min < 0 ? '-' : '+'; 568 $absmin = abs( $min ); 569 570 try { 571 572 $tz = new DateTimeZone( sprintf( '%s%02d%02d', $sign, $absmin / 60, $absmin % 60 ) ); 573 574 } catch ( Exception $e ) { 575 576 $server_timezone = date_default_timezone_get(); 577 $tz = new DateTimeZone( $server_timezone ); 578 579 } 580 581 $event_date_original = ''; 582 $event_date = ''; 583 if ( isset( $_POST['WooCommerceEventsDate'] ) ) { 584 585 $event_date_original = sanitize_text_field( wp_unslash( $_POST['WooCommerceEventsDate'] ) ); 586 $event_date = $event_date_original; 587 588 } 589 590 if ( isset( $event_date ) ) { 591 592 if ( isset( $_POST['WooCommerceEventsSelectDate'][0] ) && isset( $_POST['WooCommerceEventsMultiDayType'] ) && 'select' === $_POST['WooCommerceEventsMultiDayType'] ) { 593 594 $event_date = sanitize_text_field( wp_unslash( $_POST['WooCommerceEventsSelectDate'][0] ) ); 595 596 } 597 598 $event_date = str_replace( '/', '-', $event_date ); 599 $event_date = str_replace( ',', '', $event_date ); 600 601 update_post_meta( $post_id, 'WooCommerceEventsDate', $event_date_original ); 602 603 $dtime = DateTime::createFromFormat( $format, $event_date, $tz ); 604 605 $timestamp = ''; 606 if ( $dtime instanceof DateTime ) { 607 608 if ( isset( $_POST['WooCommerceEventsHour'] ) && isset( $_POST['WooCommerceEventsMinutes'] ) ) { 609 610 $event_hour = sanitize_text_field( wp_unslash( $_POST['WooCommerceEventsHour'] ) ); 611 $event_minutes = sanitize_text_field( wp_unslash( $_POST['WooCommerceEventsMinutes'] ) ); 612 $dtime->setTime( (int) $event_hour, (int) $event_minutes ); 613 614 } 615 616 $timestamp = $dtime->getTimestamp(); 617 618 } else { 619 620 $timestamp = 0; 621 622 } 623 624 update_post_meta( $post_id, 'WooCommerceEventsDateTimestamp', $timestamp ); 625 626 } 627 628 if ( isset( $_POST['WooCommerceEventsEndDate'] ) ) { 629 630 $event_end_date = sanitize_text_field( wp_unslash( $_POST['WooCommerceEventsEndDate'] ) ); 631 update_post_meta( $post_id, 'WooCommerceEventsEndDate', $event_end_date ); 632 633 $dtime = DateTime::createFromFormat( $format, $event_end_date, $tz ); 634 635 $timestamp = ''; 636 if ( $dtime instanceof DateTime ) { 637 638 if ( isset( $_POST['WooCommerceEventsHourEnd'] ) && isset( $_POST['WooCommerceEventsMinutesEnd'] ) ) { 639 640 $event_hour_end = sanitize_text_field( wp_unslash( $_POST['WooCommerceEventsHourEnd'] ) ); 641 $event_minutes_end = sanitize_text_field( wp_unslash( $_POST['WooCommerceEventsMinutesEnd'] ) ); 642 $dtime->setTime( (int) $event_hour_end, (int) $event_minutes_end ); 643 644 } 645 646 $timestamp = $dtime->getTimestamp(); 647 648 } else { 649 650 $timestamp = 0; 651 652 } 653 654 update_post_meta( $post_id, 'WooCommerceEventsEndDateTimestamp', $timestamp ); 655 656 } 657 658 if ( isset( $_POST['WooCommerceEventsHour'] ) ) { 659 660 $event_hour = sanitize_text_field( wp_unslash( $_POST['WooCommerceEventsHour'] ) ); 661 update_post_meta( $post_id, 'WooCommerceEventsHour', $event_hour ); 662 663 } 664 665 if ( isset( $_POST['WooCommerceEventsMinutes'] ) ) { 666 667 $event_minutes = sanitize_text_field( wp_unslash( $_POST['WooCommerceEventsMinutes'] ) ); 668 update_post_meta( $post_id, 'WooCommerceEventsMinutes', $event_minutes ); 669 670 } 671 672 if ( isset( $_POST['WooCommerceEventsPeriod'] ) ) { 673 674 $event_period = sanitize_text_field( wp_unslash( $_POST['WooCommerceEventsPeriod'] ) ); 675 update_post_meta( $post_id, 'WooCommerceEventsPeriod', $event_period ); 676 677 } 678 679 if ( isset( $_POST['WooCommerceEventsHourEnd'] ) ) { 680 681 $event_hour_end = sanitize_text_field( wp_unslash( $_POST['WooCommerceEventsHourEnd'] ) ); 682 update_post_meta( $post_id, 'WooCommerceEventsHourEnd', $event_hour_end ); 683 684 } 685 686 if ( isset( $_POST['WooCommerceEventsMinutesEnd'] ) ) { 687 688 $event_minutes_end = sanitize_text_field( wp_unslash( $_POST['WooCommerceEventsMinutesEnd'] ) ); 689 update_post_meta( $post_id, 'WooCommerceEventsMinutesEnd', $event_minutes_end ); 690 691 } 692 693 if ( isset( $_POST['WooCommerceEventsEndPeriod'] ) ) { 694 695 $event_end_period = sanitize_text_field( wp_unslash( $_POST['WooCommerceEventsEndPeriod'] ) ); 696 update_post_meta( $post_id, 'WooCommerceEventsEndPeriod', $event_end_period ); 697 698 } 699 700 if ( isset( $_POST['WooCommerceEventsTimeZone'] ) ) { 701 702 $event_timezone = sanitize_text_field( wp_unslash( $_POST['WooCommerceEventsTimeZone'] ) ); 703 update_post_meta( $post_id, 'WooCommerceEventsTimeZone', $event_timezone ); 704 705 } 706 707 if ( isset( $_POST['WooCommerceEventsSelectDate'] ) && isset( $_POST['WooCommerceEventsNonProductEvent'] ) ) { 708 709 $event_select_date = $_POST['WooCommerceEventsSelectDate']; 710 update_post_meta( $post_id, 'WooCommerceEventsSelectDate', $event_select_date ); 711 712 } 713 714 if ( isset( $_POST['WooCommerceEventsType'] ) ) { 715 716 $event_type = sanitize_text_field( wp_unslash( $_POST['WooCommerceEventsType'] ) ); 717 update_post_meta( $post_id, 'WooCommerceEventsType', $event_type ); 718 719 } 720 721 if ( isset( $_POST['WooCommerceEventsNumDays'] ) ) { 722 723 $event_num_days = sanitize_text_field( wp_unslash( $_POST['WooCommerceEventsNumDays'] ) ); 724 update_post_meta( $post_id, 'WooCommerceEventsNumDays', $event_num_days ); 725 726 } 727 728 if ( isset( $_POST['WooCommerceEventsAddEventbrite'] ) ) { 729 730 $events_add_eventbrite = sanitize_text_field( wp_unslash( $_POST['WooCommerceEventsAddEventbrite'] ) ); 731 update_post_meta( $post_id, 'WooCommerceEventsAddEventbrite', $events_add_eventbrite ); 732 733 } else { 734 735 update_post_meta( $post_id, 'WooCommerceEventsAddEventbrite', '' ); 736 737 } 738 739 if ( isset( $_POST['WooCommerceEventsAddEventbrite'] ) ) { 740 741 $this->process_eventbrite( $post_id ); 742 743 } 556 557 if(isset( $_POST['WooCommerceEventsNonProductEvent'] )) { 558 559 if ( isset( $_POST['WooCommerceEventsEvent'] ) ) { 560 561 $events_event = sanitize_text_field( wp_unslash( $_POST['WooCommerceEventsEvent'] ) ); 562 update_post_meta( $post_id, 'WooCommerceEventsEvent', $events_event ); 563 564 } 565 566 $format = get_option( 'date_format' ); 567 568 $min = 60 * get_option( 'gmt_offset' ); 569 $sign = $min < 0 ? '-' : '+'; 570 $absmin = abs( $min ); 571 572 try { 573 574 $tz = new DateTimeZone( sprintf( '%s%02d%02d', $sign, $absmin / 60, $absmin % 60 ) ); 575 576 } catch ( Exception $e ) { 577 578 $server_timezone = date_default_timezone_get(); 579 $tz = new DateTimeZone( $server_timezone ); 580 581 } 582 583 $event_date_original = ''; 584 $event_date = ''; 585 if ( isset( $_POST['WooCommerceEventsDate'] ) ) { 586 587 $event_date_original = sanitize_text_field( wp_unslash( $_POST['WooCommerceEventsDate'] ) ); 588 $event_date = $event_date_original; 589 590 } 591 592 if ( isset( $event_date ) ) { 593 594 if ( isset( $_POST['WooCommerceEventsSelectDate'][0] ) && isset( $_POST['WooCommerceEventsMultiDayType'] ) && 'select' === $_POST['WooCommerceEventsMultiDayType'] ) { 595 596 $event_date = sanitize_text_field( wp_unslash( $_POST['WooCommerceEventsSelectDate'][0] ) ); 597 598 } 599 600 $event_date = str_replace( '/', '-', $event_date ); 601 $event_date = str_replace( ',', '', $event_date ); 602 603 update_post_meta( $post_id, 'WooCommerceEventsDate', $event_date_original ); 604 605 $dtime = DateTime::createFromFormat( $format, $event_date, $tz ); 606 607 $timestamp = ''; 608 if ( $dtime instanceof DateTime ) { 609 610 if ( isset( $_POST['WooCommerceEventsHour'] ) && isset( $_POST['WooCommerceEventsMinutes'] ) ) { 611 612 $event_hour = sanitize_text_field( wp_unslash( $_POST['WooCommerceEventsHour'] ) ); 613 $event_minutes = sanitize_text_field( wp_unslash( $_POST['WooCommerceEventsMinutes'] ) ); 614 $dtime->setTime( (int) $event_hour, (int) $event_minutes ); 615 616 } 617 618 $timestamp = $dtime->getTimestamp(); 619 620 } else { 621 622 $timestamp = 0; 623 624 } 625 626 update_post_meta( $post_id, 'WooCommerceEventsDateTimestamp', $timestamp ); 627 628 } 629 630 if ( isset( $_POST['WooCommerceEventsEndDate'] ) ) { 631 632 $event_end_date = sanitize_text_field( wp_unslash( $_POST['WooCommerceEventsEndDate'] ) ); 633 update_post_meta( $post_id, 'WooCommerceEventsEndDate', $event_end_date ); 634 635 $dtime = DateTime::createFromFormat( $format, $event_end_date, $tz ); 636 637 $timestamp = ''; 638 if ( $dtime instanceof DateTime ) { 639 640 if ( isset( $_POST['WooCommerceEventsHourEnd'] ) && isset( $_POST['WooCommerceEventsMinutesEnd'] ) ) { 641 642 $event_hour_end = sanitize_text_field( wp_unslash( $_POST['WooCommerceEventsHourEnd'] ) ); 643 $event_minutes_end = sanitize_text_field( wp_unslash( $_POST['WooCommerceEventsMinutesEnd'] ) ); 644 $dtime->setTime( (int) $event_hour_end, (int) $event_minutes_end ); 645 646 } 647 648 $timestamp = $dtime->getTimestamp(); 649 650 } else { 651 652 $timestamp = 0; 653 654 } 655 656 update_post_meta( $post_id, 'WooCommerceEventsEndDateTimestamp', $timestamp ); 657 658 } 659 660 if ( isset( $_POST['WooCommerceEventsHour'] ) ) { 661 662 $event_hour = sanitize_text_field( wp_unslash( $_POST['WooCommerceEventsHour'] ) ); 663 update_post_meta( $post_id, 'WooCommerceEventsHour', $event_hour ); 664 665 } 666 667 if ( isset( $_POST['WooCommerceEventsMinutes'] ) ) { 668 669 $event_minutes = sanitize_text_field( wp_unslash( $_POST['WooCommerceEventsMinutes'] ) ); 670 update_post_meta( $post_id, 'WooCommerceEventsMinutes', $event_minutes ); 671 672 } 673 674 if ( isset( $_POST['WooCommerceEventsPeriod'] ) ) { 675 676 $event_period = sanitize_text_field( wp_unslash( $_POST['WooCommerceEventsPeriod'] ) ); 677 update_post_meta( $post_id, 'WooCommerceEventsPeriod', $event_period ); 678 679 } 680 681 if ( isset( $_POST['WooCommerceEventsHourEnd'] ) ) { 682 683 $event_hour_end = sanitize_text_field( wp_unslash( $_POST['WooCommerceEventsHourEnd'] ) ); 684 update_post_meta( $post_id, 'WooCommerceEventsHourEnd', $event_hour_end ); 685 686 } 687 688 if ( isset( $_POST['WooCommerceEventsMinutesEnd'] ) ) { 689 690 $event_minutes_end = sanitize_text_field( wp_unslash( $_POST['WooCommerceEventsMinutesEnd'] ) ); 691 update_post_meta( $post_id, 'WooCommerceEventsMinutesEnd', $event_minutes_end ); 692 693 } 694 695 if ( isset( $_POST['WooCommerceEventsEndPeriod'] ) ) { 696 697 $event_end_period = sanitize_text_field( wp_unslash( $_POST['WooCommerceEventsEndPeriod'] ) ); 698 update_post_meta( $post_id, 'WooCommerceEventsEndPeriod', $event_end_period ); 699 700 } 701 702 if ( isset( $_POST['WooCommerceEventsTimeZone'] ) ) { 703 704 $event_timezone = sanitize_text_field( wp_unslash( $_POST['WooCommerceEventsTimeZone'] ) ); 705 update_post_meta( $post_id, 'WooCommerceEventsTimeZone', $event_timezone ); 706 707 } 708 709 if ( isset( $_POST['WooCommerceEventsSelectDate'] ) && isset( $_POST['WooCommerceEventsNonProductEvent'] ) ) { 710 711 $event_select_date = $_POST['WooCommerceEventsSelectDate']; 712 update_post_meta( $post_id, 'WooCommerceEventsSelectDate', $event_select_date ); 713 714 } 715 716 if ( isset( $_POST['WooCommerceEventsType'] ) ) { 717 718 $event_type = sanitize_text_field( wp_unslash( $_POST['WooCommerceEventsType'] ) ); 719 update_post_meta( $post_id, 'WooCommerceEventsType', $event_type ); 720 721 } 722 723 if ( isset( $_POST['WooCommerceEventsNumDays'] ) ) { 724 725 $event_num_days = sanitize_text_field( wp_unslash( $_POST['WooCommerceEventsNumDays'] ) ); 726 update_post_meta( $post_id, 'WooCommerceEventsNumDays', $event_num_days ); 727 728 } 729 730 if ( isset( $_POST['WooCommerceEventsAddEventbrite'] ) ) { 731 732 $events_add_eventbrite = sanitize_text_field( wp_unslash( $_POST['WooCommerceEventsAddEventbrite'] ) ); 733 update_post_meta( $post_id, 'WooCommerceEventsAddEventbrite', $events_add_eventbrite ); 734 735 } else { 736 737 update_post_meta( $post_id, 'WooCommerceEventsAddEventbrite', '' ); 738 739 } 740 741 if ( isset( $_POST['WooCommerceEventsAddEventbrite'] ) ) { 742 743 $this->process_eventbrite( $post_id ); 744 745 } 746 747 } 744 748 745 749 } … … 1816 1820 foreach ( $multi_day_dates as $date ) { 1817 1821 1818 if ( $y > 0 && 'yes' === $event_start_day ) { 1819 1820 continue; 1821 1822 } 1823 1822 if(('eventlist' === $event_start_day || 'both' === $event_start_day ) && 'events_list' === $display_type && $y > 0) { 1823 1824 continue; 1825 1826 } 1827 1828 if(('calendar' === $event_start_day || 'both' === $event_start_day ) && 'events_list' !== $display_type && $y > 0) { 1829 1830 continue; 1831 1832 } 1833 1824 1834 $x++; 1825 1835 … … 1899 1909 1900 1910 $event_end_date_formatted = $fooevents_multiday_events->format_end_date( $event->ID, '', $display_type ); 1901 1911 1902 1912 if ( 'yes' !== $event_start_day ) { 1903 1913 … … 1914 1924 $event_end_date_formatted = $fooevents_multiday_events->format_end_date( $event->ID, true, $display_type ); 1915 1925 1916 if ( 'yes' !== $event_start_day) {1917 1918 $json_events['events'][ $x ]['end'] = $event_end_date_formatted;1926 if(('calendar' !== $event_start_day && 'both' !== $event_start_day ) && 'events_list' !== $display_type) { 1927 1928 $json_events['events'][ $x ]['end'] = $event_end_date_formatted; 1919 1929 $json_events['events'][ $x ]['unformated_end_date'] = $event_end_date; 1920 1930 1921 } 1931 } 1932 1922 1933 } 1923 1934 } … … 2669 2680 case 'F j, Y': 2670 2681 return( 'MM dd, yy' ); 2671 case 'F j Y': 2672 return( 'MM dd yy' ); 2682 case 'M. j, Y': 2683 return( 'M. dd, yy' ); 2684 case 'M. d, Y': 2685 return( 'M. dd, yy' ); 2686 case 'mm/dd/yyyy': 2687 return( 'mm/dd/yy' ); 2673 2688 case 'j F Y': 2674 2689 return( 'd MM yy' ); … … 2752 2767 'décembre' => 'December', 2753 2768 2769 // Catalan - Spain 2770 "gener" => "January", 2771 "febrer" => "February", 2772 "març" => "March", 2773 "abril" => "April", 2774 "maig" => "May", 2775 "juny" => "June", 2776 "juliol" => "July", 2777 "agost" => "August", 2778 "setembre" => "September", 2779 "octubre" => "October", 2780 "novembre" => "November", 2781 "desembre" => "December", 2782 2754 2783 // Dutch. 2755 2784 'januari' => 'January', … … 2972 3001 'Νοέμβριος' => 'November', 2973 3002 'Δεκέμβριος' => 'December', 3003 2974 3004 // Slovak - Slovakia. 2975 3005 'január' => 'January', … … 2999 3029 'november' => 'November', 3000 3030 'december' => 'December', 3031 3032 3001 3033 ); 3002 3034 -
fooevents-calendar/trunk/default.po
r2501761 r2514156 2 2 msgstr "" 3 3 "Project-Id-Version: FooEvents Calendar\n" 4 "POT-Creation-Date: 2021-0 3-23 09:43+0200\n"5 "PO-Revision-Date: 2021-0 3-23 09:43+0200\n"4 "POT-Creation-Date: 2021-04-13 12:44+0200\n" 5 "PO-Revision-Date: 2021-04-13 12:44+0200\n" 6 6 "Last-Translator: \n" 7 7 "Language-Team: \n" … … 31 31 msgstr "" 32 32 33 #: class-fooevents-calendar.php:179 class-fooevents-calendar.php:138 633 #: class-fooevents-calendar.php:179 class-fooevents-calendar.php:1383 34 34 msgid "Today" 35 35 msgstr "" … … 47 47 msgstr "" 48 48 49 #: class-fooevents-calendar.php:3 8449 #: class-fooevents-calendar.php:377 50 50 msgid "Imported Events" 51 51 msgstr "" 52 52 53 #: class-fooevents-calendar.php:3 8553 #: class-fooevents-calendar.php:378 54 54 msgid "Imported Event" 55 55 msgstr "" 56 56 57 #: class-fooevents-calendar.php:4 2057 #: class-fooevents-calendar.php:413 58 58 msgid "FooEvents Calendar Settings" 59 59 msgstr "" 60 60 61 #: class-fooevents-calendar.php:78 461 #: class-fooevents-calendar.php:781 62 62 msgid "Event start date required for Eventbrite." 63 63 msgstr "" 64 64 65 #: class-fooevents-calendar.php:7 9065 #: class-fooevents-calendar.php:787 66 66 msgid "Event end date required for Eventbrite." 67 67 msgstr "" 68 68 69 #: class-fooevents-calendar.php:79 669 #: class-fooevents-calendar.php:793 70 70 msgid "Event title required for Eventbrite." 71 71 msgstr "" 72 72 73 #: class-fooevents-calendar.php:10 9073 #: class-fooevents-calendar.php:1087 74 74 #, php-format 75 75 msgid "%1$d events added. %2$d events updated." 76 76 msgstr "" 77 77 78 #: class-fooevents-calendar.php:11 62 class-fooevents-calendar.php:130378 #: class-fooevents-calendar.php:1159 class-fooevents-calendar.php:1300 79 79 msgid "Book ticket" 80 80 msgstr "" 81 81 82 #: class-fooevents-calendar.php:20 5982 #: class-fooevents-calendar.php:2063 83 83 msgid "Calendar Settings" 84 84 msgstr "" 85 85 86 #: class-fooevents-calendar.php:206 586 #: class-fooevents-calendar.php:2069 87 87 msgid "Enable 24 hour time format" 88 88 msgstr "" 89 89 90 #: class-fooevents-calendar.php:20 6990 #: class-fooevents-calendar.php:2073 91 91 msgid "Uses 24 hour time format on the calendar." 92 92 msgstr "" 93 93 94 #: class-fooevents-calendar.php:207 394 #: class-fooevents-calendar.php:2077 95 95 msgid "Only display start day" 96 96 msgstr "" 97 97 98 #: class-fooevents-calendar.php:20 7798 #: class-fooevents-calendar.php:2081 99 99 msgid "When multi-day plugin is active only display the event start day" 100 100 msgstr "" 101 101 102 #: class-fooevents-calendar.php:208 1102 #: class-fooevents-calendar.php:2085 103 103 msgid "Enable full day events" 104 104 msgstr "" 105 105 106 #: class-fooevents-calendar.php:208 5106 #: class-fooevents-calendar.php:2089 107 107 msgid "Removes event time from calendar entry titles." 108 108 msgstr "" 109 109 110 #: class-fooevents-calendar.php:20 89110 #: class-fooevents-calendar.php:2093 111 111 msgid "Calendar theme" 112 112 msgstr "" 113 113 114 #: class-fooevents-calendar.php:209 5 class-fooevents-calendar.php:2111114 #: class-fooevents-calendar.php:2099 class-fooevents-calendar.php:2115 115 115 msgid "Default" 116 116 msgstr "" 117 117 118 #: class-fooevents-calendar.php:2 096118 #: class-fooevents-calendar.php:2100 119 119 msgid "Light" 120 120 msgstr "" 121 121 122 #: class-fooevents-calendar.php:2 097122 #: class-fooevents-calendar.php:2101 123 123 msgid "Dark" 124 124 msgstr "" 125 125 126 #: class-fooevents-calendar.php:2 098126 #: class-fooevents-calendar.php:2102 127 127 msgid "Flat" 128 128 msgstr "" 129 129 130 #: class-fooevents-calendar.php:2 099130 #: class-fooevents-calendar.php:2103 131 131 msgid "Minimalist" 132 132 msgstr "" 133 133 134 #: class-fooevents-calendar.php:210 1134 #: class-fooevents-calendar.php:2105 135 135 msgid "Selects calendar theme to be used on Wordpress frontend." 136 136 msgstr "" 137 137 138 #: class-fooevents-calendar.php:210 5138 #: class-fooevents-calendar.php:2109 139 139 msgid "Events list theme" 140 140 msgstr "" 141 141 142 #: class-fooevents-calendar.php:211 2142 #: class-fooevents-calendar.php:2116 143 143 msgid "Light Card" 144 144 msgstr "" 145 145 146 #: class-fooevents-calendar.php:211 3146 #: class-fooevents-calendar.php:2117 147 147 msgid "Dark Card" 148 148 msgstr "" 149 149 150 #: class-fooevents-calendar.php:211 5150 #: class-fooevents-calendar.php:2119 151 151 msgid "Selects events list theme to be used on Wordpress frontend." 152 152 msgstr "" -
fooevents-calendar/trunk/fooevents-calendar.php
r2505115 r2514156 4 4 * Plugin Name: Events Calendar for FooEvents 5 5 * Description: Add event information to any post, page or custom post type and display it in a stylish calendar. 6 * Version: 1.6.1 16 * Version: 1.6.15 7 7 * Author: FooEvents 8 8 * Plugin URI: https://www.fooevents.com/fooevents-calendar/ -
fooevents-calendar/trunk/readme.txt
r2505115 r2514156 4 4 Requires at least: 5 5 5 Tested up to: 5.7 6 Stable tag: 1.6.1 16 Stable tag: 1.6.15 7 7 License: GPLv2 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 158 158 == Changelog == 159 159 160 = 1.6.15 = 161 * FIXED: Added non-product check to processing * 162 * FIXED: PHP version number warnings in script methods * 163 * ADDED: Global start date option now has settings for Calendar, Event List, Both or Disabled * 164 * FIXED: Various small bugs * 165 * TESTED ON: WordPress 5.7 and WooCommerce 5.1.0 * 166 160 167 = 1.6.11 = 161 168 * FIXED: Bug where select dates not working on non-product event * -
fooevents-calendar/trunk/updatelog.txt
r2505115 r2514156 3 3 4 4 ------------------ 5 1.6.15 6 FIXED: Added non-product check to processing 7 FIXED: PHP version number warnings in script methods 8 ADDED: Global start date option now has settings for Calendar, Event List, Both or Disabled 9 FIXED: Various small bugs 10 TESTED ON: WordPress 5.7 and WooCommerce 5.1.0 11 5 12 1.6.11 6 FIXED: Bug where select dates not working on non =product event13 FIXED: Bug where select dates not working on non-product event 7 14 TESTED ON: WordPress 5.7 and WooCommerce 5.1.0 8 15
Note: See TracChangeset
for help on using the changeset viewer.