Lines Matching +full:update +full:- +full:user +full:- +full:pass -(+path:inc +path:lang) -(+path:lib +path:plugins +path:lang) -(+path:lib +path:tpl +path:dokuwiki +path:lang)

73                     'startSectionEdit: $data "%s" is NOT an array! One of your plugins needs an update.',
76 -1
79 // @deprecated 2018-04-14, backward compatibility
86 $data['secid'] = ++$this->lastsecid;
88 $this->sectionedits[] = $data;
101 if (count($this->sectionedits) == 0) {
104 $data = array_pop($this->sectionedits);
111 $data['range'] = $data['start'] . '-' . (is_null($end) ? '' : $end);
113 $this->doc .= '<!-- EDIT' . hsc(json_encode($data, JSON_THROW_ON_ERROR)) . ' -->';
132 $this->toc = [];
141 while ($this->sectionedits !== []) {
142 if ($this->sectionedits[count($this->sectionedits) - 1]['start'] <= 1) {
145 array_pop($this->sectionedits);
147 $this->finishSectionEdit();
151 if ($this->footnotes !== []) {
152 $this->doc .= '<div class="footnotes">' . DOKU_LF;
154 foreach ($this->footnotes as $id => $footnote) {
158 $this->doc .= '<div class="fn">';
159 $this->doc .= '<sup><a href="#fnt__' . $id . '" id="fn__' . $id . '" class="fn_bot">';
160 $this->doc .= $id . ')</a></sup> ' . DOKU_LF;
163 $alt = array_keys($this->footnotes, "@@FNT$id");
167 $this->doc .= ', <sup><a href="#fnt__' . ($ref) . '" id="fn__' . ($ref) . '" class="fn_bot">';
168 $this->doc .= ($ref) . ')</a></sup> ' . DOKU_LF;
172 $this->doc .= '<div class="content">' . $footnote . '</div>';
173 $this->doc .= '</div>' . DOKU_LF;
176 $this->doc .= '</div>' . DOKU_LF;
182 $this->info['toc'] &&
183 is_array($this->toc) &&
184 $conf['tocminheads'] && count($this->toc) >= $conf['tocminheads']
187 $TOC = $this->toc;
191 $this->doc = preg_replace('#<p>\s*</p>#', '', $this->doc);
207 $this->toc[] = html_mktocitem($id, $text, $level - $conf['toptoclevel'] + 1);
226 $hid = $this->_headerToLink($text, true);
229 $this->toc_additem($hid, $text, $level);
232 $this->node[$level - 1]++;
233 if ($level < $this->lastlevel) {
234 for ($i = 0; $i < $this->lastlevel - $level; $i++) {
235 $this->node[$this->lastlevel - $i - 1] = 0;
238 $this->lastlevel = $level;
242 $this->sectionedits !== [] &&
243 $this->sectionedits[count($this->sectionedits) - 1]['target'] === 'section'
245 $this->finishSectionEdit($pos - 1);
255 $data['codeblockOffset'] = $this->_codeblock;
256 $header .= ' class="' . $this->startSectionEdit($pos, $data) . '"';
259 $header .= $this->_xmlEntities($text);
265 $this->doc .= $header;
276 $this->doc .= '<div class="level' . $level . '">' . DOKU_LF;
284 $this->doc .= DOKU_LF . '</div>' . DOKU_LF;
294 $this->doc .= $this->_xmlEntities($text);
302 $this->doc .= DOKU_LF . '<p>' . DOKU_LF;
310 $this->doc .= DOKU_LF . '</p>' . DOKU_LF;
318 $this->doc .= '<br/>' . DOKU_LF;
326 $this->doc .= '<hr />' . DOKU_LF;
334 $this->doc .= '<strong>';
342 $this->doc .= '</strong>';
350 $this->doc .= '<em>';
358 $this->doc .= '</em>';
366 $this->doc .= '<em class="u">';
374 $this->doc .= '</em>';
382 $this->doc .= '<code>';
390 $this->doc .= '</code>';
398 $this->doc .= '<sub>';
406 $this->doc .= '</sub>';
414 $this->doc .= '<sup>';
422 $this->doc .= '</sup>';
426 * Start deleted (strike-through) formatting
430 $this->doc .= '<del>';
434 * Stop deleted (strike-through) formatting
438 $this->doc .= '</del>';
454 $this->store = $this->doc;
455 $this->doc = '';
474 $footnote = $this->doc;
475 $this->doc = $this->store;
476 $this->store = '';
479 $i = array_search($footnote, $this->footnotes);
483 $this->footnotes[$fnid] = $footnote;
486 $this->footnotes[$fnid] = "@@FNT" . ($i);
490 $this->doc .= sprintf(
501 * @param string|string[] $classes css classes - have to be valid, do not pass unfiltered user input
510 $this->doc .= "<ul$class>" . DOKU_LF;
518 $this->doc .= '</ul>' . DOKU_LF;
524 * @param string|string[] $classes css classes - have to be valid, do not pass unfiltered user input
533 $this->doc .= "<ol$class>" . DOKU_LF;
541 $this->doc .= '</ol>' . DOKU_LF;
553 $this->doc .= '<li class="level' . $level . $branching . '">';
561 $this->doc .= '</li>' . DOKU_LF;
569 $this->doc .= '<div class="li">';
577 $this->doc .= '</div>' . DOKU_LF;
583 * Defaults to $this->cdata()
589 $this->doc .= $this->_xmlEntities($text);
597 $this->doc .= '<blockquote><div class="no">' . DOKU_LF;
605 $this->doc .= '</div></blockquote>' . DOKU_LF;
615 $this->doc .= '<pre class="code">' . trim($this->_xmlEntities($text), "\n\r") . '</pre>' . DOKU_LF;
628 $this->_highlight('file', $text, $language, $filename, $options);
641 $this->_highlight('code', $text, $language, $filename, $options);
665 $class = preg_replace('/[^_\-a-z0-9]+/i', '_', $ext);
669 if ($INPUT->has('codeblockOffset')) {
670 $offset = $INPUT->str('codeblockOffset');
672 $this->doc .= '<dl class="' . $type . '">' . DOKU_LF;
673 $this->doc .= '<dt><a href="' .
677 ['codeblock' => $offset + $this->_codeblock]
679 $this->doc .= hsc($filename);
680 $this->doc .= '</a></dt>' . DOKU_LF . '<dd>';
687 $text = substr($text, 0, -1);
691 $this->doc .= '<pre class="' . $type . '">' . $this->_xmlEntities($text) . '</pre>' . DOKU_LF;
696 $this->doc .= "<pre class=\"$class $language\">" .
702 $this->doc .= '</dd></dl>' . DOKU_LF;
705 $this->_codeblock++;
711 * Uses $this->acronyms
718 if (array_key_exists($acronym, $this->acronyms)) {
719 $title = $this->_xmlEntities($this->acronyms[$acronym]);
721 $this->doc .= '<abbr title="' . $title
722 . '">' . $this->_xmlEntities($acronym) . '</abbr>';
724 $this->doc .= $this->_xmlEntities($acronym);
731 * Uses $this->smiley
737 if (isset($this->smileys[$smiley])) {
738 $this->doc .= '<img src="' . DOKU_BASE . 'lib/images/smileys/' . $this->smileys[$smiley] .
739 '" class="icon smiley" alt="' . $this->_xmlEntities($smiley) . '" />';
741 $this->doc .= $this->_xmlEntities($smiley);
750 * Uses $this->entities
756 if (array_key_exists($entity, $this->entities)) {
757 $this->doc .= $this->entities[$entity];
759 $this->doc .= $this->_xmlEntities($entity);
773 $this->doc .= "$x&times;$y";
782 $this->doc .= $lang['singlequoteopening'];
791 $this->doc .= $lang['singlequoteclosing'];
800 $this->doc .= $lang['apostrophe'];
809 $this->doc .= $lang['doublequoteopening'];
818 $this->doc .= $lang['doublequoteclosing'];
833 return $this->internallink($link, $link, null, true);
835 $this->internallink($link, $link);
850 $name = $this->_getLinkTitle($name, $hash, $isImage);
851 $hash = $this->_headerToLink($hash);
861 $this->doc .= $doc;
869 * elsewhere - no need to implement them in other renderers
901 $default = $this->_simpleTitle($id);
904 $id = (new PageResolver($ID))->resolveId($id, $this->date_at, true);
905 $exists = page_exists($id, $this->date_at, false, true);
908 $name = $this->_getLinkTitle($name, $default, $isImage, $id, $linktype);
922 if (!empty($hash)) $hash = $this->_headerToLink($hash);
929 $link['more'] = 'data-wiki-id="' . $id . '"'; // id is already cleaned
931 if ($this->date_at) {
932 $params = $params . '&at=' . rawurlencode($this->date_at);
953 return $this->_formatLink($link);
955 $this->doc .= $this->_formatLink($link);
971 $name = $this->_getLinkTitle($name, $url, $isImage);
974 if (is_null($this->schemes)) $this->schemes = getSchemes();
977 if (!in_array($scheme, $this->schemes)) $url = '';
984 $this->doc .= $name;
1008 $link['title'] = $this->_xmlEntities($url);
1014 return $this->_formatLink($link);
1016 $this->doc .= $this->_formatLink($link);
1023 * You may want to use $this->_resolveInterWiki() here
1025 * @param string $match original link - probably not much use
1041 $link['name'] = $this->_getLinkTitle($name, $wikiUri, $isImage);
1046 $url = $this->_resolveInterWiki($wikiName, $wikiUri, $exists);
1049 $class = preg_replace('/[^_\-a-z0-9]+/i', '_', $wikiName);
1070 $link['title'] = $this->_xmlEntities($link['url']);
1075 return $this->_formatLink($link);
1077 $this->doc .= $link['name'];
1078 } else $this->doc .= $this->_formatLink($link);
1100 $link['name'] = $this->_getLinkTitle($name, $url, $isImage);
1107 $link['title'] = $this->_xmlEntities($url);
1114 return $this->_formatLink($link);
1116 $this->doc .= $this->_formatLink($link);
1121 * Render a linked E-Mail Address
1125 * @param string $address Email-Address
1141 $name = $this->_getLinkTitle($name, '', $isImage);
1148 $address = $this->_xmlEntities($address);
1165 return $this->_formatLink($link);
1167 $this->doc .= $this->_formatLink($link);
1198 $src = (new MediaResolver($ID))->resolveId($src, $this->date_at, true);
1203 $link = $this->_getMediaLinkConf($src, $title, $align, $width, $height, $cache, $render);
1212 'rev' => $this->_getLastMediaRevisionAt($src)
1216 } elseif (($mime == 'application/x-shockwave-flash' || media_supportedav($mime)) && $render) {
1221 $class = preg_replace('/[^_\-a-z0-9]+/i', '_', $ext);
1228 'rev' => $this->_getLastMediaRevisionAt($src)
1247 return $this->_formatLink($link);
1250 $this->doc .= $link['name'];
1252 $this->doc .= $this->_formatLink($link);
1282 $src = $this->_resolveInterWiki($shortcut, $reference, $exists);
1295 $link = $this->_getMediaLinkConf($src, $title, $align, $width, $height, $cache, $render);
1303 } elseif (($mime == 'application/x-shockwave-flash' || media_supportedav($mime)) && $render) {
1308 $class = preg_replace('/[^_\-a-z0-9]+/i', '_', $ext);
1317 else return $this->_formatLink($link);
1319 $this->doc .= $link['name'];
1320 } else $this->doc .= $this->_formatLink($link);
1338 $feed->set_feed_url($url);
1344 $rc = $feed->init();
1349 if ($params['nosort']) $feed->enable_order_by_date(false);
1353 $mod = -1;
1354 $start = $feed->get_item_quantity() - 1;
1355 $end = $start - ($params['max']);
1356 $end = ($end < -1) ? -1 : $end;
1360 $end = $feed->get_item_quantity();
1364 $this->doc .= '<ul class="rss">';
1367 $item = $feed->get_item($x);
1368 $this->doc .= '<li><div class="li">';
1370 $lnkurl = $item->get_permalink();
1371 $title = html_entity_decode($item->get_title(), ENT_QUOTES, 'UTF-8');
1375 $this->externallink($item->get_permalink(), $title);
1377 $this->doc .= ' ' . hsc($item->get_title());
1380 $author = $item->get_author(0);
1382 $name = $author->get_name();
1383 if (!$name) $name = $author->get_email();
1384 if ($name) $this->doc .= ' ' . $lang['by'] . ' ' . hsc($name);
1388 $this->doc .= ' (' . $item->get_local_date($conf['dformat']) . ')';
1391 $desc = $item->get_description();
1393 $desc = html_entity_decode($desc, ENT_QUOTES, 'UTF-8');
1394 $this->doc .= '<div class="detail">';
1395 $this->doc .= hsc($desc);
1396 $this->doc .= '</div>';
1399 $this->doc .= '</div></li>';
1402 $this->doc .= '<li><div class="li">';
1403 $this->doc .= '<em>' . $lang['rssfailed'] . '</em>';
1404 $this->externallink($url);
1406 $this->doc .= '<!--' . hsc($feed->error) . '-->';
1408 $this->doc .= '</div></li>';
1410 $this->doc .= '</ul>';
1419 * @param string|string[] $classes css classes - have to be valid, do not pass unfiltered user input
1424 $this->_counter['row_counter'] = 0;
1431 $hid = $this->_headerToLink($class, true);
1436 $class .= ' ' . $this->startSectionEdit($pos, $data);
1438 $this->doc .= '<div class="' . $class . '"><table class="inline">' .
1449 $this->doc .= '</table></div>' . DOKU_LF;
1451 $this->finishSectionEdit($pos);
1460 $this->doc .= DOKU_TAB . '<thead>' . DOKU_LF;
1468 $this->doc .= DOKU_TAB . '</thead>' . DOKU_LF;
1476 $this->doc .= DOKU_TAB . '<tbody>' . DOKU_LF;
1484 $this->doc .= DOKU_TAB . '</tbody>' . DOKU_LF;
1492 $this->doc .= DOKU_TAB . '<tfoot>' . DOKU_LF;
1500 $this->doc .= DOKU_TAB . '</tfoot>' . DOKU_LF;
1506 * @param string|string[] $classes css classes - have to be valid, do not pass unfiltered user input
1511 $this->_counter['cell_counter'] = 0;
1512 $class = 'row' . $this->_counter['row_counter']++;
1517 $this->doc .= DOKU_TAB . '<tr class="' . $class . '">' . DOKU_LF . DOKU_TAB . DOKU_TAB;
1525 $this->doc .= DOKU_LF . DOKU_TAB . '</tr>' . DOKU_LF;
1534 * @param string|string[] $classes css classes - have to be valid, do not pass unfiltered user input
1538 $class = 'class="col' . $this->_counter['cell_counter']++;
1547 $this->doc .= '<th ' . $class;
1549 $this->_counter['cell_counter'] += $colspan - 1;
1550 $this->doc .= ' colspan="' . $colspan . '"';
1553 $this->doc .= ' rowspan="' . $rowspan . '"';
1555 $this->doc .= '>';
1563 $this->doc .= '</th>';
1572 * @param string|string[] $classes css classes - have to be valid, do not pass unfiltered user input
1576 $class = 'class="col' . $this->_counter['cell_counter']++;
1585 $this->doc .= '<td ' . $class;
1587 $this->_counter['cell_counter'] += $colspan - 1;
1588 $this->doc .= ' colspan="' . $colspan . '"';
1591 $this->doc .= ' rowspan="' . $rowspan . '"';
1593 $this->doc .= '>';
1601 $this->doc .= '</td>';
1612 return $this->lastlevel;
1687 $title = $this->_xmlEntities($title);
1692 $cap = $jpeg->getTitle();
1694 $title = $this->_xmlEntities($cap);
1702 $title = $this->_xmlEntities(PhpString::basename(noNS($src)));
1713 'rev' => $this->_getLastMediaRevisionAt($src)
1727 $ret .= ' width="' . $this->_xmlEntities($width) . '"';
1731 $ret .= ' height="' . $this->_xmlEntities($height) . '"';
1741 return $this->_xmlEntities($title ?: PhpString::basename(noNS($src)));
1752 $ret .= $this->_video($src, $width, $height, $att);
1756 $ret .= $this->_audio($src, $att);
1758 } elseif ($mime == 'application/x-shockwave-flash') {
1766 return $this->_xmlEntities($title);
1780 $this->_xmlEntities($title)
1784 $ret .= $this->_xmlEntities($title);
1787 $ret .= $this->_xmlEntities(PhpString::basename(noNS($src)));
1821 return $this->_imageTitle($title);
1826 return $this->_xmlEntities($heading);
1829 return $this->_xmlEntities($default);
1831 return $this->_xmlEntities($title);
1850 $img['src'] = (new MediaResolver($ID))->resolveId($img['src'], $this->date_at, true);
1853 return $this->_media(
1890 $link['title'] = $this->_xmlEntities($src);
1891 $link['name'] = $this->_media($src, $title, $align, $width, $height, $cache, $render);
1899 * @param string $src - ID of video to embed
1900 * @param int $width - width of the video in pixels
1901 * @param int $height - height of the video in pixels
1902 * @param array $atts - additional attributes for the <video> tag
1954 ? $this->_xmlEntities(PhpString::basename(noNS($file)))
1959 $fallback .= $this->$linkType(
1988 * @param string $src - ID of audio to embed
1989 * @param array $atts - additional attributes for the <audio> tag
2023 $title = $atts['title'] ?: $this->_xmlEntities(PhpString::basename(noNS($file)));
2027 $fallback .= $this->$linkType(
2056 if (!$this->date_at || media_isexternal($media_id)) return '';
2058 return $changelog->getLastRevisionAt($this->date_at);