ca9faceb4bea8c732c739d9ae3499cb6e14014e1
kate
  Thu May 9 11:10:06 2019 -0700
Limit top links for Downloads and Contacts to ENCODE production phase tracks (not required for ENCODE 3 tracks). refs #23243

diff --git src/hg/inc/hui.h src/hg/inc/hui.h
index f1c486d..9508dd3 100644
--- src/hg/inc/hui.h
+++ src/hg/inc/hui.h
@@ -1431,32 +1431,32 @@
 
 /********************/
 /* Basic info for controlled vocabulary terms (e.g. to display for composites, or cluster tracks */
 
 char *vocabLink(struct hash *vocabFieldHash, char *term, char *title);
 /* Make an anchor with mouseover containing description and link if present */
 
 struct hash *vocabBasicFromSetting(struct trackDb *parentTdb, struct cart *cart);
 /* Get description and URL for all vocabTables. Returns a hash of hashes */
 
 boolean vocabSettingIsEncode(char *setting);
 /* Distinguish ENCODE controlled vocab settings (first arg is cv.ra filename) from non-ENCODE 
     (table-based vocabs)
 */
 
-boolean isEncode2(char *database);
-// Return true for ENCODE2 assemblies
+boolean isEncode2(char *database, char *track);
+/* Return true for tracks created by UCSC DCC during ENCODE production phase */
 
 char *replaceInUrl(char *url, char *idInUrl, struct cart *cart, char *db, char *seqName, 
                         int winStart, int winEnd, char *track, boolean encode, struct slPair *fields) ;
 /* replace $$ in url with idInUrl. Supports many other wildchards, and custom fields $<field> */
 
 struct slPair *buildFieldList(struct trackDb *tdb, char *trackDbVar, struct asObject *as);
 /* Build up a hash of a list of fields in an AS file. */
 
 char *checkDataVersion(char *database, struct trackDb *tdb);
 /* see if trackDb has a dataVersion setting and check that file for version */
 
 void printDataVersion(char *database, struct trackDb *tdb);
 /* If this annotation has a dataVersion setting, print it.
  * check hgFixed.trackVersion, meta data and trackDb 'dataVersion'. */