@@ 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; |
@@ 2471-2473 (lines=3) @@ | ||
2468 | $key = str_replace('amp;', '', $key); |
|
2469 | } |
|
2470 | $key = trim($key); |
|
2471 | if (strpos($value, '[!') !== false) { |
|
2472 | $value = str_replace(array('[!', '!]'), array('[[', ']]'), $value); |
|
2473 | } |
|
2474 | $value = $this->mergeDocumentContent($value); |
|
2475 | $value = $this->mergeSettingsContent($value); |
|
2476 | $value = $this->mergeChunkContent($value); |