| @@ 2221-2223 (lines=3) @@ | ||
| 2218 | $key = str_replace('amp;', '', $key); |
|
| 2219 | } |
|
| 2220 | $key = trim($key); |
|
| 2221 | if (strpos($value, '[!') !== false) { |
|
| 2222 | $value = str_replace(array('[!', '!]'), array('[[', ']]'), $value); |
|
| 2223 | } |
|
| 2224 | $value = $this->mergeDocumentContent($value); |
|
| 2225 | $value = $this->mergeSettingsContent($value); |
|
| 2226 | $value = $this->mergeChunkContent($value); |
|
| @@ 702-702 (lines=1) @@ | ||
| 699 | break; |
|
| 700 | case 'replace_to': |
|
| 701 | case 'tpl': |
|
| 702 | if ($value!=='') { |
|
| 703 | return str_replace(array('[+value+]','[+output+]','{value}','%s'), $value, $opt); |
|
| 704 | } |
|
| 705 | break; |
|
| @@ 758-758 (lines=1) @@ | ||
| 755 | case 'tobool': |
|
| 756 | return boolval($value); |
|
| 757 | case 'nl2lf': |
|
| 758 | if ($value!=='') { |
|
| 759 | return str_replace(array("\r\n","\n", "\r"), '\n', $value); |
|
| 760 | } |
|
| 761 | break; |
|