07e88d43994dd561d2834443864d09b6098d13e6 jnavarr5 Fri May 9 16:39:52 2025 -0700 Adding an HTML ID for context-specific help links, refs #35724 diff --git src/hg/inc/web.h src/hg/inc/web.h index 35c48482863..c42960036f8 100644 --- src/hg/inc/web.h +++ src/hg/inc/web.h @@ -359,30 +359,30 @@ // If this is the first call, will Return full path of timestamped link to the // requested resource file (js, or css). Free after use. // else returns NULL. Useful to ensure multiple references to the same resource file are not made // NOTE: png, jpg and gif should also be supported but are untested. boolean webIncludeResourcePrintToFile(FILE * toFile, char *fileName); // 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); +void setContextSpecificHelp(char *link, char *label, char *id); // 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 */