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