Searched refs:topLv (Results 1 – 5 of 5) sorted by relevance
/plugin/toctweak/ |
H A D | helper.php | 52 $topLv = $matches[3]; 55 $topLv = $matches[1]; 59 if (isset($topLv)) { 60 $topLv = ($topLv < 1) ? 1 : $topLv; 61 $topLv = ($topLv > 5) ? 5 : $topLv; 63 $topLv = $this->getConf('toptoclevel'); 103 $toc = $this->_toc($toc, $topLv, $maxLv, $headline); 127 $topLv = isset($topLv) ? $topLv : $this->getConf('toptoclevel'); 157 if (($Lv < $topLv)||($Lv > $maxLv)) { 160 $item['level'] = $Lv - $topLv +1; [all …]
|
/plugin/toctweak/syntax/ |
H A D | sidetoc.php | 33 list($id, $topLv, $maxLv, $tocClass, $tocTitle) = $data; 38 $topLv = $maxLv = null; 45 $data = array($id, $topLv, $maxLv, $tocClass, $tocTitle); 55 list($id, $topLv, $maxLv, $tocClass, $tocTitle) = $data; 61 $topLv = @$meta['toptoclevel'] ?: $this->getConf('toptoclevel'); 73 $toc = $tocTweak->get_metatoc($id, $topLv, $maxLv, $section);
|
H A D | autotoc.php | 51 list($topLv, $maxLv, $tocClass) = $tocTweak->parse($param); 67 return $data = array($ID, $tocPosition, $topLv, $maxLv, $tocClass); 76 list($id, $tocPosition, $topLv, $maxLv, $tocClass) = $data; 85 isset($topLv) && $renderer->meta['toc']['toptoclevel'] = $topLv;
|
H A D | metatoc.php | 52 list($topLv, $maxLv, $tocClass, $tocTitle, $id) = $tocTweak->parse($param); 68 $data = array($id, $topLv, $maxLv, $tocClass, $tocTitle); 78 list($id, $topLv, $maxLv, $tocClass, $tocTitle) = $data; 97 $toc = $tocTweak->get_metatoc($id, $topLv, $maxLv, $section);
|
/plugin/toctweak/action/ |
H A D | rendertoc.php | 135 $topLv = @$meta['toptoclevel'] ?: $this->getConf('toptoclevel'); 144 $html_toc = $tocTweak->html_toc($toc, $topLv, $maxLv, $headline); 179 $topLv = @$meta['toptoclevel'] ?: $this->getConf('toptoclevel'); 187 $event->data = $tocTweak->_toc($toc, $topLv, $maxLv, $headline); 214 $topLv = @$meta['toptoclevel'] ?: $this->getConf('toptoclevel'); 223 $html_toc = $tocTweak->html_toc($toc, $topLv, $maxLv, $headline);
|