| @@ 1310-1314 (lines=5) @@ | ||
| 1307 | */ |
|
| 1308 | public function mergeDocumentContent($content, $ph = false) |
|
| 1309 | { |
|
| 1310 | if ($this->config['enable_at_syntax']) { |
|
| 1311 | if (stripos($content, '<@LITERAL>') !== false) { |
|
| 1312 | $content = $this->escapeLiteralTagsContent($content); |
|
| 1313 | } |
|
| 1314 | } |
|
| 1315 | if (strpos($content, '[*') === false) { |
|
| 1316 | return $content; |
|
| 1317 | } |
|
| @@ 1504-1508 (lines=5) @@ | ||
| 1501 | */ |
|
| 1502 | public function mergeSettingsContent($content, $ph = false) |
|
| 1503 | { |
|
| 1504 | if ($this->config['enable_at_syntax']) { |
|
| 1505 | if (stripos($content, '<@LITERAL>') !== false) { |
|
| 1506 | $content = $this->escapeLiteralTagsContent($content); |
|
| 1507 | } |
|
| 1508 | } |
|
| 1509 | if (strpos($content, '[(') === false) { |
|
| 1510 | return $content; |
|
| 1511 | } |
|
| @@ 1622-1626 (lines=5) @@ | ||
| 1619 | */ |
|
| 1620 | public function mergePlaceholderContent($content, $ph = false) |
|
| 1621 | { |
|
| 1622 | if ($this->config['enable_at_syntax']) { |
|
| 1623 | if (stripos($content, '<@LITERAL>') !== false) { |
|
| 1624 | $content = $this->escapeLiteralTagsContent($content); |
|
| 1625 | } |
|
| 1626 | } |
|
| 1627 | if (strpos($content, '[+') === false) { |
|
| 1628 | return $content; |
|
| 1629 | } |
|
| @@ 4334-4338 (lines=5) @@ | ||
| 4331 | return $tpl; |
|
| 4332 | } |
|
| 4333 | ||
| 4334 | if ($this->config['enable_at_syntax']) { |
|
| 4335 | if (stripos($tpl, '<@LITERAL>') !== false) { |
|
| 4336 | $tpl = $this->escapeLiteralTagsContent($tpl); |
|
| 4337 | } |
|
| 4338 | } |
|
| 4339 | ||
| 4340 | $matches = $this->getTagsFromContent($tpl, $left, $right); |
|
| 4341 | if (empty($matches)) { |
|