--- nfo/php/libs/com.newsblob.phphtmllib/defines.inc 2003/01/30 03:29:08 1.1 +++ nfo/php/libs/com.newsblob.phphtmllib/defines.inc 2004/05/06 16:23:38 1.4 @@ -4,7 +4,7 @@ * This file holds some global defines used by several * classes of phpHtmlLib. * - * $Id: defines.inc,v 1.1 2003/01/30 03:29:08 jonen Exp $ + * $Id: defines.inc,v 1.4 2004/05/06 16:23:38 jonen Exp $ * * @author Walter A. Boring IV * @package phpHtmlLib @@ -22,10 +22,45 @@ define("XHTML_FRAMESET", "xhtml_frameset"); define("HTML", "html"); +/** + * set the default render type for + * html tags + */ +$GLOBALS["HTML_RENDER_TYPE"] = HTML; + /** * Some defines to tell the class what style of * indenting of the output the user wants. */ define("INDENT_NICE", 0); define("INDENT_LEFT_JUSTIFY", -1); + + +/** + * some nice globals + */ +define( "_HTML_SPACE", " "); +define( "_HTML_MDASH", "—"); + +/** + * Some global defines for the tag classes + */ +define( "_INDENT_STR", " "); + +define( "_NEWLINEAFTERCONTENT", 1); +define( "_NEWLINEAFTEROPENTAG", 2); +define( "_NEWLINEAFTERCLOSETAG", 4); +define( "_CONTENTREQUIRED", 8); +define( "_CLOSETAGREQUIRED", 16); +define( "_DEPRICATED", 32); +define( "_INDENT", 64); +define( "_COLLAPSE", 128); +define( "_ALWAYS_UPPERCASE", 256); +define( "_ALWAYS_LOWERCASE", 512); +define( "_NOFINISHSLASHXHTML", 1024); +define( "_CDATACONTENTWRAP", 2048); +define( "_XHTMLCOMPLIANT", 4096); + +define( "_TAG_PREFIX", "<"); +define( "_TAG_SUFFIX", ">"); ?>