select admin langcode layout bug fix

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9724 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ovclas 2011-10-25 08:43:16 +00:00
parent afa40dc8ad
commit cc69f30c66

View file

@ -266,8 +266,11 @@
Context::set('lang_code_list', $output->data);
Context::set('page_navigation', $output->page_navigation);
$this->setLayoutPath('./common/tpl');
$this->setLayoutFile('popup_layout');
if(Context::get('module') != 'admin')
{
$this->setLayoutPath('./common/tpl');
$this->setLayoutFile('popup_layout');
}
// Set a template file
$this->setTemplateFile('module_langcode');
}