| @@ 1165-1169 (lines=5) @@ | ||
| 1162 | $value = $this->applyFilter($value, $modifiers, $key); |
|
| 1163 | } |
|
| 1164 | ||
| 1165 | if (strpos($content, $s) !== false) { |
|
| 1166 | $content = str_replace($s, $value, $content); |
|
| 1167 | } elseif ($this->debug) { |
|
| 1168 | $this->addLog('mergeDocumentContent parse error', $_SERVER['REQUEST_URI'] . $s, 2); |
|
| 1169 | } |
|
| 1170 | } |
|
| 1171 | ||
| 1172 | return $content; |
|
| @@ 1345-1349 (lines=5) @@ | ||
| 1342 | $value = $this->applyFilter($value, $modifiers, $key); |
|
| 1343 | } |
|
| 1344 | $s = &$matches[0][$i]; |
|
| 1345 | if (strpos($content, $s) !== false) { |
|
| 1346 | $content = str_replace($s, $value, $content); |
|
| 1347 | } elseif ($this->debug) { |
|
| 1348 | $this->addLog('mergeSettingsContent parse error', $_SERVER['REQUEST_URI'] . $s, 2); |
|
| 1349 | } |
|
| 1350 | } |
|
| 1351 | ||
| 1352 | return $content; |
|
| @@ 1415-1419 (lines=5) @@ | ||
| 1412 | } |
|
| 1413 | ||
| 1414 | $s = &$matches[0][$i]; |
|
| 1415 | if (strpos($content, $s) !== false) { |
|
| 1416 | $content = str_replace($s, $value, $content); |
|
| 1417 | } elseif ($this->debug) { |
|
| 1418 | $this->addLog('mergeChunkContent parse error', $_SERVER['REQUEST_URI'] . $s, 2); |
|
| 1419 | } |
|
| 1420 | } |
|
| 1421 | ||
| 1422 | return $content; |
|
| @@ 1475-1479 (lines=5) @@ | ||
| 1472 | $value = $this->applyFilter($value, $modifiers, $key); |
|
| 1473 | } |
|
| 1474 | $s = &$matches[0][$i]; |
|
| 1475 | if (strpos($content, $s) !== false) { |
|
| 1476 | $content = str_replace($s, $value, $content); |
|
| 1477 | } elseif ($this->debug) { |
|
| 1478 | $this->addLog('mergePlaceholderContent parse error', $_SERVER['REQUEST_URI'] . $s, 2); |
|
| 1479 | } |
|
| 1480 | } |
|
| 1481 | ||
| 1482 | return $content; |
|
| @@ 1701-1705 (lines=5) @@ | ||
| 1698 | foreach ($matches[1] as $i => $v) { |
|
| 1699 | $v = str_ireplace($sTags, $rTags, $v); |
|
| 1700 | $s = &$matches[0][$i]; |
|
| 1701 | if (strpos($content, $s) !== false) { |
|
| 1702 | $content = str_replace($s, $v, $content); |
|
| 1703 | } elseif ($this->debug) { |
|
| 1704 | $this->addLog('ignoreCommentedTagsContent parse error', $_SERVER['REQUEST_URI'] . $s, 2); |
|
| 1705 | } |
|
| 1706 | } |
|
| 1707 | ||
| 1708 | return $content; |
|
| @@ 1886-1890 (lines=5) @@ | ||
| 1883 | } else { |
|
| 1884 | $value = $s; |
|
| 1885 | } |
|
| 1886 | if (strpos($content, $s) !== false) { |
|
| 1887 | $content = str_replace($s, $value, $content); |
|
| 1888 | } elseif ($this->debug) { |
|
| 1889 | $this->addLog('evalSnippetsSGVar parse error', $_SERVER['REQUEST_URI'] . $s, 2); |
|
| 1890 | } |
|
| 1891 | continue; |
|
| 1892 | } |
|
| 1893 | $value = $this->_get_snip_result($call); |
|
| @@ 1898-1902 (lines=5) @@ | ||
| 1895 | continue; |
|
| 1896 | } |
|
| 1897 | ||
| 1898 | if (strpos($content, $s) !== false) { |
|
| 1899 | $content = str_replace($s, $value, $content); |
|
| 1900 | } elseif ($this->debug) { |
|
| 1901 | $this->addLog('evalSnippets parse error', $_SERVER['REQUEST_URI'] . $s, 2); |
|
| 1902 | } |
|
| 1903 | } |
|
| 1904 | ||
| 1905 | if ($this->dumpSnippets) { |
|
| @@ 4093-4097 (lines=5) @@ | ||
| 4090 | } |
|
| 4091 | $value = $this->applyFilter($value, $modifiers, $key); |
|
| 4092 | } |
|
| 4093 | if (strpos($tpl, $s) !== false) { |
|
| 4094 | $tpl = str_replace($s, $value, $tpl); |
|
| 4095 | } elseif($this->debug) { |
|
| 4096 | $this->addLog('parseText parse error', $_SERVER['REQUEST_URI'] . $s, 2); |
|
| 4097 | } |
|
| 4098 | } |
|
| 4099 | ||
| 4100 | return $tpl; |
|