diff options
Diffstat (limited to 'inc/parser/xhtml.php')
-rw-r--r-- | inc/parser/xhtml.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php index da5c70459..06f286a20 100644 --- a/inc/parser/xhtml.php +++ b/inc/parser/xhtml.php @@ -70,9 +70,13 @@ class Doku_Renderer_xhtml extends Doku_Renderer { global $lang; $this->doc .= '<div class="toc">'.DOKU_LF; $this->doc .= '<div class="tocheader">'; +/* $this->doc .= ' <script type="text/javascript">showTocToggle("+","-")';*/ + $this->doc .= '<script type="text/javascript">showTocToggle('; + $this->doc .= '"<img src=\"'.DOKU_BASE.'images/arrow_down.png\">",'; + $this->doc .= '"<img src=\"'.DOKU_BASE.'images/arrow_up.png\">")'; + $this->doc .= '</script>'; $this->doc .= $lang['toc']; - $this->doc .= ' <script type="text/javascript">showTocToggle("+","-")'; - $this->doc .= '</script></div>'.DOKU_LF; + $this->doc .= '</div>'.DOKU_LF; $this->doc .= '<div id="tocinside">'.DOKU_LF; } |