| @@ -1,12 +1,0 @@ | ||
| 1 | -<?php | |
| 2 | -if (strpos($this->content, 'acym__wysid__template') !== false) { | |
| 3 | - $bodyPos = strpos($this->content, '<body>'); | |
| 4 | - $endBodyPos = strpos($this->content, '</body>'); | |
| 5 | - if ($bodyPos !== false && $endBodyPos !== false) { | |
| 6 | - echo substr(substr($this->content, 0, $endBodyPos), $bodyPos + 6); | |
| 7 | - } else { | |
| 8 | - echo $this->content; | |
| 9 | - } | |
| 10 | -} else { | |
| 11 | - echo $this->defaultTemplate; | |
| 12 | -} | |