Lines Matching defs:content
293 'values' => ['none', 'logged in user', 'search', 'content', 'tags'],
297 'sidebarLeftRow3' => 'content'
440 * @param boolean $print Print content.
441 * @param boolean $parse Parse content before printing/returning.
480 * @param boolean $print Print content.
506 * @param boolean $print Print content.
755 * @return string generated content
898 * Print or return the sidebar content
901 * @param boolean $print Print the generated content to the output buffer.
902 * @param boolean $parse Parse the content.
903 * @return string generated content
926 $content = $this->includePage($sidebarPage . 'header', false);
927 if (empty($content) === false) {
928 $html .= '<div class="mikio-sidebar-header">' . $content . '</div>';
944 case 'content':
945 $content = $this->includePage($sidebarPage, false);
946 if (empty($content) === false) {
947 $html .= '<div class="mikio-sidebar-content">' . $content . '</div>';
955 $content = $this->includePage($sidebarPage, false);
956 if (empty($content) === false) {
957 $html .= '<div class="mikio-sidebar-content">' . $content . '</div>';
961 $content = $this->includePage($sidebarPage . 'footer', false);
962 if (empty($content) === false) {
963 $html .= '<div class="mikio-sidebar-footer">' . $content . '</div>';
1006 * Print or return the page tools content
1008 * @param boolean $print Print the generated content to the output buffer.
1010 * @return string generated content
1062 * @param boolean $print Print content.
1097 * Print or return content
1099 * @param boolean $print Print content.
1118 $html = '<div class="mikio-article-content">' . $html . '</div>';
1509 * @param boolean $print Print content.
1621 $content = $str;
1631 $content = $preview[0]->innertext;
1640 $content = preg_replace_callback($page_regex, function ($icons) {
1697 }, $content);
1701 $preview[0]->innertext = $content;
1708 $str = $content;
1718 * @param string $content HTML content to parse.
1719 * @return string Parsed content
1721 public function parseContent(string $content)
1748 $content = preg_replace(
1754 $content
1871 $content = preg_replace(
1877 $content,
1882 $content = preg_replace_callback('/<input type="color"[^>]*>/', function ($match) {
1894 }, $content);
1898 $content = preg_replace('/(<ul.*?>.*?)<\/ul>.*?<ul.*?>(.*?<\/ul>)/s', '$1$2', $content);
1902 if (strpos($content, 'id="page__revisions"') !== false) {
1903 $content = preg_replace(
1906 $content
1912 $html->load($content, true, false);
1915 return $content;
2063 $content = $html->save();
2067 return $content;
2189 * @return string generated content
2214 * @return string HTML icon content