From d897bf20112dfae894ae22f6ee21244e19da4290 Mon Sep 17 00:00:00 2001 From: "Leigh B. Stoller" Date: Wed, 14 Sep 2005 16:28:38 +0000 Subject: [PATCH] Make the Collaboration stuff live for all users. --- www/menu.php3 | 47 +---------------------------------------------- 1 file changed, 1 insertion(+), 46 deletions(-) diff --git a/www/menu.php3 b/www/menu.php3 index 69b8b2b8c..390887105 100644 --- a/www/menu.php3 +++ b/www/menu.php3 @@ -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 or OSIDs"); - 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 "". "