/[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.2 - (show annotations)
Sat Feb 22 20:55:24 2003 UTC (21 years, 4 months ago) by jonen
Branch: MAIN
Changes since 1.1: +29 -1 lines
+ updated whole lib to version 2.2.1 (new FormProcessing since 2.2.0!)

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.4 2003/01/31 00:42:43 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 * Some defines to tell the class what style of
27 * indenting of the output the user wants.
28 */
29 define("INDENT_NICE", 0);
30 define("INDENT_LEFT_JUSTIFY", -1);
31
32
33 /**
34 * some nice globals
35 */
36 define( "_HTML_SPACE", "&nbsp;");
37
38 /**
39 * Some global defines for the tag classes
40 */
41 define( "_INDENT_STR", " ");
42
43 define( "_NEWLINEAFTERCONTENT", 1);
44 define( "_NEWLINEAFTEROPENTAG", 2);
45 define( "_NEWLINEAFTERCLOSETAG", 4);
46 define( "_CONTENTREQUIRED", 8);
47 define( "_CLOSETAGREQUIRED", 16);
48 define( "_DEPRICATED", 32);
49 define( "_INDENT", 64);
50 define( "_COLLAPSE", 128);
51 define( "_ALWAYS_UPPERCASE", 256);
52 define( "_ALWAYS_LOWERCASE", 512);
53 define( "_NOFINISHSLASHXHTML", 1024);
54 define( "_CDATACONTENTWRAP", 2048);
55 define( "_XHTMLCOMPLIANT", 4096);
56
57 define( "_TAG_PREFIX", "<");
58 define( "_TAG_SUFFIX", ">");
59 ?>

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