Edit OS'; $posts = Mirror::get_one_os($_POST['os_id']); form_start(); include_once(INC.'/forms/os.php'); form_hidden('doit','1'); form_hidden('action','edit'); form_hidden('os_id',$_POST['os_id']); form_submit('submit','','button1','Update'); form_end(); require_once(FOOTER); exit; } break; case 'delete': if (!record_exists('mirror_locations','os_id',$_POST['os_id'])&&Mirror::delete_os($_POST['os_id'])) { set_msg('OS deleted successfully.'); } else { set_error('OS cannot be deleted because it is being used by a file location.'); } break; } } else { set_error('You must select a os to continue.'); } } $title = 'Operating Systems'; $nav = INC.'/admin_nav.php'; require_once(HEADER); echo '