Lines Matching defs:prefix
278 * @param string $prefix inserted before each line
282 function my_breadcrumbs($prefix = '') {
292 echo $prefix . '<nav id="navBreadCrumbs">'.NL;
293 echo $prefix . DOKU_TAB . '<h4>' . $lang['breadcrumb'] . '</h4>'.NL;
294 echo $prefix . DOKU_TAB . '<ol reversed>'.NL;
300 echo $prefix . DOKU_TAB . DOKU_TAB . '<li' . ($i == $last ? ' class="current"' : '') . '><bdi>' . tpl_link(wl($id), hsc($name), '', true) . '</bdi></li>'.NL;
302 echo $prefix . DOKU_TAB . '</ol>'.NL;
303 echo $prefix . '</nav>'.NL;
317 * @param string $prefix to be added before each line
320 function my_youarehere($prefix = '') {
334 echo $prefix . '<nav id="navYouAreHere">'.NL;
335 echo $prefix . DOKU_TAB . '<h4>' . $lang['youarehere'] . '</h4>'.NL;
336 echo $prefix . DOKU_TAB . '<ol>'.NL;
340 echo $prefix . DOKU_TAB . DOKU_TAB . '<li class="home">' . tpl_link( $hl, htmlentities(tpl_getLang('homepage')), ' title="' . htmlentities(tpl_getLang('homepage')) . '"', true) . '</li>'.NL;
341 echo $prefix . DOKU_TAB . DOKU_TAB . '<li>' . tpl_pagelink(':'.$conf['start'], null, true) . '</li>'.NL;
343 echo $prefix . DOKU_TAB . DOKU_TAB . '<li class="home">' . tpl_pagelink(':'.$conf['start'], null, true) . '</li>'.NL;
354 echo $prefix . DOKU_TAB . DOKU_TAB . '<li>' . tpl_pagelink($page, null, true) . '</li>'.NL;
362 echo $prefix . DOKU_TAB . DOKU_TAB . '<li class="current">';
371 echo $prefix . DOKU_TAB . '</ol>'.NL;
372 echo $prefix . '</nav>'.NL;
381 * @param string $prefix to be added before each line
385 function my_userinfo($prefix = '') {
396 echo $prefix . '<li class="action profile"><span class="sronly">' . $lang['loggedinas'] .
402 echo $prefix . "<li class=\"action $typ\">" . '<a href="' . htmlentities($it->getLink()) .
417 * @param string $prefix to be added before each line
421 function my_toc($prefix = '') {
457 echo $prefix . '<aside id="toc" class="toggle hide">'.NL;
458 echo $prefix . DOKU_TAB . '<button type="button" id="toc-menubutton" class="tg_button" title="' . htmlentities($lang['toc']) . '" aria-haspopup="true" aria-controls="toc-menu"><span>' . htmlentities($lang['toc']) . '</span></button>'.NL;
459 echo $prefix . DOKU_TAB . '<nav id="toc-menu" class="tg_content" role="menu" aria-labelledby="toc-menubutton">';
468 echo DOKU_LF . $prefix . str_repeat(DOKU_TAB, $level*2 + 2) . '<ol>'.NL;
473 echo DOKU_LF . $prefix . str_repeat(DOKU_TAB, $level*2) . '</ol>'.NL;
474 echo $prefix . str_repeat(DOKU_TAB, $level*2-1) . '</li>'.NL;
483 echo $prefix . str_repeat(DOKU_TAB, $nl*2 + 1) . '<li role="presentation">' . "<a role=\"menuitem\" href=\"{$href}\">" . htmlentities($it['title']) . '</a>';
489 echo $prefix . str_repeat(DOKU_TAB, $i*2 + 1) . '</ol>';
493 echo $prefix . DOKU_TAB . DOKU_TAB . '</ol>'.NL;
494 echo $prefix . DOKU_TAB . '</nav>'.NL;
495 echo $prefix . '</aside>'.NL;
504 * @param string $prefix to be added before each line
508 function my_lastchange($prefix = '') {
520 echo $prefix . '<p class="docInfo">'.NL;
521 echo $prefix . DOKU_TAB . '<bdi>' . $lang['lastmod'] . '</bdi>'.NL;
522 echo $prefix . DOKU_TAB . '<time datetime="' . date('c', $lastmod) . '" title="' . $longDate . '"><span class="print-only">' . $longDate . '</span><span class="noprint">' . datetime_h($lastmod) . "</span></time>".NL;
523 echo $prefix . '</p>'.NL;
527 /* echo $prefix .'<span class="editorname" tabindex="0">' . $lang['by'] . ' <bdi>' . editorinfo($INFO['editor']) . '</bdi></span>'.NL; */
535 function my_img_meta($prefix = '') {
546 echo $prefix . "<tr><th>{$label}</th><td>";
609 * @param string $prefix to be added before each line
611 function my_cookiebanner($prefix = '') {
627 echo $prefix . "<div id=\"cookiebanner\" class=\"cb_{$position}\">".NL;
628 echo $prefix . DOKU_TAB . '<p class="cb_info">'.NL;
629 echo $prefix . DOKU_TAB . DOKU_TAB . "<span class=\"cb_icon\">{$svg}</span>".NL;
630 echo $prefix . DOKU_TAB . DOKU_TAB . "<span class=\"cb_msg\">{$msg}</span>".NL;
631 echo $prefix . DOKU_TAB . '</p>'.NL;
632 echo $prefix . DOKU_TAB . '<p class="cb_action">'.NL;
633 echo $prefix . DOKU_TAB . DOKU_TAB . '<button>' . hsc(tpl_getLang('cookie_consent')) . '</button>'.NL;
634 echo $prefix . DOKU_TAB . DOKU_TAB;
640 echo $prefix . DOKU_LF . DOKU_TAB.'</p>'.NL;
641 echo $prefix . '</div>'.NL;
651 * @param string $prefix to be added before each line
655 function my_langmenu($prefix, $place, $checkage = true) {
685 $out .= $prefix . "<div id=\"{$place}Languages\">".NL;
698 $out .= $prefix . DOKU_TAB . '<button id="langButton" aria-haspopup="menu" aria-controls="langMenuWrapper" aria-expanded="false">'.NL;
699 $out .= $prefix . DOKU_TAB . DOKU_TAB . $svg . NL;
700 $out .= $prefix . DOKU_TAB . DOKU_TAB . '<span class="sronly">' . $trans->getLang('translations') . '</span>'.NL;
701 $out .= $prefix . DOKU_TAB . '</button>'.NL;
724 $out .= $prefix . DOKU_TAB . "<h3><span>{$headline}</span></h3>".NL;
729 $out .= $prefix . DOKU_TAB . '<div id="langMenu' . ( $asMenu ? 'Wrapper" role="menu" style="display: none"' : 'List"') . '>'.NL;
730 $out .= $prefix . DOKU_TAB . DOKU_TAB . '<ul id="lang' . ( $asMenu ? 'Menu" role="group"' : 'List"' ) . '>'.NL;
747 $out .= $prefix . DOKU_TAB . DOKU_TAB . DOKU_TAB .'<li' . ( $asMenu ? ' role="presentation"' : '' ). ( $current ? ' class="current"' : '' ) . '>'.NL;
748 $out .= $prefix . DOKU_TAB . DOKU_TAB . DOKU_TAB . DOKU_TAB . "<a href=\"{$link}\" lang=\"{$lng}\" hreflang=\"{$lng}\" class=\"{$class}\"" . ( $asMenu ? ' role="menuitem"' : '' ) . '><bdi>'. $trans->getLocalName($lng) . '</bdi></a>'.NL;
749 $out .= $prefix . DOKU_TAB . DOKU_TAB . DOKU_TAB . '</li>'.NL;
754 $out .= $prefix . DOKU_TAB . DOKU_TAB . '</ul>'.NL
755 . $prefix . DOKU_TAB . '</div>'.NL
756 . $prefix . '</div>'.NL;