fd4ad89497897588748069e8d181d3cb78ab7496 kent Fri Feb 13 13:20:28 2015 -0800 Refactored a few routines out of the webStartInternal demon for reuse in cdwWebBrowse. diff --git src/hg/inc/web.h src/hg/inc/web.h index c0f52f0..c9d7b3d 100644 --- src/hg/inc/web.h +++ src/hg/inc/web.h @@ -25,30 +25,40 @@ boolean withLogo); /* output a CGI and HTML header with the given title in printf format */ void webStartWrapperDetailedArgs(struct cart *theCart, char *db, char *headerText, char *format, va_list args, boolean withHttpHeader, boolean withLogo, boolean skipSectionHeader, boolean withHtmlHeader); /* output a CGI and HTML header with the given title in printf format with * quite a few options. See also next: */ void webStartWrapperDetailedNoArgs(struct cart *theCart, char *db, char *headerText, char *format, boolean withHttpHeader, boolean withLogo, boolean skipSectionHeader, boolean withHtmlHeader); /* output a CGI and HTML header with the given title in printf format with * quite a few options. Same as above without va_list args */ +void webPragmasEtc(); +/* Print out stuff that tells people not to cache us, and that we use the + * usual character set and scripting langauge. (Normally done by webStartWrap) */ + +void webStartSectionTables(); +/* Put up start of nepharious table layout stuff. (Normally done by webStartWrap). */ + +void webFirstSection(char *title); +/* Put up the first section (normally done by webStartWrap). */ + void webNewSection(char* format, ...); /* create a new section on the web page */ void webNewEmptySection(); /* create a new section on the web page to maintain table layout */ void webNewSectionHeaderStart(boolean hasTitle); /* Start a new collapsible section on the web page, with +- control. Allows use of jsBeginCollapsibleSection() */ void webNewSectionHeaderEnd(); /* Properly close header of collapsible section on web page */ void webEnd(); /* output the footer of the HTML page */