Changed name of labels menu and options in bulk operations
This commit is contained in:
parent
0137ee1e02
commit
b8d10749b0
|
@ -33,30 +33,30 @@ $tab = (string) get_parameter ('tab', 'massive_agents');
|
||||||
$option = (string) get_parameter ('option', '');
|
$option = (string) get_parameter ('option', '');
|
||||||
|
|
||||||
$options_alerts = array(
|
$options_alerts = array(
|
||||||
'add_alerts' => __('Massive alerts addition'),
|
'add_alerts' => __('Bulk alert add'),
|
||||||
'delete_alerts' => __('Massive alerts deletion'),
|
'delete_alerts' => __('Bulk alert delete'),
|
||||||
'add_action_alerts' => __('Massive alert actions addition'),
|
'add_action_alerts' => __('Bulk alert actions add'),
|
||||||
'delete_action_alerts' => __('Massive alert actions deletion'),
|
'delete_action_alerts' => __('Bulk alert actions delete'),
|
||||||
'enable_disable_alerts' => __('Massive alert enable/disable'),
|
'enable_disable_alerts' => __('Bulk alert enable/disable'),
|
||||||
'standby_alerts' => __('Massive alert setting standby'));
|
'standby_alerts' => __('Bulk alert setting standby'));
|
||||||
|
|
||||||
$options_agents = array(
|
$options_agents = array(
|
||||||
'edit_agents' => __('Massive agents edition'),
|
'edit_agents' => __('Bulk agent edit'),
|
||||||
'delete_agents' => __('Massive agents deletion'));
|
'delete_agents' => __('Bulk agent delete'));
|
||||||
|
|
||||||
if (check_acl ($config['id_user'], 0, "PM")) {
|
if (check_acl ($config['id_user'], 0, "PM")) {
|
||||||
$options_users = array(
|
$options_users = array(
|
||||||
'add_profiles' => __('Massive profiles addition'),
|
'add_profiles' => __('Bulk profile add'),
|
||||||
'delete_profiles' => __('Massive profiles deletion'));
|
'delete_profiles' => __('Bulk profile delete'));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$options_users = array();
|
$options_users = array();
|
||||||
}
|
}
|
||||||
|
|
||||||
$options_modules = array(
|
$options_modules = array(
|
||||||
'delete_modules' => __('Massive modules deletion'),
|
'delete_modules' => __('Bulk module delete'),
|
||||||
'edit_modules' => __('Massive modules edition'),
|
'edit_modules' => __('Bulk module edit'),
|
||||||
'copy_modules' => __('Massive modules copy'));
|
'copy_modules' => __('Bulk module copy'));
|
||||||
|
|
||||||
if (! check_acl ($config['id_user'], 0, "PM")) {
|
if (! check_acl ($config['id_user'], 0, "PM")) {
|
||||||
unset($options_modules['edit_modules']);
|
unset($options_modules['edit_modules']);
|
||||||
|
|
|
@ -99,7 +99,7 @@ if (check_acl ($config['id_user'], 0, "PM")) {
|
||||||
}
|
}
|
||||||
enterprise_hook('agents_submenu');
|
enterprise_hook('agents_submenu');
|
||||||
if (check_acl ($config['id_user'], 0, "AW")) {
|
if (check_acl ($config['id_user'], 0, "AW")) {
|
||||||
$sub["gmassive"]["text"] = __('Massive operations');
|
$sub["gmassive"]["text"] = __('Bulk operations');
|
||||||
$sub["gmassive"]["type"] = "direct";
|
$sub["gmassive"]["type"] = "direct";
|
||||||
$sub["gmassive"]["subtype"] = "nolink";
|
$sub["gmassive"]["subtype"] = "nolink";
|
||||||
$sub2 = array ();
|
$sub2 = array ();
|
||||||
|
|
Loading…
Reference in New Issue