3eb8de69a3d713dbf37a1b1f056cefe73de785e1 gperez2 Wed Sep 2 17:11:05 2026 -0700 Updating hgLogin's Change password, Change email, and Sign up using email headings to sentence case, matching the rest of the file, per code review feedback on #38213, refs #37929 diff --git src/hg/hgLogin/hgLogin.c src/hg/hgLogin/hgLogin.c index b570e879194..1f268ea1ce9 100644 --- src/hg/hgLogin/hgLogin.c +++ src/hg/hgLogin/hgLogin.c @@ -857,31 +857,31 @@ cartSetString(cart, "hgLogin_userName", username); displayLoginPage(conn); return; } /* -------- functions ---- */ void changePasswordPage(struct sqlConnection *conn) /* change password page */ { hPrintf("
" "\n" "

%s

", brwName); hPrintf( - "

Change Password

" + "

Change password

" "\n" "

%s

" "\n" "
" "\n" "
" "" "" "
" "\n", errMsg ? errMsg : "", hgLoginUrl, htmlEncode(cartUsualString(cart, "hgLogin_userName", ""))); // value="" attribute; escape (XSS) hPrintf("
" "\n" "" "" @@ -1100,31 +1100,31 @@ freez(&errMsg); errMsg = cloneString("Please log in first to change your email address."); displayLoginPage(conn); return; } char query[256]; sqlSafef(query, sizeof(query), "SELECT email FROM gbMembers WHERE userName='%s'", user); char *curEmail = sqlQuickString(conn, query); sqlSafef(query, sizeof(query), "SELECT password FROM gbMembers WHERE userName='%s'", user); boolean hasPassword = isNotEmpty(sqlQuickString(conn, query)); char *encUser = htmlEncode(user); char *encCurEmail = htmlEncode(isNotEmpty(curEmail) ? curEmail : "(none)"); hPrintf("
" "

%s

", brwName); -hPrintf("

Change Email

"); +hPrintf("

Change email

"); hPrintf("

%s

", errMsg ? errMsg : ""); hPrintf("", hgLoginUrl); hPrintf("

Signed in as %s.
Current email address: %s

", encUser, encCurEmail); freeMem(encUser); freeMem(encCurEmail); if (hasPassword) hPrintf("
" "" "" "
"); hPrintf("
" "" "" "
"); @@ -1257,31 +1257,31 @@ freeMem(encEmail); returnToURL(1500); } void signupPage(struct sqlConnection *conn) /* draw the signup page */ { hPrintf("
" "

%s

", brwName); hPrintf( "

Signing up enables you to save multiple sessions, share your sessions with others via short and stable session links and manage previously uploaded custom tracks and track hubs.

" "\n"); hPrintf("

Already have an account? " "Go to the login page.

", hgLoginUrl); printSocialButtons(FALSE, TRUE, "Sign up"); -hPrintf("

Sign Up Using Email

" +hPrintf("

Sign up using email

" "" "%s" "\n", hgLoginUrl, errMsg ? errMsg : ""); printUsernameNote(); hPrintf("
" "" "" "
" "\n" "
" "" "" "
" "\n" "
"