Lines Matching refs:html

8  * @license GPLv2 (http://www.gnu.org/licenses/gpl-2.0.html)
222 $html = '';
225 $html .= '<script type="text/javascript">function mikioFooterRun() {';
227 $html .= $script . ';';
229 $html .= '}</script>';
234 echo $html;
236 return $html;
413 tpl_includeFile($page . '.html');
414 $html = ob_get_contents();
417 if (empty($html) === false) {
448 tpl_includeFile($page . '.html');
449 $html = ob_get_contents();
452 if (empty($html) === true) {
457 $html = tpl_include_page($page, false, $propagate, $useACL);
462 if (empty($html) === false && $parse === true) {
463 $html = $this->parseContent($html);
466 if (empty($classWrapper) === false && empty($html) === false) {
467 $html = '<div class="' . $classWrapper . '">' . $html . '</div>';
471 echo $html;
473 return $html;
485 $html = '';
488 $html .= '<div class="mikio-user-info">';
491 $html .= ob_get_contents();
493 $html .= '</div>';
497 echo $html;
499 return $html;
515 $html = '<ul class="mikio-nav">';
604 $html .= '<li id="dokuwiki__pagetools" class="mikio-nav-dropdown">';
605 $html .= '<a id="mikio_dropdown_pagetools" class="nav-link dropdown-toggle" href="#" role="button"
611 $html .= '<div class="mikio-dropdown closed">' . implode('', $pageToolsMenu);
613 $html .= '</div>';
614 $html .= '</li>';
616 $html .= '<li id="dokuwiki__sitetools" class="mikio-nav-dropdown">';
617 $html .= '<a id="mikio_dropdown_sitetools" class="nav-link dropdown-toggle" href="#" role="button"
623 $html .= '<div class="mikio-dropdown closed">' . implode('', $siteToolsMenu);
625 $html .= '</div>';
626 $html .= '</li>';
628 $html .= '<li id="dokuwiki__usertools" class="mikio-nav-dropdown">';
629 $html .= '<a id="mikio_dropdown_usertools" class="nav-link dropdown-toggle" href="#" role="button"
635 $html .= '<div class="mikio-dropdown closed">' . implode('', $userToolsMenu);
637 $html .= '</div>';
638 $html .= '</li>';
643 $html .= '<li class="mikio-nav-dropdown">';
644 $html .= '<a class="mikio-nav-link" href="#">' .
648 $html .= '<div class="mikio-dropdown closed">';
650 $html .= '<h6 class="mikio-dropdown-header">' . $lang['page_tools'] . '</h6>';
652 $html .= $item;
655 $html .= '<div class="mikio-dropdown-divider"></div>';
656 $html .= '<h6 class="mikio-dropdown-header">' . $lang['site_tools'] . '</h6>';
658 $html .= $item;
661 $html .= '<div class="mikio-dropdown-divider"></div>';
662 $html .= '<h6 class="mikio-dropdown-header">' . $lang['user_tools'] . '</h6>';
664 $html .= $item;
667 $html .= '</div>';
668 $html .= '</li>';
673 $html .= '<li class="mikio-nav-item">' . $item . '</li>';
677 $html .= '<li class="mikio-nav-item">' . $item . '</li>';
681 $html .= '<li class="mikio-nav-item">' . $item . '</li>';
689 $html .= '<li id="mikio__translate" class="mikio-nav-dropdown">';
690 $html .= '<a id="mikio_dropdown_translate" class="nav-link dropdown-toggle" href="#" role="button"
694 $html .= '<div class="mikio-dropdown closed">';
696 $html .= $translation->showTranslations();
698 $html .= '</div>';
699 $html .= '</li>';
704 $html .= '<li class="mikio-darklight">
712 $html .= '</ul>';
715 echo $html;
717 return $html;
729 $html = '';
734 $html .= '<ul class="mikio-nav">';
738 $html .= '<li class="mikio-nav-item"><a class="mikio-nav-link" href="' .
743 $html .= '</ul>';
747 return $html;
784 $html = '';
786 $html .= '<nav class="mikio-navbar' . (($this->getConf('stickyNavbar') === true) ? ' mikio-sticky' : '') .
788 $html .= '<div class="mikio-container">';
789 $html .= '<a class="mikio-navbar-brand" href="' . $homeUrl . '" accesskey="h" title="Home [h]">';
821 $html .= '<img src="' . $logo . '" class="mikio-navbar-brand-image"' . $styles . '>';
827 $html .= '<div class="mikio-navbar-brand-title">';
828 $html .= '<h1 class="mikio-navbar-brand-title-text">' . $conf['title'] . '</h1>';
830 $html .= '<p class="claim mikio-navbar-brand-title-tagline">' . $conf['tagline'] . '</p>';
832 $html .= '</div>';
835 $html .= '</a>';
836 $html .= '<div class="mikio-navbar-toggle"><span class="icon"></span></div>';
839 $html .= '<div class="mikio-navbar-collapse">';
847 $html .= $this->stringToNav($this->getConf('navbarCustomMenuText', ''));
850 $html .= '<div class="mikio-nav-item">';
851 $html .= $this->includeSearch(false);
852 $html .= '</div>';
855 $html .= $this->includeDWMenu(false);
860 $html .= '</div>';
861 $html .= '</div>';
862 $html .= '</nav>';
868 $html .= '<nav class="mikio-navbar mikio-sub-navbar">' . $sub . '</nav>';
873 echo $html;
875 return $html;
909 $html = '';
928 $html .= '<div class="mikio-sidebar-header">' . $content . '</div>';
939 $html .= $this->includeSearch(false);
942 $html .= $this->includeLoggedIn(false);
947 $html .= '<div class="mikio-sidebar-content">' . $content . '</div>';
951 $html .= '<div class="mikio-tags"></div>';
957 $html .= '<div class="mikio-sidebar-content">' . $content . '</div>';
963 $html .= '<div class="mikio-sidebar-footer">' . $content . '</div>';
967 if (empty($html) === true) {
969 $html = '&nbsp;';
972 $html = '&nbsp;';
976 if (empty($html) === false) {
988 $html = '<aside class="' . implode(' ', $sidebarClasses) . '"><a class="mikio-sidebar-toggle' .
991 $html . '</div></aside>';
995 $html = $this->includeIcons($html);
998 echo $html;
1001 return $html;
1017 $html = '';
1019 $html .= '<nav' . ($includeId === true ? ' id="dw__pagetools"' : '') . ' class="hidden-print dw__pagetools">';
1020 $html .= '<ul class="tools">';
1041 $html .= '<li class="' . implode(' ', $classes) . '">';
1042 $html .= '<a href="' . $item->getLink() . '" class="' . $item->getType() . '" title="' .
1045 $html .= '</li>';
1049 $html .= '</ul>';
1050 $html .= '</nav>';
1053 echo $html;
1055 return $html;
1068 $html = '';
1070 $html .= '<form class="mikio-search search" action="' . wl() .
1072 $html .= '<input type="hidden" name="do" value="search">';
1073 $html .= '<input type="hidden" name="id" value="' . $ID . '">';
1074 $html .= '<input name="q" ';
1076 $html .= 'class="search_typeahead" ';
1078 $html .= 'autocomplete="off" type="search" placeholder="' . $lang['btn_search'] . '" value="' .
1080 $html .= '<button type="submit" title="' . $lang['btn_search'] . '">';
1082 $html .= $this->mikioInlineIcon('search');
1084 $html .= $lang['btn_search'];
1086 $html .= '</button>';
1087 $html .= '</form>';
1090 echo $html;
1092 return $html;
1106 $html = ob_get_contents();
1109 $html = $this->includeIcons($html);
1110 $html = $this->parseContent($html);
1112 $html .= '<div style="clear:both"></div>';
1115 $html = '<div class="mikio-tags"></div>' . $html;
1118 $html = '<div class="mikio-article-content">' . $html . '</div>';
1121 echo $html;
1123 return $html;
1226 $html = '';
1228 $html .= '<footer class="mikio-footer">';
1229 $html .= '<div class="doc">' . $this->custom_tpl_pageinfo(true) . '</div>';
1230 $html .= $this->includePage('footer', false);
1232 $html .= $this->stringToNav($this->getConf('footerCustomMenuText'));
1235 $html .= '<div class="mikio-footer-search">';
1236 $html .= $this->includeSearch(false);
1237 $html .= '</div>';
1245 $html .= $this->includePageTools(false);
1253 $html .= tpl_license($licenseType, $this->getConf('licenseImageOnly'), true, true);
1256 $html .= '</footer>';
1259 echo $html;
1261 return $html;
1283 $html = '<div class="mikio-breadcrumbs">';
1284 $html .= '<div class="mikio-container">';
1290 $html .= ob_get_contents();
1316 $html .= '<ul>';
1318 $html .= '<li class="prefix">' . $prefix . '</li>';
1326 $html .= '<li class="sep">' . $sep . '</li>';
1328 $html .= '<li' . ($i === $last ? ' class="curid"' : '') . '>';
1329 $html .= tpl_pagelink($id, null, true);
1330 $html .= '</li>';
1333 $html .= '</ul>';
1338 $html .= '</div>';
1339 $html .= '</div>';
1342 $html = $this->includeIcons($html);
1345 echo $html;
1347 return $html;
1368 $html = '<div class="mikio-youarehere">';
1369 $html .= '<div class="mikio-container">';
1373 $html .= '<div class="mikio-bcdw">';
1376 $html .= ob_get_contents();
1378 $html .= '</div>';
1401 $html .= '<ul>';
1403 $html .= '<li class="prefix">' . $prefix . '</li>';
1405 $html .= '<li>' . tpl_pagelink(':' . $conf['start'], null, true) . '</li>';
1418 $html .= '<li class="sep">' . $sep . '</li>';
1419 $html .= '<li>' . tpl_pagelink($page, null, true) . '</li>';
1427 $html .= '<li class="sep">' . $sep . '</li>';
1428 $html .= '<li>' . tpl_pagelink($page, null, true) . '</li>';
1432 $html .= '</ul>';
1438 preg_match_all('/(<li[^>]*>.+?<\/li>)/', $html, $matches);
1451 $html = preg_replace('/<ul>.*<\/ul>/', '<ul>' . $list . '</ul>', $html);
1457 $html = preg_replace('/<li[^>]*>.+?<\/li>/', '', $html, 2);
1460 $html = preg_replace('/(<a[^>]*>)(.+?)(<\/a>)/', '$1' . tpl_getlang('home') . '$3', $html, 1);
1463 $html = preg_replace('/(<a[^>]*>)(.+?)(<\/a>)/', '$1' .
1464 $this->mikioInlineIcon('home') . '$3', $html, 1);
1468 $html .= '&#8810; ';
1470 $html .= '<a href="' . wl($ID, ['do' => $ACT]) . '">Back</a>&nbsp;&nbsp;&nbsp;/&nbsp;&nbsp;&nbsp;';
1472 $html .= '<a href="' . wl($ID) . '">View Page</a>';
1475 $html .= '</div>';
1476 $html .= '</div>';
1479 $html = $this->includeIcons($html);
1482 echo $html;
1484 return $html;
1514 $html = '';
1517 $html .= '<div class="mikio-hero">';
1518 $html .= '<div class="mikio-container">';
1519 $html .= '<div class="mikio-hero-text">';
1521 $html .= $this->includeYouAreHere(false);
1524 $html .= $this->includeBreadcrumbs(false);
1527 $html .= '<h1 class="mikio-hero-title">';
1528 $html .= $this->parsePageTitle(); // No idea why this requires a blank space afterward to work?
1529 $html .= '</h1>';
1530 $html .= '<h2 class="mikio-hero-subtitle"></h2>';
1531 $html .= '</div>';
1540 $html .= '<div class="mikio-hero-image' . $hero_image_resize_class . '"' . $hero_image .
1544 $html .= '<div class="mikio-tags"></div>';
1547 $html .= '</div>';
1549 $html .= '</div>';
1550 $html .= '</div>';
1554 echo $html;
1557 return $html;
1570 $html = '';
1585 $html .= '<div class="mikio-toc">';
1586 $html .= $tocHtml;
1587 $html .= '</div>';
1591 $html = $this->includeIcons($html);
1595 echo $html;
1598 return $html;
1625 $html = new simple_html_dom();
1626 $html->stripRNAttrValues = false;
1627 $html->load($str, true, false);
1629 $preview = $html->find('div.preview');
1704 $str = $html->save();
1705 $html->clear();
1706 unset($html);
1910 $html = new simple_html_dom();
1911 $html->stripRNAttrValues = false;
1912 $html->load($content, true, false);
1914 if ($html === false) {
1919 foreach ($html->find('#config__manager button') as $node) {
1929 foreach ($html->find('#config__manager [type=submit]') as $node) {
1941 foreach ($html->find('h1,h2,h3,h4') as $elm) {
1952 foreach ($html->find('p') as $elm) {
1963 foreach ($html->find('p') as $elm) {
1996 foreach ($html->find('p') as $elm) {
2007 foreach ($html->find('p') as $elm) {
2031 foreach ($html->find('div.tags a') as $elm) {
2035 foreach ($html->find('div.tags') as $elm) {
2048 foreach ($html->find('#config__manager') as $cm) {
2063 $content = $html->save();
2064 $html->clear();
2065 unset($html);
2195 $html = '';
2201 $html = p_get_first_heading($page);
2202 $html = strip_tags($html);
2203 $html = preg_replace('/\s+/', ' ', $html);
2204 $html .= ' [' . strip_tags($conf['title']) . ']';
2205 return trim($html);