d67f2b3041e63ea28f0d92961101d916511e5469 chinhli Fri May 25 15:00:53 2012 -0700 After signup return to returnto URL diff --git src/hg/hgSession/hgSession.c src/hg/hgSession/hgSession.c index 7c7959b..d5e063f 100644 --- src/hg/hgSession/hgSession.c +++ src/hg/hgSession/hgSession.c @@ -81,32 +81,34 @@ * do so. */ { char *wikiHost = wikiLinkHost(); cartWebStart(cart, NULL, "Sign in to UCSC Genome Bioinformatics"); jsInit(); if (loginSystemEnabled()) { printf("Signing in enables you to save current settings into a " "named session, and then restore settings from the session later.\n" "If you wish, you can share named sessions with other users.\n"); printf("<P>The sign-in page is handled by our %s system. ", loginSystemName()); printf("<A HREF=\"%s\"><B>click here to sign in.</B></A>\n", wikiLinkUserLoginUrl(cartSessionId(cart))); printf("To register for an account, " - "<A HREF=\"http://%s/cgi-bin/hgLogin?do.signupPage=1\">" - "<B>click here to sign up.</B></A>\n",wikiHost); +// "<A HREF=\"http://%s/cgi-bin/hgLogin?do.signupPage=1\">" + "<A HREF=\"%s\">" + "<B>click here to sign up.</B></A>\n", + wikiLinkUserSignupUrl(cartSessionId(cart))); } else { printf("Signing in enables you to save current settings into a " "named session, and then restore settings from the session later.\n" "If you wish, you can share named sessions with other users.\n"); printf("<P>The sign-in page is handled by our " "<A HREF=\"http://%s/\" TARGET=_BLANK>wiki system</A>:\n", wikiHost); printf("<A HREF=\"%s\"><B>click here to sign in.</B></A>\n", wikiLinkUserLoginUrl(cartSessionId(cart))); printf("The wiki also serves as a forum for users " "to share knowledge and ideas.\n"); } }