/[cvs]/nfo/php/libs/com.newsblob.phphtmllib/defines.inc
ViewVC logotype

Contents of /nfo/php/libs/com.newsblob.phphtmllib/defines.inc

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations)
Thu May 6 16:23:38 2004 UTC (20 years, 2 months ago) by jonen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +0 -0 lines
 updated all to v2.4.1 - Apr 01, 2004

1 <?php
2
3 /**
4 * This file holds some global defines used by several
5 * classes of phpHtmlLib.
6 *
7 * $Id: defines.inc,v 1.6 2003/07/23 21:05:37 hemna Exp $
8 *
9 * @author Walter A. Boring IV <waboring@buildabetterweb.com>
10 * @package phpHtmlLib
11 *
12 */
13
14 /**
15 * Some global defines, used by the classes and widgets
16 * to specify what type of output document format to use.
17 *
18 */
19 define("XHTML_TRANSITIONAL", "xhtml_transitional");
20 define("XHTML", "xhtml_transitional");
21 define("XHTML_STRICT", "xhtml_strict");
22 define("XHTML_FRAMESET", "xhtml_frameset");
23 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
33 * indenting of the output the user wants.
34 */
35 define("INDENT_NICE", 0);
36 define("INDENT_LEFT_JUSTIFY", -1);
37
38
39 /**
40 * some nice globals
41 */
42 define( "_HTML_SPACE", "&nbsp;");
43 define( "_HTML_MDASH", "&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 ?>

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed