Change permissions to save custom graph in agent view - #4575
This commit is contained in:
parent
1c4b639deb
commit
94195cf70a
|
@ -244,14 +244,18 @@ $htmlForm = '<form method="post" action="index.php?sec=estado&sec2=operation/age
|
|||
$htmlForm .= html_print_table($table, true);
|
||||
$htmlForm .= html_print_input_hidden('filter', 1, true);
|
||||
$htmlForm .= '<div class="action-buttons" style="width: '.$table->width.'">';
|
||||
$htmlForm .= html_print_button(
|
||||
if (check_acl($config['id_user'], 0, 'RW') || check_acl($config['id_user'], 0, 'RM')) {
|
||||
$htmlForm .= html_print_button(
|
||||
__('Save as custom graph'),
|
||||
'save_custom_graph',
|
||||
false,
|
||||
'',
|
||||
'class="sub add" style=""',
|
||||
true
|
||||
).' '.html_print_submit_button(__('Filter'), 'filter_button', false, 'class="sub upd" style=""', true);
|
||||
);
|
||||
}
|
||||
|
||||
$htmlForm .= ' '.html_print_submit_button(__('Filter'), 'filter_button', false, 'class="sub upd" style=""', true);
|
||||
$htmlForm .= '</div>';
|
||||
$htmlForm .= '</form>';
|
||||
|
||||
|
|
Loading…
Reference in New Issue