Skip to content
Snippets Groups Projects
Commit 169c7240 authored by chris's avatar chris
Browse files

refactor xhtml TOC creation into a class function, FS#1058

- changed inc/parser/xhtml.php, render_TOC() function
  it now takes a toc array as a parameter
- refactor render_TOC()  and _tocitem() into static class functions

The xhtml renderer can build its TOC using $this->render_TOC($this->toc)
Templates can create a separate TOC using
  echo Doku_Renderer_xhtml::render_TOC(p_get_metadata($ID, 'description
tableofcontents'));

darcs-hash:20070206015454-9b6ab-b3bd7ff772b756f8aaf496cb319eb73994cdbd94.gz
parent e7856bea
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment