100 // DST constants |
100 // DST constants |
101 define('FIRST_SUNDAY', 1); |
101 define('FIRST_SUNDAY', 1); |
102 define('SECOND_SUNDAY', 2); |
102 define('SECOND_SUNDAY', 2); |
103 define('THIRD_SUNDAY', 3); |
103 define('THIRD_SUNDAY', 3); |
104 define('LAST_SUNDAY', 4); |
104 define('LAST_SUNDAY', 4); |
|
105 |
|
106 // Rendering options! |
|
107 |
|
108 /** |
|
109 * Render using the default engine (Text_Wiki + Enano pre- and post-processing). |
|
110 * @const int |
|
111 */ |
|
112 |
|
113 define('RENDER_WIKI_DEFAULT', 1); |
|
114 |
|
115 /** |
|
116 * Render using template/wiki hybrid syntax (Enano processing + template variable/logic access) |
|
117 * @const int |
|
118 */ |
|
119 |
|
120 define('RENDER_WIKI_TEMPLATE', 2); |
|
121 |
|
122 /** |
|
123 * Only render block-level things, like paragraphs, divs, etc. |
|
124 * @const int |
|
125 */ |
|
126 |
|
127 define('RENDER_BLOCKONLY', 4); |
|
128 |
|
129 /** |
|
130 * Only render inline-level things, like links. |
|
131 * @const int |
|
132 */ |
|
133 |
|
134 define('RENDER_INLINEONLY', 8); |
|
135 |
|
136 /** |
|
137 * Disable smilies when rendering. |
|
138 * @const int |
|
139 */ |
|
140 |
|
141 define('RENDER_NOSMILIES', 16); |
105 |
142 |
106 // |
143 // |
107 // User types - don't touch these |
144 // User types - don't touch these |
108 // |
145 // |
109 |
146 |