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_table($table, true);
|
||||||
$htmlForm .= html_print_input_hidden('filter', 1, true);
|
$htmlForm .= html_print_input_hidden('filter', 1, true);
|
||||||
$htmlForm .= '<div class="action-buttons" style="width: '.$table->width.'">';
|
$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')) {
|
||||||
__('Save as custom graph'),
|
$htmlForm .= html_print_button(
|
||||||
'save_custom_graph',
|
__('Save as custom graph'),
|
||||||
false,
|
'save_custom_graph',
|
||||||
'',
|
false,
|
||||||
'class="sub add" style=""',
|
'',
|
||||||
true
|
'class="sub add" style=""',
|
||||||
).' '.html_print_submit_button(__('Filter'), 'filter_button', false, 'class="sub upd" style=""', true);
|
true
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
$htmlForm .= ' '.html_print_submit_button(__('Filter'), 'filter_button', false, 'class="sub upd" style=""', true);
|
||||||
$htmlForm .= '</div>';
|
$htmlForm .= '</div>';
|
||||||
$htmlForm .= '</form>';
|
$htmlForm .= '</form>';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue