Posted by Michele
2017-04-29

Hello Tom, sorry but in what file I must enter the code:

<?php if ( $sys->IsAdmin() ) {
//code to hide from non-admin
} ?>

Thanks for your info.
Posted by Tom
2017-04-30

It all depends on what you would like to modify. You most likely use it in templates or backend code files. For example, if you want to hide some buttons from non-admins, then use it in web/staff/tpl.(table-name).search.inc.php. If you want to disallow non-admins to execute backend code, then use it in web/staff/app/cls_ps_(table-name).inc.php