22 |
define("XHTML_FRAMESET", "xhtml_frameset"); |
define("XHTML_FRAMESET", "xhtml_frameset"); |
23 |
define("HTML", "html"); |
define("HTML", "html"); |
24 |
|
|
25 |
|
/** |
26 |
|
* set the default render type for |
27 |
|
* html tags |
28 |
|
*/ |
29 |
|
$GLOBALS["HTML_RENDER_TYPE"] = HTML; |
30 |
|
|
31 |
/** |
/** |
32 |
* Some defines to tell the class what style of |
* Some defines to tell the class what style of |
33 |
* indenting of the output the user wants. |
* indenting of the output the user wants. |
34 |
*/ |
*/ |
35 |
define("INDENT_NICE", 0); |
define("INDENT_NICE", 0); |
36 |
define("INDENT_LEFT_JUSTIFY", -1); |
define("INDENT_LEFT_JUSTIFY", -1); |
37 |
|
|
38 |
|
|
39 |
|
/** |
40 |
|
* some nice globals |
41 |
|
*/ |
42 |
|
define( "_HTML_SPACE", " "); |
43 |
|
define( "_HTML_MDASH", "—"); |
44 |
|
|
45 |
|
/** |
46 |
|
* Some global defines for the tag classes |
47 |
|
*/ |
48 |
|
define( "_INDENT_STR", " "); |
49 |
|
|
50 |
|
define( "_NEWLINEAFTERCONTENT", 1); |
51 |
|
define( "_NEWLINEAFTEROPENTAG", 2); |
52 |
|
define( "_NEWLINEAFTERCLOSETAG", 4); |
53 |
|
define( "_CONTENTREQUIRED", 8); |
54 |
|
define( "_CLOSETAGREQUIRED", 16); |
55 |
|
define( "_DEPRICATED", 32); |
56 |
|
define( "_INDENT", 64); |
57 |
|
define( "_COLLAPSE", 128); |
58 |
|
define( "_ALWAYS_UPPERCASE", 256); |
59 |
|
define( "_ALWAYS_LOWERCASE", 512); |
60 |
|
define( "_NOFINISHSLASHXHTML", 1024); |
61 |
|
define( "_CDATACONTENTWRAP", 2048); |
62 |
|
define( "_XHTMLCOMPLIANT", 4096); |
63 |
|
|
64 |
|
define( "_TAG_PREFIX", "<"); |
65 |
|
define( "_TAG_SUFFIX", ">"); |
66 |
?> |
?> |