added a language selector on multilingual search

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12060 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
flyskyko 2012-11-03 07:58:48 +00:00
parent 9667b29c45
commit e66e10c2c7
7 changed files with 111 additions and 28 deletions

View file

@ -446,7 +446,7 @@
{
$siteModuleInfo = Context::get('site_module_info');
$args->site_srl = (int)$site_module_info->site_srl;
$args->langCode = Context::get('lang_type');
$args->langCode = Context::get('lang_code');
$args->page = Context::get('page');
$args->sort_index = 'name';
$args->order_type = 'asc';
@ -455,6 +455,11 @@
$args->list_count = Context::get('list_count');
$args->page_count = 5;
if(!$args->langCode)
{
$args->langCode = Context::get('lang_type');
}
$output = $this->getLangListByLangcode($args);
Context::set('total_count', $output->total_count);