Project

General

Profile

Bug #21501 » 12514.diff

Administrator Admin, 2010-06-23 14:06

View differences:

typo3/sysext/install/mod/class.tx_install.php (working copy)
$textAreaMarkers = array(
'id' => $k . '-' . $vk,
'name' => 'TYPO3_INSTALL[extConfig]['.$k.']['.$vk.']',
'value' => $value
'value' => str_replace("' . LF . '", LF, $value)
);
// Fill the markers in the subpart
$textAreaSubpart = t3lib_parsehtml::substituteMarkerArray(
......
$description = trim($commentArr[1][$k][$vk]);
if (preg_match('/^string \(textarea\)/i', $description)) {
// Force Unix linebreaks in textareas
$value = str_replace(chr(13),'',$value);
$value = str_replace(chr(13), '', $value);
// Preserve linebreaks
$value = str_replace(chr(10),"'.chr(10).'",$value);
$value = str_replace(LF, "' . LF . '", $value);
}
if (preg_match('/^boolean/i', $description)) {
// When submitting settings in the Install Tool, values that default to "false" or "true"
(1-1/4)