Changeset 2520501
- Timestamp:
- 04/23/2021 04:07:00 PM (5 years ago)
- Location:
- jobsearch/trunk
- Files:
-
- 2 edited
-
frontEnd/job/jobDetail.php (modified) (1 diff)
-
jobsearch.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
jobsearch/trunk/frontEnd/job/jobDetail.php
r2510924 r2520501 39 39 $urlHome = $_SESSION["searchUrl"]; 40 40 } else { 41 $url = $helper->tdb_get_search_url();42 if($url == ''){41 $urlTmp = $helper->tdb_get_search_url(); 42 if($urlTmp == ''){ 43 43 $urlHome = $urlArray["home"]; 44 44 } else { 45 $urlHome = $url ;45 $urlHome = $urlTmp; 46 46 } 47 47 } -
jobsearch/trunk/jobsearch.php
r2514553 r2520501 3 3 Plugin Name: Tamago-DB Job Board 4 4 Description: Job board integrated with the ATS/CRM Tamago-DB 5 Version: 2.0. 15 Version: 2.0.2 6 6 Author: Tamago-DB 7 7 Text Domain: jobsearch … … 79 79 /// the front end main page have to show a search form and some content 80 80 81 /*************Class**********************************/ 81 82 82 class jobsearch_Plugin 83 83 { … … 487 487 $apiPages = $helper->tdb_jb_get_jobPage(); 488 488 489 //get polylang slug for rewrite rule if is set 490 if ( function_exists('pll_the_languages') ) { 491 $translationsSlugs = pll_the_languages(array('raw'=>1)); 492 } else { 489 try { 490 //get polylang slug for rewrite rule if is set 491 if ( function_exists('pll_the_languages') ) { 492 $translationsSlugs = pll_the_languages(array('raw'=>1)); 493 } else { 494 $translationsSlugs = null; 495 } 496 } catch (Exception $e){ 493 497 $translationsSlugs = null; 494 498 } 499 495 500 496 501 //get all pages using shortcode
Note: See TracChangeset
for help on using the changeset viewer.