Changeset 2957944
- Timestamp:
- 08/24/2023 02:43:27 PM (3 years ago)
- Location:
- heyrecruit/trunk
- Files:
-
- 2 added
- 9 edited
-
Controller/HeyrecruitController.php (modified) (30 diffs)
-
Controller/HeyrecruitRestApiController.php (modified) (3 diffs)
-
constConfig.php (modified) (1 diff)
-
heyrecruit.php (modified) (1 diff)
-
js/hrMainConst.js (added)
-
js/jquery-3.7.0.min.js (added)
-
js/main.js (modified) (1 diff)
-
js/main.min.js (modified) (1 diff)
-
templates/content/companyInfo.php (modified) (2 diffs)
-
templates/content/jsFiles.php (modified) (4 diffs)
-
templates/formElements/checkbox_with_modal.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
heyrecruit/trunk/Controller/HeyrecruitController.php
r2866878 r2957944 150 150 'displayJobEmployment' 151 151 ]); 152 add_shortcode('hr_job_de rpartment', [152 add_shortcode('hr_job_department', [ 153 153 $this, 154 154 'displayJobDepartment' … … 226 226 */ 227 227 public function displaySelectLocation(): ?string { 228 $this->getJobData(); 228 229 if (!$this->getJobData()) 230 return ''; 229 231 230 232 $locations = $this->getLocations($this->job['AllCompanyLocationJob'] ?? []); … … 237 239 foreach ($locations->select as $key => $location) { 238 240 239 $selected = $key == filter_var($_GET['locationId'], FILTER_SANITIZE_STRING)? ' selected' : '';241 $selected = $key == esc_attr($_GET['locationId']) ? ' selected' : ''; 240 242 $locationOptions .= '<option value="' . $key . '"' . $selected . '>' . $location . '</option>'; 241 243 } … … 246 248 } 247 249 248 return null;250 return ''; 249 251 } 250 252 … … 305 307 public function displayJobForm(): string { 306 308 307 if (!isset($this->job['Form'])) 308 return ''; 309 310 $this->getJobData(); 309 if (!$this->getJobData() || !isset($this->job['Form'])) 310 return ''; 311 311 312 312 $form = (object)$this->job['Form']; … … 316 316 $form->postUrl = $form->post_url; 317 317 $form->locationId = $this->job['CompanyLocation']['id']; 318 $form->jwt = filter_var($_SESSION['HEYRECRUIT_TOKEN'], FILTER_SANITIZE_STRING);318 $form->jwt = esc_attr($_SESSION['HEYRECRUIT_TOKEN']); 319 319 $form->confirmPage = $this->getOption('confirmPage'); 320 320 … … 376 376 $form->value = str_replace($modal->href, $modalLink, $formElement->QuestionString[0]->value); 377 377 $form->modalBody = $modal->value; 378 } else 379 $form->value = explode(';', $formElement->QuestionString[0]->value 380 ?? $formElement->QuestionString[0]->default_value); 378 } else { 379 $string_value = ($formElement->QuestionString[0]->value 380 ?? ($formElement->QuestionString[0]->default_value ?? '')); 381 382 $form->value = explode(';', $string_value); 383 } 384 381 385 382 386 ob_start(); … … 418 422 public function displayJobHeader(): ?string { 419 423 420 $this->getJobData(); 424 if (!$this->getJobData()) 425 return ''; 421 426 422 427 $sections = ''; … … 430 435 431 436 if ($element['element_type'] === 'image') { 432 $image = json_decode($element['text'])->detail[0] ?? null; 433 434 if (!$image) 437 438 $image = json_decode($element['text']); 439 440 if (!isset($image->detail) || !is_array($image->detail)) 435 441 continue; 436 442 437 $imageSrc = $image->host . '/' . $image->rel_path . '/' . $image->name; 443 $image = $image->detail[0]; 444 445 $imageHost = isset($image->host) && $image->host !== '' 446 ? $image->host : HEYRECRUIT_URL; 447 448 $imageHost = str_replace('app/', '', $imageHost); 449 450 $imageSrc = $imageHost . '/' . $image->rel_path . '/' . $image->name; 438 451 439 452 if (strpos($imageSrc, 'header_dummy') !== false) 440 $imageSrc = null;453 $imageSrc = ''; 441 454 } 442 455 } … … 444 457 445 458 $data = new stdClass(); 446 $data->jobHeaderImage = $imageSrc ?? null;459 $data->jobHeaderImage = $imageSrc ?? ''; 447 460 $data->jobTitle = $this->displayJobTitle(); 448 461 $data->jobSubTitle = $this->displayJobSubTitle(); … … 461 474 $data->jobAddress = $this->displayJobAddress(); 462 475 476 463 477 ob_start(); 464 478 … … 474 488 */ 475 489 public function displayJobSections(): ?string { 476 $this->getJobData(); 490 491 if (!$this->getJobData()) 492 return ''; 477 493 478 494 $sections = ''; … … 501 517 502 518 /** 503 * loadSection 504 * @return string|null 505 */ 506 private function loadSection(): ?string { 519 * @return false|string|null 520 */ 521 private function loadSection(): false|string|null { 507 522 508 523 $elementType = $this->element['element_type']; … … 529 544 /** 530 545 * displayJobTitle 531 * @return string|null 532 * @throws Exception 533 */ 534 public function displayJobTitle(): ?string { 535 536 $this->getJobData(); 537 538 if ($this->job['Job']['title']) { 546 * @return string 547 * @throws Exception 548 */ 549 public function displayJobTitle(): string { 550 551 if (!$this->getJobData()) 552 return ''; 553 554 if ($this->job['Job']['title'] ?? false) { 539 555 return '<span class="hrJobTitle">' . $this->job['Job']['title'] . '</span>'; 540 } else {541 return null; 542 }556 } 557 558 return ''; 543 559 } 544 560 545 561 /** 546 562 * displayJobTitle 547 * @return string|null 548 * @throws Exception 549 */ 550 public function displayJobSubTitle(): ?string { 551 552 $this->getJobData(); 553 554 if ($this->job['Job']['subtitle']) { 563 * @return string 564 * @throws Exception 565 */ 566 public function displayJobSubTitle(): string { 567 568 if (!$this->getJobData()) 569 return ''; 570 571 if ($this->job['Job']['subtitle'] ?? false) { 555 572 return '<span class="hrJobSubtitle">' . $this->job['Job']['subtitle'] . '</span>'; 556 } else {557 return null; 558 }573 } 574 575 return ''; 559 576 } 560 577 561 578 /** 562 579 * displayJobEmployment 563 * @return string|null 564 * @throws Exception 565 */ 566 public function displayJobEmployment(): ?string { 567 568 $this->getJobData(); 569 570 if ($this->job['Job']['employment']) { 580 * @return string 581 * @throws Exception 582 */ 583 public function displayJobEmployment(): string { 584 585 if (!$this->getJobData()) 586 return ''; 587 588 if ($this->job['Job']['employment'] ?? false) { 571 589 return '<span class="hrJobEmployment">' . $this->job['Job']['employment'] . '</span>'; 572 } else {573 return null; 574 }590 } 591 592 return ''; 575 593 } 576 594 577 595 /** 578 596 * displayJobDepartment 579 * @return string|null 580 * @throws Exception 581 */ 582 public function displayJobDepartment(): ?string { 583 584 $this->getJobData(); 585 586 if ($this->job['Job']['department']) { 597 * @return string 598 * @throws Exception 599 */ 600 public function displayJobDepartment(): string { 601 602 if (!$this->getJobData()) 603 return ''; 604 605 if ($this->job['Job']['department'] ?? false) { 587 606 return '<span class="hrJobDepartment">' . $this->job['Job']['department'] . '</span>'; 588 } else {589 return null; 590 }607 } 608 609 return ''; 591 610 } 592 611 593 612 /** 594 613 * displayJobDepartment 595 * @return string|null 596 * @throws Exception 597 */ 598 public function displayJobAllowHomeOffice(): ?string { 599 600 $this->getJobData(); 601 602 switch ($this->job['Job']['remote']) { 614 * @return string 615 * @throws Exception 616 */ 617 public function displayJobAllowHomeOffice(): string { 618 619 if (!$this->getJobData()) 620 return ''; 621 622 switch ($this->job['Job']['remote'] ?? null) { 603 623 case 'yes': 604 624 $homeoffice = __('Yes'); … … 610 630 $homeoffice = __('No'); 611 631 } 612 613 632 return '<span class="hrJobHomeoffice">Homeoffice: ' . $homeoffice . '</span>'; 614 633 } … … 616 635 /** 617 636 * displayJobMinSalary 618 * @return string|null 619 * @throws Exception 620 */ 621 public function displayJobMinSalary(): ?string { 622 623 $this->getJobData(); 624 625 if ($this->job['Job']['salary_min'] && !empty($this->job['Job']['salary_min'])) { 637 * @return string 638 * @throws Exception 639 */ 640 public function displayJobMinSalary(): string { 641 642 if (!$this->getJobData()) 643 return ''; 644 645 if (($this->job['Job']['salary_min'] ?? false) && !empty($this->job['Job']['salary_min'])) { 626 646 return '<span class="">' . $this->job['Job']['salary_min'] . '</span>'; 627 } else {628 return null; 629 }647 } 648 649 return ''; 630 650 } 631 651 632 652 /** 633 653 * displayJobMaxSalary 634 * @return string|null 635 * @throws Exception 636 */ 637 public function displayJobMaxSalary(): ?string { 638 639 $this->getJobData(); 640 641 if ($this->job['Job']['salary_max'] && !empty($this->job['Job']['salary_max'])) { 654 * @return string 655 * @throws Exception 656 */ 657 public function displayJobMaxSalary(): string { 658 659 if (!$this->getJobData()) 660 return ''; 661 662 if (($this->job['Job']['salary_max'] ?? false) && !empty($this->job['Job']['salary_max'])) { 642 663 return '<span class="">' . $this->job['Job']['salary_max'] . '</span>'; 643 } else {644 return null; 645 }664 } 665 666 return ''; 646 667 647 668 } … … 649 670 /** 650 671 * displayJobSubDescription 651 * @return string|null 652 * @throws Exception 653 */ 654 public function displayJobDescription(): ?string { 655 656 $this->getJobData(); 657 658 if ($this->job['Job']['description'] && !empty($this->job['Job']['description'])) { 672 * @return string 673 * @throws Exception 674 */ 675 public function displayJobDescription(): string { 676 677 if (!$this->getJobData()) 678 return ''; 679 680 if (($this->job['Job']['description'] ?? false) && !empty($this->job['Job']['description'])) { 659 681 return '<span class="">' . $this->job['Job']['description'] . '</span>'; 660 } else { 661 return null; 662 } 663 682 } 683 684 return ''; 664 685 } 665 686 666 687 /** 667 688 * displayJobStreet 668 * @return string|null 669 * @throws Exception 670 */ 671 public function displayJobStreet(): ?string { 672 673 $this->getJobData(); 674 675 if ($this->job['CompanyLocation']['street']) { 689 * @return string 690 * @throws Exception 691 */ 692 public function displayJobStreet(): string { 693 694 if (!$this->getJobData()) 695 return ''; 696 697 if (($this->job['CompanyLocation']['street'] ?? false)) { 676 698 return '<span class="hrStreet">' . $this->job['CompanyLocation']['street'] . '</span>'; 677 } else {678 return null; 679 }699 } 700 701 return ''; 680 702 } 681 703 682 704 /** 683 705 * displayJobHouseNumber 684 * @return string|null 685 * @throws Exception 686 */ 687 public function displayJobHouseNumber(): ?string { 688 689 $this->getJobData(); 690 691 if ($this->job['CompanyLocation']['street_number']) { 706 * @return string 707 * @throws Exception 708 */ 709 public function displayJobHouseNumber(): string { 710 711 if (!$this->getJobData()) 712 return ''; 713 714 if (($this->job['CompanyLocation']['street_number'] ?? null)) { 692 715 return '<span class="hrHouseNumber">' . $this->job['CompanyLocation']['street_number'] . '</span>'; 693 } else {694 return null; 695 }716 } 717 718 return ''; 696 719 } 697 720 698 721 /** 699 722 * displayJobPostalCode 700 * @return string|null 701 * @throws Exception 702 */ 703 public function displayJobPostalCode(): ?string { 704 705 $this->getJobData(); 706 707 if ($this->job['CompanyLocation']['postal_code']) { 723 * @return string 724 * @throws Exception 725 */ 726 public function displayJobPostalCode(): string { 727 728 if (!$this->getJobData()) 729 return ''; 730 731 if (($this->job['CompanyLocation']['postal_code'] ?? null)) { 708 732 return '<span class="hrPostalCode">' . $this->job['CompanyLocation']['postal_code'] . '</span>'; 709 } else {710 return null; 711 }733 } 734 735 return ''; 712 736 } 713 737 714 738 /** 715 739 * displayJobCity 716 * @return string|null 717 * @throws Exception 718 */ 719 public function displayJobCity(): ?string { 720 721 $this->getJobData(); 722 723 if ($this->job['CompanyLocation']['city']) { 740 * @return string 741 * @throws Exception 742 */ 743 public function displayJobCity(): string { 744 745 if (!$this->getJobData()) 746 return ''; 747 748 if ($this->job['CompanyLocation']['city'] ?? null) { 724 749 return '<span class="hrCity">' . $this->job['CompanyLocation']['city'] . '</span>'; 725 } else {726 return null; 727 }750 } 751 752 return ''; 728 753 } 729 754 730 755 /** 731 756 * displayJobState 732 * @return string|null 733 * @throws Exception 734 */ 735 public function displayJobState(): ?string { 736 737 $this->getJobData(); 738 739 if ($this->job['CompanyLocation']['state']) { 757 * @return string 758 * @throws Exception 759 */ 760 public function displayJobState(): string { 761 762 if (!$this->getJobData()) 763 return ''; 764 765 if ($this->job['CompanyLocation']['state'] ?? null) { 740 766 return '<span class="hrState">' . $this->job['CompanyLocation']['state'] . '</span>'; 741 } else {742 return null; 743 }767 } 768 769 return ''; 744 770 } 745 771 746 772 /** 747 773 * displayJobCountry 748 * @return string|null 749 * @throws Exception 750 */ 751 public function displayJobCountry(): ?string { 752 753 $this->getJobData(); 754 755 if ($this->job['CompanyLocation']['country']) { 774 * @return string 775 * @throws Exception 776 */ 777 public function displayJobCountry(): string { 778 779 if (!$this->getJobData()) 780 return ''; 781 782 if ($this->job['CompanyLocation']['country'] ?? false) { 756 783 return '<span class="hrCountry">' . $this->job['CompanyLocation']['country'] . '</span>'; 757 } else {758 return null; 759 }784 } 785 786 return ''; 760 787 } 761 788 762 789 /** 763 790 * displayJobAddress 764 * @return string|null 765 * @throws Exception 766 */ 767 public function displayJobAddress(): ?string { 768 769 $this->getJobData(); 791 * @return string 792 * @throws Exception 793 */ 794 public function displayJobAddress(): string { 795 796 if (!$this->getJobData()) 797 return ''; 770 798 771 799 return $this->getFormattedAddress($this->job['CompanyLocation'] ?? []); … … 778 806 * @throws Exception 779 807 */ 780 private function getJobData() {808 private function getJobData(): bool { 781 809 782 810 if (isset($_GET['jobId']) && isset($_GET['locationId'])) { 783 811 $this->job = $this->getHrJob( 784 (int) filter_var($_GET['jobId'], FILTER_SANITIZE_STRING),785 (int) filter_var($_GET['locationId'], FILTER_SANITIZE_STRING)812 (int)esc_attr($_GET['jobId']), 813 (int)esc_attr($_GET['locationId']) 786 814 ); 787 815 } 788 816 789 if (!isset($_GET['action']) && (!isset($this->job) || count($this->job) === 0)) { 790 exit(__('Job not found', 'heyrecruit')); 791 } 792 } 793 794 /** 795 * getAllJobs 796 * @return null|array 797 * @throws Exception 798 */ 799 public function displayJobsTable(): ?array { 817 return isset($this->job) && count($this->job) > 0; 818 } 819 820 /** 821 * displayJobsTable 822 * 823 * @return false|array|string|null 824 * @throws Exception 825 */ 826 public function displayJobsTable(): false|array|string|null { 800 827 801 828 $this->jobs = $this->jobs ?? $this->getHrJobs(); … … 870 897 } 871 898 872 load_template(HEYRECRUIT_PLUGIN_DIR . '/templates/content/jobsTable.php', true, (object)[ 899 900 $args = (object)[ 873 901 'options' => $options, 874 902 'jobs' => $jobs 875 ]); 903 ]; 904 905 ob_start(); 906 907 include(HEYRECRUIT_PLUGIN_DIR . '/templates/content/jobsTable.php'); 908 909 return ob_get_clean(); 910 876 911 } 877 912 … … 896 931 } 897 932 if ($options->showEmployment) { 898 $job->employment = str_replace(',', ', ', $jobData->employment);933 $job->employment = str_replace(',', ', ', ($jobData->employment ?? '')); 899 934 } 900 935 if ($options->showLocation) { … … 991 1026 /** 992 1027 * displayFilterOptions 993 * @return void 994 * @throws Exception 995 */ 996 public function displayFilterOptions() { 1028 * 1029 * @return false|string|null 1030 * @throws Exception 1031 */ 1032 public function displayFilterOptions(): false|string|null { 997 1033 if (count($this->company) > 0) { 998 1034 $filter = explode(';', $this->company['OverviewPage']['filter']); … … 1004 1040 : 'filterOptionsDeactivated'; 1005 1041 1006 load_template(HEYRECRUIT_PLUGIN_DIR . '/templates/content/' . $template . '.php', 1007 true, 1008 (object)[ 1009 'showLocationList' => in_array('list', $filter), 1010 'showLocationSearch' => in_array('search', $filter), 1011 'departmentList' => $option->departmentList ?? [], 1012 'employmentList' => $option->employmentList ?? [], 1013 'locationList' => $option->locationList ?? [] 1014 ] 1015 ); 1016 } 1042 $args = (object)[ 1043 'showLocationList' => in_array('list', $filter), 1044 'showLocationSearch' => in_array('search', $filter), 1045 'departmentList' => $option->departmentList ?? [], 1046 'employmentList' => $option->employmentList ?? [], 1047 'locationList' => $option->locationList ?? [] 1048 ]; 1049 1050 ob_start(); 1051 1052 include(HEYRECRUIT_PLUGIN_DIR . '/templates/content/' . $template . '.php'); 1053 1054 return ob_get_clean(); 1055 } 1056 1057 return null; 1017 1058 } 1018 1059 1019 1060 /** 1020 1061 * displayGoogleMap 1021 * @return void 1022 * @throws Exception 1023 */ 1024 public function displayGoogleMap(): void { 1062 * 1063 * @return false|string|null 1064 * @throws Exception 1065 */ 1066 public function displayGoogleMap(): false|string|null { 1067 1068 $args = []; 1069 1025 1070 $this->company = $this->company ?? $this->getCompany(); 1026 1071 if (count($this->company) > 0) { … … 1032 1077 } 1033 1078 1034 load_template(HEYRECRUIT_PLUGIN_DIR . '/templates/content/' . $template, true, 1035 $args ?? [] 1036 ); 1037 } 1079 ob_start(); 1080 1081 include(HEYRECRUIT_PLUGIN_DIR . '/templates/content/' . $template); 1082 1083 return ob_get_clean(); 1084 } 1085 1086 return null; 1038 1087 } 1039 1088 … … 1054 1103 string $jobLocationId = null): string { 1055 1104 1056 return '<a href = "' . $postUrl . '?jobId=' . $jobId . ( 1105 $andOrQuestionMark = strpos($postUrl, '?') === false ? '?' : '&'; 1106 1107 return '<a href = "' . $postUrl . $andOrQuestionMark . 'jobId=' . $jobId . ( 1057 1108 $jobLocationId 1058 1109 ? '&locationId=' . $jobLocationId … … 1064 1115 /** 1065 1116 * displayCompanyInfo 1066 * @return void 1067 * @throws Exception 1068 */ 1069 public function displayCompanyInfo(): void { 1117 * @return false|string|null 1118 * @throws Exception 1119 */ 1120 public function displayCompanyInfo(): false|string|null { 1121 1070 1122 $this->company = $this->company ?? $this->getCompany(); 1071 1123 if (count($this->company) > 0) { … … 1078 1130 $template = 'companyInfo.php'; 1079 1131 1080 $args = [1132 $args = (object)[ 1081 1133 'companyName' => $company->name, 1082 1134 'companyLogo' => $company->logo, … … 1098 1150 } 1099 1151 1100 load_template(HEYRECRUIT_PLUGIN_DIR . '/templates/content/' . $template, true, 1101 (object)($args ?? []) 1102 ); 1103 } 1152 ob_start(); 1153 1154 include(HEYRECRUIT_PLUGIN_DIR . '/templates/content/' . $template); 1155 1156 return ob_get_clean(); 1157 } 1158 1159 return null; 1104 1160 } 1105 1161 … … 1269 1325 */ 1270 1326 public function deactivatePlugin(): void { 1327 1271 1328 $this->deactivateJobsPage(); 1272 1329 $this->deactivateDetailJobPage(); … … 1432 1489 $depatmentList[$job['Job']['department']] = $job['Job']['department']; 1433 1490 1434 $employments = explode(',', $job['Job']['employment']);1491 $employments = explode(',', ($job['Job']['employment'] ?? '')); 1435 1492 1436 1493 foreach ($employments as $employment) { … … 1483 1540 $this->company = $this->company ?? $this->getCompany(); 1484 1541 1485 1486 add_filter('wp_head', function () {1487 return ' <script>1488 let HR_PLUGIN_PATH = "111"1489 </script>';1490 });1491 1492 1542 load_template(HEYRECRUIT_PLUGIN_DIR . '/templates/content/jsFiles.php', true, [ 1493 1543 'jobsAsJson' => isset($_GET['action']) ? '' : json_encode($this->jobs ?? []) -
heyrecruit/trunk/Controller/HeyrecruitRestApiController.php
r2866878 r2957944 143 143 144 144 if (($result['success'] ?? false) && ($result['token'] ?? false)) { 145 $_SESSION['HEYRECRUIT_TOKEN'] = filter_var($result['token'], FILTER_SANITIZE_STRING);145 $_SESSION['HEYRECRUIT_TOKEN'] = esc_attr($result['token']); 146 146 $this->renewToken = false; 147 147 … … 351 351 352 352 353 $query['ip'] = filter_var(urlencode($_SERVER['REMOTE_ADDR']), FILTER_SANITIZE_STRING);353 $query['ip'] = urlencode(esc_attr($_SERVER['REMOTE_ADDR'])); //ToDo: @Becla 354 354 $query['language'] = $this->filter['language']; 355 355 … … 404 404 'Content-Length: ' . strlen($dataJson), 405 405 'Authorization: Bearer ' . 406 (filter_var($_SESSION['HEYRECRUIT_TOKEN'], FILTER_SANITIZE_STRING) ?? null)406 esc_attr(($_SESSION['HEYRECRUIT_TOKEN'] ?? null)) //ToDo: @Becla 407 407 ], 408 408 ]); -
heyrecruit/trunk/constConfig.php
r2866878 r2957944 3 3 const 4 4 HEYRECRUIT_PLUGIN_NAME = 'Heyrecruit', 5 HEYRECRUIT_VERSION = '1.0. 0',5 HEYRECRUIT_VERSION = '1.0.1', 6 6 HEYRECRUIT_PLUGIN_BASENAME = 'heyrecruit/heyrecruit.php', 7 7 HEYRECRUIT_OPTION_KEY_NAME = 'heyrecruit', -
heyrecruit/trunk/heyrecruit.php
r2866878 r2957944 10 10 11 11 /** 12 * @since 1.0. 012 * @since 1.0.1 13 13 * @package heyrecruit_core 14 14 * @wordpress-plugin 15 15 * Plugin Name: Heyrecruit 16 * Version: 1.0. 016 * Version: 1.0.1 17 17 * Author: Matthias Becla 18 18 * Author URI: https://www.heyrecruit.de -
heyrecruit/trunk/js/main.js
r2866878 r2957944 125 125 headers: { 126 126 'Content-Type': 'application/x-www-form-urlencoded', 127 'X-WP-Nonce': WP_NONCE,127 // 'X-WP-Nonce': WP_NONCE, 128 128 }, 129 129 redirect: 'follow', -
heyrecruit/trunk/js/main.min.js
r2866878 r2957944 1 function a0_0x 5735(){const _0x2982cf=['#address','toString','.openModal','Es\x20trat\x20ein\x20Fehler\x20bei\x20der\x20Suche\x20auf.','val','result','146457nklYHS','Error:','__proto__','csrf_token','#deleteUrl','.hrPostalCode','1240505bcdLDL','constructor','#jobId','bind','{}.constructor(\x22return\x20this\x22)(\x20)','postalCode','table','#changeLocation','exception','houseNumber','299709lUEIFK','log','error','off','country','.hrCity','.hrStreet','#hrDataTable','change','19394jLKoRR','.hrCountry','return\x20(function()\x20','#locationId','#location','postUrl','warn','#employment','length','trace','#uploadUrl','<tr><td\x20colspan=\x225\x22\x20style=\x22text-align:center;\x22>Lädt...</td></tr>','152dXhbQW','prototype','#radius','jwt','application/x-www-form-urlencoded','console','POST','#hrSendJobFilter','164976nfPqDK','50658quMNrL','catch','html','delete_url','upload_url','map','hr_search_jobs','965225PTaupT','DataTable','4NWwpcC','city','keys','.closeModal','info','same-origin','click','/languages/datatable_de_DE.json','ready','json','applicant_id','then','apply','#modal','street'];a0_0x5735=function(){return _0x2982cf;};return a0_0x5735();}function a0_0x2cfe(_0x5a1e33,_0x1776dd){const _0x19e704=a0_0x5735();return a0_0x2cfe=function(_0x3340e3,_0x43b520){_0x3340e3=_0x3340e3-0x1a4;let _0x2032cd=_0x19e704[_0x3340e3];return _0x2032cd;},a0_0x2cfe(_0x5a1e33,_0x1776dd);}(function(_0x2eb70e,_0x521757){const _0x149b56=a0_0x2cfe,_0x262bd0=_0x2eb70e();while(!![]){try{const _0x496c21=-parseInt(_0x149b56(0x1a5))/0x1+-parseInt(_0x149b56(0x1be))/0x2+parseInt(_0x149b56(0x1d3))/0x3+parseInt(_0x149b56(0x1dc))/0x4*(-parseInt(_0x149b56(0x1da))/0x5)+parseInt(_0x149b56(0x1d2))/0x6+-parseInt(_0x149b56(0x1ab))/0x7+parseInt(_0x149b56(0x1ca))/0x8*(parseInt(_0x149b56(0x1b5))/0x9);if(_0x496c21===_0x521757)break;else _0x262bd0['push'](_0x262bd0['shift']());}catch(_0x4f8890){_0x262bd0['push'](_0x262bd0['shift']());}}}(a0_0x5735,0x24c9f),function(_0xc44307){const _0x2b988f=a0_0x2cfe,_0x38c93f=(function(){let _0x14f402=!![];return function(_0x2e9401,_0x1100a5){const _0x13b7d2=_0x14f402?function(){const _0x40e631=a0_0x2cfe;if(_0x1100a5){const _0x5bac06=_0x1100a5[_0x40e631(0x1e8)](_0x2e9401,arguments);return _0x1100a5=null,_0x5bac06;}}:function(){};return _0x14f402=![],_0x13b7d2;};}()),_0x5a0cf6=_0x38c93f(this,function(){const _0x4e4a61=a0_0x2cfe;let _0x1dd73d;try{const _0xbf618f=Function(_0x4e4a61(0x1c0)+_0x4e4a61(0x1af)+');');_0x1dd73d=_0xbf618f();}catch(_0xba864b){_0x1dd73d=window;}const _0x3bc58d=_0x1dd73d[_0x4e4a61(0x1cf)]=_0x1dd73d['console']||{},_0x3060a5=['log',_0x4e4a61(0x1c4),_0x4e4a61(0x1e0),_0x4e4a61(0x1b7),_0x4e4a61(0x1b3),_0x4e4a61(0x1b1),_0x4e4a61(0x1c7)];for(let _0x38e241=0x0;_0x38e241<_0x3060a5[_0x4e4a61(0x1c6)];_0x38e241++){const _0x11df7c=_0x38c93f[_0x4e4a61(0x1ac)][_0x4e4a61(0x1cb)][_0x4e4a61(0x1ae)](_0x38c93f),_0x30cf10=_0x3060a5[_0x38e241],_0x1ddba0=_0x3bc58d[_0x30cf10]||_0x11df7c;_0x11df7c[_0x4e4a61(0x1a7)]=_0x38c93f[_0x4e4a61(0x1ae)](_0x38c93f),_0x11df7c[_0x4e4a61(0x1ec)]=_0x1ddba0[_0x4e4a61(0x1ec)]['bind'](_0x1ddba0),_0x3bc58d[_0x30cf10]=_0x11df7c;}});_0x5a0cf6();'use strict';_0xc44307(document)[_0x2b988f(0x1e4)](function(){_0x190622(),_0x4c31ec(),_0x48f306(),_0x565297();});const _0x190622=()=>{const _0x244873=_0x2b988f;_0xc44307(_0x244873(0x1bc))[_0x244873(0x1db)]({'processing':!![],'searching':![],'info':![],'bLengthChange':![],'language':{'url':HR_PLUGIN_PATH+_0x244873(0x1e3)}});},_0x4c31ec=()=>{const _0x1d4ce3=_0x2b988f;_0xc44307(_0x1d4ce3(0x1d1))[_0x1d4ce3(0x1b8)]('click')['on'](_0x1d4ce3(0x1e2),function(){const _0xaa388d=_0x1d4ce3;_0xc44307(_0xaa388d(0x1bc))['DataTable']()['destroy'](),_0xc44307('#hrDataTable\x20tbody')[_0xaa388d(0x1d5)](_0xaa388d(0x1c9));let _0x1df0aa={'action':_0xaa388d(0x1d9),'department':_0xc44307('#department')[_0xaa388d(0x1ef)](),'employment':_0xc44307(_0xaa388d(0x1c5))[_0xaa388d(0x1ef)](),'location':_0xc44307(_0xaa388d(0x1c2))[_0xaa388d(0x1ef)](),'address':_0xc44307(_0xaa388d(0x1eb))[_0xaa388d(0x1ef)](),'radius':_0xc44307(_0xaa388d(0x1cc))[_0xaa388d(0x1ef)]()};_0x23d967(HR_AJAX_URL,_0x1df0aa,_0x21398c);});},_0x21398c=_0x2e0fd2=>{const _0x4f31fc=_0x2b988f;_0xc44307(_0x4f31fc(0x1bc))[_0x4f31fc(0x1db)]({'destroy':!![],'searching':![],'bLengthChange':![],'info':![],'processing':!![],'data':_0x2e0fd2,'language':{'url':HR_PLUGIN_PATH+_0x4f31fc(0x1e3)}});},_0x48f306=()=>{const _0x2bee97=_0x2b988f;_0xc44307(_0x2bee97(0x1b2))['off'](_0x2bee97(0x1bd))['on'](_0x2bee97(0x1bd),function(){const _0x85d17e=_0x2bee97;let _0x3f7407=_0xc44307(this)[_0x85d17e(0x1ef)]();_0x23d967(HR_AJAX_URL,{'action':'hr_get_form_data','jobId':_0xc44307(_0x85d17e(0x1ad))['val'](),'locationId':_0x3f7407},_0x5f29db),_0xc44307(_0x85d17e(0x1c1))[_0x85d17e(0x1ef)](_0x3f7407),_0xc44307(_0x85d17e(0x1bb))[_0x85d17e(0x1d5)](hrLocations[_0x3f7407][_0x85d17e(0x1ea)]),_0xc44307('.hrHouseNumber')['html'](hrLocations[_0x3f7407][_0x85d17e(0x1b4)]),_0xc44307(_0x85d17e(0x1aa))['html'](hrLocations[_0x3f7407][_0x85d17e(0x1b0)]),_0xc44307(_0x85d17e(0x1ba))[_0x85d17e(0x1d5)](hrLocations[_0x3f7407][_0x85d17e(0x1dd)]),_0xc44307('.hrState')[_0x85d17e(0x1d5)](hrLocations[_0x3f7407]['state']),_0xc44307(_0x85d17e(0x1bf))['html'](hrLocations[_0x3f7407][_0x85d17e(0x1b9)]);});},_0x5f29db=_0x3177ac=>{const _0x479e8f=_0x2b988f;console[_0x479e8f(0x1b6)](_0x3177ac),_0xc44307('#applicantId')['val'](_0x3177ac[_0x479e8f(0x1e6)]),_0xc44307('#postUrl')[_0x479e8f(0x1ef)](_0x3177ac[_0x479e8f(0x1c3)]),_0xc44307(_0x479e8f(0x1c8))[_0x479e8f(0x1ef)](_0x3177ac[_0x479e8f(0x1d7)]),_0xc44307(_0x479e8f(0x1a9))[_0x479e8f(0x1ef)](_0x3177ac[_0x479e8f(0x1d6)]),_0xc44307('#csrfToken')[_0x479e8f(0x1ef)](_0x3177ac[_0x479e8f(0x1a8)]),_0xc44307('#jwt')[_0x479e8f(0x1ef)](_0x3177ac[_0x479e8f(0x1cd)]);},_0x23d967=(_0x22a29d,_0x3423b5={},_0x4fd4ec=![],_0x3aa586=_0x2b988f(0x1d0))=>{const _0x271f8f=_0x2b988f;fetch(_0x22a29d,{'method':_0x3aa586,'mode':_0x271f8f(0x1e1),'cache':'force-cache','credentials':'same-origin','headers':{'Content-Type':_0x271f8f(0x1ce),'X-WP-Nonce':WP_NONCE},'redirect':'follow','referrerPolicy':'same-origin','body':_0x427c21(_0x3423b5)})[_0x271f8f(0x1e7)](_0xeb9351=>_0xeb9351[_0x271f8f(0x1e5)]())[_0x271f8f(0x1e7)](_0x2ffb27=>{const _0x26ff26=_0x271f8f;if(_0x4fd4ec)_0x4fd4ec(_0x2ffb27);if(_0x2ffb27[_0x26ff26(0x1a4)]===_0x26ff26(0x1b7)&&_0x2ffb27['errors'])alert(_0x26ff26(0x1ee));})[_0x271f8f(0x1d4)](_0x59702a=>{const _0x528172=_0x271f8f;console[_0x528172(0x1b7)](_0x528172(0x1a6),_0x59702a);});},_0x427c21=_0x4db5ad=>{const _0x2d471f=_0x2b988f;return new URLSearchParams(Object[_0x2d471f(0x1de)](_0x4db5ad)[_0x2d471f(0x1d8)](_0x1d2138=>[_0x1d2138,_0x4db5ad[_0x1d2138]]));},_0x565297=()=>{const _0x18c6df=_0x2b988f;_0xc44307(_0x18c6df(0x1ed))[_0x18c6df(0x1b8)](_0x18c6df(0x1e2))['on'](_0x18c6df(0x1e2),function(){const _0x8df6a8=_0x18c6df;_0xc44307(_0x8df6a8(0x1e9)+_0xc44307(this)['data']('id'))['fadeIn'](),_0x232b44();});},_0x232b44=()=>{const _0x1d4ff0=_0x2b988f;_0xc44307(_0x1d4ff0(0x1df))['off'](_0x1d4ff0(0x1e2))['on'](_0x1d4ff0(0x1e2),function(){_0xc44307('#modal'+_0xc44307(this)['data']('id'))['fadeOut']();});};}(jQuery));1 function a0_0x38de(){const _0x1d53cd=['upload_url','applicant_id','.closeModal','#employment','1197315EKOAsI','3941850CGkYhW','1467114oDLvhx','csrf_token','bind','keys','#jobId','houseNumber','#uploadUrl','off','ready','prototype','2313048BlFoHl','apply','#hrDataTable','exception','.hrStreet','#changeLocation','result','#department','#locationId','#modal','#jwt','4411roijeX','19296EkbPXr','then','warn','toString','fadeIn','POST','Error:','#radius','7hbAgkW','.hrCountry','change','__proto__','#hrSendJobFilter','#csrfToken','#address','val','.hrCity','#hrDataTable\x20tbody','return\x20(function()\x20','258XJnlqP','application/x-www-form-urlencoded','city','table','/languages/datatable_de_DE.json','delete_url','console','jwt','same-origin','postalCode','follow','.hrState','click','errors','.hrPostalCode','state','data','log','390447GaSkac','street','#deleteUrl','catch','error','{}.constructor(\x22return\x20this\x22)(\x20)','#postUrl','destroy','1164nzVDYT','postUrl','DataTable','12TqqRgE','9nYyKiP','fadeOut','html'];a0_0x38de=function(){return _0x1d53cd;};return a0_0x38de();}function a0_0x4b92(_0x19fe9c,_0x169478){const _0x57d712=a0_0x38de();return a0_0x4b92=function(_0x150d43,_0x2e653a){_0x150d43=_0x150d43-0x15a;let _0x330c72=_0x57d712[_0x150d43];return _0x330c72;},a0_0x4b92(_0x19fe9c,_0x169478);}(function(_0x342536,_0x2f46df){const _0x35bd72=a0_0x4b92,_0xe93a7c=_0x342536();while(!![]){try{const _0x37605c=-parseInt(_0x35bd72(0x15e))/0x1*(parseInt(_0x35bd72(0x178))/0x2)+parseInt(_0x35bd72(0x170))/0x3*(-parseInt(_0x35bd72(0x17b))/0x4)+-parseInt(_0x35bd72(0x183))/0x5+parseInt(_0x35bd72(0x185))/0x6+parseInt(_0x35bd72(0x1a3))/0x7*(-parseInt(_0x35bd72(0x18f))/0x8)+-parseInt(_0x35bd72(0x17c))/0x9*(-parseInt(_0x35bd72(0x184))/0xa)+parseInt(_0x35bd72(0x19a))/0xb*(parseInt(_0x35bd72(0x19b))/0xc);if(_0x37605c===_0x2f46df)break;else _0xe93a7c['push'](_0xe93a7c['shift']());}catch(_0x3a4a12){_0xe93a7c['push'](_0xe93a7c['shift']());}}}(a0_0x38de,0x3452b),function(_0x28a9f5){const _0x55a5a6=a0_0x4b92,_0x4bf7a2=(function(){let _0x943e41=!![];return function(_0x24c3b9,_0x101987){const _0x516545=_0x943e41?function(){const _0x20e7ab=a0_0x4b92;if(_0x101987){const _0x264a3c=_0x101987[_0x20e7ab(0x190)](_0x24c3b9,arguments);return _0x101987=null,_0x264a3c;}}:function(){};return _0x943e41=![],_0x516545;};}()),_0x539d8e=_0x4bf7a2(this,function(){const _0x471632=a0_0x4b92,_0x919dce=function(){const _0x32278f=a0_0x4b92;let _0x7db190;try{_0x7db190=Function(_0x32278f(0x15d)+_0x32278f(0x175)+');')();}catch(_0x1a2e6e){_0x7db190=window;}return _0x7db190;},_0x821ee=_0x919dce(),_0x49214a=_0x821ee[_0x471632(0x164)]=_0x821ee[_0x471632(0x164)]||{},_0x53769a=[_0x471632(0x16f),_0x471632(0x19d),'info',_0x471632(0x174),_0x471632(0x192),_0x471632(0x161),'trace'];for(let _0x1f81a5=0x0;_0x1f81a5<_0x53769a['length'];_0x1f81a5++){const _0x4dd6e4=_0x4bf7a2['constructor'][_0x471632(0x18e)][_0x471632(0x187)](_0x4bf7a2),_0x11c133=_0x53769a[_0x1f81a5],_0x2bb4aa=_0x49214a[_0x11c133]||_0x4dd6e4;_0x4dd6e4[_0x471632(0x1a6)]=_0x4bf7a2[_0x471632(0x187)](_0x4bf7a2),_0x4dd6e4[_0x471632(0x19e)]=_0x2bb4aa[_0x471632(0x19e)]['bind'](_0x2bb4aa),_0x49214a[_0x11c133]=_0x4dd6e4;}});_0x539d8e();'use strict';_0x28a9f5(document)[_0x55a5a6(0x18d)](function(){_0x1c81ba(),_0x358867(),_0x14673b(),_0xa089d();});const _0x1c81ba=()=>{const _0x160bae=_0x55a5a6;_0x28a9f5('#hrDataTable')[_0x160bae(0x17a)]({'processing':!![],'searching':![],'info':![],'bLengthChange':![],'language':{'url':HR_PLUGIN_PATH+'/languages/datatable_de_DE.json'}});},_0x358867=()=>{const _0x31dd3c=_0x55a5a6;_0x28a9f5(_0x31dd3c(0x1a7))[_0x31dd3c(0x18c)]('click')['on'](_0x31dd3c(0x16a),function(){const _0x4e006f=_0x31dd3c;_0x28a9f5('#hrDataTable')[_0x4e006f(0x17a)]()[_0x4e006f(0x177)](),_0x28a9f5(_0x4e006f(0x15c))[_0x4e006f(0x17e)]('<tr><td\x20colspan=\x225\x22\x20style=\x22text-align:center;\x22>Lädt...</td></tr>');let _0x5e5eda={'action':'hr_search_jobs','department':_0x28a9f5(_0x4e006f(0x196))['val'](),'employment':_0x28a9f5(_0x4e006f(0x182))[_0x4e006f(0x15a)](),'location':_0x28a9f5('#location')[_0x4e006f(0x15a)](),'address':_0x28a9f5(_0x4e006f(0x1a9))[_0x4e006f(0x15a)](),'radius':_0x28a9f5(_0x4e006f(0x1a2))[_0x4e006f(0x15a)]()};_0x1b97ff(HR_AJAX_URL,_0x5e5eda,_0xea91bf);});},_0xea91bf=_0x35f9a7=>{const _0x39ef7c=_0x55a5a6;_0x28a9f5(_0x39ef7c(0x191))[_0x39ef7c(0x17a)]({'destroy':!![],'searching':![],'bLengthChange':![],'info':![],'processing':!![],'data':_0x35f9a7,'language':{'url':HR_PLUGIN_PATH+_0x39ef7c(0x162)}});},_0x14673b=()=>{const _0x1ed010=_0x55a5a6;_0x28a9f5(_0x1ed010(0x194))[_0x1ed010(0x18c)](_0x1ed010(0x1a5))['on'](_0x1ed010(0x1a5),function(){const _0x49186e=_0x1ed010;let _0x10acbc=_0x28a9f5(this)[_0x49186e(0x15a)]();_0x1b97ff(HR_AJAX_URL,{'action':'hr_get_form_data','jobId':_0x28a9f5(_0x49186e(0x189))[_0x49186e(0x15a)](),'locationId':_0x10acbc},_0x303a08),_0x28a9f5(_0x49186e(0x197))[_0x49186e(0x15a)](_0x10acbc),_0x28a9f5(_0x49186e(0x193))['html'](hrLocations[_0x10acbc][_0x49186e(0x171)]),_0x28a9f5('.hrHouseNumber')[_0x49186e(0x17e)](hrLocations[_0x10acbc][_0x49186e(0x18a)]),_0x28a9f5(_0x49186e(0x16c))[_0x49186e(0x17e)](hrLocations[_0x10acbc][_0x49186e(0x167)]),_0x28a9f5(_0x49186e(0x15b))['html'](hrLocations[_0x10acbc][_0x49186e(0x160)]),_0x28a9f5(_0x49186e(0x169))[_0x49186e(0x17e)](hrLocations[_0x10acbc][_0x49186e(0x16d)]),_0x28a9f5(_0x49186e(0x1a4))[_0x49186e(0x17e)](hrLocations[_0x10acbc]['country']);});},_0x303a08=_0xda9c8=>{const _0x590906=_0x55a5a6;console['log'](_0xda9c8),_0x28a9f5('#applicantId')['val'](_0xda9c8[_0x590906(0x180)]),_0x28a9f5(_0x590906(0x176))['val'](_0xda9c8[_0x590906(0x179)]),_0x28a9f5(_0x590906(0x18b))['val'](_0xda9c8[_0x590906(0x17f)]),_0x28a9f5(_0x590906(0x172))[_0x590906(0x15a)](_0xda9c8[_0x590906(0x163)]),_0x28a9f5(_0x590906(0x1a8))[_0x590906(0x15a)](_0xda9c8[_0x590906(0x186)]),_0x28a9f5(_0x590906(0x199))['val'](_0xda9c8[_0x590906(0x165)]);},_0x1b97ff=(_0x1669e0,_0x51cc15={},_0x5c5adf=![],_0x2d4497=_0x55a5a6(0x1a0))=>{const _0x2abc1e=_0x55a5a6;fetch(_0x1669e0,{'method':_0x2d4497,'mode':'same-origin','cache':'force-cache','credentials':_0x2abc1e(0x166),'headers':{'Content-Type':_0x2abc1e(0x15f)},'redirect':_0x2abc1e(0x168),'referrerPolicy':_0x2abc1e(0x166),'body':_0x2e453b(_0x51cc15)})[_0x2abc1e(0x19c)](_0x35269c=>_0x35269c['json']())['then'](_0x19a336=>{const _0x57eace=_0x2abc1e;if(_0x5c5adf)_0x5c5adf(_0x19a336);if(_0x19a336[_0x57eace(0x195)]===_0x57eace(0x174)&&_0x19a336[_0x57eace(0x16b)])alert('Es\x20trat\x20ein\x20Fehler\x20bei\x20der\x20Suche\x20auf.');})[_0x2abc1e(0x173)](_0xae4e1=>{const _0x506199=_0x2abc1e;console['error'](_0x506199(0x1a1),_0xae4e1);});},_0x2e453b=_0x1394b9=>{const _0x4770c5=_0x55a5a6;return new URLSearchParams(Object[_0x4770c5(0x188)](_0x1394b9)['map'](_0x23250a=>[_0x23250a,_0x1394b9[_0x23250a]]));},_0xa089d=()=>{const _0xce2014=_0x55a5a6;_0x28a9f5('.openModal')[_0xce2014(0x18c)](_0xce2014(0x16a))['on'](_0xce2014(0x16a),function(){const _0x2ffc06=_0xce2014;_0x28a9f5(_0x2ffc06(0x198)+_0x28a9f5(this)[_0x2ffc06(0x16e)]('id'))[_0x2ffc06(0x19f)](),_0x59351b();});},_0x59351b=()=>{const _0x169460=_0x55a5a6;_0x28a9f5(_0x169460(0x181))[_0x169460(0x18c)](_0x169460(0x16a))['on']('click',function(){const _0x139949=_0x169460;_0x28a9f5(_0x139949(0x198)+_0x28a9f5(this)[_0x139949(0x16e)]('id'))[_0x139949(0x17d)]();});};}(jQuery)); -
heyrecruit/trunk/templates/content/companyInfo.php
r2866878 r2957944 1 <?php defined('ABSPATH') || exit; ?>1 <?php defined('ABSPATH') || exit;?> 2 2 <div class="hr_jobs_company_info_wrap"> 3 3 <?php if ($args->overviewHeaderPicture): ?> … … 12 12 <?php endif; ?> 13 13 <?php if ($args->showDescription): ?> 14 <p><?php echo esc_attr($args->description); ?></p>14 <p><?php echo wp_kses_post($args->description); ?></p> 15 15 <?php endif; ?> 16 16 <div class="hr_jobs_social_links"> -
heyrecruit/trunk/templates/content/jsFiles.php
r2866878 r2957944 1 <?php defined('ABSPATH') || exit; ?> 2 <script> 3 let HR_PLUGIN_PATH = '<?php echo esc_attr(HEYRECRUIT_PLUGIN_PATH);?>', 4 jobData = <?php echo $args['jobsAsJson'];?>, 5 HR_AJAX_URL = '<?php echo admin_url('admin-ajax.php');?>' 6 </script> 7 <?php 1 <?php defined('ABSPATH') || exit; 2 3 function custom_enqueue_scripts() { 4 wp_enqueue_script('hr-custom-script', HEYRECRUIT_PLUGIN_URL . '/js/hrMainConst.js', [], 5 HEYRECRUIT_DEBUG_MODUS ? time() : esc_attr(HEYRECRUIT_VERSION), 6 true); 7 8 $args = [ 9 'hr_plugin_path' => esc_attr(HEYRECRUIT_PLUGIN_PATH), 10 'hr_job_data' => $args['jobsAsJson']??[], 11 'hr_ajax_url' => admin_url('admin-ajax.php') 12 ]; 13 14 wp_localize_script('hr-custom-script', 'hr_custom_vars', $args); 15 } 16 17 add_action('wp_enqueue_scripts', 'custom_enqueue_scripts'); 18 add_action('wp_enqueue_scripts', 'custom_enqueue_scripts'); 19 20 function hr_jquery_js() { 21 if ( ! wp_script_is( 'jquery', 'enqueued' ) ) { 22 wp_enqueue_script( 23 'hr_jquery_js', 24 HEYRECRUIT_PLUGIN_URL . '/js/' . 'jquery-3.7.0.min.js', 25 [], 26 HEYRECRUIT_DEBUG_MODUS ? time() : esc_attr(HEYRECRUIT_VERSION), 27 true 28 ); 29 } 30 } 31 32 add_action( 'wp_enqueue_scripts', 'hr_jquery_js' ); 33 8 34 wp_enqueue_script( 9 35 'hr_datatables_js', 10 36 HEYRECRUIT_PLUGIN_URL . '/js/' . (HEYRECRUIT_DEBUG_MODUS ? 'datatables.js' : 'datatables.min.js'), 11 [ ],37 ['jquery'], 12 38 HEYRECRUIT_DEBUG_MODUS ? time() : esc_attr(HEYRECRUIT_VERSION), 13 39 true … … 16 42 'hr_map_js', 17 43 HEYRECRUIT_PLUGIN_URL . '/js/' . (HEYRECRUIT_DEBUG_MODUS ? 'map.js' : 'map.min.js'), 18 [ ],44 ['jquery'], 19 45 HEYRECRUIT_DEBUG_MODUS ? time() : esc_attr(HEYRECRUIT_VERSION), 20 46 true … … 23 49 'hr_googleapi_js', 24 50 'https://maps.googleapis.com/maps/api/js?key=' . esc_attr(HEYRECRUIT_MAPS_API_KEY), 25 [ ],51 ['jquery'], 26 52 HEYRECRUIT_DEBUG_MODUS ? time() : esc_attr(HEYRECRUIT_VERSION), 27 53 true … … 30 56 'hr_main_js', 31 57 HEYRECRUIT_PLUGIN_URL . '/js/' . (HEYRECRUIT_DEBUG_MODUS ? 'main.js' : 'main.min.js'), 32 [ ],58 ['jquery'], 33 59 HEYRECRUIT_DEBUG_MODUS ? time() : esc_attr(HEYRECRUIT_VERSION), 34 60 true 35 61 ); 36 ?> -
heyrecruit/trunk/templates/formElements/checkbox_with_modal.php
r2866878 r2957944 4 4 value="1"/> 5 5 <label for="<?php echo esc_attr($form->id); ?>"> 6 <?php echo esc_attr($form->value . $form->requierdMark); ?>6 <?php echo wp_kses_post($form->value . $form->requierdMark); ?> 7 7 </label> 8 8 </div>
Note: See TracChangeset
for help on using the changeset viewer.