0de63e83abcfe4740ac40e8a36f16c62b555ef63
tdreszer
Fri Apr 29 14:46:43 2011 -0700
More spacing stuff for doctype 4.01.
diff --git src/hg/hgCustom/hgCustom.c src/hg/hgCustom/hgCustom.c
index b6f6bd5..aa72677 100644
--- src/hg/hgCustom/hgCustom.c
+++ src/hg/hgCustom/hgCustom.c
@@ -330,31 +330,31 @@
cgiSimpleTableStart();
cgiSimpleTableRowStart();
cgiSimpleTableFieldStart();
if (!(isUpdateForm && dataUrl))
makeClearButton(hgCtDataText);
cgiTableFieldEnd();
cgiTableRowEnd();
cgiTableEnd();
cgiTableFieldEnd();
cgiTableRowEnd();
/* extra space */
cgiSimpleTableRowStart();
-puts("
| ");
+puts(" | ");
cgiTableRowEnd();
/* next row - label for description text entry */
cgiSimpleTableRowStart();
cgiTableField("Optional track documentation: ");
if (isUpdateForm && ctHtmlUrl(ct))
cgiTableField(" ");
else
{
puts("");
puts("Or upload: ");
cgiMakeFileEntry(hgCtDocFile);
cgiTableFieldEnd();
}
cgiTableRowEnd();
@@ -408,30 +408,31 @@
}
else
{
/* hidden form to handle clade/genome/assembly dropdown.
* This is at end of page for layout reasons (preserve vertical space) */
puts("");
printf("");
+puts("");
}
void tableHeaderFieldStart(int columns)
{
/* print table column header with white text on black background */
printf(" | ", columns);
}
void tableHeaderField(char *label, char *description)
{
/* print table column header with white text on black background */
puts(" | %s | ", wrapWhiteFont(label));
@@ -749,31 +750,38 @@
puts("");
puts("");
puts("");
puts("");
cgiTableRowEnd();
cgiTableEnd();
cartSetString(cart, "hgta_group", "user");
}
void helpCustom()
/* display documentation */
{
webNewSection("Loading Custom Tracks");
+char *browserVersion;
+if (btIE == cgiClientBrowser(&browserVersion, NULL, NULL) && *browserVersion < '8')
+ puts("");
+else
+ puts("");
webIncludeHelpFile("customTrackLoad", FALSE);
+
+puts("");
}
void doBrowserLines(struct slName *browserLines, char **retErr)
/* parse variables from browser lines into the cart */
{
char *err = NULL;
struct slName *bl;
for (bl = browserLines; bl != NULL; bl = bl->next)
{
char *words[96];
int wordCount;
wordCount = chopLine(bl->name, words);
if (wordCount > 1)
{