| @@ 4317-4321 (lines=5) @@ | ||
| 4314 | return $tpl; |
|
| 4315 | } |
|
| 4316 | ||
| 4317 | if ($this->config['enable_at_syntax']) { |
|
| 4318 | if (stripos($tpl, '<@LITERAL>') !== false) { |
|
| 4319 | $tpl = $this->escapeLiteralTagsContent($tpl); |
|
| 4320 | } |
|
| 4321 | } |
|
| 4322 | ||
| 4323 | $matches = $this->getTagsFromContent($tpl, $left, $right); |
|
| 4324 | if (empty($matches)) { |
|
| @@ 1279-1283 (lines=5) @@ | ||
| 1276 | */ |
|
| 1277 | public function mergeDocumentContent($content, $ph = false) |
|
| 1278 | { |
|
| 1279 | if ($this->config['enable_at_syntax']) { |
|
| 1280 | if (stripos($content, '<@LITERAL>') !== false) { |
|
| 1281 | $content = $this->escapeLiteralTagsContent($content); |
|
| 1282 | } |
|
| 1283 | } |
|
| 1284 | if (strpos($content, '[*') === false) { |
|
| 1285 | return $content; |
|
| 1286 | } |
|
| @@ 1471-1475 (lines=5) @@ | ||
| 1468 | */ |
|
| 1469 | public function mergeSettingsContent($content, $ph = false) |
|
| 1470 | { |
|
| 1471 | if ($this->config['enable_at_syntax']) { |
|
| 1472 | if (stripos($content, '<@LITERAL>') !== false) { |
|
| 1473 | $content = $this->escapeLiteralTagsContent($content); |
|
| 1474 | } |
|
| 1475 | } |
|
| 1476 | if (strpos($content, '[(') === false) { |
|
| 1477 | return $content; |
|
| 1478 | } |
|
| @@ 1590-1594 (lines=5) @@ | ||
| 1587 | public function mergePlaceholderContent($content, $ph = false) |
|
| 1588 | { |
|
| 1589 | ||
| 1590 | if ($this->config['enable_at_syntax']) { |
|
| 1591 | if (stripos($content, '<@LITERAL>') !== false) { |
|
| 1592 | $content = $this->escapeLiteralTagsContent($content); |
|
| 1593 | } |
|
| 1594 | } |
|
| 1595 | if (strpos($content, '[+') === false) { |
|
| 1596 | return $content; |
|
| 1597 | } |
|