mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
Issue 2511: Make XE menu work with virtual sites too
git-svn-id: http://xe-core.googlecode.com/svn/branches/luminous@11404 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
de98905c12
commit
d3cb41a17b
2 changed files with 5 additions and 4 deletions
|
|
@ -624,6 +624,7 @@
|
|||
// Variable setting for site keyword
|
||||
$site_keyword = Context::get('site_keyword');
|
||||
$site_srl = Context::get('site_srl');
|
||||
$vid = Context::get('vid');
|
||||
// If there is no site keyword, use as information of the current virtual site
|
||||
$args = null;
|
||||
$logged_info = Context::get('logged_info');
|
||||
|
|
@ -632,7 +633,7 @@
|
|||
|
||||
if(!$site_srl)
|
||||
{
|
||||
if($logged_info->is_admin == 'Y' && !$site_keyword) $args->site_srl = 0;
|
||||
if($logged_info->is_admin == 'Y' && !$site_keyword && !$vid) $args->site_srl = 0;
|
||||
else $args->site_srl = (int)$site_module_info->site_srl;
|
||||
}
|
||||
else $args->site_srl = $site_srl;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue