Posted by Eliza
2017-03-24

Hello!

How to hide (delete) and (edit) for staff. I want to leave them only ADD NEW?

Thnx in advance!
Posted by Tom
2017-03-25

Hi, enclose the code you want to hide from staff like this
<?php if ( $sys->IsAdmin() ) {
//code to hide
} ?>
It works in template files (web/staff/tpl.(-----).inc.php)