b12b97dacb96fe2ca6e0c5e1fc275ae70b3e3614 kent Fri Feb 13 12:19:12 2015 -0800 Refactored part of menuBar function into menuBarAddUiVars for reuse with another menu bar. diff --git src/hg/inc/web.h src/hg/inc/web.h index 8828090..c0f52f0 100644 --- src/hg/inc/web.h +++ src/hg/inc/web.h @@ -289,19 +289,22 @@ // 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); // 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 */ + char *menuBar(struct cart *cart, char *db); // return HTML for the menu bar (read from a configuration file). #endif /* WEB_H */