train spread 模板设置

hotfix/远程访问多媒体中心
lyt 7 years ago
parent bd1b979d09
commit 8edc4c9448

@ -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) {

Loading…
Cancel
Save