diff options
author | Adrian Lang <lang@cosmocode.de> | 2010-03-04 11:01:52 +0100 |
---|---|---|
committer | Adrian Lang <lang@cosmocode.de> | 2010-03-04 11:11:33 +0100 |
commit | 3f9e3215e07f71f721ddd919b9b06ad5d7cc6742 (patch) | |
tree | 14ac62172185086230c0ef76eb2db03ad653cbf8 /inc/parser | |
parent | 8e4da260f71ec0ef3b8559d38fc3f8f22208ec0f (diff) | |
download | rpg-3f9e3215e07f71f721ddd919b9b06ad5d7cc6742.tar.gz rpg-3f9e3215e07f71f721ddd919b9b06ad5d7cc6742.tar.bz2 |
Really allow plugins to use section editing
Diffstat (limited to 'inc/parser')
-rw-r--r-- | inc/parser/xhtml.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php index 552a8332d..176411c75 100644 --- a/inc/parser/xhtml.php +++ b/inc/parser/xhtml.php @@ -49,7 +49,7 @@ class Doku_Renderer_xhtml extends Doku_Renderer { * @return string A marker class for the starting HTML element * @author Adrian Lang <lang@cosmocode.de> */ - protected function startSectionEdit($start, $type, $title = null) { + public function startSectionEdit($start, $type, $title = null) { static $lastsecid = 0; $this->sectionedits[] = array(++$lastsecid, $start, $type, $title); return 'sectionedit' . $lastsecid; @@ -62,7 +62,7 @@ class Doku_Renderer_xhtml extends Doku_Renderer { the page * @author Adrian Lang <lang@cosmocode.de> */ - protected function finishSectionEdit($end = null) { + public function finishSectionEdit($end = null) { list($id, $start, $type, $title) = array_pop($this->sectionedits); if (!is_null($end) && $end <= $start) { return; |