index - Generate an index page with choices for source and destination
devices.
Reads the configuration from CGIBurn::Conf, and generates a Web page to let the user choose source and destination
devices, and either start the burn immediately, or see more options.
The results of this form are submitted to the CGI script
burn.
Uses index.tpl as index.
- All templates
-
All templates have access to all
:const variables from
CGIBurn::Conf.
- index/pagestart
-
This block is displayed once at the beginning of the page.
- index/topstart
-
Start the top half of the page.
- index/srcstart
-
This block is displayed once for the source device, before a series of
index/srceach blocks, then a index/srcend block.
There are no special variables available in this block.
- index/srceach
-
This block is displayed once for each potential source device. It has the
following special variables available:
- DEV_NAME
-
The short name of the device, for use in CGI scripts.
- DEV_DESCRIPTION
-
A description of the device for presentation to the user.
- DEFAULT
-
Set to the string ``default'' if this is the default device, otherwise it
is an empty string.
- index/srcend
-
Displayed once for the source device choice, after
index/srcstart
and a series of index/srceach blocks.
- index/dststart
-
- index/dsteach
-
- index/dstend
-
These three blocks are identical to
index/src*, but deal with the destination devices.
- index/buttons
-
Buttons to let the user choose whether to start a burn or display
additional options. No special variables.
- index/topend
-
Displayed once, to finish up whatever
index/topstart started. No special variables.
- index/toolbar
-
Displayed once to display a toolbar at the bottom of the page. No special
variables.
- index/pageend
-
Displayed once very last. No special variables.
README,
CONFIG,
TEMPLATES.
burn
CGIBurn::Conf,
CGIBurn::CGITools.