fixed admin module layout

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9396 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
devjin 2011-09-28 08:18:14 +00:00
parent c0fae02309
commit 61538ef668

View file

@ -241,13 +241,6 @@
return;
}
if($kind == 'admin' && $logged_info->is_admin == 'Y'){
$oAdminView = &getAdminView('admin');
$oAdminView->makeGnbUrl($forward->module);
$oModule->setLayoutPath("./modules/admin/tpl");
$oModule->setLayoutFile("layout.html");
}
// If there is no such action in the module object
if(!isset($xml_info->action->{$this->act}) || !method_exists($oModule, $this->act))
{