mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 11:44:10 +09:00
Fixed a bug for language text suggestion
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9173 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
f24cab114b
commit
57b557caac
2 changed files with 1 additions and 18 deletions
|
|
@ -245,23 +245,6 @@
|
||||||
return $output;
|
return $output;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Return current lang list
|
|
||||||
**/
|
|
||||||
function getLangListByLangcodeForAutoComplete()
|
|
||||||
{
|
|
||||||
$requestVars = Context::getRequestVars();
|
|
||||||
|
|
||||||
$args->site_srl = (int)$requestVars->site_srl;
|
|
||||||
$args->page = 1; // /< Page
|
|
||||||
$args->list_count = 100; // /< the number of posts to display on a single page
|
|
||||||
$args->page_count = 5; // /< the number of pages that appear in the page navigation
|
|
||||||
$args->sort_index = 'name';
|
|
||||||
$args->order_type = 'asc';
|
|
||||||
$args->search_keyword = Context::get('search_keyword'); // /< keyword to search*/
|
|
||||||
|
|
||||||
return $this->getLangListByLangcode($args);
|
|
||||||
}
|
|
||||||
function getModuleAdminIPCheck() {
|
function getModuleAdminIPCheck() {
|
||||||
|
|
||||||
$db_info = Context::getDBInfo();
|
$db_info = Context::getDBInfo();
|
||||||
|
|
|
||||||
|
|
@ -1495,7 +1495,7 @@
|
||||||
$list = array();
|
$list = array();
|
||||||
|
|
||||||
if($output->toBool()){
|
if($output->toBool()){
|
||||||
foreach($output->data as $code_info){
|
foreach((array)$output->data as $code_info){
|
||||||
unset($codeInfo);
|
unset($codeInfo);
|
||||||
$codeInfo = array('name'=>'$user_lang->'.$code_info->name, 'value'=>$code_info->value);
|
$codeInfo = array('name'=>'$user_lang->'.$code_info->name, 'value'=>$code_info->value);
|
||||||
$list[] = $codeInfo;
|
$list[] = $codeInfo;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue