1 <?php
// -*- Mode: PHP; -*-
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\">";
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">
40 Make changes below
and press
<?
echo $build ?
> to create an image
, <br
>
41 Or press
<?
echo $restart ?
> to
return to the main page
.
45 <?
require ( "directions.php" ); ?
>
48 <?
echo_flags( $flags ); ?
>
50 <h3
>Embedded Script
:</h3
>
51 <?
echo textarea ( "embedded_script", "", "10", "50" ); ?
>
54 <center
><table width
="35%"><tr
>
55 <td align
="left"> <?
echo $build; ?
> </td
>
56 <td align
="right"> <?
echo $restart ?
></td
>
57 </tr
></table
></center
>
60 <?
include_once $bottom_inc; ?
>