@ -963,6 +963,10 @@ $config['templates_pgr'] = array(
'空白模板' => 'guide_info_detail'
,'导航模板' => 'culture_info_detail_with_category'
);
// 国际火车网站模板
$config['templates_ts'] = array(
'信息导航模板' => 'train_series_with_category'
//翰特产品类型,Information控制器的get_products函数有直接调用,在这里增加了信息需要去控制器写相关操作代码
$config['ProductType_HT'] = array(
@ -190,6 +190,9 @@ class Information extends CI_Controller {
if (in_array($this->config->item('site_code'), array('pgr'))) {
$this->config->set_item('templates', $this->config->item('templates_pgr'));
}
if (in_array($this->config->item('site_code'), array('ts'))) {
$this->config->set_item('templates', $this->config->item('templates_ts'));
//信息区域类型
switch ($data['rootInformation']->ic_ht_area_type) {