94c543bda6d443f13e30332161a0e4081afcb52e max Thu Dec 8 11:44:58 2011 -0800 added target=blank to outlinks in t2g diff --git src/hg/hgc/t2g.c src/hg/hgc/t2g.c index 8c7a0c5..aca4595 100644 --- src/hg/hgc/t2g.c +++ src/hg/hgc/t2g.c @@ -24,31 +24,31 @@ safef(query, sizeof(query), "SELECT articleId, url, title, authors, citation, abstract FROM %s WHERE displayId='%s'", articleTable, item); struct sqlResult *sr = sqlGetResult(conn, query); char **row; char *docId=0; if ((row = sqlNextRow(sr)) != NULL) { char* abstract = row[5]; if (strlen(abstract)==0) { abstract = "(No abstract found for this article. Please use the link to the fulltext above.)"; } docId = cloneString(row[0]); printf("
%s
\n", row[3]); - printf("%s\n", row[1], row[2]); + printf("%s\n", row[1], row[2]); printf("%s
\n", row[4]); printf("%s
\n", abstract); } sqlFreeResult(&sr); return docId; } struct hash* getSeqIdHash(struct sqlConnection* conn, char* trackTable, char* docId, char *item, char* seqName, int start) { char query[512]; /* check first if the column exists (some debugging tables on hgwdev don't have seqIds) */ safef(query, sizeof(query), "SHOW COLUMNS FROM %s LIKE 'seqIds';", trackTable); char* seqIdPresent = sqlQuickString(conn, query); if (!seqIdPresent) { return NULL;