Home
last modified time | relevance | path

Searched refs:toc (Results 1 – 25 of 139) sorted by relevance

123456

/plugin/qna/syntax/
Dtoc.php80 $toc = $this->buildToc($data);
82 if (!empty($toc)) {
83 $this->compressToc($toc);
84 $this->normalizeToc($toc);
85 $this->renderToc($renderer, $toc);
105 $toc = array();
117 $toc[] = $item;
122 return $toc;
128 private function compressToc(&$toc) { argument
131 foreach ($toc as $item) {
[all …]
/plugin/ebookexport/
Daction.php56 $tocarray = $Renderer->toc;
156 $toc = "<?xml version='1.0' encoding='utf-8'?>";
157 $toc .= '<ncx xmlns="http://www.daisy.org/z3986/2005/ncx/" version="2005-1" xml:lang="eng">';
158 $toc .= '<head>';
159 $toc .= '<meta content="0c159d12-f5fe-4323-8194-f5c652b89f5c" name="dtb:uid"/>';
160 $toc .= '<meta content="2" name="dtb:depth"/>';
161 $toc .= '<meta content="calibre (0.8.68)" name="dtb:generator"/>';
162 $toc .= '<meta content="0" name="dtb:totalPageCount"/>';
163 $toc .= '<meta content="0" name="dtb:maxPageNumber"/>';
164 $toc .= '</head>';
[all …]
/plugin/toctweak/
Dhelper.php96 $toc = $INFO['meta']['description']['tableofcontents'];
98 $toc = p_get_metadata($id,'description tableofcontents');
100 if ($toc == null) return array();
103 $toc = $this->_toc($toc, $topLv, $maxLv, $headline);
106 foreach ($toc as &$item) {
119 return $toc;
125 function _toc(array $toc, $topLv=null, $maxLv=null, $headline='') { argument
134 foreach ($toc as $item) {
170 function html_toc(array $toc, ...$params) { argument
179 $toc = $this->_toc($toc, $topLv, $maxLv, $headline);
[all …]
Dscript.js5 if (typeof(JSINFO.toc) != 'undefined') {
8 $toc[0].setState(JSINFO.toc.initial_state);
/plugin/combo/resources/theme/default/components/css/
H A Dtoc.css1 .toc-cs ul {
4 .toc-cs > ul {
8 .toc-cs li {
13 .toc-cs a {
21 .toc-cs a:not(:hover) {
25 .toc-cs .toc-header-cs {
/plugin/html2pdf/html2pdf/html2ps/features/
Dtoc.php17 $toc =& $this->find_toc_anchors($pipeline, $media, $document);
18 $this->update_document($toc, $pipeline, $media, $document);
27 $toc =& $this->find_toc_anchors($pipeline, $media, $document);
28 $this->update_page_numbers($toc, $pipeline, $document, $page_heights, $media);
33 $toc =& $locator->run($pipeline, $media, $document);
34 return $toc;
93 function update_document(&$toc, &$pipeline, &$media, &$document) { argument
96 foreach ($toc as $toc_element) {
123 function update_page_numbers(&$toc, &$pipeline, &$document, &$page_heights, &$media) { argument
124 for ($i = 0, $size = count($toc); $i < $size; $i++) {
[all …]
/plugin/combo/resources/theme/default/pages/partials/
H A Dtoc-partial.hbs1 {{#if toc-html}}
2 <nav id="main-toc" class="{{toc-class}}">
3 {{{toc-html}}}
/plugin/offline/
Drenderer.php145 if($this->info['toc'] && is_array($this->toc) && count($this->toc) > 2){
147 $TOC = $this->toc;
385 $toc = array();
389 $toc = $TOC;
398 $toc = $meta['description']['tableofcontents'];
399 if(!$tocok || !is_array($toc) || count($toc) < 3){
400 $toc = array();
414 $toc = $plugin->getTOC();
415 $TOC = $toc; // avoid later rebuild
419 $html = html_TOC($toc);
/plugin/ajaxpeon/
Daction.php170 …$toc = isset($meta['description']['tableofcontents']) ? $meta['description']['tableofcontents'] : …
171 … if(!$tocok || !is_array($toc) || !$conf['tocminheads'] || count($toc) < $conf['tocminheads']) {
172 $toc = array();
175 trigger_event('TPL_TOC_RENDER', $toc, null, false);
176 $html = html_TOC($toc);
214 function html_TOC($toc){ argument
215 if(!count($toc)) return '';
223 $out .= html_buildlist($toc,'toc','html_list_toc','html_li_default',true);
/plugin/linksuggest/
Dscript.js127 let toc = item.toc;
128 let title = toc.title ? ' (' + linksuggest_escape(toc.title) + ')' : '';
130 return linksuggest_escape(toc.hid) + title;
135 let toc = item.toc;
142 return '[[' + link + '#' + toc.hid + appendSubtitle(toc.title) + appendClosing();
Daction.php117 $toc = $meta['description']['tableofcontents'];
118 Event::createAndTrigger('TPL_TOC_RENDER', $toc, null, false);
119 if (is_array($toc) && count($toc) !== 0) {
120 foreach ($toc as $t) { //loop through toc and compare
/plugin/siteexport/inc/
Djavahelp.php35 $toc = new siteexport_toc($this->functions, $this->NS);
36 $toc->debug("### Starting to create TOC Files ###");
53 $toc->debug($lang . " -> " . $data[$i]['id'] );
74 $toc->translation = &$this->translation;
77 $toc->translation = null;
81 $toc->debug("*** Writing for Language rootNode: '".$rootNode."'***");
87 list($tocData, $mapData, $startPageID) = $toc->__getJavaHelpTOCXML($data);
104 $toc->debug("THE END", true);
/plugin/tindexmenu/
Dajax.php100 $toc = $meta['description']['tableofcontents'];
102 if (count($toc)>1) {
103 $out .= $this->render_toc($toc);
124 function render_toc($toc){ argument
127 $r->toc = $toc;
131 $out .= html_buildlist($r->toc,'toc',array($this,'_tocitem'));
/plugin/odt/ODT/
DODTIndex.php70 …ic function replaceIndexesPlaceholders(ODTInternalParams $params, array $indexesData, array $toc) { argument
78 $indexContent = self::buildIndex($params->document, $toc, $data, $index_no+1);
107 protected static function buildIndex(ODTDocument $doc, array $toc, array $settings, $indexNo) { argument
298 … $content .= self::getTOCBody ($toc, $p_styles_auto, $stylesLNames, $max_outline_level, $links);
301 …$content .= self::getChapterIndexBody ($toc, $p_styles_auto, $stylesLNames, $max_outline_level, $l…
327 …protected static function getTOCBody(array $toc, $p_styles, $stylesLNames, $max_outline_level, $li… argument
330 foreach ($toc as $item) {
364 …protected static function getChapterIndexBody(array $toc, $p_styles, $stylesLNames, $max_outline_l… argument
369 foreach ($toc as $item) {
/plugin/toc/
Daction.php49 $toc = tpl_toc(true);
50 if ($toc) {
51 … $event->data = str_replace('<!-- TOC -->', '<div class="inlinetoc">'.$toc."</div>", $event->data);
/plugin/inlinetoc/
DREADME.md5 This plugin renders the toc of a page inside the page content, a la Mediawiki.
24 on dokuwiki's internal toc processor to build the page's toc.
30 plugin (http://www.dokuwiki.org/plugin:toc)
/plugin/toctweak/action/
Drendertoc.php138 $toc = @$INFO['meta']['description']['tableofcontents'] ?: array();
144 $html_toc = $tocTweak->html_toc($toc, $topLv, $maxLv, $headline);
182 $toc = $event->data ?: array(); // data is reference to global $TOC
187 $event->data = $tocTweak->_toc($toc, $topLv, $maxLv, $headline);
217 $toc = @$INFO['meta']['description']['tableofcontents'] ?: array();
223 $html_toc = $tocTweak->html_toc($toc, $topLv, $maxLv, $headline);
/plugin/html2pdf/html2pdf/html2ps/demo/
Dhtml2ps.php203 if (isset($_REQUEST['toc'])) {
204 …$pipeline->add_feature('toc', array('location' => isset($_REQUEST['toc-location']) ? $_REQUEST['to…
/plugin/toctweak/syntax/
Dmetatoc.php97 $toc = $tocTweak->get_metatoc($id, $topLv, $maxLv, $section);
98 if (empty($toc)) {
99 $toc[] = array( // error entry
118 $html.= html_buildlist($toc, 'toc', array($this, 'html_list_metatoc'));
/plugin/qna/style/
Dsymbols.less2 div.qna-toc {
7 span.qna-toc-header * {
11 span.qna-toc-question * {
Dmemes.less2 div.qna-toc {
7 span.qna-toc-header * {
11 span.qna-toc-question * {
/plugin/header2/
Drenderer.php101 …if($this->info['toc'] && is_array($this->toc) && $conf['tocminheads'] && count($this->toc) >= $con…
103 $TOC = $this->toc;
/plugin/combo/resources/theme/default/pages/templates/
H A Dholy.js14 let toc = document.getElementById("main-toc");
15 toc.appendChild(side);
/plugin/combo/action/
H A Dtoc.php51 $toc = Toc::createForRequestedPage()
53 $event->data = $toc;
/plugin/header3/
Drenderer.php120 …if($this->info['toc'] && is_array($this->toc) && $conf['tocminheads'] && count($this->toc) >= $con…
122 $TOC = $this->toc;

123456