AH 增加信息页表单标签

hotfix/paypal-note
LiaoYijun 3 years ago
parent 461a35a346
commit b1e839c65c

@ -1223,9 +1223,6 @@ class Information extends CI_Controller
if (empty($meta_product_code)) { if (empty($meta_product_code)) {
$addthis_widget = $this->load->view($template_path . '-add-this', false, true); $addthis_widget = $this->load->view($template_path . '-add-this', false, true);
$template = str_replace('<!--@ADDTHIS-WIDGET@-->', $addthis_widget, $template); $template = str_replace('<!--@ADDTHIS-WIDGET@-->', $addthis_widget, $template);
$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);
} else { } else {
$template = str_replace('<!--@PRODUCT-JS@-->', '<script src="https://data.asiahighlights.com/js/flatpickr.js"></script>', $template); $template = str_replace('<!--@PRODUCT-JS@-->', '<script src="https://data.asiahighlights.com/js/flatpickr.js"></script>', $template);
$inquiry_form_template = $this->load->view( $inquiry_form_template = $this->load->view(
@ -1244,8 +1241,8 @@ class Information extends CI_Controller
$why_us_tour_list_pc = $this->load->view($template_path . '-why-us-tour-list-pc', false, true); $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, $information->ic_content); $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); $info_page_form_content = $this->load->view($template_path . '-info-page-form', false, true);
$information->ic_content = str_replace('<!--@BREADCRUMB-BLOCK@-->', $breadcrumb_content, $information->ic_content); $information->ic_content = str_replace('<!--@INFO-PAGE-FORM@-->', $info_page_form_content, $information->ic_content);
// 动态加载反馈标签,第一个城市不足八条,使用第二城市数据。 // 动态加载反馈标签,第一个城市不足八条,使用第二城市数据。
// HTLM: <div><!--@FEEDBACK_Siem Reap,Bangkok@--></div> // HTLM: <div><!--@FEEDBACK_Siem Reap,Bangkok@--></div>

Loading…
Cancel
Save