mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-10 04:03:01 +09:00
do not apply admin layout when faceoff edit view
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8952 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
0b48476de8
commit
236bb1528b
1 changed files with 7 additions and 4 deletions
|
|
@ -276,10 +276,13 @@
|
|||
{
|
||||
$logged_info = Context::get('logged_info');
|
||||
if($logged_info->is_admin=='Y'){
|
||||
$oAdminView = &getAdminView('admin');
|
||||
$oAdminView->makeGnbUrl($forward->module);
|
||||
$oModule->setLayoutPath("./modules/admin/tpl");
|
||||
$oModule->setLayoutFile("layout.html");
|
||||
if ($this->act != 'dispLayoutAdminLayoutModify')
|
||||
{
|
||||
$oAdminView = &getAdminView('admin');
|
||||
$oAdminView->makeGnbUrl($forward->module);
|
||||
$oModule->setLayoutPath("./modules/admin/tpl");
|
||||
$oModule->setLayoutFile("layout.html");
|
||||
}
|
||||
}else{
|
||||
$this->error = 'msg_is_not_administrator';
|
||||
$oMessageObject = &ModuleHandler::getModuleInstance('message',$type);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue