| @@ 1532-1536 (lines=5) @@ | ||
| 1529 | */ |
|
| 1530 | public function mergeDocumentContent($content, $ph = false) |
|
| 1531 | { |
|
| 1532 | if ($this->config['enable_at_syntax']) { |
|
| 1533 | if (stripos($content, '<@LITERAL>') !== false) { |
|
| 1534 | $content = $this->escapeLiteralTagsContent($content); |
|
| 1535 | } |
|
| 1536 | } |
|
| 1537 | if (strpos($content, '[*') === false) { |
|
| 1538 | return $content; |
|
| 1539 | } |
|
| @@ 1722-1726 (lines=5) @@ | ||
| 1719 | */ |
|
| 1720 | public function mergeSettingsContent($content, $ph = false) |
|
| 1721 | { |
|
| 1722 | if ($this->config['enable_at_syntax']) { |
|
| 1723 | if (stripos($content, '<@LITERAL>') !== false) { |
|
| 1724 | $content = $this->escapeLiteralTagsContent($content); |
|
| 1725 | } |
|
| 1726 | } |
|
| 1727 | if (strpos($content, '[(') === false) { |
|
| 1728 | return $content; |
|
| 1729 | } |
|
| @@ 1841-1845 (lines=5) @@ | ||
| 1838 | public function mergePlaceholderContent($content, $ph = false) |
|
| 1839 | { |
|
| 1840 | ||
| 1841 | if ($this->config['enable_at_syntax']) { |
|
| 1842 | if (stripos($content, '<@LITERAL>') !== false) { |
|
| 1843 | $content = $this->escapeLiteralTagsContent($content); |
|
| 1844 | } |
|
| 1845 | } |
|
| 1846 | if (strpos($content, '[+') === false) { |
|
| 1847 | return $content; |
|
| 1848 | } |
|
| @@ 4588-4592 (lines=5) @@ | ||
| 4585 | return $tpl; |
|
| 4586 | } |
|
| 4587 | ||
| 4588 | if ($this->config['enable_at_syntax']) { |
|
| 4589 | if (stripos($tpl, '<@LITERAL>') !== false) { |
|
| 4590 | $tpl = $this->escapeLiteralTagsContent($tpl); |
|
| 4591 | } |
|
| 4592 | } |
|
| 4593 | ||
| 4594 | $matches = $this->getTagsFromContent($tpl, $left, $right); |
|
| 4595 | if (empty($matches)) { |
|