@@ 1593-1597 (lines=5) @@ | ||
1590 | $value = $this->applyFilter($value, $modifiers, $key); |
|
1591 | } |
|
1592 | ||
1593 | if (strpos($content, $s) !== false) { |
|
1594 | $content = str_replace($s, $value, $content); |
|
1595 | } elseif($this->debug) { |
|
1596 | $this->addLog('mergeDocumentContent parse error', $_SERVER['REQUEST_URI'] . $s, 2); |
|
1597 | } |
|
1598 | } |
|
1599 | ||
1600 | return $content; |
|
@@ 1761-1765 (lines=5) @@ | ||
1758 | $value = $this->applyFilter($value, $modifiers, $key); |
|
1759 | } |
|
1760 | $s = &$matches[0][$i]; |
|
1761 | if (strpos($content, $s) !== false) { |
|
1762 | $content = str_replace($s, $value, $content); |
|
1763 | } elseif($this->debug) { |
|
1764 | $this->addLog('mergeSettingsContent parse error', $_SERVER['REQUEST_URI'] . $s, 2); |
|
1765 | } |
|
1766 | } |
|
1767 | return $content; |
|
1768 | } |
|
@@ 1830-1834 (lines=5) @@ | ||
1827 | } |
|
1828 | ||
1829 | $s = &$matches[0][$i]; |
|
1830 | if (strpos($content, $s) !== false) { |
|
1831 | $content = str_replace($s, $value, $content); |
|
1832 | } elseif($this->debug) { |
|
1833 | $this->addLog('mergeChunkContent parse error', $_SERVER['REQUEST_URI'] . $s, 2); |
|
1834 | } |
|
1835 | } |
|
1836 | return $content; |
|
1837 | } |
|
@@ 1889-1893 (lines=5) @@ | ||
1886 | $value = $this->applyFilter($value, $modifiers, $key); |
|
1887 | } |
|
1888 | $s = &$matches[0][$i]; |
|
1889 | if (strpos($content, $s) !== false) { |
|
1890 | $content = str_replace($s, $value, $content); |
|
1891 | } elseif($this->debug) { |
|
1892 | $this->addLog('mergePlaceholderContent parse error', $_SERVER['REQUEST_URI'] . $s, 2); |
|
1893 | } |
|
1894 | } |
|
1895 | return $content; |
|
1896 | } |
|
@@ 2100-2104 (lines=5) @@ | ||
2097 | foreach ($matches[1] as $i => $v) { |
|
2098 | $v = str_ireplace($sTags, $rTags, $v); |
|
2099 | $s = &$matches[0][$i]; |
|
2100 | if (strpos($content, $s) !== false) { |
|
2101 | $content = str_replace($s, $v, $content); |
|
2102 | } elseif($this->debug) { |
|
2103 | $this->addLog('ignoreCommentedTagsContent parse error', $_SERVER['REQUEST_URI'] . $s, 2); |
|
2104 | } |
|
2105 | } |
|
2106 | return $content; |
|
2107 | } |
|
@@ 2260-2264 (lines=5) @@ | ||
2257 | } else { |
|
2258 | $value = $s; |
|
2259 | } |
|
2260 | if (strpos($content, $s) !== false) { |
|
2261 | $content = str_replace($s, $value, $content); |
|
2262 | } elseif($this->debug) { |
|
2263 | $this->addLog('evalSnippetsSGVar parse error', $_SERVER['REQUEST_URI'] . $s, 2); |
|
2264 | } |
|
2265 | continue; |
|
2266 | } |
|
2267 | $value = $this->_get_snip_result($call); |
|
@@ 2272-2276 (lines=5) @@ | ||
2269 | continue; |
|
2270 | } |
|
2271 | ||
2272 | if (strpos($content, $s) !== false) { |
|
2273 | $content = str_replace($s, $value, $content); |
|
2274 | } elseif($this->debug) { |
|
2275 | $this->addLog('evalSnippets parse error', $_SERVER['REQUEST_URI'] . $s, 2); |
|
2276 | } |
|
2277 | } |
|
2278 | ||
2279 | if ($this->dumpSnippets) { |
|
@@ 4620-4624 (lines=5) @@ | ||
4617 | } |
|
4618 | $value = $this->applyFilter($value, $modifiers, $key); |
|
4619 | } |
|
4620 | if (strpos($tpl, $s) !== false) { |
|
4621 | $tpl = str_replace($s, $value, $tpl); |
|
4622 | } elseif($this->debug) { |
|
4623 | $this->addLog('parseText parse error', $_SERVER['REQUEST_URI'] . $s, 2); |
|
4624 | } |
|
4625 | } |
|
4626 | ||
4627 | return $tpl; |