includes/constants.php
changeset 1027 98c052fc3337
parent 832 7152ca0a0ce9
child 1081 745200a9cc2a
equal deleted inserted replaced
1026:f0431eb8161e 1027:98c052fc3337
   104 define('LAST_SUNDAY', 4);
   104 define('LAST_SUNDAY', 4);
   105 
   105 
   106 // Rendering options!
   106 // Rendering options!
   107 
   107 
   108 /**
   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)
   109  * Render using template/wiki hybrid syntax (Enano processing + template variable/logic access)
   117  * @const int
   110  * @const int
   118  */
   111  */
   119 
   112 
   120 define('RENDER_WIKI_TEMPLATE', 2);
   113 define('RENDER_WIKI_TEMPLATE', 2);
   122 /**
   115 /**
   123  * Only render block-level things, like paragraphs, divs, etc.
   116  * Only render block-level things, like paragraphs, divs, etc.
   124  * @const int
   117  * @const int
   125  */
   118  */
   126 
   119 
   127 define('RENDER_BLOCKONLY', 4);
   120 define('RENDER_BLOCK', 4);
   128 
   121 
   129 /**
   122 /**
   130  * Only render inline-level things, like links.
   123  * Only render inline-level things, like links.
   131  * @const int
   124  * @const int
   132  */
   125  */
   133 
   126 
   134 define('RENDER_INLINEONLY', 8);
   127 define('RENDER_INLINE', 8);
   135 
   128 
   136 /**
   129 /**
   137  * Disable smilies when rendering.
   130  * Disable smilies when rendering.
   138  * @const int
   131  * @const int
   139  */
   132  */
   140 
   133 
   141 define('RENDER_NOSMILIES', 16);
   134 define('RENDER_NOSMILIES', 16);
       
   135 
       
   136 /**
       
   137  * Render using the default engine
       
   138  * @const int
       
   139  */
       
   140 
       
   141 define('RENDER_WIKI_DEFAULT', RENDER_BLOCK | RENDER_INLINE);
       
   142 
       
   143 // parser order
       
   144 define('PO_BEFORE', 1);
       
   145 define('PO_AFTER', 2);
       
   146 define('PO_FIRST', 3);
       
   147 define('PO_LAST', 4);
   142 
   148 
   143 //
   149 //
   144 // User types - don't touch these
   150 // User types - don't touch these
   145 //
   151 //
   146 
   152