@@ 1540-1544 (lines=5) @@ | ||
1537 | */ |
|
1538 | public function mergeDocumentContent($content, $ph = false) |
|
1539 | { |
|
1540 | if ($this->config['enable_at_syntax']) { |
|
1541 | if (stripos($content, '<@LITERAL>') !== false) { |
|
1542 | $content = $this->escapeLiteralTagsContent($content); |
|
1543 | } |
|
1544 | } |
|
1545 | if (strpos($content, '[*') === false) { |
|
1546 | return $content; |
|
1547 | } |
|
@@ 1730-1734 (lines=5) @@ | ||
1727 | */ |
|
1728 | public function mergeSettingsContent($content, $ph = false) |
|
1729 | { |
|
1730 | if ($this->config['enable_at_syntax']) { |
|
1731 | if (stripos($content, '<@LITERAL>') !== false) { |
|
1732 | $content = $this->escapeLiteralTagsContent($content); |
|
1733 | } |
|
1734 | } |
|
1735 | if (strpos($content, '[(') === false) { |
|
1736 | return $content; |
|
1737 | } |
|
@@ 1849-1853 (lines=5) @@ | ||
1846 | public function mergePlaceholderContent($content, $ph = false) |
|
1847 | { |
|
1848 | ||
1849 | if ($this->config['enable_at_syntax']) { |
|
1850 | if (stripos($content, '<@LITERAL>') !== false) { |
|
1851 | $content = $this->escapeLiteralTagsContent($content); |
|
1852 | } |
|
1853 | } |
|
1854 | if (strpos($content, '[+') === false) { |
|
1855 | return $content; |
|
1856 | } |
|
@@ 4587-4591 (lines=5) @@ | ||
4584 | return $tpl; |
|
4585 | } |
|
4586 | ||
4587 | if ($this->config['enable_at_syntax']) { |
|
4588 | if (stripos($tpl, '<@LITERAL>') !== false) { |
|
4589 | $tpl = $this->escapeLiteralTagsContent($tpl); |
|
4590 | } |
|
4591 | } |
|
4592 | ||
4593 | $matches = $this->getTagsFromContent($tpl, $left, $right); |
|
4594 | if (empty($matches)) { |