Commit 9da37ed0 authored by Leigh Stoller's avatar Leigh Stoller

More little nits.

parent 6d38d881
......@@ -48,8 +48,9 @@ if (isset($os_version) &&
#
# Check osid for sillyness.
#
if (! ereg("^[-_a-zA-Z0-9]+$", $osid)) {
USERERROR("The OSID must be alphanumeric characters only!", 1);
if (! ereg("^[\.-_a-zA-Z0-9]+$", $osid)) {
USERERROR("The OSID must consist of alphanumeric characters and ".
"dash, dot, or underscore!", 1);
}
if (isset($os_path)) {
......
......@@ -53,7 +53,7 @@ if (strcmp($status, "unverified") == 0) {
echo "<h3>Because your project leader has already approved ".
"your membership in the project, you are now an active user ".
"of emulab. Reload the frame at your left, and any options ".
"of emulab. Click on the 'Home' link at your left, and any options ".
"that are now available to you will appear.</h3>\n";
}
elseif (strcmp($status, "newuser") == 0) {
......
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