Skip to content
Snippets Groups Projects
Commit 4f454de9 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

beautify "not logged in" message

parent b4dbb8d4
Branches
No related tags found
1 merge request!62V2.0
......@@ -205,7 +205,20 @@ if ($oUser->hasPermission('page_'.$sAction)){
}
$oCLog->add("adding actionlog.class done");
} else {
$BODY=$oUser->showDenied();
$oCLog->add("index.php: User is not logged in. Show a denied message");
$TITLE='';
$BODY=
$renderAdminLTE->addRow(
$renderAdminLTE->addCol('',3)
.$renderAdminLTE->addCol(
$renderAdminLTE->getCard([
'type'=>'',
'variant'=>'outline',
'text'=>$BODY=$oUser->showDenied(),
]),5
)
.$renderAdminLTE->addCol('',4)
);
// return false;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment