482e17639372073c44c32d26707a69b8132b3ba4 braney Fri Aug 5 18:05:55 2011 -0700 changes related to #4842 diff --git src/hg/lib/web.c src/hg/lib/web.c index 0b33436..301c1a9 100644 --- src/hg/lib/web.c +++ src/hg/lib/web.c @@ -335,30 +335,31 @@ puts("<TABLE class='topBlueBar' BORDER='0' CELLSPACING='0' CELLPADDING='2'><TR>"); if (isEncode) printf("<TD><A HREF='../encode/' class='topbar'>Home</A></TD>\n"); else { printf("<TD><A HREF='../index.html%s' class='topbar'>Home</A></TD>\n", uiState); if (isGsid) printf("<TD><A HREF='../cgi-bin/gsidSubj%s' class='topbar'>Subject View</A></TD>\n",uiState); else printf("<TD><A HREF='../cgi-bin/hgGateway%s' class='topbar'>Genomes</A></TD>\n",uiState); if (endsWith(scriptName, "hgTracks") || endsWith(scriptName, "hgGene") || endsWith(scriptName, "hgTables") || endsWith(scriptName, "hgTrackUi") || endsWith(scriptName, "hgSession") || endsWith(scriptName, "hgCustom") || + endsWith(scriptName, "hgHubConnect") || endsWith(scriptName, "hgc") || endsWith(scriptName, "hgPal")) printf("<TD><A HREF='../cgi-bin/hgTracks%s&hgTracksConfigPage=notSet&%s=0' class='topbar'>Genome Browser</A></TD>\n",uiState,TRACK_SEARCH); if (haveBlat && !endsWith(scriptName, "hgBlat")) printf("<TD><A HREF='../cgi-bin/hgBlat?command=start%s%s' class='topbar'>Blat</A></TD>\n",theCart ? "&" : "", uiState+1 ); } if (!isGsid && !hIsCgbServer()) // disable TB for both GSID and CGB servers { char *table = (theCart == NULL ? NULL : (endsWith(scriptName, "hgGene") ? cartOptionalString(theCart, "hgg_type") : cartOptionalString(theCart, "g"))); if (table && theCart && (endsWith(scriptName, "hgc") || endsWith(scriptName, "hgTrackUi") || @@ -447,30 +448,31 @@ if (isGsid) { printf(" <A HREF=\"../cgi-bin/gsidSubj%s\" class=\"topbar\">\n", uiState); puts(" Subject View</A> "); } if (!isGsid) { printf(" <A HREF=\"../cgi-bin/hgGateway%s\" class=\"topbar\">\n", uiState); puts(" Genomes</A> "); } if (endsWith(scriptName, "hgTracks") || endsWith(scriptName, "hgGene") || endsWith(scriptName, "hgTables") || endsWith(scriptName, "hgTrackUi") || endsWith(scriptName, "hgSession") || endsWith(scriptName, "hgCustom") || + endsWith(scriptName, "hgHubConnect") || endsWith(scriptName, "hgc") || endsWith(scriptName, "hgPal")) { printf(" <A HREF='../cgi-bin/hgTracks%s&hgTracksConfigPage=notSet&%s=0' class='topbar'>\n", uiState,TRACK_SEARCH); puts(" Genome Browser</A> "); } if (haveBlat && !endsWith(scriptName, "hgBlat")) { printf(" <A HREF=\"../cgi-bin/hgBlat?command=start%s%s\" class=\"topbar\">", theCart ? "&" : "", uiState+1 ); puts(" Blat</A> "); } } { char *table = (theCart == NULL ? NULL :