c1322ce22bfb59b5f98bf6b2aeb72c08fa4632ff
max
  Tue Sep 3 16:52:30 2024 -0700
no feedback from QA for a long time, so committing curl button now but putting under hg.conf control, refs #33415

diff --git src/hg/hgTables/mainPage.c src/hg/hgTables/mainPage.c
index bb3085b..3ce65d0 100644
--- src/hg/hgTables/mainPage.c
+++ src/hg/hgTables/mainPage.c
@@ -1022,30 +1022,33 @@
 	}
     else if (anySubtrackMerge(database, curTable) || anyIntersection())
 	{
 	hPrintf("<I>Note: The all fields and selected fields output formats "
 		"are not available when a%s has been specified.</I><BR>",
 		canSubtrackMerge ? " subtrack merge or intersection" : "n intersection");
 	}
     cgiMakeButton(hgtaDoTopSubmit, "Get output");
     hPrintf(" ");
     if (isPositional || isWig)
 	{
 	cgiMakeButton(hgtaDoSummaryStats, "Summary/statistics");
 	hPrintf(" ");
 	}
 
+    if (cfgOptionBooleanDefault("curl", 0))
+        cgiMakeButton(hgtaDoCurl, "get curl command");
+
 #ifdef SOMETIMES
     hPrintf(" ");
     cgiMakeButton(hgtaDoTest, "test");
 #endif /* SOMETIMES */
     }
 hPrintf("<P></P>");
 }
 
 static char *getGenomeSpaceText()
 /* fetch GenomeSpace text if enabled */
 {
 if (isGenomeSpaceEnabled())
     {
     return 
   "Send data to "