summaryrefslogtreecommitdiff
path: root/inc/parser/renderer.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2006-02-19 17:47:26 +0100
committerAndreas Gohr <andi@splitbrain.org>2006-02-19 17:47:26 +0100
commite41c4da9b8ec98a022a91b04f7c5d7bbee54b6c9 (patch)
tree7816f31137cbf68df1cefafea8d42a5898f1fc2f /inc/parser/renderer.php
parent6dbf01ccd365741ffccdaa5a3d0fb2a740035bfa (diff)
downloadrpg-e41c4da9b8ec98a022a91b04f7c5d7bbee54b6c9.tar.gz
rpg-e41c4da9b8ec98a022a91b04f7c5d7bbee54b6c9.tar.bz2
some TOC fixes
darcs-hash:20060219164726-7ad00-eb637e1db83e2f3b6c3629da18214b6587590b24.gz
Diffstat (limited to 'inc/parser/renderer.php')
-rw-r--r--inc/parser/renderer.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/inc/parser/renderer.php b/inc/parser/renderer.php
index a9c86c3f5..303af3db3 100644
--- a/inc/parser/renderer.php
+++ b/inc/parser/renderer.php
@@ -13,6 +13,7 @@ require_once DOKU_INC . 'inc/pluginutils.php';
class Doku_Renderer {
var $info = array(
'cache' => TRUE, // may the rendered result cached?
+ 'toc' => TRUE, // render the TOC?
);
@@ -20,6 +21,10 @@ class Doku_Renderer {
$this->info['cache'] = FALSE;
}
+ function notoc() {
+ $this->info['toc'] = FALSE;
+ }
+
//handle plugin rendering
function plugin($name,$data){
$plugin =& plugin_load('syntax',$name);