08c7760a54cc8237ff03295573271d246ca603c1 hiram Mon Jun 11 10:37:18 2012 -0700 simplify the title line for hgGateway diff --git src/hg/lib/hgFind.c src/hg/lib/hgFind.c index 9b2f0f6..6bbaa43 100644 --- src/hg/lib/hgFind.c +++ src/hg/lib/hgFind.c @@ -3143,43 +3143,37 @@ slReverse(&hgp->tableList); if (multiTerm) collapseSamePos(hgp); fixSinglePos(hgp); return hgp; } void hgPositionsHelpHtml(char *organism, char *database) /* Display contents of dbDb.htmlPath for database, or print an HTML comment * explaining what's missing. */ { char *htmlPath = hHtmlPath(database); char *htmlString = NULL; size_t htmlStrLength = 0; -char *freeze = hFreezeFromDb(database); if (strstrNoCase(organism, "zoo")) webNewSection("About the NISC Comparative Sequencing Program Browser"); -else if (stringIn(database, freeze)) - webNewSection("About the %s %s assembly" - " (sequences)", - organism, freeze, - hgTracksName(), cartSessionVarName(), cartSessionId(cart)); else - webNewSection("About the %s %s (%s) assembly" + webNewSection("%s Genome Browser -- %s assembly" " (sequences)", - organism, freeze, database, + organism, database, hgTracksName(), cartSessionVarName(), cartSessionId(cart)); if (htmlPath != NULL && fileExists(htmlPath)) readInGulp(htmlPath, &htmlString, &htmlStrLength); if (htmlStrLength > 0) { puts(htmlString); freeMem(htmlString); freeMem(htmlPath); } else { printf("

%s

\n", organism); if (htmlPath == NULL || htmlPath[0] == 0)