Lines Matching refs:html

233         $html = '';
236 $html .= '<script type="text/javascript">function mikioFooterRun() {';
238 $html .= $script . ';';
240 $html .= '}</script>';
245 echo $html;
247 return $html;
427 $html = ob_get_clean();
429 if (empty($html) === false) {
461 $html = ob_get_clean();
463 if (empty($html) === true) {
468 $html = tpl_include_page($page, false, $propagate, $useACL);
472 if (empty($html) === false && $parse === true) {
473 $html = $this->parseContent($html); // TODO - move to end of main.php
476 if (empty($classWrapper) === false && empty($html) === false) {
477 $html = '<div class="' . $classWrapper . '">' . $html . '</div>';
481 echo $html;
483 return $html;
495 $html = '';
498 $html .= '<div class="mikio-user-info">';
501 $html .= ob_get_clean();
502 $html .= '</div>';
506 echo $html;
508 return $html;
524 $html = '<ul class="mikio-nav">';
617 $html .= '<li id="dokuwiki__pagetools" class="mikio-nav-dropdown">';
618 … $html .= '<a id="mikio_dropdown_pagetools" class="nav-link dropdown-toggle" href="#" role="button"
624 $html .= '<div class="mikio-dropdown closed">' . implode('', $pageToolsMenu);
626 $html .= '</div>';
627 $html .= '</li>';
631 $html .= '<li id="dokuwiki__sitetools" class="mikio-nav-dropdown">';
632 … $html .= '<a id="mikio_dropdown_sitetools" class="nav-link dropdown-toggle" href="#" role="button"
638 $html .= '<div class="mikio-dropdown closed">' . implode('', $siteToolsMenu);
640 $html .= '</div>';
641 $html .= '</li>';
647 $html .= $do->tpl_getUserTasksIconHTML();
651 $html .= '<li id="dokuwiki__usertools" class="mikio-nav-dropdown">';
652 … $html .= '<a id="mikio_dropdown_usertools" class="nav-link dropdown-toggle" href="#" role="button"
658 $html .= '<div class="mikio-dropdown closed">' . implode('', $userToolsMenu);
660 $html .= '</div>';
661 $html .= '</li>';
667 $html .= '<li class="mikio-nav-dropdown">';
668 $html .= '<a class="mikio-nav-link" href="#">' .
672 $html .= '<div class="mikio-dropdown closed">';
675 $html .= '<h6 class="mikio-dropdown-header">' . $lang['page_tools'] . '</h6>';
677 $html .= $item;
682 $html .= '<div class="mikio-dropdown-divider"></div>';
683 $html .= '<h6 class="mikio-dropdown-header">' . $lang['site_tools'] . '</h6>';
685 $html .= $item;
692 $html .= $do->tpl_getUserTasksIconHTML();
696 $html .= '<div class="mikio-dropdown-divider"></div>';
697 $html .= '<h6 class="mikio-dropdown-header">' . $lang['user_tools'] . '</h6>';
699 $html .= $item;
703 $html .= '</div>';
704 $html .= '</li>';
709 $html .= '<li class="mikio-nav-item">' . $item . '</li>';
713 $html .= '<li class="mikio-nav-item">' . $item . '</li>';
719 $html .= $do->tpl_getUserTasksIconHTML();
723 $html .= '<li class="mikio-nav-item">' . $item . '</li>';
752 $html .= '<li id="mikio__versionswitch" class="mikio-nav-dropdown">';
753 … $html .= '<a id="mikio_dropdown_translate" class="nav-link dropdown-toggle" href="#" role="button"
755 $html .= '<div class="mikio-dropdown closed">';
759 … $html .= preg_replace($classPattern, 'class="mikio-nav-link mikio-dropdown-item"', $link);
762 $html .= '</div>';
763 $html .= '</li>';
768 $html .= '<li id="mikio__translate" class="mikio-nav-dropdown">';
769 … $html .= '<a id="mikio_dropdown_translate" class="nav-link dropdown-toggle" href="#" role="button"
773 $html .= '<div class="mikio-dropdown closed">';
775 $html .= $translation->showTranslations();
777 $html .= '</div>';
778 $html .= '</li>';
783 $html .= '<li class="mikio-darklight">
791 $html .= '</ul>';
794 echo $html;
796 return $html;
808 $html = '';
813 $html .= '<ul class="mikio-nav">';
817 $html .= '<li class="mikio-nav-item"><a class="mikio-nav-link" href="' .
822 $html .= '</ul>';
826 return $html;
860 …$html = '<nav class="mikio-navbar' . (($this->getConf('stickyNavbar') === true) ? ' mikio-sticky' …
862 $html .= '<div class="mikio-container">';
863 … $html .= '<a class="mikio-navbar-brand" href="' . $homeUrl . '" accesskey="h" title="Home [h]">';
897 …$html .= '<img src="' . $logo . '" alt="'. strip_tags($conf['title']) .' logo" class="mikio-navbar…
901 …$html .= '<img src="' . $logoDark . '" class="mikio-navbar-brand-image' . (empty($logo) === false …
908 $html .= '<div class="mikio-navbar-brand-title">';
909 $html .= '<h1 class="mikio-navbar-brand-title-text">' . $conf['title'] . '</h1>';
911 … $html .= '<p class="claim mikio-navbar-brand-title-tagline">' . $conf['tagline'] . '</p>';
913 $html .= '</div>';
916 $html .= '</a>';
917 $html .= '<div class="mikio-navbar-toggle"><span class="icon"></span></div>';
920 $html .= '<div class="mikio-navbar-collapse">';
933 $html .= $this->stringToNav($this->getConf('navbarCustomMenuText', ''));
936 $html .= '<div class="mikio-nav-item">';
937 $html .= $this->includeSearch(false);
938 $html .= '</div>';
941 $html .= $this->includeDWMenu(false);
946 $html .= '</div>';
947 $html .= '</div>';
948 $html .= '</nav>';
954 $html .= '<nav class="mikio-navbar mikio-sub-navbar">' . $sub . '</nav>';
959 echo $html;
961 return $html;
995 $html = '';
1014 $html .= '<div class="mikio-sidebar-header">' . $content . '</div>';
1031 $html .= $this->includeSearch(false);
1034 $html .= $this->includeLoggedIn(false);
1039 … $html .= '<div class="mikio-sidebar-content">' . $content . '</div>';
1043 $html .= '<div class="mikio-tags"></div>';
1049 $html .= '<div class="mikio-sidebar-content">' . $content . '</div>';
1055 $html .= '<div class="mikio-sidebar-footer">' . $content . '</div>';
1059 if (empty($html) === true) {
1061 $html = '&nbsp;';
1064 $html = '&nbsp;';
1068 if (empty($html) === false) {
1080 … $html = '<aside class="' . implode(' ', $sidebarClasses) . '"><a class="mikio-sidebar-toggle' .
1083 $html . '</div></aside>';
1087 $TOCPos = strpos($html, $TOCString);
1090 $TOCPos = strpos($html, $TOCString);
1096 $html = substr_replace($html, $toc, $TOCPos, strlen($TOCString));
1100 $html = $this->includeIcons($html);
1103 echo $html;
1106 return $html;
1123 …$html = '<nav' . ($includeId === true ? ' id="dw__pagetools"' : '') . ' class="hidden-print dw__pa…
1124 $html .= '<ul class="tools">';
1145 $html .= '<li class="' . implode(' ', $classes) . '">';
1146 … $html .= '<a href="' . $item->getLink() . '" class="' . $item->getType() . '" title="' .
1149 $html .= '</li>';
1153 $html .= '</ul>';
1154 $html .= '</nav>';
1157 echo $html;
1159 return $html;
1171 $html = $this->parseHTML('tpl_searchform', function($dom) {
1206 @$dom->loadHTML($html);
1209 $html = $dom->saveHTML($forms->item(0));
1211 $html = '';
1215 echo $html;
1217 return $html;
1231 $html = ob_get_clean();
1233 $html = $this->includeIcons($html);
1234 $html = $this->parseContent($html);
1236 $html .= '<div style="clear:both"></div>';
1239 $html = '<div class="mikio-tags"></div>' . $html;
1242 $html = '<div class="mikio-article-content">' . $html . '</div>';
1245 echo $html;
1247 return $html;
1350 $html = '<footer class="mikio-footer">';
1351 $html .= '<div class="doc">' . $this->custom_tpl_pageinfo(true) . '</div>';
1352 $html .= $this->includePage('footer', false);
1354 $html .= $this->stringToNav($this->getConf('footerCustomMenuText'));
1357 $html .= '<div class="mikio-footer-search">';
1358 $html .= $this->includeSearch(false);
1359 $html .= '</div>';
1368 $html .= $this->includePageTools(false);
1377 $html .= tpl_license($licenseType, $this->getConf('licenseImageOnly'), true);
1380 $html .= '</footer>';
1383 echo $html;
1385 return $html;
1407 $html = '<div class="mikio-breadcrumbs">';
1408 $html .= '<div class="mikio-container">';
1413 $html .= ob_get_clean();
1438 $html .= '<ul>';
1440 $html .= '<li class="prefix">' . $prefix . '</li>';
1448 $html .= '<li class="sep">' . $sep . '</li>';
1450 $html .= '<li' . ($i === $last ? ' class="curid"' : '') . '>';
1451 $html .= tpl_pagelink($id, null, true);
1452 $html .= '</li>';
1455 $html .= '</ul>';
1459 $html .= '</div>';
1460 $html .= '</div>';
1463 $html = $this->includeIcons($html);
1466 echo $html;
1468 return $html;
1489 $html = '<div class="mikio-youarehere">';
1490 $html .= '<div class="mikio-container">';
1493 $html .= '<div class="mikio-bcdw">';
1496 $html .= ob_get_clean();
1497 $html .= '</div>';
1520 $html .= '<ul>';
1522 $html .= '<li class="prefix">' . $prefix . '</li>';
1524 $html .= '<li>' . tpl_pagelink(':' . $conf['start'], null, true) . '</li>';
1537 $html .= '<li class="sep">' . $sep . '</li>';
1538 $html .= '<li>' . tpl_pagelink($page, null, true) . '</li>';
1554 $html .= '<li class="sep">' . $sep . '</li>';
1555 $html .= '<li>' . tpl_pagelink($page, null, true) . '</li>';
1559 $html .= '</ul>';
1564 preg_match_all('/(<li[^>]*>.+?<\/li>)/', $html, $matches);
1577 $html = preg_replace('/<ul>.*<\/ul>/', '<ul>' . $list . '</ul>', $html);
1587 $html = preg_replace('/<li[^>]*>.+?<\/li>/', '', $html, 2);
1590 … $html = preg_replace('/(<a[^>]*>)(.+?)(<\/a>)/', '$1' . tpl_getlang('home') . '$3', $html, 1);
1593 $html = preg_replace('/(<a[^>]*>)(.+?)(<\/a>)/', '$1' .
1594 $this->mikioInlineIcon('home') . '$3', $html, 1);
1601 $html .= '&#8810; ';
1603 …$html .= '<a href="' . wl($ID, ['do' => $ACT]) . '">' . $title_back . '</a>&nbsp;&nbsp;&nbsp;/&nbs…
1605 $html .= '<a href="' . wl($ID) . '">' . $title_view_page . '</a>';
1608 $html .= '</div>';
1609 $html .= '</div>';
1612 $html = $this->includeIcons($html);
1615 echo $html;
1617 return $html;
1645 $html = '';
1648 $html .= '<div class="mikio-hero">';
1649 $html .= '<div class="mikio-container">';
1650 $html .= '<div class="mikio-hero-text">';
1652 $html .= $this->includeYouAreHere(false);
1655 $html .= $this->includeBreadcrumbs(false);
1658 $html .= '<h1 class="mikio-hero-title">';
1659 … $html .= $this->parsePageTitle(); // No idea why this requires a blank space afterward to work?
1660 $html .= '</h1>';
1661 $html .= '<h2 class="mikio-hero-subtitle"></h2>';
1662 $html .= '</div>';
1671 $html .= '<div class="mikio-hero-image' . $hero_image_resize_class . '"' . $hero_image .
1675 $html .= '<div class="mikio-tags"></div>';
1678 $html .= '</div>';
1680 $html .= '</div>';
1681 $html .= '</div>';
1685 echo $html;
1688 return $html;
1706 $html = '';
1726 $html .= '<div class="mikio-toc">';
1727 $html .= $tocHtml;
1728 $html .= '</div>';
1732 $html = $this->includeIcons($html);
1736 echo $html;
1739 return $html;
1770 $html = null;
1772 $html = new simple_html_dom();
1773 $html->stripRNAttrValues = false;
1774 $html->load($str, true, false);
1776 $preview = $html->find('div.preview');
1851 $str = $html->save();
1852 $html->clear();
1853 unset($html);
2058 $html = new simple_html_dom();
2059 $html->stripRNAttrValues = false;
2060 $html->load($content, true, false);
2063 foreach ($html->find('#config__manager button') as $node) {
2073 foreach ($html->find('#config__manager [type=submit]') as $node) {
2085 foreach ($html->find('h1,h2,h3,h4') as $elm) {
2096 foreach ($html->find('p') as $elm) {
2107 foreach ($html->find('p') as $elm) {
2139 foreach ($html->find('p') as $elm) {
2150 foreach ($html->find('p') as $elm) {
2174 foreach ($html->find('div.tags a') as $elm) {
2178 foreach ($html->find('div.tags') as $elm) {
2191 foreach ($html->find('#config__manager') as $cm) {
2206 $content = $html->save();
2207 $html->clear();
2208 unset($html);
2349 $html = $titleFormat;
2350 $html = preg_replace('/(\%page\%)/', $pageTitle , $html);
2351 $html = preg_replace('/(\%wiki\%)/', $wikiTitle, $html);
2353 $html = preg_replace('/\s+/', ' ', $html);
2354 $html = strip_tags($html);
2355 return trim($html);