Posted by simo
2013-11-19


I'm sorry, but if you set both mini book that staff administrator can add, modify and delete, I would need a type that staff can only see how to do it? thanks simone.
Posted by Tom
2013-11-19

To disable editing option for non-administrators, open "web/staff/app/cls_ps_addresses.inc.php" and add
if ( !$this->sys->IsAdmin() ) exit;
after
case 'edit_inp':
The result should look like:
case 'edit_inp': if ( !$this->sys->IsAdmin() ) exit;
Do the same for the following lines, too.
"case 'edit_done':"
"case 'reg_inp':"
"case 'reg_done':"
"case 'del_multi':"