a9e106ea5ddcac6b0eb1a25ad7b50b4d98b2f84e max Fri Jun 14 07:02:18 2024 -0700 forgot to include file in previous commit, accidentally committed code that should have been in a separate commit, for genome-china, no redmine diff --git src/hg/inc/web.h src/hg/inc/web.h index 9fc2f27..35c4848 100644 --- src/hg/inc/web.h +++ src/hg/inc/web.h @@ -365,21 +365,24 @@ // Converts fileName to web Resource link and prints the html reference // This only prints and returns TRUE on first call for this resource. // Passing in NULL as the file pointer results in hPrintf call // The reference will be to a link with timestamp. #define webIncludeResourceFile(fileName) webIncludeResourcePrintToFile(NULL,fileName) void lazarusLives(unsigned long newExpireSeconds); /* Long running process requests more time */ void setContextSpecificHelp(char *link, char *label); // Override default behavior for the context specific help link char *menuBarAddUiVars(char *oldString, char *cgiPrefix, char *uiVars); /* Look for CGI program calls in oldString, and add session vars hgsid to them */ +void webIncludeLocalJs(); +/* some mirrors want special JS on their site */ + char *menuBar(struct cart *cart, char *db); // return HTML for the menu bar (read from a configuration file). void checkForGeoMirrorRedirect(struct cart *cart); // Implement Geo/IP based redirection #endif /* WEB_H */