"; if ($edit_graph) echo "
"; else echo ""; echo ""; echo "".__('Name').""; echo ""; $own_info = get_user_info ($config['id_user']); if ($own_info['is_admin'] || check_acl ($config['id_user'], 0, "PM")) $return_all_groups = true; else $return_all_groups = false; echo "".__('Group')."" . html_print_select_groups($config['id_user'], "AR", $return_all_groups, 'graph_id_group', $id_group, '', '', '', true) . ""; echo ""; echo "".__('Description').""; echo ""; echo ""; echo ""; echo ""; echo "".__('Width').""; echo ""; echo ""; echo ""; echo "".__('Height').""; echo ""; echo ""; echo ""; echo ""; echo "".__('Period').""; echo ""; html_print_extended_select_for_time ('period', $period, '', '', '0', 10); echo ""; echo "".__('Stacked').""; echo ""; include_once($config["homedir"] . "/include/functions_graph.php"); $stackeds = array( GRAPH_AREA => __('Area'), GRAPH_STACKED_AREA => __('Stacked area'), GRAPH_LINE => __('Line'), GRAPH_STACKED_LINE => __('Stacked line')); html_print_select ($stackeds, 'stacked', $stacked); echo ""; echo ""; echo ""; echo "".__('View events').""; echo ""; html_print_checkbox('events', 1, $events); echo ""; echo ""; /*echo ""; echo "".__('View alerts').""; echo ""; html_print_checkbox('alerts', 1, $alerts); echo "";*/ echo ""; echo ""; if ($edit_graph) { echo ""; } else { echo ""; } echo ""; echo "
";