mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-27 14:22:54 +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');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
8
modules/admin/tpl/popup_layout.html
Normal file
8
modules/admin/tpl/popup_layout.html
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<div class="x">
|
||||
<div class="xin">
|
||||
<div class="content" id="content">
|
||||
{$content}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue