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
e4935540
Commit
e4935540
authored
Oct 30, 2000
by
Leigh B. Stoller
Browse files
Fix up so obsolete grp stuff. Affil and Addr are not user specific, not group.
parent
600d2083
Changes
1
Hide whitespace changes
Inline
Side-by-side
www/grpadded.php3
View file @
e4935540
...
...
@@ -194,9 +194,9 @@ $unix_gid++;
$newgroup_command
=
"INSERT INTO groups "
.
"(gid,grp_created,grp_expires,grp_name,"
.
"grp_URL,grp_
affil,grp_addr,grp_
head_uid,cntrl_node,unix_gid)"
.
"grp_URL,grp_head_uid,cntrl_node,unix_gid)"
.
"VALUES ('
$gid
',now(), '
$grp_expires
','
$grp_name
','
$grp_URL
',"
.
"'
$grp_
affil
','
$grp_addr
','
$grp_
head_uid
', '','
$unix_gid
')"
;
"'
$grp_head_uid
', '','
$unix_gid
')"
;
$newgroup_result
=
mysql_db_query
(
$TBDBNAME
,
$newgroup_command
);
if
(
!
$newgroup_result
)
{
$err
=
mysql_error
();
...
...
@@ -216,7 +216,8 @@ mail($TBMAIL_APPROVAL,
"TESTBED: New Group"
,
"'
$usr_name
' wants to start group "
.
"'
$gid
'.
\n
Contact Info:
\n
Name:
\t\t
$usr_name
(
$grp_head_uid
)
\n
"
.
"Email:
\t\t
$email
\n
Group:
\t\t
$grp_name
\n
URL:
\t\t
$grp_URL
\n
"
.
"Affiliation:
\t
$grp_affil
\n
Address:
\t
$grp_addr
\n
"
.
"Title:
\t
$usr_title
\n
"
.
"Affiliation:
\t
$usr_affil
\n
Address:
\t
$usr_addr
\n
"
.
"Phone:
\t\t
$usr_phones
\n\n
"
.
"Reasons:
\n
$why
\n\n
Please review the application and when you have
\n
"
.
"made a decision, go to
$TBWWW
and
\n
"
.
...
...
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