08-28-2017, 01:23 PM
Replace the delete function from forms posted:
http://pasted.co/index.php?act=submit
Line 515 on admin_user.php
(replacing the checkbox)
http://pasted.co/2d1fcf67
This disables the checkbox for User ID 1.
admin_permissions.php
Add array:
Change line 118 (the delete button):
http://pasted.co/120a1740
admin_permission.php
Add array:
Change line 182, the delete checkbox:
http://pasted.co/24b7551c
Change the delete function:
http://pasted.co/b49a9de2
http://pasted.co/index.php?act=submit
Line 515 on admin_user.php
(replacing the checkbox)
http://pasted.co/2d1fcf67
This disables the checkbox for User ID 1.
admin_permissions.php
Add array:
Code:
$permission_exempt = array(1,2);
Change line 118 (the delete button):
http://pasted.co/120a1740
admin_permission.php
Add array:
Code:
$permission_exempt = array(1,2);
Change line 182, the delete checkbox:
http://pasted.co/24b7551c
Change the delete function:
http://pasted.co/b49a9de2