PluginProbe
ShiftController Employee Shift Scheduling / 4.9.96
ShiftController Employee Shift Scheduling v4.9.96
4.9.97 4.9.96 4.9.95 4.9.74 4.9.75 4.9.76 4.9.77 4.9.78 4.9.84 4.9.85 4.9.87 4.9.91 4.9.92 trunk 2.1.0 2.1.1 2.1.2 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.2.6 3.2.4 All 38 releases
← All changes | shiftcontroller4.php +6 -3 4.9.774.9.96 View file →
@@ -2,9 +2,9 @@
2 2 /*
3 3 * Plugin Name: ShiftController
4 4 * Plugin URI: https://www.shiftcontroller.com/
5 5 * Description: Staff scheduling plugin
6 - * Version: 4.9.77
6 + * Version: 4.9.96
7 7 * Author: plainware.com
8 8 * Author URI: https://www.shiftcontroller.com/
9 9 * Text Domain: shiftcontroller
10 10 * Domain Path: /languages/
@@ -9,9 +9,11 @@
9 9 * Text Domain: shiftcontroller
10 10 * Domain Path: /languages/
11 11 */
12 12
13 -define( 'SH4_VERSION', 4977 );
13 +if (!defined('SH4_VERSION')) {
14 + define( 'SH4_VERSION', 4996 );
15 +}
14 16
15 17 if (! defined('ABSPATH')) exit; // Exit if accessed directly
16 18
17 19 if ( version_compare( PHP_VERSION, '5.3', '<' ) ) {
@@ -28,8 +30,9 @@
28 30 $conf = include( dirname(__FILE__) . '/config.php' );
29 31 }
30 32
31 33 $hc3path = defined('HC3_DEV_INSTALL') ? HC3_DEV_INSTALL : dirname(__FILE__) . '/hc3';
34 +$hc3path = dirname(__FILE__) . '/hc3';
32 35 include_once( $hc3path . '/_wordpress/abstract/plugin.php' );
33 36
34 37 class ShiftController4 extends HC3_Abstract_Plugin
35 38 {
@@ -200,9 +203,9 @@
200 203 // $processParams = array( 'type', 'groupby', 'start', 'end', 'time', 'pickup', 'conflict' );
201 204 // if( $slug != 'myschedule' ){
202 205 // $processParams = array_merge( $processParams, array('calendar', 'employee', 'hideui') );
203 206 // }
204 - $processParams = array( 'type', 'groupby', 'start', 'end', 'time', 'pickup', 'conflict', 'hideui' );
207 + $processParams = array( 'type', 'groupby', 'start', 'end', 'time', 'pickup', 'conflict', 'hideui', 't1', 't2' );
205 208 if( $slug != 'myschedule' ){
206 209 $processParams = array_merge( $processParams, array('calendar', 'employee') );
207 210 }
208 211 $arrayFor = array( 'calendar', 'employee', 'hideui' );