| @@ 1288-1292 (lines=5) @@ | ||
| 1285 | */ | |
| 1286 | public function mergeDocumentContent($content, $ph = false) | |
| 1287 |     { | |
| 1288 |         if ($this->config['enable_at_syntax']) { | |
| 1289 |             if (stripos($content, '<@LITERAL>') !== false) { | |
| 1290 | $content = $this->escapeLiteralTagsContent($content); | |
| 1291 | } | |
| 1292 | } | |
| 1293 |         if (strpos($content, '[*') === false) { | |
| 1294 | return $content; | |
| 1295 | } | |
| @@ 1478-1482 (lines=5) @@ | ||
| 1475 | */ | |
| 1476 | public function mergeSettingsContent($content, $ph = false) | |
| 1477 |     { | |
| 1478 |         if ($this->config['enable_at_syntax']) { | |
| 1479 |             if (stripos($content, '<@LITERAL>') !== false) { | |
| 1480 | $content = $this->escapeLiteralTagsContent($content); | |
| 1481 | } | |
| 1482 | } | |
| 1483 |         if (strpos($content, '[(') === false) { | |
| 1484 | return $content; | |
| 1485 | } | |
| @@ 1597-1601 (lines=5) @@ | ||
| 1594 | public function mergePlaceholderContent($content, $ph = false) | |
| 1595 |     { | |
| 1596 | ||
| 1597 |         if ($this->config['enable_at_syntax']) { | |
| 1598 |             if (stripos($content, '<@LITERAL>') !== false) { | |
| 1599 | $content = $this->escapeLiteralTagsContent($content); | |
| 1600 | } | |
| 1601 | } | |
| 1602 |         if (strpos($content, '[+') === false) { | |
| 1603 | return $content; | |
| 1604 | } | |
| @@ 4333-4337 (lines=5) @@ | ||
| 4330 | return $tpl; | |
| 4331 | } | |
| 4332 | ||
| 4333 |         if ($this->config['enable_at_syntax']) { | |
| 4334 |             if (stripos($tpl, '<@LITERAL>') !== false) { | |
| 4335 | $tpl = $this->escapeLiteralTagsContent($tpl); | |
| 4336 | } | |
| 4337 | } | |
| 4338 | ||
| 4339 | $matches = $this->getTagsFromContent($tpl, $left, $right); | |
| 4340 |         if (empty($matches)) { | |