mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-05 11:32:12 +09:00
issue 2611 module detail setup page's layout change
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11901 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
39e723cc79
commit
54068406ef
2 changed files with 18 additions and 2 deletions
|
|
@ -675,8 +675,16 @@
|
|||
$isLayoutDrop = Context::get('isLayoutDrop');
|
||||
if($isLayoutDrop)
|
||||
{
|
||||
$oModule->setLayoutPath('common/tpl');
|
||||
$oModule->setLayoutFile('default_layout');
|
||||
$kind = strpos(strtolower($this->act),'admin')!==false?'admin':'';
|
||||
if($kind == 'admin')
|
||||
{
|
||||
$oModule->setLayoutFile('popup_layout');
|
||||
}
|
||||
else
|
||||
{
|
||||
$oModule->setLayoutPath('common/tpl');
|
||||
$oModule->setLayoutFile('default_layout');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue