aab4f66a2aca5293f3536cc1d1438b17d2b09dfd
tdreszer
Thu May 5 16:14:15 2011 -0700
A large set of tiny changes. These fix a lot of discrepencies with bgcolor and font color declarations which were tripping up docttype 4.01.
diff --git src/hg/lib/hui.c src/hg/lib/hui.c
index 61fea97..d4687b4 100644
--- src/hg/lib/hui.c
+++ src/hg/lib/hui.c
@@ -108,31 +108,31 @@
// Make a downloads link (if appropriate and then returns TRUE)
{
return makeNamedDownloadsLink(database, tdb,"Downloads", trackHash);
}
void makeTopLink(struct trackDb *tdb)
/* Link to top of UI page */
{
if (trackDbSetting(tdb, "dimensions"))
{
char *upArrow = "⇑";
enum browserType browser = cgiBrowser();
if (browser == btIE || browser == btFF)
upArrow = "↑";
// Note: the nested spans are so that javascript can determine position and selectively display the link when appropriate
- printf(" Top%s\n",upArrow);
+ printf(" Top%s",upArrow);
}
}
boolean makeSchemaLink(char *db,struct trackDb *tdb,char *label)
// Make a table schema link (if appropriate and then returns TRUE)
{
#define SCHEMA_LINKED "%s"
if (hTableOrSplitExists(db, tdb->table))
{
char *tbOff = trackDbSetting(tdb, "tableBrowser");
if (isNotEmpty(tbOff) && sameString(nextWord(&tbOff), "off"))
return FALSE;
char *hint = " title='Open table schema in new window'";
if( label == NULL)
label = " View table schema";