mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
not show admin bar in document management popup
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12579 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
ea06e64eb4
commit
dd56711e5a
2 changed files with 4 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ xe.msg_select_menu = "{$lang->msg_select_menu}";
|
|||
{@$isAdminKind = true}
|
||||
<!--@end-->
|
||||
<body{Context::getBodyClass()} style="margin-top:28px!important"|cond="$logged_info->is_admin=='Y' && !$isAdminKind && Context::get('current_module_info')->module_type == 'view'">
|
||||
<include target="../../modules/admin/tpl/admin_bar.html" cond="$logged_info->is_admin=='Y' && !$isAdminKind && Context::get('current_module_info')->module_type == 'view'" />
|
||||
<include target="../../modules/admin/tpl/admin_bar.html" cond="$logged_info->is_admin=='Y' && !$isAdminKind && Context::get('current_module_info')->module_type == 'view' && Context::get('admin_bar') != 'false'" />
|
||||
{Context::getBodyHeader()}
|
||||
{$content}
|
||||
{Context::getHtmlFooter()}
|
||||
|
|
|
|||
|
|
@ -97,6 +97,9 @@ class documentView extends document
|
|||
Context::set('mid',$module_info->mid);
|
||||
Context::set('browser_title',$module_info->browser_title);
|
||||
|
||||
// not show admin bar
|
||||
Context::set('admin_bar', 'false');
|
||||
|
||||
// Select Pop-up layout
|
||||
$this->setLayoutPath('./common/tpl');
|
||||
$this->setLayoutFile('popup_layout');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue