Changeset 1458303
- Timestamp:
- 07/21/2016 02:38:00 PM (10 years ago)
- Location:
- opentickets-community-edition/trunk
- Files:
-
- 7 edited
-
assets/js/admin/event-ui.js (modified) (1 diff)
-
inc/core/calendar.class.php (modified) (1 diff)
-
inc/core/post-type.class.php (modified) (2 diffs)
-
inc/event-area/post-type.class.php (modified) (1 diff)
-
inc/ticket/ticket.class.php (modified) (2 diffs)
-
launcher.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
opentickets-community-edition/trunk/assets/js/admin/event-ui.js
r1437825 r1458303 2 2 QS.EventUI = (function($, undefined) { 3 3 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 ), 5 5 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 ); 6 10 7 11 function frmt( str ) { -
opentickets-community-edition/trunk/inc/core/calendar.class.php
r1349080 r1458303 136 136 137 137 // 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 139 140 140 141 // register the fullcalendar jquery plugin's assets -
opentickets-community-edition/trunk/inc/core/post-type.class.php
r1437825 r1458303 1088 1088 'hh:mmtt' => __( 'hh:mmtt', 'opentickets-community-edition' ), 1089 1089 ), 1090 'tz' => get_option('timezone_string'), 1090 1091 'str' => array( 1091 1092 'New Event Date' => __( 'New Event Date', 'opentickets-community-edition' ), … … 1257 1258 1258 1259 // 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 ); 1261 1262 $format = '%1$s'; 1262 1263 if ( $needs['date'] ) -
opentickets-community-edition/trunk/inc/event-area/post-type.class.php
r1437825 r1458303 1371 1371 wp_enqueue_script( 'qsot-admin-ticket-selection' ); 1372 1372 wp_localize_script( 'qsot-admin-ticket-selection', '_qsot_admin_ticket_selection', array( 1373 'ajaxurl' => admin_url( 'admin-ajax.php' ), 1373 1374 'nonce' => wp_create_nonce( 'do-qsot-admin-ajax' ), 1374 1375 'templates' => apply_filters( 'qsot-ticket-selection-templates', array(), $exists, $order_id ), -
opentickets-community-edition/trunk/inc/ticket/ticket.class.php
r1396507 r1458303 146 146 if (empty($url)) return; 147 147 148 $title = 'View this ticket';149 $display = 'View ticket';148 $title = __( 'View this ticket', 'opentickets-community-edition' ); 149 $display = __( 'View ticket', 'opentickets-community-edition' ); 150 150 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' ); 153 153 } 154 154 … … 665 665 // do something different depending on the requested format 666 666 switch ( $_GET['frmt'] ) { 667 default: echo $out; break;668 667 default: echo apply_filters( 'qsot-display-ticket-output-' . $_GET['frmt'] . '-format', $out, $code, array( 669 668 'ticket' => $ticket, -
opentickets-community-edition/trunk/launcher.php
r1437825 r1458303 4 4 * Plugin URI: http://opentickets.com/ 5 5 * Description: Event Management and Online Ticket Sales Platform 6 * Version: 2.4. 06 * Version: 2.4.2 7 7 * Author: Quadshot Software LLC 8 8 * Author URI: http://quadshot.com/ … … 54 54 'fctm' => 'fc', 55 55 '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', 58 58 'core_post_type' => 'qsot-event', 59 59 'core_post_rewrite_slug' => 'event', -
opentickets-community-edition/trunk/readme.txt
r1437825 r1458303 171 171 172 172 == 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) 173 178 174 179 = 2.4.0 - 06//16/2016 =
Note: See TracChangeset
for help on using the changeset viewer.