| @@ 1374-1378 (lines=5) @@ | ||
| 1371 | $value = $this->applyFilter($value, $modifiers, $key); |
|
| 1372 | } |
|
| 1373 | ||
| 1374 | if (strpos($content, $s) !== false) { |
|
| 1375 | $content = str_replace($s, $value, $content); |
|
| 1376 | } elseif ($this->debug) { |
|
| 1377 | $this->addLog('mergeDocumentContent parse error', $_SERVER['REQUEST_URI'] . $s, 2); |
|
| 1378 | } |
|
| 1379 | } |
|
| 1380 | ||
| 1381 | return $content; |
|
| @@ 1543-1547 (lines=5) @@ | ||
| 1540 | $value = $this->applyFilter($value, $modifiers, $key); |
|
| 1541 | } |
|
| 1542 | $s = &$matches[0][$i]; |
|
| 1543 | if (strpos($content, $s) !== false) { |
|
| 1544 | $content = str_replace($s, $value, $content); |
|
| 1545 | } elseif ($this->debug) { |
|
| 1546 | $this->addLog('mergeSettingsContent parse error', $_SERVER['REQUEST_URI'] . $s, 2); |
|
| 1547 | } |
|
| 1548 | } |
|
| 1549 | ||
| 1550 | return $content; |
|
| @@ 1613-1617 (lines=5) @@ | ||
| 1610 | } |
|
| 1611 | ||
| 1612 | $s = &$matches[0][$i]; |
|
| 1613 | if (strpos($content, $s) !== false) { |
|
| 1614 | $content = str_replace($s, $value, $content); |
|
| 1615 | } elseif ($this->debug) { |
|
| 1616 | $this->addLog('mergeChunkContent parse error', $_SERVER['REQUEST_URI'] . $s, 2); |
|
| 1617 | } |
|
| 1618 | } |
|
| 1619 | ||
| 1620 | return $content; |
|
| @@ 1673-1677 (lines=5) @@ | ||
| 1670 | $value = $this->applyFilter($value, $modifiers, $key); |
|
| 1671 | } |
|
| 1672 | $s = &$matches[0][$i]; |
|
| 1673 | if (strpos($content, $s) !== false) { |
|
| 1674 | $content = str_replace($s, $value, $content); |
|
| 1675 | } elseif ($this->debug) { |
|
| 1676 | $this->addLog('mergePlaceholderContent parse error', $_SERVER['REQUEST_URI'] . $s, 2); |
|
| 1677 | } |
|
| 1678 | } |
|
| 1679 | ||
| 1680 | return $content; |
|
| @@ 1899-1903 (lines=5) @@ | ||
| 1896 | foreach ($matches[1] as $i => $v) { |
|
| 1897 | $v = str_ireplace($sTags, $rTags, $v); |
|
| 1898 | $s = &$matches[0][$i]; |
|
| 1899 | if (strpos($content, $s) !== false) { |
|
| 1900 | $content = str_replace($s, $v, $content); |
|
| 1901 | } elseif ($this->debug) { |
|
| 1902 | $this->addLog('ignoreCommentedTagsContent parse error', $_SERVER['REQUEST_URI'] . $s, 2); |
|
| 1903 | } |
|
| 1904 | } |
|
| 1905 | ||
| 1906 | return $content; |
|
| @@ 2061-2065 (lines=5) @@ | ||
| 2058 | } else { |
|
| 2059 | $value = $s; |
|
| 2060 | } |
|
| 2061 | if (strpos($content, $s) !== false) { |
|
| 2062 | $content = str_replace($s, $value, $content); |
|
| 2063 | } elseif ($this->debug) { |
|
| 2064 | $this->addLog('evalSnippetsSGVar parse error', $_SERVER['REQUEST_URI'] . $s, 2); |
|
| 2065 | } |
|
| 2066 | continue; |
|
| 2067 | } |
|
| 2068 | $value = $this->_get_snip_result($call); |
|
| @@ 2073-2077 (lines=5) @@ | ||
| 2070 | continue; |
|
| 2071 | } |
|
| 2072 | ||
| 2073 | if (strpos($content, $s) !== false) { |
|
| 2074 | $content = str_replace($s, $value, $content); |
|
| 2075 | } elseif ($this->debug) { |
|
| 2076 | $this->addLog('evalSnippets parse error', $_SERVER['REQUEST_URI'] . $s, 2); |
|
| 2077 | } |
|
| 2078 | } |
|
| 2079 | ||
| 2080 | if ($this->dumpSnippets) { |
|
| @@ 4502-4506 (lines=5) @@ | ||
| 4499 | } |
|
| 4500 | $value = $this->applyFilter($value, $modifiers, $key); |
|
| 4501 | } |
|
| 4502 | if (strpos($tpl, $s) !== false) { |
|
| 4503 | $tpl = str_replace($s, $value, $tpl); |
|
| 4504 | } elseif ($this->debug) { |
|
| 4505 | $this->addLog('parseText parse error', $_SERVER['REQUEST_URI'] . $s, 2); |
|
| 4506 | } |
|
| 4507 | } |
|
| 4508 | ||
| 4509 | return $tpl; |
|