87c656377e1664b3175828540e1d371631fffdda
chinhli
Tue Jun 11 19:45:38 2013 -0700
Thank you suggestion confirmed page.
diff --git src/hg/hgUserSuggestion/hgUserSuggestion.c src/hg/hgUserSuggestion/hgUserSuggestion.c
index ef2c05f..a7e8ebc 100644
--- src/hg/hgUserSuggestion/hgUserSuggestion.c
+++ src/hg/hgUserSuggestion/hgUserSuggestion.c
@@ -20,31 +20,31 @@
/* ---- Global variables. ---- */
struct cart *cart; /* The user's ui state. */
struct hash *oldVars = NULL;
/* ---- Global helper functions ---- */
void checkHgConfForSuggestion()
/* Abort if hg.conf has not been set up to accept suggestion */
{
if (isEmpty(cfgOption(CFG_SUGGEST_MAILTOADDR)) ||
isEmpty(cfgOption(CFG_SUGGEST_MAILFROMADDR)) ||
isEmpty(cfgOption(CFG_FILTERKEYWORD)) ||
isEmpty(cfgOption(CFG_SUGGEST_MAIL_SIGNATURE)) ||
isEmpty(cfgOption(CFG_SUGGEST_MAIL_RETURN_ADDR)) ||
isEmpty(cfgOption(CFG_SUGGEST_BROWSER_NAME)))
- errAbort("This Genome Browser has not been configured to accept suggestion yet. Please contact the browser administrator for more information.");
+ errAbort("This Genome Browser has not been configured to accept suggestions yet. Please contact the browser administrator for more information.");
}
char *mailToAddr()
/* Return the address to send suggestion to */
{
return cloneString(cfgOption(CFG_SUGGEST_MAILTOADDR));
}
char *mailFromAddr()
/* Return the bogus sender address to help filter out spam */
{
return cloneString(cfgOption(CFG_SUGGEST_MAILFROMADDR));
}
char *filterKeyword()
@@ -109,31 +109,30 @@
" \n");
hPrintf(
" \n"
"
"
- "Thank you for your suggestion regarding the UCSC Genome Browser. "
- "A confirmation mail has send to you containing an unique suggestion ID, "
-"Please use this ID for all future communications related to this suggestion.
");
+ "Thank you for your suggestion regarding %s. "
+ "You may follow up on the status of your request at any time by sending email to %s "
+ "and quoting your reference number:
%s
"
+ "A copy of this information has also been sent to you at %s. ",
+ summary, adminAddr, refID, userAddr);
hPrintf(
- "