add lost lines of fixed old problem. Ticket: #3912
(cherry picked from commit 5c1fd7f962
)
This commit is contained in:
parent
3e9afb523e
commit
3202ae577e
|
@ -250,13 +250,13 @@ if ($id_profile || $new_profile) {
|
|||
$row['input'] = html_print_checkbox ('agent_view', 1, $agent_view, true);
|
||||
$table->data['AR'] = $row;
|
||||
$row = array();
|
||||
$row['name'] = __('Edit agents');
|
||||
$row['input'] = html_print_checkbox ('agent_edit', 1, $agent_edit, true, false, 'autoclick_profile_users(\'agent_view\', \'false\')');
|
||||
$table->data['AW'] = $row;
|
||||
$row = array();
|
||||
$row['name'] = __('Disable agents');
|
||||
$row['input'] = html_print_checkbox ('agent_disable', 1, $agent_disable, true, false, 'autoclick_profile_users(\'agent_view\', \'agent_edit\')');
|
||||
$row['input'] = html_print_checkbox ('agent_disable', 1, $agent_disable, true);
|
||||
$table->data['AD'] = $row;
|
||||
$row = array();
|
||||
$row['name'] = __('Edit agents');
|
||||
$row['input'] = html_print_checkbox ('agent_edit', 1, $agent_edit, true, false, 'autoclick_profile_users(\'agent_edit\',\'agent_view\', \'agent_disable\')');
|
||||
$table->data['AW'] = $row;
|
||||
$table->data[] = '<hr>';
|
||||
|
||||
// Alerts
|
||||
|
@ -266,7 +266,7 @@ if ($id_profile || $new_profile) {
|
|||
$table->data['LW'] = $row;
|
||||
$row = array();
|
||||
$row['name'] = __('Manage alerts');
|
||||
$row['input'] = html_print_checkbox ('alert_management', 1, $alert_management, true, false, 'autoclick_profile_users(\'alert_edit\', \'false\')');
|
||||
$row['input'] = html_print_checkbox ('alert_management', 1, $alert_management, true, false, 'autoclick_profile_users(\'alert_management\', \'alert_edit\', \'false\')');
|
||||
$table->data['LM'] = $row;
|
||||
$table->data[] = '<hr>';
|
||||
|
||||
|
@ -277,11 +277,11 @@ if ($id_profile || $new_profile) {
|
|||
$table->data['ER'] = $row;
|
||||
$row = array();
|
||||
$row['name'] = __('Edit events');
|
||||
$row['input'] = html_print_checkbox ('event_edit', 1, $event_edit, true, false, 'autoclick_profile_users(\'event_view\', \'false\')');
|
||||
$row['input'] = html_print_checkbox ('event_edit', 1, $event_edit, true, false, 'autoclick_profile_users(\'event_edit\', \'event_view\', \'false\')');
|
||||
$table->data['EW'] = $row;
|
||||
$row = array();
|
||||
$row['name'] = __('Manage events');
|
||||
$row['input'] = html_print_checkbox ('event_management', 1, $event_management, true, false, 'autoclick_profile_users(\'event_view\', \'event_edit\')');
|
||||
$row['input'] = html_print_checkbox ('event_management', 1, $event_management, true, false, 'autoclick_profile_users(\'event_management\', \'event_view\', \'event_edit\')');
|
||||
$table->data['EM'] = $row;
|
||||
$table->data[] = '<hr>';
|
||||
|
||||
|
@ -292,11 +292,11 @@ if ($id_profile || $new_profile) {
|
|||
$table->data['RR'] = $row;
|
||||
$row = array();
|
||||
$row['name'] = __('Edit reports');
|
||||
$row['input'] = html_print_checkbox ('report_edit', 1, $report_edit, true, false, 'autoclick_profile_users(\'report_view\', \'false\')');
|
||||
$row['input'] = html_print_checkbox ('report_edit', 1, $report_edit, true, false, 'autoclick_profile_users(\'report_edit\', \'report_view\', \'false\')');
|
||||
$table->data['RW'] = $row;
|
||||
$row = array();
|
||||
$row['name'] = __('Manage reports');
|
||||
$row['input'] = html_print_checkbox ('report_management', 1, $report_management, true, false, 'autoclick_profile_users(\'report_view\', \'report_edit\')');
|
||||
$row['input'] = html_print_checkbox ('report_management', 1, $report_management, true, false, 'autoclick_profile_users(\'report_management\', \'report_view\', \'report_edit\')');
|
||||
$table->data['RM'] = $row;
|
||||
$table->data[] = '<hr>';
|
||||
|
||||
|
@ -307,11 +307,11 @@ if ($id_profile || $new_profile) {
|
|||
$table->data['MR'] = $row;
|
||||
$row = array();
|
||||
$row['name'] = __('Edit network maps');
|
||||
$row['input'] = html_print_checkbox ('map_edit', 1, $map_edit, true, false, 'autoclick_profile_users(\'map_view\', \'false\')');
|
||||
$row['input'] = html_print_checkbox ('map_edit', 1, $map_edit, true, false, 'autoclick_profile_users(\'map_edit\', \'map_view\', \'false\')');
|
||||
$table->data['MW'] = $row;
|
||||
$row = array();
|
||||
$row['name'] = __('Manage network maps');
|
||||
$row['input'] = html_print_checkbox ('map_management', 1, $map_management, true, false, 'autoclick_profile_users(\'map_view\', \'map_edit\')');
|
||||
$row['input'] = html_print_checkbox ('map_management', 1, $map_management, true, false, 'autoclick_profile_users(\'map_management\', \'map_view\', \'map_edit\')');
|
||||
$table->data['MM'] = $row;
|
||||
$table->data[] = '<hr>';
|
||||
|
||||
|
@ -322,11 +322,11 @@ if ($id_profile || $new_profile) {
|
|||
$table->data['VR'] = $row;
|
||||
$row = array();
|
||||
$row['name'] = __('Edit visual console');
|
||||
$row['input'] = html_print_checkbox ('vconsole_edit', 1, $vconsole_edit, true, false, 'autoclick_profile_users(\'vconsole_view\', \'false\')');
|
||||
$row['input'] = html_print_checkbox ('vconsole_edit', 1, $vconsole_edit, true, false, 'autoclick_profile_users(\'vconsole_edit\', \'vconsole_view\', \'false\')');
|
||||
$table->data['VW'] = $row;
|
||||
$row = array();
|
||||
$row['name'] = __('Manage visual console');
|
||||
$row['input'] = html_print_checkbox ('vconsole_management', 1, $vconsole_management, true, false, 'autoclick_profile_users(\'vconsole_view\', \'vconsole_edit\')');
|
||||
$row['input'] = html_print_checkbox ('vconsole_management', 1, $vconsole_management, true, false, 'autoclick_profile_users(\'vconsole_management\', \'vconsole_view\', \'vconsole_edit\')');
|
||||
$table->data['VM'] = $row;
|
||||
$table->data[] = '<hr>';
|
||||
|
||||
|
@ -337,11 +337,11 @@ if ($id_profile || $new_profile) {
|
|||
$table->data['IR'] = $row;
|
||||
$row = array();
|
||||
$row['name'] = __('Edit incidents');
|
||||
$row['input'] = html_print_checkbox ('incident_edit', 1, $incident_edit, true, false, 'autoclick_profile_users(\'incident_view\', \'false\')');
|
||||
$row['input'] = html_print_checkbox ('incident_edit', 1, $incident_edit, true, false, 'autoclick_profile_users(\'incident_edit\', \'incident_view\', \'false\')');
|
||||
$table->data['IW'] = $row;
|
||||
$row = array();
|
||||
$row['name'] = __('Manage incidents');
|
||||
$row['input'] = html_print_checkbox ('incident_management', 1, $incident_management, true, false, 'autoclick_profile_users(\'incident_view\', \'incident_edit\');');
|
||||
$row['input'] = html_print_checkbox ('incident_management', 1, $incident_management, true, false, 'autoclick_profile_users(\'incident_management\', \'incident_view\', \'incident_edit\');');
|
||||
$table->data['IM'] = $row;
|
||||
$table->data[] = '<hr>';
|
||||
|
||||
|
|
Loading…
Reference in New Issue