ba4333b84dc63534d59b306fea2031d7e8d08fbf angie Thu Jan 14 12:24:50 2016 -0800 Added the capability to substitute $hgsid from the cart in a help file included by webIncludeHelpFileSubst, for internal links. Improved the description of hgVai Transcript Status options. refs #16502 diff --git src/hg/inc/web.h src/hg/inc/web.h index 79988de..4debcf4 100644 --- src/hg/inc/web.h +++ src/hg/inc/web.h @@ -236,30 +236,35 @@ void getDbAndGenome(struct cart *cart, char **retDb, char **retGenome, struct hash *oldVars); /* Like getDbGenomeClade above, but just get db and genome. */ void webIncludeFile(char *file); /* Include an HTML file in a CGI. * The file path may begin with hDocumentRoot(); if it doesn't, it is * assumed to be relative and hDocumentRoot() will be prepended. */ void webIncludeHelpFile(char *fileRoot, boolean addHorizLine); /* Given a help file root name (e.g. "hgPcrResult" or "cutters"), * print out the contents of the file. If addHorizLine, print out an *
first. */ +void webIncludeHelpFileSubst(char *fileRoot, struct cart *cart, boolean addHorizLine); +/* Given a help file root name (e.g. "hgPcrResult" or "cutters"), + * print out the contents of the file. If cart is non-NULL, invoke hVarSubstWithCart + * before printing. If addHorizLine, print out an
first. */ + /*** Inside the "web" pages doing a table that looks good is *** hard. These routines help. ***/ void webPrintLinkTableStart(); /* Print link table start in our colors. */ void webPrintLinkTableEnd(); /* Print link table end in our colors. */ void webPrintLinkCellStart(); /* Print link cell start in our colors. */ void webPrintLinkOutCellStart(); /* Print link cell that goes out of our site. End with * webPrintLinkTableEnd. */