mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-10 04:24:14 +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');
|
$logged_info = Context::get('logged_info');
|
||||||
if($logged_info->is_admin=='Y'){
|
if($logged_info->is_admin=='Y'){
|
||||||
$oAdminView = &getAdminView('admin');
|
if ($this->act != 'dispLayoutAdminLayoutModify')
|
||||||
$oAdminView->makeGnbUrl($forward->module);
|
{
|
||||||
$oModule->setLayoutPath("./modules/admin/tpl");
|
$oAdminView = &getAdminView('admin');
|
||||||
$oModule->setLayoutFile("layout.html");
|
$oAdminView->makeGnbUrl($forward->module);
|
||||||
|
$oModule->setLayoutPath("./modules/admin/tpl");
|
||||||
|
$oModule->setLayoutFile("layout.html");
|
||||||
|
}
|
||||||
}else{
|
}else{
|
||||||
$this->error = 'msg_is_not_administrator';
|
$this->error = 'msg_is_not_administrator';
|
||||||
$oMessageObject = &ModuleHandler::getModuleInstance('message',$type);
|
$oMessageObject = &ModuleHandler::getModuleInstance('message',$type);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue