Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Elijah Grubb
emulab-devel
Commits
d897bf20
Commit
d897bf20
authored
Sep 14, 2005
by
Leigh B. Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make the Collaboration stuff live for all users.
parent
3848596d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
46 deletions
+1
-46
www/menu.php3
www/menu.php3
+1
-46
No files found.
www/menu.php3
View file @
d897bf20
...
...
@@ -469,43 +469,6 @@ function WRITESIDEBAR() {
$TBBASE
,
"showuser.php3?target_uid=
$login_uid
"
);
# And now the Collaboration menu.
if
(
!
STUDLY
())
{
if
(
$WIKISUPPORT
&&
$CHECKLOGIN_WIKINAME
!=
""
)
{
$wikiname
=
$CHECKLOGIN_WIKINAME
;
WRITESIDEBARBUTTON
(
"My Wikis"
,
$TBBASE
,
"gotowiki.php3?redurl=Main/
$wikiname
"
);
}
if
(
$BUGDBSUPPORT
)
{
if
(
!
isset
(
$pid
)
||
$pid
==
""
)
{
$query_result
=
DBQueryFatal
(
"select pid from "
.
" group_membership where "
.
"uid='
$login_uid
' and pid=gid and "
.
"trust!='none' "
.
"order by date_approved asc limit 1"
);
if
(
mysql_num_rows
(
$query_result
))
{
$row
=
mysql_fetch_array
(
$query_result
);
$firstpid
=
$row
[
pid
];
}
}
}
if
(
$BUGDBSUPPORT
)
{
$bugdburl
=
"gotobugdb.php3"
;
if
(
isset
(
$pid
)
&&
!
empty
(
$pid
))
{
$bugdburl
.
=
"?project_title=
$pid
"
;
}
elseif
(
isset
(
$firstpid
))
{
$bugdburl
.
=
"?project_title=
$firstpid
"
;
}
WRITESIDEBARBUTTON
(
"My Bug Databases"
,
$TBBASE
,
$bugdburl
);
}
WRITESIDEBARDIVIDER
();
}
#
# Since a user can be a member of more than one project,
# display this option, and let the form decide if the
...
...
@@ -531,13 +494,6 @@ function WRITESIDEBAR() {
"ImageIDs</a> or <a "
.
"href=
\"
$TBBASE
/showosid_list.php3
\"
>OSIDs</a>"
);
if
(
!
STUDLY
()
&&
(
$login_status
&
CHECKLOGIN_CVSWEB
))
{
WRITESIDEBARBUTTON
(
"CVS Repository"
,
$TBBASE
,
"cvsweb/cvsweb.php3"
);
}
if
(
$login_status
&
CHECKLOGIN_TRUSTED
)
{
WRITESIDEBARDIVIDER
();
# Only project/group leaders can do these options
...
...
@@ -597,8 +553,7 @@ function WRITESIDEBAR() {
}
# And now the Collaboration menu.
if
((
$login_status
&
(
CHECKLOGIN_LOGGEDIN
|
CHECKLOGIN_MAYBEVALID
))
&&
STUDLY
())
{
if
((
$login_status
&
(
CHECKLOGIN_LOGGEDIN
|
CHECKLOGIN_MAYBEVALID
)))
{
echo
"<table class=menu width=210 cellpadding=0 cellspacing=0>"
.
"<tr><td class=menuheader>"
.
"<b>Collaboration</b>"
.
...
...
Write
Preview
Markdown
is supported
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