mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-27 22:33:10 +09:00
issue 160, apply google analytics script
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9194 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
e33723c126
commit
e38b406b62
5 changed files with 36 additions and 9 deletions
|
|
@ -162,9 +162,10 @@
|
|||
$selected_lang = Context::get('selected_lang');
|
||||
$this->saveLangSelected($selected_lang);
|
||||
|
||||
//썸네일 세팅
|
||||
$config = Context::gets('thumbnail_type');
|
||||
$this->thumbnailCheck($config);
|
||||
//모듈 설정 저장(썸네일, 풋터스크립트)
|
||||
$config->thumbnail_type = Context::get('thumbnail_type');
|
||||
$config->htmlFooter = Context::get('htmlFooter');
|
||||
$this->setModulesConfig($config);
|
||||
|
||||
//파비콘
|
||||
$favicon = Context::get('favicon');
|
||||
|
|
@ -199,13 +200,18 @@
|
|||
}
|
||||
|
||||
/* 썸내일 보여주기 방식 변경.*/
|
||||
function thumbnailCheck($config){
|
||||
function setModulesConfig($config){
|
||||
|
||||
if(!$config->thumbnail_type || $config->thumbnail_type != 'ratio' ) $args->thumbnail_type = 'crop';
|
||||
if(!$config->thumbnail_type || $config->thumbnail_type != 'ratio' ) $args->thumbnail_type = 'crop';
|
||||
else $args->thumbnail_type = 'ratio';
|
||||
|
||||
$oModuleController = &getController('module');
|
||||
$output = $oModuleController->insertModuleConfig('document',$args);
|
||||
$oModuleController = &getController('module');
|
||||
$oModuleController->insertModuleConfig('document',$args);
|
||||
|
||||
unset($args);
|
||||
|
||||
$args->htmlFooter = $config->htmlFooter;
|
||||
$oModuleController->insertModuleConfig('module',$args);
|
||||
|
||||
return $output;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue