32bd063f86dbc1b1c26ee3449d2644885c83ad20 max Tue Dec 3 04:21:32 2024 -0800 adding the CGI version to the configure page, refs #34852 diff --git src/hg/hgTracks/config.c src/hg/hgTracks/config.c index c214368..8246dc4 100644 --- src/hg/hgTracks/config.c +++ src/hg/hgTracks/config.c @@ -8,30 +8,31 @@ #include "cheapcgi.h" #include "htmshell.h" #include "hdb.h" #include "hCommon.h" #include "cart.h" #include "web.h" #include "customTrack.h" #include "hgTracks.h" #include "hgConfig.h" #include "jsHelper.h" #include "imageV2.h" #include "search.h" #include "hubConnect.h" #include "fileUi.h" #include "trackHub.h" +#include "versionInfo.h" static void themeDropDown(struct cart* cart) /* Create drop down for UI themes. * specfied in hg.conf like this * browser.theme.modern=background.png,HGStyle * */ { struct slName* themes = cfgNamesWithPrefix("browser.theme."); if (themes==NULL) return; slNameSort(&themes); hPrintf("website style:"); hPrintf(""); @@ -564,31 +565,31 @@ void configPageSetTrackVis(int vis) /* Do config page after setting track visibility. If vis is -2, then visibility * is unchanged. If -1 then set visibility to default, otherwise it should * be tvHide, tvDense, etc. */ { char *groupTarget; struct track *trackList; struct track *ideoTrack; struct group *groupList; configInitTrackList(vis, &groupTarget, &trackList, &ideoTrack, &groupList); struct dyString *title = dyStringNew(0); -dyStringPrintf(title, "Configure Image"); +dyStringPrintf(title, "Configure Image - Genome Browser V%s", CGI_VERSION); hPrintf("
\n", hgTracksName(), cartUsualString(cart, "formMethod", "POST")); webStartWrapperDetailedNoArgs(cart, database, "", title->string, FALSE, FALSE, FALSE, FALSE); cartSaveSession(cart); hPrintf(""); /* do not want all the submit buttons named the same thing, this one is: */ cgiMakeButton("topSubmit", "Submit"); // 3 column table hPrintf("\n"); hPrintf("
Image width:"); hPrintf(""); hIntVar("pix", tl.picWidth, 4);