| @@ 1338-1342 (lines=5) @@ | ||
| 1335 | $value = $this->applyFilter($value, $modifiers, $key); |
|
| 1336 | } |
|
| 1337 | ||
| 1338 | if (strpos($content, $s) !== false) { |
|
| 1339 | $content = str_replace($s, $value, $content); |
|
| 1340 | } elseif($this->debug) { |
|
| 1341 | $this->addLog('mergeDocumentContent parse error', $_SERVER['REQUEST_URI'] . $s, 2); |
|
| 1342 | } |
|
| 1343 | } |
|
| 1344 | ||
| 1345 | return $content; |
|
| @@ 1506-1510 (lines=5) @@ | ||
| 1503 | $value = $this->applyFilter($value, $modifiers, $key); |
|
| 1504 | } |
|
| 1505 | $s = &$matches[0][$i]; |
|
| 1506 | if (strpos($content, $s) !== false) { |
|
| 1507 | $content = str_replace($s, $value, $content); |
|
| 1508 | } elseif($this->debug) { |
|
| 1509 | $this->addLog('mergeSettingsContent parse error', $_SERVER['REQUEST_URI'] . $s, 2); |
|
| 1510 | } |
|
| 1511 | } |
|
| 1512 | return $content; |
|
| 1513 | } |
|
| @@ 1575-1579 (lines=5) @@ | ||
| 1572 | } |
|
| 1573 | ||
| 1574 | $s = &$matches[0][$i]; |
|
| 1575 | if (strpos($content, $s) !== false) { |
|
| 1576 | $content = str_replace($s, $value, $content); |
|
| 1577 | } elseif($this->debug) { |
|
| 1578 | $this->addLog('mergeChunkContent parse error', $_SERVER['REQUEST_URI'] . $s, 2); |
|
| 1579 | } |
|
| 1580 | } |
|
| 1581 | return $content; |
|
| 1582 | } |
|
| @@ 1634-1638 (lines=5) @@ | ||
| 1631 | $value = $this->applyFilter($value, $modifiers, $key); |
|
| 1632 | } |
|
| 1633 | $s = &$matches[0][$i]; |
|
| 1634 | if (strpos($content, $s) !== false) { |
|
| 1635 | $content = str_replace($s, $value, $content); |
|
| 1636 | } elseif($this->debug) { |
|
| 1637 | $this->addLog('mergePlaceholderContent parse error', $_SERVER['REQUEST_URI'] . $s, 2); |
|
| 1638 | } |
|
| 1639 | } |
|
| 1640 | return $content; |
|
| 1641 | } |
|
| @@ 1845-1849 (lines=5) @@ | ||
| 1842 | foreach ($matches[1] as $i => $v) { |
|
| 1843 | $v = str_ireplace($sTags, $rTags, $v); |
|
| 1844 | $s = &$matches[0][$i]; |
|
| 1845 | if (strpos($content, $s) !== false) { |
|
| 1846 | $content = str_replace($s, $v, $content); |
|
| 1847 | } elseif($this->debug) { |
|
| 1848 | $this->addLog('ignoreCommentedTagsContent parse error', $_SERVER['REQUEST_URI'] . $s, 2); |
|
| 1849 | } |
|
| 1850 | } |
|
| 1851 | return $content; |
|
| 1852 | } |
|
| @@ 2002-2006 (lines=5) @@ | ||
| 1999 | } else { |
|
| 2000 | $value = $s; |
|
| 2001 | } |
|
| 2002 | if (strpos($content, $s) !== false) { |
|
| 2003 | $content = str_replace($s, $value, $content); |
|
| 2004 | } elseif($this->debug) { |
|
| 2005 | $this->addLog('evalSnippetsSGVar parse error', $_SERVER['REQUEST_URI'] . $s, 2); |
|
| 2006 | } |
|
| 2007 | continue; |
|
| 2008 | } |
|
| 2009 | $value = $this->_get_snip_result($call); |
|
| @@ 2014-2018 (lines=5) @@ | ||
| 2011 | continue; |
|
| 2012 | } |
|
| 2013 | ||
| 2014 | if (strpos($content, $s) !== false) { |
|
| 2015 | $content = str_replace($s, $value, $content); |
|
| 2016 | } elseif($this->debug) { |
|
| 2017 | $this->addLog('evalSnippets parse error', $_SERVER['REQUEST_URI'] . $s, 2); |
|
| 2018 | } |
|
| 2019 | } |
|
| 2020 | ||
| 2021 | if ($this->dumpSnippets) { |
|
| @@ 4350-4354 (lines=5) @@ | ||
| 4347 | } |
|
| 4348 | $value = $this->applyFilter($value, $modifiers, $key); |
|
| 4349 | } |
|
| 4350 | if (strpos($tpl, $s) !== false) { |
|
| 4351 | $tpl = str_replace($s, $value, $tpl); |
|
| 4352 | } elseif($this->debug) { |
|
| 4353 | $this->addLog('parseText parse error', $_SERVER['REQUEST_URI'] . $s, 2); |
|
| 4354 | } |
|
| 4355 | } |
|
| 4356 | ||
| 4357 | return $tpl; |
|