mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +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
|
|
@ -174,28 +174,6 @@
|
|||
$this->setTemplateFile('module_grant_setup');
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Language codes
|
||||
**/
|
||||
/*function dispModuleAdminLangcode() {
|
||||
// Get the language file of the current site
|
||||
$site_module_info = Context::get('site_module_info');
|
||||
$args->site_srl = (int)$site_module_info->site_srl;
|
||||
$args->sort_index = 'name';
|
||||
$args->order_type = 'asc';
|
||||
$output = executeQueryArray('module.getLangList', $args);
|
||||
Context::set('lang_list', $output->data);
|
||||
// Get the currently selected language
|
||||
$name = Context::get('name');
|
||||
if($name) {
|
||||
$oModuleAdminModel = &getAdminModel('module');
|
||||
Context::set('selected_lang', $oModuleAdminModel->getLangCode($args->site_srl,'$user_lang->'.$name));
|
||||
}
|
||||
// Set the layout to be pop-up
|
||||
$this->setLayoutFile('popup_layout');
|
||||
// Set a template file
|
||||
$this->setTemplateFile('module_langcode');
|
||||
}*/
|
||||
|
||||
/**
|
||||
* @brief Language codes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue