aab4f66a2aca5293f3536cc1d1438b17d2b09dfd tdreszer Thu May 5 16:14:15 2011 -0700 A large set of tiny changes. These fix a lot of discrepencies with bgcolor and font color declarations which were tripping up docttype 4.01. diff --git src/hg/hgTracks/searchTracks.c src/hg/hgTracks/searchTracks.c index c4379c7..c27b298 100644 --- src/hg/hgTracks/searchTracks.c +++ src/hg/hgTracks/searchTracks.c @@ -476,31 +476,31 @@ // Set up json for js functionality struct dyString *jsonTdbVars = NULL; int trackCount=0; boolean containerTrackCount = 0; struct slRef *ptr; while((ptr = slPopHead(&tracks))) { if(++trackCount > MAX_FOUND_TRACKS) break; struct track *track = (struct track *) ptr->val; jsonTdbSettingsBuild(&jsonTdbVars, track, FALSE); // FALSE: No configuration from track search if (tdbIsFolder(track->tdb)) // supertrack - hPrintf("\n","#EED5B7");//"#DEB887");//"#E6B426");//#FCECC0//COLOR_LTGREY);//COLOR_LTGREEN);//COLOR_TRACKLIST_LEVEL1); + hPrintf("\n",COLOR_TRACKLIST_LEVEL4); else if (tdbIsContainer(track->tdb)) hPrintf("\n",COLOR_TRACKLIST_LEVEL3); else hPrintf("\n",COLOR_TRACKLIST_LEVEL2); hPrintf("\n"); // Determine visibility and checked state track->visibility = tdbVisLimitedByAncestors(cart, track->tdb, TRUE, TRUE); boolean checked = ( track->visibility != tvHide ); if(tdbIsContainerChild(track->tdb)) { checked = fourStateVisible(subtrackFourStateChecked(track->tdb,cart)); // Don't need all 4 states here. Visible=checked&&enabled checked = (checked && ( track->visibility != tvHide )); // Checked is only if subtrack level vis is also set! } @@ -823,22 +823,25 @@ uglyTime("Displayed found tracks"); } slPairFreeList(&mdbSelects); } hFreeConn(&conn); webNewSection("About Track Search"); if(metaDbExists) hPrintf("

Search for terms in track names, descriptions, groups, and ENCODE " "metadata. If multiple terms are entered, only tracks with all terms " "will be part of the results."); else hPrintf("

Search for terms in track descriptions, groups, and names. " "If multiple terms are entered, only tracks with all terms " "will be part of the results."); - hPrintf("
more help

\n"); - // NOTE: By declaring a div and passing it to retrieveHtml, the div could be populated. + +hPrintf("
more help

\n"); +// NOTE: Could use ajax and dynamically popup the html file in a box: +//hPrintf("
more help

\n"); +// NOTE: OR by declaring a div and passing it to retrieveHtml, the html file could be embedded in the div. // However, this is not desired here because of the titles. //hPrintf("
more help

\n"); //hPrintf("
\n"); webEndSectionTables(); }