mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
issue 2370, issue 2373, issue 2374 add the site design info.
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11303 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
abef8deda9
commit
ffde9607d9
5 changed files with 233 additions and 9 deletions
|
|
@ -319,7 +319,8 @@
|
|||
$oModuleModel = &getModel('module');
|
||||
$columnList = array('module_srl', 'module', 'skin', 'mskin');
|
||||
$module_info = $oModuleModel->getModuleInfoByModuleSrl($module_srl, $columnList);
|
||||
if($module_info->module_srl) {
|
||||
if($module_info->module_srl)
|
||||
{
|
||||
if($mode === 'M')
|
||||
{
|
||||
$skin = $module_info->mskin;
|
||||
|
|
@ -353,8 +354,10 @@
|
|||
unset($obj->module);
|
||||
unset($obj->_mode);
|
||||
// Separately handle if a type of extra_vars is an image in the original skin_info
|
||||
if($skin_info->extra_vars) {
|
||||
foreach($skin_info->extra_vars as $vars) {
|
||||
if($skin_info->extra_vars)
|
||||
{
|
||||
foreach($skin_info->extra_vars as $vars)
|
||||
{
|
||||
if($vars->type!='image') continue;
|
||||
|
||||
$image_obj = $obj->{$vars->name};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue