修复 Why Us 模板错误

hotfix/paypal-note
LiaoYijun 3 years ago
parent cd87a986d0
commit c9d0ef5076

@ -1225,13 +1225,13 @@ class Information extends CI_Controller
}
// why-us 相关的标签
$why_us_mobile = $this->load->view($template_path . '-why-us-mobile', false, true);
$information->ic_content = str_replace('<!--@WHY_US_MOBILE@-->', $why_us_mobile, $template);
$information->ic_content = str_replace('<!--@WHY_US_MOBILE@-->', $why_us_mobile, $information->ic_content);
$why_us_tour_detail_pc = $this->load->view($template_path . '-why-us-tour-detail-pc', false, true);
$information->ic_content = str_replace('<!--@WHY_US_TOUR_DETAIL_PC@-->', $why_us_tour_detail_pc, $template);
$information->ic_content = str_replace('<!--@WHY_US_TOUR_DETAIL_PC@-->', $why_us_tour_detail_pc, $information->ic_content);
$why_us_tour_list_pc = $this->load->view($template_path . '-why-us-tour-list-pc', false, true);
$information->ic_content = str_replace('<!--@WHY_US_TOUR_LIST_PC@-->', $why_us_tour_list_pc, $template);
$information->ic_content = str_replace('<!--@WHY_US_TOUR_LIST_PC@-->', $why_us_tour_list_pc, $information->ic_content);
$breadcrumb_content = $this->load->view($template_path . '-breadcrumb', array('breadcrumb_data' => $breadcrumb_data), true);
$information->ic_content = str_replace('<!--@BREADCRUMB-BLOCK@-->', $breadcrumb_content, $information->ic_content);

Loading…
Cancel
Save