Lines Matching +full:toc -(+path:inc +path:lang) -(+path:lib +path:plugins +path:lang) -(+path:lib +path:tpl +path:dokuwiki +path:lang)
824 * Return the TOC rendered to XHTML
828 * @param array $toc
831 function html_TOC($toc)
833 if ($toc === []) return '';
835 $out = '<!-- TOC START -->' . DOKU_LF;
838 $out .= $lang['toc'];
841 $out .= html_buildlist($toc, 'toc', 'html_list_toc', null, true);
843 $out .= '<!-- TOC END -->' . DOKU_LF;
865 * Helper function to build TOC items
867 * Returns an array ready to be added to a TOC array
870 * @param string $text - what to display in the TOC
873 * @return array the toc item