4898794edd81be5285ea6e544acbedeaeb31bf78 max Tue Nov 23 08:10:57 2021 -0800 Fixing pointers to README file for license in all source code files. refs #27614 diff --git src/hg/oneShot/hgFreen/hgFreen.c src/hg/oneShot/hgFreen/hgFreen.c index 9a2572a..5d45627 100644 --- src/hg/oneShot/hgFreen/hgFreen.c +++ src/hg/oneShot/hgFreen/hgFreen.c @@ -1,44 +1,44 @@ /* hgFreen - Test out some CGI thing.. */ /* Copyright (C) 2011 The Regents of the University of California - * See README in this or parent directory for licensing information. */ + * See kent/LICENSE or http://genome.ucsc.edu/license/ for licensing information. */ #include "common.h" #include "linefile.h" #include "hash.h" #include "obscure.h" #include "cheapcgi.h" #include "htmshell.h" #include "web.h" #include "cart.h" static void choiceMenu() /* Put up choice menu. */ { static char *choices[] = {"one", "two", "three"}; char *var = "num"; char *val = cgiUsualString(var, "two"); char *script = "onchange=\"" " document.mainForm.submit();\""; cgiMakeDropListFull(var, choices, choices, ArraySize(choices), val, script); } void hgFreen() /* hgFreen - Test out some CGI thing.. */ { long uses = incCounterFile("../trash/hgFreen.count"); printf("Hello world #%ld\n", uses); printf("<FORM ACTION=\"../cgi-bin/hgFreen\" METHOD=\"GET\" NAME=\"mainForm\">\n"); choiceMenu(); printf(" "); cgiMakeButton("Submit", "submit"); printf("\n</FORM>"); } int main(int argc, char *argv[]) /* Process command line. */ { cgiSpoof(&argc, argv); htmShell("hgFreen testing 123", hgFreen, NULL); return 0; }