| @@ 1283-1287 (lines=5) @@ | ||
| 1280 | */ |
|
| 1281 | public function mergeDocumentContent($content, $ph = false) |
|
| 1282 | { |
|
| 1283 | if ($this->config['enable_at_syntax']) { |
|
| 1284 | if (stripos($content, '<@LITERAL>') !== false) { |
|
| 1285 | $content = $this->escapeLiteralTagsContent($content); |
|
| 1286 | } |
|
| 1287 | } |
|
| 1288 | if (strpos($content, '[*') === false) { |
|
| 1289 | return $content; |
|
| 1290 | } |
|
| @@ 1475-1479 (lines=5) @@ | ||
| 1472 | */ |
|
| 1473 | public function mergeSettingsContent($content, $ph = false) |
|
| 1474 | { |
|
| 1475 | if ($this->config['enable_at_syntax']) { |
|
| 1476 | if (stripos($content, '<@LITERAL>') !== false) { |
|
| 1477 | $content = $this->escapeLiteralTagsContent($content); |
|
| 1478 | } |
|
| 1479 | } |
|
| 1480 | if (strpos($content, '[(') === false) { |
|
| 1481 | return $content; |
|
| 1482 | } |
|
| @@ 1594-1598 (lines=5) @@ | ||
| 1591 | public function mergePlaceholderContent($content, $ph = false) |
|
| 1592 | { |
|
| 1593 | ||
| 1594 | if ($this->config['enable_at_syntax']) { |
|
| 1595 | if (stripos($content, '<@LITERAL>') !== false) { |
|
| 1596 | $content = $this->escapeLiteralTagsContent($content); |
|
| 1597 | } |
|
| 1598 | } |
|
| 1599 | if (strpos($content, '[+') === false) { |
|
| 1600 | return $content; |
|
| 1601 | } |
|
| @@ 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)) { |
|