配置德语产品模板 fix 1

hotfix/paypal-note
LMR 2 years ago
parent 0a11f61b1c
commit 8221806bb4

@ -2,8 +2,9 @@
?>
<?php
if (!defined('BASEPATH'))
if (!defined('BASEPATH')) {
exit('No direct script access allowed');
}
/*
|--------------------------------------------------------------------------
@ -125,8 +126,7 @@ $config['charset'] = 'UTF-8';
| setting this variable to TRUE (boolean). See the user guide for details.
|
*/
$config['enable_hooks'] = FALSE;
$config['enable_hooks'] = false;
/*
|--------------------------------------------------------------------------
@ -142,7 +142,6 @@ $config['enable_hooks'] = FALSE;
*/
$config['subclass_prefix'] = 'MY_';
/*
|--------------------------------------------------------------------------
| Allowed URL Characters
@ -162,7 +161,6 @@ $config['subclass_prefix'] = 'MY_';
*/
$config['permitted_uri_chars'] = 'a-z 0-9~%.:_-';
/*
|--------------------------------------------------------------------------
| Enable Query Strings
@ -188,8 +186,8 @@ $config['permitted_uri_chars'] = 'a-z 0-9~%.:_-';
| use segment based URLs.
|
*/
$config['allow_get_array'] = TRUE;
$config['enable_query_strings'] = FALSE;
$config['allow_get_array'] = true;
$config['enable_query_strings'] = false;
$config['controller_trigger'] = 'c';
$config['function_trigger'] = 'm';
$config['directory_trigger'] = 'd'; // experimental not currently in use
@ -280,12 +278,12 @@ $config['encryption_key'] = 'pliy3rgYcV9lXeKWaO6P';
*/
$config['sess_cookie_name'] = 'ci_session';
$config['sess_expiration'] = 0;
$config['sess_expire_on_close'] = FALSE;
$config['sess_encrypt_cookie'] = TRUE;
$config['sess_use_database'] = FALSE;
$config['sess_expire_on_close'] = false;
$config['sess_encrypt_cookie'] = true;
$config['sess_use_database'] = false;
$config['sess_table_name'] = 'ci_sessions';
$config['sess_match_ip'] = FALSE;
$config['sess_match_useragent'] = FALSE;
$config['sess_match_ip'] = false;
$config['sess_match_useragent'] = false;
$config['sess_time_to_update'] = 300;
/*
@ -302,7 +300,7 @@ $config['sess_time_to_update'] = 300;
$config['cookie_prefix'] = "";
$config['cookie_domain'] = "";
$config['cookie_path'] = "/";
$config['cookie_secure'] = FALSE;
$config['cookie_secure'] = false;
/*
|--------------------------------------------------------------------------
@ -313,7 +311,7 @@ $config['cookie_secure'] = FALSE;
| COOKIE data is encountered
|
*/
$config['global_xss_filtering'] = FALSE;
$config['global_xss_filtering'] = false;
/*
|--------------------------------------------------------------------------
@ -327,7 +325,7 @@ $config['global_xss_filtering'] = FALSE;
| 'csrf_cookie_name' = The cookie name
| 'csrf_expire' = The number in seconds the token should expire.
*/
$config['csrf_protection'] = FALSE;
$config['csrf_protection'] = false;
$config['csrf_token_name'] = 'csrf_test_name';
$config['csrf_cookie_name'] = 'csrf_cookie_name';
$config['csrf_expire'] = 7200;
@ -349,7 +347,7 @@ $config['csrf_expire'] = 7200;
| by the output class. Do not 'echo' any values with compression enabled.
|
*/
$config['compress_output'] = FALSE;
$config['compress_output'] = false;
/*
|--------------------------------------------------------------------------
@ -364,7 +362,6 @@ $config['compress_output'] = FALSE;
*/
$config['time_reference'] = 'local';
/*
|--------------------------------------------------------------------------
| Rewrite PHP Short Tags
@ -375,8 +372,7 @@ $config['time_reference'] = 'local';
| in your view files. Options are TRUE or FALSE (boolean)
|
*/
$config['rewrite_short_tags'] = FALSE;
$config['rewrite_short_tags'] = false;
/*
|--------------------------------------------------------------------------
@ -418,7 +414,7 @@ $config['site'] = array(
'pgr' => array('site_code' => 'pgr', 'site_id' => 148, 'site_lgc' => '2', 'sitemap_name' => '', 'site_image_url' => '', 'site_url' => 'https://www.peregrine.cn', 'site_sitemap' => '', 'site_authors' => array('X', 'sfx'), 'site_user' => array(',ycc,sfx,X,')),
'ts' => array('site_code' => 'ts', 'site_id' => 149, 'site_lgc' => '1', 'sitemap_name' => '', 'site_image_url' => '', 'site_url' => 'https://www.trainspread.com', 'site_sitemap' => '', 'site_authors' => array('X', 'sfx'), 'site_user' => array(',ycc,sfx,X,')),
'bht' => array('site_code' => 'bht', 'site_id' => 6565, 'site_lgc' => '1', 'site_image_url' => '', 'site_url' => 'https://www.beijinghighlights.com', 'site_authors' => array('cj')),
'trippest' => array('site_code' => 'trippest', 'site_id' => 145, 'site_lgc' => '1', 'site_image_url' => '', 'site_url' => 'https://www.trippest.com', 'site_authors' => array('cj'), 'site_user' => array(',ycc,zp,'))
'trippest' => array('site_code' => 'trippest', 'site_id' => 145, 'site_lgc' => '1', 'site_image_url' => '', 'site_url' => 'https://www.trippest.com', 'site_authors' => array('cj'), 'site_user' => array(',ycc,zp,')),
);
//静态文件生成路径
@ -453,7 +449,6 @@ $config['cache']['vac']['cache_api_para'] = 'cache_url';
$config['cache']['ru']['cache_api_para'] = 'cache_url';
$config['cache']['it']['cache_api_para'] = 'cache_url';
//本地测试用 - lmr
if (isset($_SERVER['HTTP_HOST']) && $_SERVER['HTTP_HOST'] == '202.103.68.62:9999') {
$config['site']['jp']['site_url'] = 'http://202.103.68.62:9093';
@ -496,7 +491,7 @@ $config['InfoType_country'] = array(
'国家地图' => 'n_map',
'民族传统和文化遗产' => 'n_national',
'产品附加信息' => 'product',
'旅游工具箱' => 'n_tools'
'旅游工具箱' => 'n_tools',
);
//province控制器用到了
@ -511,7 +506,7 @@ $config['InfoType_province'] = array(
'天气' => 'p_weather',
'旅游建议' => 'p_tips',
'热门旅游城市' => 'p_popular_city',
'产品附加信息' => 'product'
'产品附加信息' => 'product',
);
//city控制器用到了
@ -553,7 +548,7 @@ $config['InfoType_city'] = array(
'article-Tour Planning' => 'a_tourplanning',
'layout' => 'layout',
'一地线路详细' => 'c_single_circuit',
'一日游线路详细' => 'c_day_tour'
'一日游线路详细' => 'c_day_tour',
);
//special控制器用到了
@ -573,13 +568,12 @@ $config['InfoType_special'] = array(
'Top专题' => 't_best_china',
'Spotlight文章' => 't_spotlight',
'专题首页推介' => 't_topic_promotion',
'产品附加信息' => 'product'
'产品附加信息' => 'product',
);
//special控制器用到了
$config['InfoType_video'] = array(
'不设置' => 'none'
'不设置' => 'none',
);
//节庆
@ -587,7 +581,7 @@ $config['InfoType_festival'] = array(
'不设置' => 'none',
'民族节庆' => 'f_national',
'传统节庆' => 'f_tradition',
'旅游节庆' => 'f_travel'
'旅游节庆' => 'f_travel',
);
//公民游
@ -601,10 +595,9 @@ $config['InfoType_citizen'] = array(
'景点详细' => 'w_attraction_detail',
'地图目录' => 'w_map',
'地图详细' => 'w_map_detail',
'产品' => 'product'
'产品' => 'product',
);
//可选模板
$config['templates_i'] = array(
'[城市]C通用模板' => 'guide_info_detail',
@ -634,12 +627,12 @@ $config['templates_i'] = array(
'[废弃]D专题-温暖' => 'warm',
'[废弃]D专题-庄重' => 'solemn',
'[废弃]D专题-节庆' => 'festival',
'[废弃]D专题-促销' => 'promotion_tour'
'[废弃]D专题-促销' => 'promotion_tour',
);
//翰特产品类型,Information控制器的get_products函数有直接调用在这里增加了信息需要去控制器写相关操作代码
$config['ProductType_HT'] = array(
'景点' => 't'
'景点' => 't',
);
//区域类型对应字母
@ -660,42 +653,41 @@ $config['area_type'] = array(
'公民游' => 'z',
'交换链接' => 'k',
'首页' => 'h',
'FAQ' => 'q'
'FAQ' => 'q',
);
$config['auhtor_task_type'] = array(
'翻译' => 'translate',
'修改' => 'modify',
'审核' => 'review',
'投稿' => 'contribute'
'投稿' => 'contribute',
);
$config['auhtor_task_status'] = array(
'编辑中' => 'edit', //新建任务或作者编辑
'待审核' => 'review', //作者提交,待管理员审核
'审核通过' => 'reviewed', //审核通过,未付款,审核不通过则把状态改为“编辑中”
'完结' => 'complete' //已付款。任务结束
'完结' => 'complete', //已付款。任务结束
);
$config['auhtor_task_detail_status'] = array(
'使用的' => 'used', //表示目前正在使用的记录,用于区别草稿、版本等其他状态。原因是用同一个表保存不同属性的记录
'原始' => 'original', //原始任务信息备份
'版本' => 'version' //多份,每提交审核一次生成一份
'版本' => 'version', //多份,每提交审核一次生成一份
);
//项目类型
$config['project_types'] = array(
'base' => '绩效项目',
'dare' => '挑战项目',
'innovation' => '创新项目'
'innovation' => '创新项目',
);
//项目状态
$config['project_state'] = array(
'notstart' => '还没开始',
'runing' => '开发中',
'complete' => '完成'
'complete' => '完成',
);
//是否开启权限控制
$config['check_access'] = TRUE;
$config['check_access'] = true;
//权限管理超级管理
$config['access_super_manage'] = array('ycc', 'lmr', 'lyj', 'rz', 'zp');
@ -722,7 +714,6 @@ $config['css_source_ct'] = 'https://data.chinatravel.com/css/min.php?f=/css/css3
$config['css_source_chinatravel'] = 'https://data.chinatravel.com/css/newcss3/base.css';
$config['css_source_ts'] = 'https://www.trainspread.com/css/bootstrap.min.css';
//静态文件生成路径
$config['cache']['jp']['cache_path'] = 'D:\wwwcache-intl\arachina.com';
@ -752,7 +743,6 @@ $config['cache']['vac']['cache_api_para'] = 'cache_url';
$config['cache']['ru']['cache_api_para'] = 'cache_url';
$config['cache']['it']['cache_api_para'] = 'cache_url';
//本地测试用 - lmr
if (isset($_SERVER['HTTP_HOST']) && $_SERVER['HTTP_HOST'] == '202.103.68.62:9999') {
$config['site']['jp']['site_url'] = 'http://202.103.68.62:9093';
@ -795,7 +785,7 @@ $config['InfoType_country'] = array(
'国家地图' => 'n_map',
'民族传统和文化遗产' => 'n_national',
'产品附加信息' => 'product',
'旅游工具箱' => 'n_tools'
'旅游工具箱' => 'n_tools',
);
//province控制器用到了
@ -810,7 +800,7 @@ $config['InfoType_province'] = array(
'天气' => 'p_weather',
'旅游建议' => 'p_tips',
'热门旅游城市' => 'p_popular_city',
'产品附加信息' => 'product'
'产品附加信息' => 'product',
);
//city控制器用到了
@ -852,7 +842,7 @@ $config['InfoType_city'] = array(
'article-Tour Planning' => 'a_tourplanning',
'layout' => 'layout',
'一地线路详细' => 'c_single_circuit',
'一日游线路详细' => 'c_day_tour'
'一日游线路详细' => 'c_day_tour',
);
//special控制器用到了
@ -872,13 +862,12 @@ $config['InfoType_special'] = array(
'Top专题' => 't_best_china',
'Spotlight文章' => 't_spotlight',
'专题首页推介' => 't_topic_promotion',
'产品附加信息' => 'product'
'产品附加信息' => 'product',
);
//special控制器用到了
$config['InfoType_video'] = array(
'不设置' => 'none'
'不设置' => 'none',
);
//节庆
@ -886,7 +875,7 @@ $config['InfoType_festival'] = array(
'不设置' => 'none',
'民族节庆' => 'f_national',
'传统节庆' => 'f_tradition',
'旅游节庆' => 'f_travel'
'旅游节庆' => 'f_travel',
);
//产品类型
@ -895,7 +884,7 @@ $config['InfoType_product'] = array(
'线路' => 'pd_tour',
'包价线路' => 'pd_package',
'信息页' => 'pd_info',
'移动端' => 'pd_phone'
'移动端' => 'pd_phone',
);
//公民游
@ -909,7 +898,7 @@ $config['InfoType_citizen'] = array(
'景点详细' => 'w_attraction_detail',
'地图目录' => 'w_map',
'地图详细' => 'w_map_detail',
'产品' => 'product'
'产品' => 'product',
);
//ct站点用到了
@ -942,7 +931,7 @@ $config['InfoType_ct'] = array(
'产品详细' => 'c_product_detail',
'游记' => 'story',
'一地线路详细' => 'c_single_circuit',
'一日游线路详细' => 'c_day_tour'
'一日游线路详细' => 'c_day_tour',
);
//AH站点用到了
@ -952,7 +941,7 @@ $config['InfoType_ah'] = array(
'国家信息列表页' => 'country_info_list',
'区域信息列表页' => 'area_info_list',
'线路' => 'pd_tour',
'包价线路' => 'pd_package'
'包价线路' => 'pd_package',
);
//可选模板
@ -993,7 +982,7 @@ $config['templates'] = array(
'专题模板(大)' => 'guide_big_series',
'三峡游船' => 'yangtze',
'城市article列表' => 'city_article_list',
'food列表' => 'food_list'
'food列表' => 'food_list',
);
//德语信息模板
@ -1004,7 +993,7 @@ $config['templates_gm'] = array(
'文化模板 [导航式]' => 'culture_info_detail_with_category',
'信息专题模板' => 'guide_top_series',
'列表式' => 'guide_info_list',
'空白模板' => 'none'
'空白模板' => 'none',
);
// CHT 信息模板
@ -1034,7 +1023,7 @@ $config['templates_cht'] = array(
'三峡游船' => 'yangtze',
'城市article列表' => 'city_article_list',
'food列表' => 'food_list',
'FAQ模板' => 'faq_detail'
'FAQ模板' => 'faq_detail',
);
//产品管理板块模板
@ -1042,6 +1031,17 @@ $config['templates_product'] = array(
'空白模板' => 'none',
);
//产品管理板块模板
$config['templates_product_gm'] = array(
'空白模板' => 'none',
'通用内容模板' => 'guide_info_detail',
'城市-首页模板(GM)' => 'city_info_index',
'文化模板 [单页式]' => 'culture_info_detail_one_page',
'文化模板 [导航式]' => 'culture_info_detail_with_category',
'信息专题模板' => 'guide_top_series',
'列表式' => 'guide_info_list',
);
//产品管理板块模板(国际站使用)
$config['templates_product_i'] = array(
'空白模板HTML构建工具' => 'r_empty_container',
@ -1049,25 +1049,24 @@ $config['templates_product_i'] = array(
'空白模板(旧)' => 'r_tpl_empty',
);
//亚洲组专用模板
$config['templates_ah'] = array(
'空白模板' => 'none',
'静态页面' => 'static'
'静态页面' => 'static',
);
// 出境游网站模板
$config['templates_pgr'] = array(
'空白模板' => 'guide_info_detail', '导航模板' => 'culture_info_detail_with_category'
'空白模板' => 'guide_info_detail', '导航模板' => 'culture_info_detail_with_category',
);
// 国际火车网站模板
$config['templates_ts'] = array(
'空白模板' => 'guide_info_detail', '信息导航模板' => 'train_series_with_category'
'空白模板' => 'guide_info_detail', '信息导航模板' => 'train_series_with_category',
);
//翰特产品类型,Information控制器的get_products函数有直接调用在这里增加了信息需要去控制器写相关操作代码
$config['ProductType_HT'] = array(
'景点' => 't'
'景点' => 't',
);
//区域类型对应字母
@ -1087,37 +1086,37 @@ $config['area_type'] = array(
'大使馆' => 'y',
'公民游' => 'z',
'交换链接' => 'k',
'FAQ' => 'q'
'FAQ' => 'q',
);
$config['auhtor_task_type'] = array(
'翻译' => 'translate',
'修改' => 'modify',
'审核' => 'review',
'投稿' => 'contribute'
'投稿' => 'contribute',
);
$config['auhtor_task_status'] = array(
'编辑中' => 'edit', //新建任务或作者编辑
'待审核' => 'review', //作者提交,待管理员审核
'审核通过' => 'reviewed', //审核通过,未付款,审核不通过则把状态改为“编辑中”
'完结' => 'complete' //已付款。任务结束
'完结' => 'complete', //已付款。任务结束
);
$config['auhtor_task_detail_status'] = array(
'使用的' => 'used', //表示目前正在使用的记录,用于区别草稿、版本等其他状态。原因是用同一个表保存不同属性的记录
'原始' => 'original', //原始任务信息备份
'版本' => 'version' //多份,每提交审核一次生成一份
'版本' => 'version', //多份,每提交审核一次生成一份
);
//项目类型
$config['project_types'] = array(
'base' => '绩效项目',
'dare' => '挑战项目',
'innovation' => '创新项目'
'innovation' => '创新项目',
);
//项目状态
$config['project_state'] = array(
'notstart' => '还没开始',
'runing' => '开发中',
'complete' => '完成'
'complete' => '完成',
);
//多媒体中心的本地图片路径
//上传图片是异步上网的所以用此url进行本地预览
@ -1132,5 +1131,4 @@ $config['media_image_url_remote2'] = 'http://116.251.217.48:3581/upload';
/* End of file config.php */
/* Location: ./application/config/config.php */
header('Cache-Control: no-cache');

@ -245,6 +245,8 @@ class Information extends CI_Controller
//LMR 2016-7-14
if (in_array($this->config->item('site_code'), array('vac', 'vc', 'jp', 'ru', 'it'))) {
$this->config->set_item('templates', $this->config->item('templates_product_i'));
} else if ($this->config->item('site_code' == 'gm')) {
$this->config->set_item('templates', $this->config->item('templates_product_gm'));
} else {
$this->config->set_item('templates', $this->config->item('templates_product'));
}

Loading…
Cancel
Save