Plugin Directory

Changeset 1458303


Ignore:
Timestamp:
07/21/2016 02:38:00 PM (10 years ago)
Author:
loushou
Message:
  • [new] added momentjs-timezone lib to handle differences between server and local machine time conversions when creating events
  • [fix] patch to help VBO installs that are in subdirs
  • [fix] fixed php7 syntax errors. (thought we already released this, but apparently not)

loushou

Location:
opentickets-community-edition/trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • opentickets-community-edition/trunk/assets/js/admin/event-ui.js

    r1437825 r1458303  
    22QS.EventUI = (function($, undefined) {
    33    var qt = QS.Tools,
    4             S = $.extend( true, { frmts:{} }, _qsot_event_ui_settings ),
     4            S = $.extend( true, { frmts:{}, tz:moment.tz.guess() }, _qsot_event_ui_settings ),
    55            new_post_id = -1;
     6
     7    console.log( 'timezone', _qsot_event_ui_settings, S );
     8    // set the default timezone for momentjs
     9    moment.tz.setDefault( S.tz );
    610
    711    function frmt( str ) {
  • opentickets-community-edition/trunk/inc/core/calendar.class.php

    r1349080 r1458303  
    136136
    137137        // register the moment.js library since the fullcalendar lib uses it
    138         wp_register_script( 'moment-js', $base_url . 'assets/js/libs/fullcalendar/lib/moment.min.js', array( 'jquery' ), '2.11.0' );
     138        wp_register_script( 'moment-core-js', $base_url . 'assets/js/libs/fullcalendar/lib/moment.min.js', array( 'jquery' ), '2.11.0' );
     139        wp_register_script( 'moment-js', $base_url . 'assets/js/libs/moment-timezone/moment-timezone-all-years.js', array( 'moment-core-js' ), '0.5.4-2016d' ); //timezone lib
    139140
    140141        // register the fullcalendar jquery plugin's assets
  • opentickets-community-edition/trunk/inc/core/post-type.class.php

    r1437825 r1458303  
    10881088                'hh:mmtt' => __( 'hh:mmtt', 'opentickets-community-edition' ),
    10891089            ),
     1090            'tz' => get_option('timezone_string'),
    10901091            'str' => array(
    10911092                'New Event Date' => __( 'New Event Date', 'opentickets-community-edition' ),
     
    12571258
    12581259        // add the date/time to the title
    1259         $date = date_i18n( __( 'm/d/Y', 'opentickets-community-edition' ), $start );
    1260         $time = date_i18n( __( 'g:ia', 'opentickets-community-edition' ), $start );
     1260        $date = date( __( 'm/d/Y', 'opentickets-community-edition' ), $start );
     1261        $time = date( __( 'g:ia', 'opentickets-community-edition' ), $start );
    12611262        $format = '%1$s';
    12621263        if ( $needs['date'] )
  • opentickets-community-edition/trunk/inc/event-area/post-type.class.php

    r1437825 r1458303  
    13711371        wp_enqueue_script( 'qsot-admin-ticket-selection' );
    13721372        wp_localize_script( 'qsot-admin-ticket-selection', '_qsot_admin_ticket_selection', array(
     1373            'ajaxurl' => admin_url( 'admin-ajax.php' ),
    13731374            'nonce' => wp_create_nonce( 'do-qsot-admin-ajax' ),
    13741375            'templates' => apply_filters( 'qsot-ticket-selection-templates', array(), $exists, $order_id ),
  • opentickets-community-edition/trunk/inc/ticket/ticket.class.php

    r1396507 r1458303  
    146146        if (empty($url)) return;
    147147
    148         $title = 'View this ticket';
    149         $display = 'View ticket';
     148        $title = __( 'View this ticket', 'opentickets-community-edition' );
     149        $display = __( 'View ticket', 'opentickets-community-edition' );
    150150        if ($item['qty'] > 1) {
    151             $title = 'View these tickets';
    152             $display = 'View tickets';
     151            $title = __( 'View these tickets', 'opentickets-community-edition' );
     152            $display = __( 'View tickets', 'opentickets-community-edition' );
    153153        }
    154154
     
    665665        // do something different depending on the requested format
    666666        switch ( $_GET['frmt'] ) {
    667             default: echo $out; break;
    668667            default: echo apply_filters( 'qsot-display-ticket-output-' . $_GET['frmt'] . '-format', $out, $code, array(
    669668                'ticket' => $ticket,
  • opentickets-community-edition/trunk/launcher.php

    r1437825 r1458303  
    44 * Plugin URI:  http://opentickets.com/
    55 * Description: Event Management and Online Ticket Sales Platform
    6  * Version:     2.4.0
     6 * Version:     2.4.2
    77 * Author:      Quadshot Software LLC
    88 * Author URI:  http://quadshot.com/
     
    5454            'fctm' => 'fc',
    5555            'always_reserve' => 0,
    56             'version' => '2.4.0',
    57             'min_wc_version' => '2.4.12',
     56            'version' => '2.4.2',
     57            'min_wc_version' => '2.6.1',
    5858            'core_post_type' => 'qsot-event',
    5959            'core_post_rewrite_slug' => 'event',
  • opentickets-community-edition/trunk/readme.txt

    r1437825 r1458303  
    171171
    172172== Changelog ==
     173
     174= 2.4.2 - 07/21/2016 =
     175* [new] added momentjs-timezone lib to handle differences between server and local machine time conversions when creating events
     176* [fix] patch to help VBO installs that are in subdirs
     177* [fix] fixed php7 syntax errors. (thought we already released this, but apparently not)
    173178
    174179= 2.4.0 - 06//16/2016 =
Note: See TracChangeset for help on using the changeset viewer.