| @@ 1258-1262 (lines=5) @@ | ||
| 1255 | */ |
|
| 1256 | public function mergeDocumentContent($content, $ph = false) |
|
| 1257 | { |
|
| 1258 | if ($this->config['enable_at_syntax']) { |
|
| 1259 | if (stripos($content, '<@LITERAL>') !== false) { |
|
| 1260 | $content = $this->escapeLiteralTagsContent($content); |
|
| 1261 | } |
|
| 1262 | } |
|
| 1263 | if (strpos($content, '[*') === false) { |
|
| 1264 | return $content; |
|
| 1265 | } |
|
| @@ 1450-1454 (lines=5) @@ | ||
| 1447 | */ |
|
| 1448 | public function mergeSettingsContent($content, $ph = false) |
|
| 1449 | { |
|
| 1450 | if ($this->config['enable_at_syntax']) { |
|
| 1451 | if (stripos($content, '<@LITERAL>') !== false) { |
|
| 1452 | $content = $this->escapeLiteralTagsContent($content); |
|
| 1453 | } |
|
| 1454 | } |
|
| 1455 | if (strpos($content, '[(') === false) { |
|
| 1456 | return $content; |
|
| 1457 | } |
|
| @@ 1569-1573 (lines=5) @@ | ||
| 1566 | public function mergePlaceholderContent($content, $ph = false) |
|
| 1567 | { |
|
| 1568 | ||
| 1569 | if ($this->config['enable_at_syntax']) { |
|
| 1570 | if (stripos($content, '<@LITERAL>') !== false) { |
|
| 1571 | $content = $this->escapeLiteralTagsContent($content); |
|
| 1572 | } |
|
| 1573 | } |
|
| 1574 | if (strpos($content, '[+') === false) { |
|
| 1575 | return $content; |
|
| 1576 | } |
|
| @@ 4297-4301 (lines=5) @@ | ||
| 4294 | return $tpl; |
|
| 4295 | } |
|
| 4296 | ||
| 4297 | if ($this->config['enable_at_syntax']) { |
|
| 4298 | if (stripos($tpl, '<@LITERAL>') !== false) { |
|
| 4299 | $tpl = $this->escapeLiteralTagsContent($tpl); |
|
| 4300 | } |
|
| 4301 | } |
|
| 4302 | ||
| 4303 | $matches = $this->getTagsFromContent($tpl, $left, $right); |
|
| 4304 | if (!$matches) { |
|