5b6d828c2dfe2ec1d26b2bf33f7bde9d1d9850fb
larrym
  Thu Jun 14 09:59:02 2012 -0700
refactor BODY code; add class='cgi' so we can special case dynamic code
diff --git src/inc/htmshell.h src/inc/htmshell.h
index 1f9008e..96e4422 100644
--- src/inc/htmshell.h
+++ src/inc/htmshell.h
@@ -54,30 +54,33 @@
    be displayed in an html page or tooltip style title.  */
 #define htmlEncode(s) htmlEncodeText(s,FALSE)
 
 char *attributeEncode(char *str);
 // encode double and single quotes in a string to be used as an element attribute
 
 void htmlMemDeath();
 /* Complain about lack of memory and abort.  */
 
 void htmlStart(char *title);
 /* Write the start of a cgi-generated html file */
 
 void htmStart(FILE *f, char *title);
 /* Write the start of a stand alone .html file. */
 
+void printBodyTag(FILE *f);
+// print starting BODY tag, including any appropriate attributes (class, background and bgcolor). 
+
 void htmStartWithHead(FILE *f, char *head, char *title);
 /* Write the start of a stand alone .html file, plus head info */
 
 void htmStartDirDepth(FILE *f, char *title, int dirDepth);
 /* Write the start of a stand alone .html file.  dirDepth is the number of levels
  * beneath apache root that caller's HTML will appear to the web client.
  * E.g. if writing HTML from cgi-bin, dirDepth is 1; if trash/body/, 2. */
 
 void htmlEnd();
 /* Write the end of a cgi-generated html file */
 
 void htmEnd(FILE *f);
 /* Write the end of a stand-alone html file */
 
 extern char *htmlStyleUndecoratedLink;