@@ 2452-2454 (lines=3) @@ | ||
2449 | $key = str_replace('amp;', '', $key); |
|
2450 | } |
|
2451 | $key = trim($key); |
|
2452 | if (strpos($value, '[!') !== false) { |
|
2453 | $value = str_replace(array('[!', '!]'), array('[[', ']]'), $value); |
|
2454 | } |
|
2455 | $value = $this->mergeDocumentContent($value); |
|
2456 | $value = $this->mergeSettingsContent($value); |
|
2457 | $value = $this->mergeChunkContent($value); |
@@ 740-740 (lines=1) @@ | ||
737 | break; |
|
738 | case 'replace_to': |
|
739 | case 'tpl': |
|
740 | if ($value !== '') { |
|
741 | return str_replace(array('[+value+]', '[+output+]', '{value}', '%s'), $value, $opt); |
|
742 | } |
|
743 | break; |
|
@@ 799-799 (lines=1) @@ | ||
796 | case 'tobool': |
|
797 | return boolval($value); |
|
798 | case 'nl2lf': |
|
799 | if ($value !== '') { |
|
800 | return str_replace(array("\r\n", "\n", "\r"), '\n', $value); |
|
801 | } |
|
802 | break; |