YOU DO NOT HAVE RIGHTS TO CHANGE GRAPH SETTINGS"; include_once("./include/bottom_footer.php"); exit; } if (read_config_option("global_auth") == "on") { if ($current_user["policy_graphs"] == "1") { $sql_where = "where user_auth_tree.user_id is null"; }elseif ($current_user["policy_graphs"] == "2") { $sql_where = "where user_auth_tree.user_id is not null"; } $settings_graphs["tree"]["default_tree_id"]["sql"] = get_graph_tree_array(true); } print "
\n"; start_box("", "98%", $colors["header"], "3", "center", ""); while (list($tab_short_name, $tab_fields) = each($settings_graphs)) { ?> "> Graph Settings [] $tab_fields[$field_name]); $form_array[$field_name]["value"] = db_fetch_cell("select value from settings_graphs where name='$field_name' and user_id=" . $_SESSION["sess_user_id"]); } draw_edit_form( array( "config" => array( "no_form_tag" => true ), "fields" => $form_array ) ); } end_box(); form_hidden_box("referer",(isset($_SERVER["HTTP_REFERER"]) ? $_SERVER["HTTP_REFERER"] : ""),""); form_hidden_box("save_component_graph_config","1",""); form_save_button("graph_settings.php", "save"); } ?>