From b8c943a4dc3a62e354013977a018c677b13a20c5 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Fri, 24 Feb 2006 16:12:21 +0100 Subject: removed deprecated TOC code darcs-hash:20060224151221-7ad00-314d411cb22d2cd59079751f31cf4b4c49a7f0b6.gz --- inc/parser/xhtmlsummary.php | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) (limited to 'inc/parser/xhtmlsummary.php') diff --git a/inc/parser/xhtmlsummary.php b/inc/parser/xhtmlsummary.php index 669fa46e3..d6e3fc8b9 100644 --- a/inc/parser/xhtmlsummary.php +++ b/inc/parser/xhtmlsummary.php @@ -4,16 +4,20 @@ if(!defined('DOKU_INC')) define('DOKU_INC',realpath(dirname(__FILE__).'/../../') require_once DOKU_INC . 'inc/parser/xhtml.php'; /** -* The summary XHTML form selects either up to the first two paragraphs -* it find in a page or the first section (whichever comes first) -* It strips out the table of contents if one exists -* Section divs are not used - everything should be nested in a single -* div with CSS class "page" -* Headings have their a name link removed and section editing links -* removed -* It also attempts to capture the first heading in a page for -* use as the title of the page. -*/ + * The summary XHTML form selects either up to the first two paragraphs + * it find in a page or the first section (whichever comes first) + * It strips out the table of contents if one exists + * Section divs are not used - everything should be nested in a single + * div with CSS class "page" + * Headings have their a name link removed and section editing links + * removed + * It also attempts to capture the first heading in a page for + * use as the title of the page. + * + * + * @author Harry Fuecks + * @todo Is this currently used anywhere? Should it? + */ class Doku_Renderer_xhtmlsummary extends Doku_Renderer_xhtml { // Namespace these variables to @@ -33,10 +37,12 @@ class Doku_Renderer_xhtmlsummary extends Doku_Renderer_xhtml { $this->doc .= DOKU_LF.''.DOKU_LF; } + // FIXME not supported anymore function toc_open() { $this->sum_summary .= $this->doc; } + // FIXME not supported anymore function toc_close() { $this->doc = ''; } -- cgit v1.2.3