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:
ovclas 2012-11-13 08:56:49 +00:00
parent 363f1c15db
commit a77219754e

View file

@ -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()}