Changeset 2736178
- Timestamp:
- 06/02/2022 08:03:02 AM (4 years ago)
- Location:
- prosolution-wp-client/trunk
- Files:
-
- 7 edited
-
README.txt (modified) (2 diffs)
-
includes/class-prosolwpclient-table-helper.php (modified) (4 diffs)
-
prosolwpclient.php (modified) (2 diffs)
-
public/class-prosolwpclient-public.php (modified) (3 diffs)
-
public/templates/singlefieldset/modals/prosolwpclientjobapplicationactivitymodal.php (modified) (1 diff)
-
public/templates/singlefieldset/prosolwpclient-job-application-education-info_main.php (modified) (1 diff)
-
public/templates/singlefieldset/prosolwpclientjobapplicationeducationinfo.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
prosolution-wp-client/trunk/README.txt
r2720404 r2736178 6 6 Tested up to: 4.9.5 7 7 Requires PHP: 5.6 8 Stable tag: 1.8. 28 Stable tag: 1.8.3 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 66 66 67 67 == Changelog == 68 69 = 1.8.3 = 70 * Fix coding related to php 8 71 * Lower varchar to 55 of column jobid, siteid when create new table jobs 68 72 69 73 = 1.8.2 = -
prosolution-wp-client/trunk/includes/class-prosolwpclient-table-helper.php
r2720404 r2736178 129 129 'includeExpired' => 1 130 130 ); 131 } 131 } 132 132 $api_body = array( "param" => json_encode( $safe_data )); 133 133 … … 135 135 'headers' => $header_info, 136 136 'body' => $api_body 137 ) ); 138 137 ) ); 139 138 } else if($table_name != '' && $table_name != 'jobs'){ // default table beside jobs 140 139 $response = wp_remote_get( $api_config['api_url'] . 'system/list/' . $table_name, array( 'headers' => $header_info ) ); … … 474 473 $keyfield="textfield_".$x; 475 474 $keylabel="textfieldlabel_".$x; 476 if(array_key_exists($keyfield,$response_data)){ 475 476 if(property_exists($response_data,$keyfield)){ 477 477 478 $valuefield=$response_data->$keyfield; 478 479 $valuelabel=$response_data->$keylabel; … … 492 493 '%s' 493 494 ) 494 ); 495 ); 495 496 } 496 497 } -
prosolution-wp-client/trunk/prosolwpclient.php
r2720404 r2736178 17 17 * Plugin URI: https://prosolution.com/produkte-und-services/workexpert.html 18 18 * Description: WordPress client for ProSolution 19 * Version: 1.8. 219 * Version: 1.8.3 20 20 * Author: ProSolution 21 21 * Author URI: https://www.prosolution.com … … 39 39 40 40 defined('PROSOLWPCLIENT_PLUGIN_NAME') or define('PROSOLWPCLIENT_PLUGIN_NAME', 'prosolwpclient'); 41 defined('PROSOLWPCLIENT_PLUGIN_VERSION') or define('PROSOLWPCLIENT_PLUGIN_VERSION', '1.8. 2');41 defined('PROSOLWPCLIENT_PLUGIN_VERSION') or define('PROSOLWPCLIENT_PLUGIN_VERSION', '1.8.3'); 42 42 defined('PROSOLWPCLIENT_BASE_NAME') or define('PROSOLWPCLIENT_BASE_NAME', plugin_basename(__FILE__)); 43 43 defined('PROSOLWPCLIENT_ROOT_PATH') or define('PROSOLWPCLIENT_ROOT_PATH', plugin_dir_path(__FILE__)); -
prosolution-wp-client/trunk/public/class-prosolwpclient-public.php
r2720404 r2736178 224 224 for($xo=0;$xo<$recordcount;$xo++){ 225 225 foreach ( $qjobs[$xo] as $key => $value ) { 226 if(! array_key_exists($key,$obj_response)){226 if(!property_exists($obj_response,$key)){ 227 227 $obj_response->$key=array(); 228 228 } … … 292 292 for($xo=0;$xo<$recordcount;$xo++){ 293 293 foreach ( $qjobs[$xo] as $key => $value ) { 294 if(! array_key_exists($key,$obj_response)){294 if(!property_exists($obj_response,$key)){ 295 295 $obj_response->$key=array(); 296 296 } … … 471 471 for($xo=0;$xo<$recordcount;$xo++){ 472 472 foreach ( $qjobs[$xo] as $key => $value ) { 473 if(! array_key_exists($key,$obj_response)){473 if(!property_exists($obj_response,$key)){ 474 474 $obj_response->$key=array(); 475 475 } -
prosolution-wp-client/trunk/public/templates/singlefieldset/modals/prosolwpclientjobapplicationactivitymodal.php
r2460136 r2736178 44 44 45 45 <script id="operation_areas_template" type="x-tmpl-mustache"> 46 <?php 46 <?php 47 47 if($pstemplate!=1){ 48 48 foreach ( $all_operationarea as $index => $area_info ) { -
prosolution-wp-client/trunk/public/templates/singlefieldset/prosolwpclient-job-application-education-info_main.php
r2454627 r2736178 17 17 $all_nace = $wpdb->get_results( "SELECT * FROM $table_ps_nace as nace WHERE nace.site_id='$siteid' ORDER BY nace.name ASC", ARRAY_A ); 18 18 $all_operationarea = $wpdb->get_results( "SELECT * FROM $table_ps_operationarea as operationarea WHERE operationarea.site_id='$siteid' ORDER BY operationarea.name ASC", ARRAY_A ); 19 19 20 $step_label = get_option('prosolwpclient_applicationform'); 20 21 ?> -
prosolution-wp-client/trunk/public/templates/singlefieldset/prosolwpclientjobapplicationeducationinfo.php
r2454627 r2736178 16 16 $all_nace = $wpdb->get_results( "SELECT * FROM $table_ps_nace as nace WHERE nace.site_id='$siteid' ORDER BY nace.name ASC", ARRAY_A ); 17 17 $all_operationarea = $wpdb->get_results( "SELECT * FROM $table_ps_operationarea as operationarea WHERE operationarea.site_id='$siteid' ORDER BY operationarea.name ASC", ARRAY_A ); 18 18 19 $opt = get_option('prosolwpclient_applicationform'); 19 20 $sect = $issite.'education';
Note: See TracChangeset
for help on using the changeset viewer.