// Is there an entry?
if (sqlNumRows($result_action) == 1) {
// Is valid but does the inlcude file exists?
- $inc = sprintf("inc/modules/admin/action-%s.php", $action);
+ $inc = sprintf('inc/modules/admin/action-%s.php', $action);
if ((isIncludeReadable($inc)) && (isMenuActionValid('admin', $action, $what)) && ($GLOBALS['acl_allow'] === TRUE)) {
// Ok, we finally load the admin action module
loadInclude($inc);
// Load all 'action' menus
while ($mainContent = sqlFetchArray($result_main)) {
// Filename
- $inc = sprintf("inc/modules/admin/action-%s.php", $mainContent['main_action']);
+ $inc = sprintf('inc/modules/admin/action-%s.php', $mainContent['main_action']);
// Is the current admin allowed to access this 'action' menu?
if (isAdminAllowedAccessMenu($mainContent['main_action'])) {
// Load all entries
while ($subContent = sqlFetchArray($result_what)) {
// Filename
- $inc = sprintf("inc/modules/admin/what-%s.php", $subContent['sub_what']);
+ $inc = sprintf('inc/modules/admin/what-%s.php', $subContent['sub_what']);
// Is the current admin allowed to access this 'what' menu?
if (isAdminAllowedAccessMenu(NULL, $subContent['sub_what'])) {