How to Hide employee information from non-admins

[size=5]Hide employee information from non-admins

  1. Open include/globalControlLinks.php
  2. In the file go to:
    }

$global_control_links = array(
‘linkinfo’ => array($app_strings=> ‘index.php?module=Employees&action=index&query=true’),
‘submenu’ => ‘’
);
3. add the following line
if (is_admin ($current_user))
4. The code will look like code below
}

if (is_admin ($current_user))
$global_control_links = array(
‘linkinfo’ => array($app_strings=> ‘index.php?module=Employees&action=index&query=true’),
‘submenu’ => ‘’
);
5. Non-admins will not be able to view employees[/size]

Thank you for your contribution.

Yes. It worked. Thank You.