e6a46ac87f958486b1d1bcef8e80dcd872ad81fe
hiram
  Sat Jun 10 19:01:23 2023 -0700
adding silent google reCAPTCHA v3 function to hgUserSuggestion refs #31325

diff --git src/hg/lib/web.c src/hg/lib/web.c
index 977ffbd..6b0c372 100644
--- src/hg/lib/web.c
+++ src/hg/lib/web.c
@@ -444,30 +444,47 @@
 void webEnd()
 /* output the footer of the HTML page */
 {
 if(!webInTextMode)
     {
     webEndSectionTables();
 #ifndef GBROWSE
     googleAnalytics();
 #endif /* GBROWSE */
     jsInlineFinish();
     puts( "</BODY></HTML>");
     webPopErrHandlers();
     }
 }
 
+void webEndExtra(char *footer)
+/* output the footer of the HTML page with extra footer as desired */
+{
+if(!webInTextMode)
+    {
+    webEndSectionTables();
+#ifndef GBROWSE
+    googleAnalytics();
+#endif /* GBROWSE */
+    jsInlineFinish();
+    if (footer)
+	puts(footer);
+    puts( "</BODY></HTML>");
+    webPopErrHandlers();
+    }
+}
+
 static void webStartGbOptionalBanner(struct cart *cart, char *db, char *title, boolean doBanner, 
                                 boolean hgGateway)
 /* Start HTML with new header and footer design by JWest.  
    Optionally display banner above menubar.  Use flag with hgGateway, till that is migrated.
  */
 {
 puts("Content-type:text/html\n");
 
 char *csp = getCspMetaHeader();
 if (hgGateway)
     {
     printf(
         #include "jWestHeader.h"
                , csp, title
                , webTimeStampedLinkToResource("HGStyle.css", TRUE)