mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
issue 2367 remove outside page, widget page preview.
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11904 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
f87451e50f
commit
2783f921df
4 changed files with 15 additions and 1 deletions
|
|
@ -341,7 +341,8 @@
|
|||
|
||||
// integrate skin information of the module(change to sync skin info with the target module only by seperating its table)
|
||||
$is_default_skin = ((!Mobile::isFromMobilePhone() && $this->module_info->is_skin_fix == 'N') || (Mobile::isFromMobilePhone() && $this->module_info->is_mskin_fix == 'N'));
|
||||
if($is_default_skin && $this->module != 'admin' && strpos($this->act, 'Admin') === false)
|
||||
$usedSkinModule = !($this->module == 'page' && ($this->module_info->page_type == 'OUTSIDE' || $this->module_info->page_type == 'WIDGET'));
|
||||
if($usedSkinModule && $is_default_skin && $this->module != 'admin' && strpos($this->act, 'Admin') === false)
|
||||
{
|
||||
$dir = (Mobile::isFromMobilePhone()) ? 'm.skins' : 'skins';
|
||||
$oModuleModel = getModel('module');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue