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/gsid/gsidPbGateway/gsidPbGateway.c src/hg/gsid/gsidPbGateway/gsidPbGateway.c
index 21c5400..6f0f2c7 100644
--- src/hg/gsid/gsidPbGateway/gsidPbGateway.c
+++ src/hg/gsid/gsidPbGateway/gsidPbGateway.c
@@ -1,105 +1,105 @@
 /* gsidPbGateway - GSID Protein View Gateway. */
 
 /* 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 "cheapcgi.h"
 #include "htmshell.h"
 #include "obscure.h"
 #include "web.h"
 #include "cart.h"
 #include "hdb.h"
 #include "dbDb.h"
 #include "hgFind.h"
 #include "hCommon.h"
 #include "hui.h"
 
 struct cart *cart = NULL;
 struct hash *oldVars = NULL;
 static char * const orgCgiName = "org";
 static char * const dbCgiName = "db";
 char *organism = NULL;
 char *db = NULL;
 
 void gsidPbGateway()
 /* gsidPbGateway - GSID Protein View. */
 {
 char *defaultPosition = hDefaultPos(db);
 char *position = cloneString(cartUsualString(cart, "position", defaultPosition));
 
 if (sameString(position, "proteome") || sameString(position, "genome") ||
     sameString(position, "hgBatch"))
     position = defaultPosition;
 
 puts(
 "<FORM ACTION=\"../cgi-bin/pbGsid\" NAME=\"mainForm\" METHOD=\"GET\">\n"
 "<CENTER>"
 "<TABLE CELLPADDING=1 style='background-color:#FFFEF3; border-style:none;'>\n"
 "<TR><TD><span style='font-size:small; text-align:center;'>\n"
 "The GSID Protein View was created by the \n"
 "<A HREF=\"../staff.html\">Genome Bioinformatics Group of UC Santa Cruz</A>.\n"
 "<BR>"
 "Software Copyright (c) The Regents of the University of California.\n"
 "All rights reserved.\n"
 "</span></TD></TR></TABLE></CENTER>\n"
 );
 
 puts("<BR><B>Enter a VAX003 or VAX004 protein ID: </B>");
 puts("<input type=\"text\" name=\"proteinID\" >\n");
 puts("<INPUT TYPE=SUBMIT>");
 
 puts("<BR><BR>For example: p1.T-001c1");
 puts("</FORM>\n"
 );
 
 printf("<FORM ACTION=\"../cgi-bin/pbGsidGateway\" METHOD=\"GET\" NAME=\"orgForm\"><input type=\"hidden\" name=\"org\" value=\"%s\">\n", organism);
 printf("<input type=\"hidden\" name=\"db\" value=\"%s\">\n", db);
 cartSaveSession(cart);
 puts("</FORM><BR>");
 }
 
 void doMiddle(struct cart *theCart)
 /* Set up pretty web display and save cart in global. */
 {
 cart = theCart;
 
 getDbAndGenome(cart, &db, &organism, oldVars);
 if (! hDbIsActive(db))
     {
     db = hDefaultDb();
     organism = hGenome(db);
     }
 
 if (hIsGsidServer())
     {
     cartWebStart(theCart, NULL, "GSID Protein View Gateway \n");
     }
 else
     {
     errAbort("This Customized Proteome Browser should be used on a GSID server only.");
     }
 
 /* start with a clean slate */
 cartResetInDb(hUserCookie());
 /* This cartResetInDb does nothing since database will be overwritten
  * with memory by cartWebEnd ... unless pgGateway crashes, in which
  * case along with the crash it will wipe out all the users settings.
  * Is that a nice thing to do?  -Jim */
 
 gsidPbGateway();
 cartWebEnd();
 }
 
 char *excludeVars[] = {NULL};
 
 int main(int argc, char *argv[])
 /* Process command line. */
 {
 oldVars = hashNew(10);
 cgiSpoof(&argc, argv);
 
 cartEmptyShell(doMiddle, hUserCookie(), excludeVars, oldVars);
 return 0;
 }