@@ 1612-1616 (lines=5) @@ | ||
1609 | $value = $this->applyFilter($value, $modifiers, $key); |
|
1610 | } |
|
1611 | ||
1612 | if (strpos($content, $s) !== false) { |
|
1613 | $content = str_replace($s, $value, $content); |
|
1614 | } elseif($this->debug) { |
|
1615 | $this->addLog('mergeDocumentContent parse error', $_SERVER['REQUEST_URI'] . $s, 2); |
|
1616 | } |
|
1617 | } |
|
1618 | ||
1619 | return $content; |
|
@@ 1780-1784 (lines=5) @@ | ||
1777 | $value = $this->applyFilter($value, $modifiers, $key); |
|
1778 | } |
|
1779 | $s = &$matches[0][$i]; |
|
1780 | if (strpos($content, $s) !== false) { |
|
1781 | $content = str_replace($s, $value, $content); |
|
1782 | } elseif($this->debug) { |
|
1783 | $this->addLog('mergeSettingsContent parse error', $_SERVER['REQUEST_URI'] . $s, 2); |
|
1784 | } |
|
1785 | } |
|
1786 | return $content; |
|
1787 | } |
|
@@ 1849-1853 (lines=5) @@ | ||
1846 | } |
|
1847 | ||
1848 | $s = &$matches[0][$i]; |
|
1849 | if (strpos($content, $s) !== false) { |
|
1850 | $content = str_replace($s, $value, $content); |
|
1851 | } elseif($this->debug) { |
|
1852 | $this->addLog('mergeChunkContent parse error', $_SERVER['REQUEST_URI'] . $s, 2); |
|
1853 | } |
|
1854 | } |
|
1855 | return $content; |
|
1856 | } |
|
@@ 1908-1912 (lines=5) @@ | ||
1905 | $value = $this->applyFilter($value, $modifiers, $key); |
|
1906 | } |
|
1907 | $s = &$matches[0][$i]; |
|
1908 | if (strpos($content, $s) !== false) { |
|
1909 | $content = str_replace($s, $value, $content); |
|
1910 | } elseif($this->debug) { |
|
1911 | $this->addLog('mergePlaceholderContent parse error', $_SERVER['REQUEST_URI'] . $s, 2); |
|
1912 | } |
|
1913 | } |
|
1914 | return $content; |
|
1915 | } |
|
@@ 2119-2123 (lines=5) @@ | ||
2116 | foreach ($matches[1] as $i => $v) { |
|
2117 | $v = str_ireplace($sTags, $rTags, $v); |
|
2118 | $s = &$matches[0][$i]; |
|
2119 | if (strpos($content, $s) !== false) { |
|
2120 | $content = str_replace($s, $v, $content); |
|
2121 | } elseif($this->debug) { |
|
2122 | $this->addLog('ignoreCommentedTagsContent parse error', $_SERVER['REQUEST_URI'] . $s, 2); |
|
2123 | } |
|
2124 | } |
|
2125 | return $content; |
|
2126 | } |
|
@@ 2279-2283 (lines=5) @@ | ||
2276 | } else { |
|
2277 | $value = $s; |
|
2278 | } |
|
2279 | if (strpos($content, $s) !== false) { |
|
2280 | $content = str_replace($s, $value, $content); |
|
2281 | } elseif($this->debug) { |
|
2282 | $this->addLog('evalSnippetsSGVar parse error', $_SERVER['REQUEST_URI'] . $s, 2); |
|
2283 | } |
|
2284 | continue; |
|
2285 | } |
|
2286 | $value = $this->_get_snip_result($call); |
|
@@ 2291-2295 (lines=5) @@ | ||
2288 | continue; |
|
2289 | } |
|
2290 | ||
2291 | if (strpos($content, $s) !== false) { |
|
2292 | $content = str_replace($s, $value, $content); |
|
2293 | } elseif($this->debug) { |
|
2294 | $this->addLog('evalSnippets parse error', $_SERVER['REQUEST_URI'] . $s, 2); |
|
2295 | } |
|
2296 | } |
|
2297 | ||
2298 | if ($this->dumpSnippets) { |
|
@@ 4648-4652 (lines=5) @@ | ||
4645 | } |
|
4646 | $value = $this->applyFilter($value, $modifiers, $key); |
|
4647 | } |
|
4648 | if (strpos($tpl, $s) !== false) { |
|
4649 | $tpl = str_replace($s, $value, $tpl); |
|
4650 | } elseif($this->debug) { |
|
4651 | $this->addLog('parseText parse error', $_SERVER['REQUEST_URI'] . $s, 2); |
|
4652 | } |
|
4653 | } |
|
4654 | ||
4655 | return $tpl; |