| @@ 1585-1589 (lines=5) @@ | ||
| 1582 | $value = $this->applyFilter($value, $modifiers, $key); |
|
| 1583 | } |
|
| 1584 | ||
| 1585 | if (strpos($content, $s) !== false) { |
|
| 1586 | $content = str_replace($s, $value, $content); |
|
| 1587 | } elseif($this->debug) { |
|
| 1588 | $this->addLog('mergeDocumentContent parse error', $_SERVER['REQUEST_URI'] . $s, 2); |
|
| 1589 | } |
|
| 1590 | } |
|
| 1591 | ||
| 1592 | return $content; |
|
| @@ 1753-1757 (lines=5) @@ | ||
| 1750 | $value = $this->applyFilter($value, $modifiers, $key); |
|
| 1751 | } |
|
| 1752 | $s = &$matches[0][$i]; |
|
| 1753 | if (strpos($content, $s) !== false) { |
|
| 1754 | $content = str_replace($s, $value, $content); |
|
| 1755 | } elseif($this->debug) { |
|
| 1756 | $this->addLog('mergeSettingsContent parse error', $_SERVER['REQUEST_URI'] . $s, 2); |
|
| 1757 | } |
|
| 1758 | } |
|
| 1759 | return $content; |
|
| 1760 | } |
|
| @@ 1822-1826 (lines=5) @@ | ||
| 1819 | } |
|
| 1820 | ||
| 1821 | $s = &$matches[0][$i]; |
|
| 1822 | if (strpos($content, $s) !== false) { |
|
| 1823 | $content = str_replace($s, $value, $content); |
|
| 1824 | } elseif($this->debug) { |
|
| 1825 | $this->addLog('mergeChunkContent parse error', $_SERVER['REQUEST_URI'] . $s, 2); |
|
| 1826 | } |
|
| 1827 | } |
|
| 1828 | return $content; |
|
| 1829 | } |
|
| @@ 1881-1885 (lines=5) @@ | ||
| 1878 | $value = $this->applyFilter($value, $modifiers, $key); |
|
| 1879 | } |
|
| 1880 | $s = &$matches[0][$i]; |
|
| 1881 | if (strpos($content, $s) !== false) { |
|
| 1882 | $content = str_replace($s, $value, $content); |
|
| 1883 | } elseif($this->debug) { |
|
| 1884 | $this->addLog('mergePlaceholderContent parse error', $_SERVER['REQUEST_URI'] . $s, 2); |
|
| 1885 | } |
|
| 1886 | } |
|
| 1887 | return $content; |
|
| 1888 | } |
|
| @@ 2092-2096 (lines=5) @@ | ||
| 2089 | foreach ($matches[1] as $i => $v) { |
|
| 2090 | $v = str_ireplace($sTags, $rTags, $v); |
|
| 2091 | $s = &$matches[0][$i]; |
|
| 2092 | if (strpos($content, $s) !== false) { |
|
| 2093 | $content = str_replace($s, $v, $content); |
|
| 2094 | } elseif($this->debug) { |
|
| 2095 | $this->addLog('ignoreCommentedTagsContent parse error', $_SERVER['REQUEST_URI'] . $s, 2); |
|
| 2096 | } |
|
| 2097 | } |
|
| 2098 | return $content; |
|
| 2099 | } |
|
| @@ 2252-2256 (lines=5) @@ | ||
| 2249 | } else { |
|
| 2250 | $value = $s; |
|
| 2251 | } |
|
| 2252 | if (strpos($content, $s) !== false) { |
|
| 2253 | $content = str_replace($s, $value, $content); |
|
| 2254 | } elseif($this->debug) { |
|
| 2255 | $this->addLog('evalSnippetsSGVar parse error', $_SERVER['REQUEST_URI'] . $s, 2); |
|
| 2256 | } |
|
| 2257 | continue; |
|
| 2258 | } |
|
| 2259 | $value = $this->_get_snip_result($call); |
|
| @@ 2264-2268 (lines=5) @@ | ||
| 2261 | continue; |
|
| 2262 | } |
|
| 2263 | ||
| 2264 | if (strpos($content, $s) !== false) { |
|
| 2265 | $content = str_replace($s, $value, $content); |
|
| 2266 | } elseif($this->debug) { |
|
| 2267 | $this->addLog('evalSnippets parse error', $_SERVER['REQUEST_URI'] . $s, 2); |
|
| 2268 | } |
|
| 2269 | } |
|
| 2270 | ||
| 2271 | if ($this->dumpSnippets) { |
|
| @@ 4621-4625 (lines=5) @@ | ||
| 4618 | } |
|
| 4619 | $value = $this->applyFilter($value, $modifiers, $key); |
|
| 4620 | } |
|
| 4621 | if (strpos($tpl, $s) !== false) { |
|
| 4622 | $tpl = str_replace($s, $value, $tpl); |
|
| 4623 | } elseif($this->debug) { |
|
| 4624 | $this->addLog('parseText parse error', $_SERVER['REQUEST_URI'] . $s, 2); |
|
| 4625 | } |
|
| 4626 | } |
|
| 4627 | ||
| 4628 | return $tpl; |
|