mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-12 06:52:12 +09:00
issue 70 multilingual admin devlopement.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8856 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
3568bb75ff
commit
720b7f14cc
3 changed files with 15 additions and 40 deletions
|
|
@ -438,12 +438,12 @@
|
|||
foreach($lang_supported as $key => $val) {
|
||||
$args->lang_code = $key;
|
||||
$args->value = trim(Context::get($key));
|
||||
if(!$args->value) {
|
||||
$args->value = Context::get(strtolower($key));
|
||||
if(!$args->value) $args->value = $args->name;
|
||||
}
|
||||
$output = executeQuery('module.insertLang', $args);
|
||||
if(!$output->toBool()) return $output;
|
||||
|
||||
if($args->value)
|
||||
{
|
||||
$output = executeQuery('module.insertLang', $args);
|
||||
if(!$output->toBool()) return $output;
|
||||
}
|
||||
}
|
||||
$this->makeCacheDefinedLangCode($args->site_srl);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue