6109f0f2c4742e3c1ba6fea26d386135a8830949
kent
  Mon Feb 16 14:47:43 2015 -0800
Adding routine to fetch list of formats and their descriptions.

diff --git src/hg/lib/web.c src/hg/lib/web.c
index f78ac63..30de9e7 100644
--- src/hg/lib/web.c
+++ src/hg/lib/web.c
@@ -1033,37 +1033,57 @@
 /* Print right-justified int cell in our colors. */
 {
 webPrintLinkCellRightStart();
 printf("%d", val);
 webPrintLinkCellEnd();
 }
 
 void webPrintDoubleCell(double val)
 /* Print right-justified cell in our colors with two digits to right of decimal. */
 {
 webPrintLinkCellRightStart();
 printf("%4.2f", val);
 webPrintLinkCellEnd();
 }
 
-void webPrintWideLabelCell(char *label, int colSpan)
-/* Print label cell over multiple columns in our colors. */
+void webPrintWideLabelCellStart(int colSpan)
+/* Print start of wrapper around a label in a table. */
 {
 printf("<TD BGCOLOR='#"HG_COL_TABLE_LABEL"'");
 if (colSpan > 1)
     printf(" COLSPAN=%d", colSpan);
-printf("><span style='color:#FFFFFF;'><B>%s</B></span></TD>", label);
+printf("><span style='color:#FFFFFF;'><B>");
+}
+
+void webPrintLabelCellStart()
+/* Print start of wrapper around a label in a table. */
+{
+webPrintWideLabelCellStart(1);
+}
+
+void webPrintLabelCellEnd()
+/* Print end of wrapper around a label in a table. */
+{
+printf("</B></span></TD>");
+}
+
+void webPrintWideLabelCell(char *label, int colSpan)
+/* Print label cell over multiple columns in our colors. */
+{
+webPrintWideLabelCellStart(colSpan);
+printf("%s", label);
+webPrintLabelCellEnd();
 }
 
 void webPrintWideCenteredLabelCell(char *label, int colSpan)
 /* Print label cell over multiple columns in our colors and centered. */
 {
 printf("<TD BGCOLOR='#" HG_COL_TABLE_LABEL "'");
 if (colSpan > 1)
     printf(" COLSPAN=%d", colSpan);
 printf("><CENTER><span style='color:#FFFFFF;'><B>%s</B></span></CENTER></TD>", label);
 }
 
 void webPrintLabelCell(char *label)
 /* Print label cell in our colors. */
 {
 webPrintWideLabelCell(label, 1);