Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-stable
Commits
8e0fccf9
Commit
8e0fccf9
authored
Mar 08, 2005
by
Leigh B. Stoller
Browse files
Fix a Mike nit.
parent
61db3e39
Changes
1
Hide whitespace changes
Inline
Side-by-side
www/editimageid.php3
View file @
8e0fccf9
<?php
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-200
4
University of Utah and the Flux Group.
# Copyright (c) 2000-200
5
University of Utah and the Flux Group.
# All rights reserved.
#
include
(
"defs.php3"
);
...
...
@@ -260,7 +260,7 @@ function SPITFORM($imageid, $formfields, $errors)
size=20 maxlength=256>"
;
}
else
{
echo
"
$loadaddr
"
;
echo
$
formfields
[
load
_
addr
ess
]
;
}
echo
" </td>
</tr>
\n
"
;
...
...
@@ -276,7 +276,7 @@ function SPITFORM($imageid, $formfields, $errors)
size=6 maxlength=10>"
;
}
else
{
echo
"
$frisbee_pid
"
;
echo
$
formfields
[
frisbee_pid
]
;
}
echo
" </td>
</tr>
\n
"
;
...
...
@@ -391,7 +391,7 @@ if ($isadmin) {
if
(
isset
(
$formfields
[
load_address
])
&&
$formfields
[
load_address
]
!=
""
)
{
$foo
=
addslashes
(
$formfields
[
load_address
]);
if
(
strcmp
(
$loadaddr
,
$foo
))
{
if
(
strcmp
(
$
formfields
[
load
_
addr
ess
]
,
$foo
))
{
$errors
[
"Load Address"
]
=
"Contains illegal characters!"
;
}
$updates
[]
=
"load_address='
$foo
'"
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment