Changeset 2995612
- Timestamp:
- 11/14/2023 08:41:06 AM (2 years ago)
- Location:
- jobsearch
- Files:
-
- 4 added
- 4 edited
-
frontEnd/job/helper/jobHelper.php (modified) (2 diffs)
-
helper/Job.php (modified) (2 diffs)
-
tags/2.2.4 (added)
-
tags/2.2.4/readme.txt (added)
-
trunk/frontEnd/job/helper/jobHelper.php (modified) (2 diffs)
-
trunk/helper/Job.php (modified) (2 diffs)
-
trunk/tags/2.2.4 (added)
-
trunk/tags/2.2.4/readme.txt (added)
Legend:
- Unmodified
- Added
- Removed
-
jobsearch/frontEnd/job/helper/jobHelper.php
r2674369 r2995612 550 550 } 551 551 552 $script .= '"jobLocation": {'; 553 $script .= '"@type": "Place",'; 554 $script .= '"address": {'; 555 $script .= '"@type": "PostalAddress",'; 556 $script .= '"streetAddress": "",'; 557 $script .= '"addressLocality": "'.(isset($fields["city"])?$fields["city"]:'').'",'; 558 $script .= '"addressRegion": "'.(isset($fields["region"])?$fields["region"]:'').'",'; 559 $script .= '"postalCode": "'.(isset($fields["postal_code"])?$fields["postal_code"]:'').'",'; 560 $script .= '"addressCountry": "'.(isset($fields["country"])?$fields["country"]:'').'"'; 561 $script .= '},'; 562 552 563 if (isset( $fields["location"]) && $fields["location"] <> ''){ 553 564 $script .= '"jobLocation": {'; … … 557 568 $script .= '"addressLocality": "'.$fields["location"].'"'; 558 569 $script .= '}'; 559 $script .= '},';560 }570 } 571 $script .= '},'; 561 572 562 573 if (isset( $fields["description"]) && $fields["description"] <> ''){ -
jobsearch/helper/Job.php
r2614212 r2995612 182 182 $this->set_condition($jobHelper->tdb_jb_get_json_value($xml->{'conditions'})); 183 183 } 184 // selling point 184 // selling points 185 185 if(isset($xml->{'company'}->{'selling_points'}) && !empty($param["selling_points"])) { 186 186 $this->set_selling_points($jobHelper->tdb_jb_get_json_value($xml->{'company'}->{'selling_points'})); … … 190 190 $this->set_address($xml->{'address'}); 191 191 } 192 // address192 // working hours 193 193 if(isset($xml->{'working_hours'}) && !empty($param["working_hours"])) { 194 194 $this->set_working_hours($jobHelper->tdb_jb_get_json_value($xml->{'working_hours'})); -
jobsearch/trunk/frontEnd/job/helper/jobHelper.php
r2674369 r2995612 550 550 } 551 551 552 $script .= '"jobLocation": {'; 553 $script .= '"@type": "Place",'; 554 $script .= '"address": {'; 555 $script .= '"@type": "PostalAddress",'; 556 $script .= '"streetAddress": "",'; 557 $script .= '"addressLocality": "'.(isset($fields["city"])?$fields["city"]:'').'",'; 558 $script .= '"addressRegion": "'.(isset($fields["region"])?$fields["region"]:'').'",'; 559 $script .= '"postalCode": "'.(isset($fields["postal_code"])?$fields["postal_code"]:'').'",'; 560 $script .= '"addressCountry": "'.(isset($fields["country"])?$fields["country"]:'').'"'; 561 $script .= '},'; 562 552 563 if (isset( $fields["location"]) && $fields["location"] <> ''){ 553 564 $script .= '"jobLocation": {'; … … 557 568 $script .= '"addressLocality": "'.$fields["location"].'"'; 558 569 $script .= '}'; 559 $script .= '},';560 }570 } 571 $script .= '},'; 561 572 562 573 if (isset( $fields["description"]) && $fields["description"] <> ''){ -
jobsearch/trunk/helper/Job.php
r2614212 r2995612 182 182 $this->set_condition($jobHelper->tdb_jb_get_json_value($xml->{'conditions'})); 183 183 } 184 // selling point 184 // selling points 185 185 if(isset($xml->{'company'}->{'selling_points'}) && !empty($param["selling_points"])) { 186 186 $this->set_selling_points($jobHelper->tdb_jb_get_json_value($xml->{'company'}->{'selling_points'})); … … 190 190 $this->set_address($xml->{'address'}); 191 191 } 192 // address192 // working hours 193 193 if(isset($xml->{'working_hours'}) && !empty($param["working_hours"])) { 194 194 $this->set_working_hours($jobHelper->tdb_jb_get_json_value($xml->{'working_hours'}));
Note: See TracChangeset
for help on using the changeset viewer.