includes/constants.php
changeset 1027 98c052fc3337
parent 832 7152ca0a0ce9
child 1081 745200a9cc2a
--- a/includes/constants.php	Sun Jun 21 00:16:21 2009 -0400
+++ b/includes/constants.php	Sun Jun 21 00:20:32 2009 -0400
@@ -106,13 +106,6 @@
 // Rendering options!
 
 /**
- * Render using the default engine (Text_Wiki + Enano pre- and post-processing).
- * @const int
- */
-
-define('RENDER_WIKI_DEFAULT', 1);
-
-/**
  * Render using template/wiki hybrid syntax (Enano processing + template variable/logic access)
  * @const int
  */
@@ -124,14 +117,14 @@
  * @const int
  */
 
-define('RENDER_BLOCKONLY', 4);
+define('RENDER_BLOCK', 4);
 
 /**
  * Only render inline-level things, like links.
  * @const int
  */
 
-define('RENDER_INLINEONLY', 8);
+define('RENDER_INLINE', 8);
 
 /**
  * Disable smilies when rendering.
@@ -140,6 +133,19 @@
 
 define('RENDER_NOSMILIES', 16);
 
+/**
+ * Render using the default engine
+ * @const int
+ */
+
+define('RENDER_WIKI_DEFAULT', RENDER_BLOCK | RENDER_INLINE);
+
+// parser order
+define('PO_BEFORE', 1);
+define('PO_AFTER', 2);
+define('PO_FIRST', 3);
+define('PO_LAST', 4);
+
 //
 // User types - don't touch these
 //