"; if ($edit_graph) echo "
"; else echo ""; echo ""; echo "".__('Name').""; echo ""; $group_select = get_user_groups ($config['id_user']); echo "".__('Group')."" . print_select_groups($config['id_user'], "AR", true, 'graph_id_group', $id_group, '', '', '', true) . ""; echo ""; echo "".__('Description').""; echo ""; echo ""; echo ""; echo ""; echo "".__('Width').""; echo ""; echo ""; echo ""; echo "".__('Height').""; echo ""; echo ""; $periods = array(3600 => "1 ".__('hour'), 7200 => "2 ".__('hours'), 10800 => "3 ".__('hours'), 21600 => "6 ".__('hours'), 43200 => "12 ".__('hours'), 86400 => "1 ".__('day'), 172800 => "2 ".__('days'), 345600 => "4 ".__('days'), 604800 => __('Last week'), 1296000 => "15 ".__('days'), 2592000 => __('Last month'), 5184000 => "2 ".__('months'), 15552000 => "6 ".__('months'), 31104000 => __('1 year'), 31104000 => __('1 year')); $period_label = $periods[$period]; echo ""; echo ""; echo "".__('Period').""; echo ""; print_select ($periods, 'period', $period); echo ""; echo "".__('Stacked').""; echo ""; $stackeds = array(__('Area'), __('Stacked area'), __('Line'), __('Stacked line')); print_select ($stackeds, 'stacked', $stacked); echo ""; echo ""; echo ""; echo "".__('View events').""; echo ""; print_checkbox('events', 1, $events); echo ""; echo ""; /*echo ""; echo "".__('View alerts').""; echo ""; print_checkbox('alerts', 1, $alerts); echo "";*/ echo ""; echo ""; if ($edit_graph) { echo ""; } else { echo ""; } echo ""; echo "
";