if (empty($what)) $what = '---';
// Get admin mode
- $mode = getMessage('ADMINS_'.strtoupper($mode).'_MODE');
+ $mode = '{--ADMINS_' . strtoupper($mode) . '_MODE--}';
// Generate link
$admin = generateAdminLink($admin);
postRequestParameter('what_menu'),
postRequestParameter('mode')
), __FILE__, __LINE__);
- $content = getMessage('ADMIN_ADMINS_ACL_SAVED');
+ $content = '{--ADMIN_ADMINS_ACL_SAVED--}';
// Update cache when installed
if (isExtensionActive('cache')) {
} // END - if
} else {
// ACL does already exist!
- $content = getMessage('ADMIN_ADMINS_ACL_ALREADY_ADDED');
+ $content = '{--ADMIN_ADMINS_ACL_ALREADY_ADDED--}';
}
// Free memory
SQL_FREERESULT($result);
} else {
// No menu selected makes also no sence...
- $content = getMessage('ADMIN_ADMINS_SELECT_ACTION_WHAT');
+ $content = '{--ADMIN_ADMINS_SELECT_ACTION_WHAT--}';
}
} else {
// Same mode makes no sence...
- $content = getMessage('ADMIN_ADMINS_SAME_MODE_SELECTED');
+ $content = '{--ADMIN_ADMINS_SAME_MODE_SELECTED--}';
}
// Display message
if (empty($content['what_menu'])) $content['what_menu'] = '---';
// Get mode
- $content['access_mode'] = getMessage('ADMINS_'.strtoupper($content['access_mode']).'_MODE');
+ $content['access_mode'] = '{--ADMINS_' . strtoupper($content['access_mode']) . '_MODE--}';
// Prepare data for the row template
$content = array(
loadTemplate('admin_admins_add_acl', false, $content);
}
-//
+// [EOF]
?>