mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-17 17:32:15 +09:00
issue 160, fix a bug for do not display user defined language when modify widget code
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9245 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
2a6f6e3c04
commit
5e4638ae94
5 changed files with 52 additions and 3 deletions
|
|
@ -120,7 +120,7 @@
|
|||
$site_args->index_module_srl = $mid_output->data->module_srl;
|
||||
$site_args->domain = $domain;
|
||||
$site_args->default_language = $db_info->lang_type;
|
||||
|
||||
|
||||
if($output->data && !$output->data->index_module_srl) {
|
||||
$output = executeQuery('module.updateSite', $site_args);
|
||||
} else {
|
||||
|
|
@ -989,7 +989,7 @@
|
|||
return;
|
||||
}
|
||||
return $config;
|
||||
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -1513,5 +1513,16 @@
|
|||
}
|
||||
$this->add('results', $list);
|
||||
}
|
||||
|
||||
function getLangByLangcode()
|
||||
{
|
||||
$langCode = Context::get('langCode');
|
||||
if (!$langCode) return;
|
||||
|
||||
$oModuleController = &getController('module');
|
||||
$oModuleController->replaceDefinedLangCode($langCode);
|
||||
|
||||
$this->add('lang', $langCode);
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue