[ipv6] Make IPv6 routing work with addresses not on local network
[gpxe.git] / contrib / rom-o-matic / customize-flags.php
blob23090439331a020cd35ce2d938431699438259f5
1 <?php // -*- Mode: PHP; -*-
3 /**
4 * Copyright (C) 2009 Marty Connor <mdc@etherboot.org>.
5 * Copyright (C) 2009 Entity Cyber, Inc.
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License as
9 * published by the Free Software Foundation; either version 2 of the
10 * License, or any later version.
12 * This program is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22 // Get utility functions and set globals
23 require_once "utils.php";
25 // Prepare settable compile options for presentation to user
26 $flags = default_flags ();
28 $build = "<input type=\"submit\" name=\"A\" value=\"Get Image\">";
29 $restart = "<input type=\"submit\" name=\"A\" value=\"Start Over\">";
31 // Begin html output
32 include_once $top_inc;
36 <form action="build.php" method=POST>
37 <input type="hidden" name="version" value = "<? echo $version ?>">
38 <input type="hidden" name="use_flags" value="1">
39 <h3>
40 Make changes below and press <? echo $build ?> to create an image, <br>
41 Or press <? echo $restart ?> to return to the main page.
42 </h3>
43 <hr>
44 <ul>
45 <? require ( "directions.php" ); ?>
46 </ul>
47 <hr>
48 <? echo_flags( $flags ); ?>
49 <hr>
50 <h3>Embedded Script:</h3>
51 <? echo textarea ( "embedded_script", "", "10", "50" ); ?>
52 <br><br>
53 <hr>
54 <center><table width="35%"><tr>
55 <td align="left"> <? echo $build; ?> </td>
56 <td align="right"> <? echo $restart ?></td>
57 </tr></table></center>
58 </form>
60 <? include_once $bottom_inc; ?>
62 // For emacs:
64 // Local variables:
65 // c-basic-offset: 4
66 // c-indent-level: 4
67 // tab-width: 4
68 // End: