| @@ 1317-1321 (lines=5) @@ | ||
| 1314 | */ |
|
| 1315 | public function mergeDocumentContent($content, $ph = false) |
|
| 1316 | { |
|
| 1317 | if ($this->config['enable_at_syntax']) { |
|
| 1318 | if (stripos($content, '<@LITERAL>') !== false) { |
|
| 1319 | $content = $this->escapeLiteralTagsContent($content); |
|
| 1320 | } |
|
| 1321 | } |
|
| 1322 | if (strpos($content, '[*') === false) { |
|
| 1323 | return $content; |
|
| 1324 | } |
|
| @@ 1512-1516 (lines=5) @@ | ||
| 1509 | */ |
|
| 1510 | public function mergeSettingsContent($content, $ph = false) |
|
| 1511 | { |
|
| 1512 | if ($this->config['enable_at_syntax']) { |
|
| 1513 | if (stripos($content, '<@LITERAL>') !== false) { |
|
| 1514 | $content = $this->escapeLiteralTagsContent($content); |
|
| 1515 | } |
|
| 1516 | } |
|
| 1517 | if (strpos($content, '[(') === false) { |
|
| 1518 | return $content; |
|
| 1519 | } |
|
| @@ 1633-1637 (lines=5) @@ | ||
| 1630 | public function mergePlaceholderContent($content, $ph = false) |
|
| 1631 | { |
|
| 1632 | ||
| 1633 | if ($this->config['enable_at_syntax']) { |
|
| 1634 | if (stripos($content, '<@LITERAL>') !== false) { |
|
| 1635 | $content = $this->escapeLiteralTagsContent($content); |
|
| 1636 | } |
|
| 1637 | } |
|
| 1638 | if (strpos($content, '[+') === false) { |
|
| 1639 | return $content; |
|
| 1640 | } |
|
| @@ 4469-4473 (lines=5) @@ | ||
| 4466 | return $tpl; |
|
| 4467 | } |
|
| 4468 | ||
| 4469 | if ($this->config['enable_at_syntax']) { |
|
| 4470 | if (stripos($tpl, '<@LITERAL>') !== false) { |
|
| 4471 | $tpl = $this->escapeLiteralTagsContent($tpl); |
|
| 4472 | } |
|
| 4473 | } |
|
| 4474 | ||
| 4475 | $matches = $this->getTagsFromContent($tpl, $left, $right); |
|
| 4476 | if (empty($matches)) { |
|