| @@ 1110-1114 (lines=5) @@ | ||
| 1107 | */ |
|
| 1108 | public function mergeDocumentContent($content, $ph = false) |
|
| 1109 | { |
|
| 1110 | if ($this->getConfig('enable_at_syntax')) { |
|
| 1111 | if (stripos($content, '<@LITERAL>') !== false) { |
|
| 1112 | $content = $this->escapeLiteralTagsContent($content); |
|
| 1113 | } |
|
| 1114 | } |
|
| 1115 | if (strpos($content, '[*') === false) { |
|
| 1116 | return $content; |
|
| 1117 | } |
|
| @@ 1303-1307 (lines=5) @@ | ||
| 1300 | */ |
|
| 1301 | public function mergeSettingsContent($content, $ph = false) |
|
| 1302 | { |
|
| 1303 | if ($this->getConfig('enable_at_syntax')) { |
|
| 1304 | if (stripos($content, '<@LITERAL>') !== false) { |
|
| 1305 | $content = $this->escapeLiteralTagsContent($content); |
|
| 1306 | } |
|
| 1307 | } |
|
| 1308 | if (strpos($content, '[(') === false) { |
|
| 1309 | return $content; |
|
| 1310 | } |
|
| @@ 1435-1439 (lines=5) @@ | ||
| 1432 | public function mergePlaceholderContent($content, $ph = false) |
|
| 1433 | { |
|
| 1434 | ||
| 1435 | if ($this->getConfig('enable_at_syntax')) { |
|
| 1436 | if (stripos($content, '<@LITERAL>') !== false) { |
|
| 1437 | $content = $this->escapeLiteralTagsContent($content); |
|
| 1438 | } |
|
| 1439 | } |
|
| 1440 | if (strpos($content, '[+') === false) { |
|
| 1441 | return $content; |
|
| 1442 | } |
|
| @@ 4060-4064 (lines=5) @@ | ||
| 4057 | return $tpl; |
|
| 4058 | } |
|
| 4059 | ||
| 4060 | if ($this->getConfig('enable_at_syntax')) { |
|
| 4061 | if (stripos($tpl, '<@LITERAL>') !== false) { |
|
| 4062 | $tpl = $this->escapeLiteralTagsContent($tpl); |
|
| 4063 | } |
|
| 4064 | } |
|
| 4065 | ||
| 4066 | $matches = $this->getTagsFromContent($tpl, $left, $right); |
|
| 4067 | if (empty($matches)) { |
|