mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-22 12:49:55 +09:00
issue 70 admin UI/UX developemnt in data import module
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8799 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
e46231ae96
commit
5d415ec3c3
8 changed files with 147 additions and 17 deletions
|
|
@ -466,14 +466,19 @@
|
|||
$oModuleModel = &getModel('module');
|
||||
// Variable setting for site keyword
|
||||
$site_keyword = Context::get('site_keyword');
|
||||
$site_srl = Context::get('site_srl');
|
||||
// If there is no site keyword, use as information of the current virtual site
|
||||
$args = null;
|
||||
$logged_info = Context::get('logged_info');
|
||||
$site_module_info = Context::get('site_module_info');
|
||||
$args->site_keyword = $site_keyword;
|
||||
if($site_keyword) $args->site_keyword = $site_keyword;
|
||||
|
||||
if($logged_info->is_admin == 'Y' && !$site_keyword) $args->site_srl = 0;
|
||||
else $args->site_srl = (int)$site_module_info->site_srl;
|
||||
if(!$site_srl)
|
||||
{
|
||||
if($logged_info->is_admin == 'Y' && !$site_keyword) $args->site_srl = 0;
|
||||
else $args->site_srl = (int)$site_module_info->site_srl;
|
||||
}
|
||||
else $args->site_srl = $site_srl;
|
||||
|
||||
$args->sort_index1 = 'sites.domain';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue