summaryrefslogtreecommitdiff
path: root/inc/parser/xhtmlsummary.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2006-02-24 16:12:21 +0100
committerAndreas Gohr <andi@splitbrain.org>2006-02-24 16:12:21 +0100
commitb8c943a4dc3a62e354013977a018c677b13a20c5 (patch)
tree4ef627223dacfc12edd2f7b5bd243cebeee72954 /inc/parser/xhtmlsummary.php
parentc2f250d59839ed7e003550ee117e313b43469879 (diff)
downloadrpg-b8c943a4dc3a62e354013977a018c677b13a20c5.tar.gz
rpg-b8c943a4dc3a62e354013977a018c677b13a20c5.tar.bz2
removed deprecated TOC code
darcs-hash:20060224151221-7ad00-314d411cb22d2cd59079751f31cf4b4c49a7f0b6.gz
Diffstat (limited to 'inc/parser/xhtmlsummary.php')
-rw-r--r--inc/parser/xhtmlsummary.php26
1 files changed, 16 insertions, 10 deletions
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 <hfuecks@gmail.com>
+ * @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.'</div>'.DOKU_LF;
}
+ // FIXME not supported anymore
function toc_open() {
$this->sum_summary .= $this->doc;
}
+ // FIXME not supported anymore
function toc_close() {
$this->doc = '';
}