Home
last modified time | relevance | path

Searched refs:toc (Results 1 – 10 of 10) sorted by path

/dokuwiki/inc/
H A Dhtml.php828 * @param array $toc
831 function html_TOC($toc)
833 if ($toc === []) return '';
838 $out .= $lang['toc'];
841 $out .= html_buildlist($toc, 'toc', 'html_list_toc', null, true);
873 * @return array the toc item
791 html_TOC($toc) global() argument
H A Dtemplate.php148 $toc = [];
152 $toc = $TOC;
156 $tocok = $meta['internal']['toc'] ?? true;
157 $toc = $meta['description']['tableofcontents'] ?? null;
158 if (!$tocok || !is_array($toc) || !$conf['tocminheads'] || count($toc) < $conf['tocminheads']) {
159 $toc = [];
165 $toc = $plugin->getTOC();
166 $TOC = $toc; // avoid later rebuild
170 Event::createAndTrigger('TPL_TOC_RENDER', $toc, nul
[all...]
/dokuwiki/inc/parser/
H A Dxhtml.php21 public $toc = [];
132 $this->toc = [];
182 $this->info['toc'] &&
183 is_array($this->toc) &&
184 $conf['tocminheads'] && count($this->toc) >= $conf['tocminheads']
187 $TOC = $this->toc;
207 $this->toc[] = html_mktocitem($id, $text, $level - $conf['toptoclevel'] + 1);
18 public $toc = array(); global() variable in Doku_Renderer_xhtml
/dokuwiki/lib/plugins/config/
H A Dadmin.php228 $toc = [];
241 $toc[] = html_mktocitem(sectionID($title, $check), $title, 1);
248 $toc[] = html_mktocitem(
258 $toc[] = html_mktocitem($setting->getKey(), $name, 2);
264 $toc[] = html_mktocitem('undefined_settings', $this->getLang('_header_undefined'), 1);
267 return $toc;
/dokuwiki/lib/plugins/info/
H A Dsyntax.php332 $renderer->toc[] = [
/dokuwiki/lib/tpl/dokuwiki/css/
H A D_toc.css6 /* toc
9 /* toc container */
22 /*____________ toc header ____________*/
37 /*____________ toc list ____________*/
67 /* in case of toc list jumping one level
H A Dbasic.less48 clear: left; /* ideally 'both', but problems with toc */
H A Dcontent.less322 background: transparent url(images/toc-arrows.png) 0 0;
346 list-style-image: url(images/toc-bullet.png);
H A Dmobile.less78 /* toc */
/dokuwiki/vendor/splitbrain/php-archive/
H A DREADME.md34 $toc = $tar->contents();
35 print_r($toc); // array of FileInfo objects