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-devel
Commits
4e5dc07e
Commit
4e5dc07e
authored
Aug 26, 2002
by
Leigh B. Stoller
Browse files
Comment out the plab pc stuff for now, although its probably
permanent.
parent
e96b8678
Changes
1
Hide whitespace changes
Inline
Side-by-side
www/newproject.php3
View file @
4e5dc07e
...
...
@@ -370,6 +370,7 @@ function SPITFORM($formfields, $returning, $errors)
</td>
</tr>
\n
"
;
if
(
0
)
{
echo
"<tr>
<td colspan=2>*Estimated #of
<a href=
\"
$TBDOCBASE
/docwrapper.php3?docname=widearea.html
\"
>
...
...
@@ -381,11 +382,12 @@ function SPITFORM($formfields, $returning, $errors)
size=4>
</td>
</tr>
\n
"
;
}
echo
"<tr>
<td colspan=2>*Estimated #of
<a href=
\"
$TBDOCBASE
/docwrapper.php3?docname=widearea.html
\"
>
RON
PCs</a>:</td>
MIT Testbed
PCs</a>:</td>
<td class=left>
<input type=text
name=
\"
formfields[proj_ronpcs]
\"
...
...
@@ -627,7 +629,9 @@ if (!isset($formfields[proj_pcs]) ||
}
elseif
(
!
ereg
(
"^[0-9]+$"
,
$formfields
[
proj_pcs
]))
{
$errors
[
"#of PCs"
]
=
"Must be numeric"
;
}
if
(
0
)
{
if
(
!
isset
(
$formfields
[
proj_plabpcs
])
||
strcmp
(
$formfields
[
proj_plabpcs
],
""
)
==
0
)
{
$errors
[
"#of Planetlab PCs"
]
=
"Missing Field"
;
...
...
@@ -635,6 +639,7 @@ if (!isset($formfields[proj_plabpcs]) ||
elseif
(
!
ereg
(
"^[0-9]+$"
,
$formfields
[
proj_plabpcs
]))
{
$errors
[
"#of Planetlab PCs"
]
=
"Must be numeric"
;
}
}
if
(
!
isset
(
$formfields
[
proj_ronpcs
])
||
strcmp
(
$formfields
[
proj_ronpcs
],
""
)
==
0
)
{
$errors
[
"#of RON PCs"
]
=
"Missing Field"
;
...
...
@@ -765,7 +770,8 @@ $proj_funders = addslashes($formfields[proj_funders]);
$proj_whynotpublic
=
addslashes
(
$formfields
[
proj_whynotpublic
]);
$proj_members
=
$formfields
[
proj_members
];
$proj_pcs
=
$formfields
[
proj_pcs
];
$proj_plabpcs
=
$formfields
[
proj_plabpcs
];
#$proj_plabpcs = $formfields[proj_plabpcs];
$proj_plabpcs
=
0
;
$proj_ronpcs
=
$formfields
[
proj_ronpcs
];
$proj_why
=
addslashes
(
$formfields
[
proj_why
]);
$proj_expires
=
date
(
"Y:m:d"
,
time
()
+
(
86400
*
120
));
...
...
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