mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
hide admin bar in admin dashboard
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12204 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
363f1c15db
commit
a77219754e
1 changed files with 4 additions and 1 deletions
|
|
@ -52,7 +52,10 @@ xe.cmd_find = "{$lang->cmd_find}";
|
|||
//]]>
|
||||
</script>
|
||||
</head>
|
||||
{@$isAdminKind = strpos(strtolower(Context::get('act')),'admin')!==false?true:false}
|
||||
{@$isAdminKind = false}
|
||||
<!--@if(strpos(strtolower(Context::get('act')),'admin') || Context::get('module') == 'admin')-->
|
||||
{@$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'" />
|
||||
{Context::getBodyHeader()}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue