'" . db_fetch_cell("select name from graph_templates_gprint where id=" . $_GET["gprint_preset_id"]) . "'? This could affect every graph that uses this preset, make sure you know what you are doing first!", getenv("HTTP_REFERER"), "graph_templates.php?action=gprint_presets_remove&gprint_preset_id=" . $_GET["gprint_preset_id"]); exit; } gprint_presets_remove(); header ("Location: graph_templates.php?action=gprint_presets"); break; case 'gprint_presets_edit': include_once ("include/top_header.php"); gprint_presets_edit(); include_once ("include/bottom_footer.php"); break; case 'gprint_presets': include_once ("include/top_header.php"); gprint_presets(); include_once ("include/bottom_footer.php"); break; case 'template_remove': template_remove(); header ("Location: graph_templates.php"); break; case 'input_remove': input_remove(); header ("Location: " . getenv("HTTP_REFERER")); break; case 'item_remove': item_remove(); header ("Location: " . getenv("HTTP_REFERER")); break; case 'input_edit': include_once ("include/top_header.php"); input_edit(); include_once ("include/bottom_footer.php"); break; case 'item_movedown': item_movedown(); header ("Location: " . getenv("HTTP_REFERER")); break; case 'item_moveup': item_moveup(); header ("Location: " . getenv("HTTP_REFERER")); break; case 'item_edit': include_once ("include/top_header.php"); item_edit(); include_once ("include/bottom_footer.php"); break; case 'item': include_once ("include/top_header.php"); item(); include_once ("include/bottom_footer.php"); break; case 'template_edit': include_once ("include/top_header.php"); template_edit(); include_once ("include/bottom_footer.php"); break; default: include_once ("include/top_header.php"); template(); include_once ("include/bottom_footer.php"); break; } /* -------------------------- Global Form Functions -------------------------- */ function draw_graph_form_select($main_action) { global $colors; ?>
|
|