2af949e966b17c1cf0855c9877c1b25a81c63be5
max
Tue Mar 27 13:57:04 2012 -0700
moving link to top of table
diff --git src/hg/hgc/pubs.c src/hg/hgc/pubs.c
index 5ff910b..5d346af 100644
--- src/hg/hgc/pubs.c
+++ src/hg/hgc/pubs.c
@@ -40,36 +40,34 @@
if (!stringIn("sciencedirect.com", url))
return url;
// cgi param to add the "UCSC matches" sciverse application to elsevier's sciencedirect
char* sdAddParam = "?svAppaddApp=298535";
char* longUrl = catTwoStrings(url, sdAddParam);
char* newUrl = replaceChars(longUrl, "article", "svapps");
return newUrl;
}
static void printFilterLink(char* pslTrack, char* articleId)
/* print a link to hgTracks with an additional cgi param to activate the single article filter */
{
int start = cgiInt("o");
int end = cgiInt("t");
- printf(" ",
+ printf(" ",
hgTracksPathAndSettings(), database, seqName, start+1, end, articleId, pslTrack);
- char startBuf[64], endBuf[64];
- sprintLongWithCommas(startBuf, start + 1);
- sprintLongWithCommas(endBuf, end);
- printf("Show these sequence matches individually on genome browser");
+ printf("Show these sequence matches individually on genome browser
"); - printFilterLink(pslTable, articleId); - } webEndSectionTables(); sqlFreeResult(&sr); return foundSkippedRows; } static void printSeqInfo(struct sqlConnection* conn, char* trackTable, char* pslTable, char* articleId, char* item, char* seqName, int start, bool fileDesc, bool fasta) /* print sequences, split into two sections * two sections: one for sequences that were clicked, one for all others*/ { struct hash* clickedSeqs = getSeqIdHash(conn, trackTable, articleId, item, seqName, start); bool skippedRows; if (clickedSeqs)