| @@ 1299-1303 (lines=5) @@ | ||
| 1296 | */ |
|
| 1297 | public function mergeDocumentContent($content, $ph = false) |
|
| 1298 | { |
|
| 1299 | if ($this->config['enable_at_syntax']) { |
|
| 1300 | if (stripos($content, '<@LITERAL>') !== false) { |
|
| 1301 | $content = $this->escapeLiteralTagsContent($content); |
|
| 1302 | } |
|
| 1303 | } |
|
| 1304 | if (strpos($content, '[*') === false) { |
|
| 1305 | return $content; |
|
| 1306 | } |
|
| @@ 1491-1495 (lines=5) @@ | ||
| 1488 | */ |
|
| 1489 | public function mergeSettingsContent($content, $ph = false) |
|
| 1490 | { |
|
| 1491 | if ($this->config['enable_at_syntax']) { |
|
| 1492 | if (stripos($content, '<@LITERAL>') !== false) { |
|
| 1493 | $content = $this->escapeLiteralTagsContent($content); |
|
| 1494 | } |
|
| 1495 | } |
|
| 1496 | if (strpos($content, '[(') === false) { |
|
| 1497 | return $content; |
|
| 1498 | } |
|
| @@ 1610-1614 (lines=5) @@ | ||
| 1607 | public function mergePlaceholderContent($content, $ph = false) |
|
| 1608 | { |
|
| 1609 | ||
| 1610 | if ($this->config['enable_at_syntax']) { |
|
| 1611 | if (stripos($content, '<@LITERAL>') !== false) { |
|
| 1612 | $content = $this->escapeLiteralTagsContent($content); |
|
| 1613 | } |
|
| 1614 | } |
|
| 1615 | if (strpos($content, '[+') === false) { |
|
| 1616 | return $content; |
|
| 1617 | } |
|
| @@ 4338-4342 (lines=5) @@ | ||
| 4335 | return $tpl; |
|
| 4336 | } |
|
| 4337 | ||
| 4338 | if ($this->config['enable_at_syntax']) { |
|
| 4339 | if (stripos($tpl, '<@LITERAL>') !== false) { |
|
| 4340 | $tpl = $this->escapeLiteralTagsContent($tpl); |
|
| 4341 | } |
|
| 4342 | } |
|
| 4343 | ||
| 4344 | $matches = $this->getTagsFromContent($tpl, $left, $right); |
|
| 4345 | if (empty($matches)) { |
|