Commit 765b6028 authored by Chad Barb's avatar Chad Barb

Changed language:
 + 'load' becomes 'dump'
 + 'create from <node>' becomes 'obtain from <node>'
parent a7c5a696
......@@ -10,7 +10,7 @@ include("showstuff.php3");
# Standard Testbed Header
PAGEHEADER("Load Image into Existing Image Descriptor");
PAGEHEADER("Dump Node Disk Contents into Existing Image Descriptor");
# Only known and logged in users.
......@@ -61,7 +61,7 @@ if (! isset($node) || isset($cancelled)) {
echo "<br />";
echo "<form action='loadimage.php3' method='post'>\n".
"<font size=+1>Node to load image from for '$imageid':</font> ".
"<font size=+1>Node to dump into image '$imageid':</font> ".
"<input type='text' name='node' value='$node'></input>\n".
"<input type='hidden' name='imageid' value='$imageid'></input>\n".
"<input type='submit' name='submit' value='Go!'></input>\n".
......@@ -76,7 +76,7 @@ if (! isset($node) || isset($cancelled)) {
if (! TBNodeAccessCheck($uid, $node, $TB_NODEACCESS_LOADIMAGE)) {
USERERROR("You do not have permission to ".
"load an image from node '$node'.", 1);
"dump an image from node '$node'.", 1);
# Should check for file file_exists($image_path),
......@@ -86,8 +86,8 @@ if (! isset($confirmed) ) {
echo "<center><form action='loadimage.php3' method='post'>\n".
# "<h2>Image already exists at '<code>$image_path</code>'.".
"<h2><b>Warning!</b><br />".
"Loading an image from node '$node' to image '$imageid' ".
"will overwrite any previously loaded image. ".
"Dumping disk contents from node '$node' into image '$imageid' ".
"will overwrite any previously dumped image. ".
"Are you sure you want to continue?</h2>".
"<input type='hidden' name='node' value='$node'></input>".
"<input type='hidden' name='imageid' value='$imageid'></input>".
......@@ -327,10 +327,10 @@ function SPITFORM($formfields, $errors)
# Node to Create image from.
# Node to Obtain image from.
echo "<tr>
<td>Node to Create Image from[<b>2</b>]:</td>
<td>Node to Obtain Image from[<b>2</b>]:</td>
<td class=left>
<input type=text
......@@ -506,7 +506,8 @@ function SPITFORM($formfields, $errors)
<li> If you already have a node customized, enter that node
name (pcXXX) and the image will be auto created for you.
name (pcXXX) and its disk contents
will be dumped automatically into the specified Image File.
Notification of completion will be sent to you via email.
<li> Guidelines for setting OS features for your OS:
......@@ -866,11 +867,11 @@ $confirmationWarning = "";
if (! isset($node)) {
$confirmationWarning .=
"<h2>You have not defined a node from which to load the image!
"<h2>You have not defined a node from which to obtain the image!
If you do not specify such a node now,
you will later have to go to the Image Descriptor information
page for the new image and then click 'load image from node' from
the menu.
page for the new image and then choose
'Dump Node Disk Contents into Image' from the menu.
Continue only if this is what you want.</h2>";
......@@ -43,7 +43,7 @@ SUBMENUSTART("More Options");
$fooid = rawurlencode($imageid);
WRITESUBMENUBUTTON("Edit this Image Descriptor",
WRITESUBMENUBUTTON("Load Image from Node",
WRITESUBMENUBUTTON("Dump Node Disk Contents into Image",
WRITESUBMENUBUTTON("Delete this Image Descriptor",
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment