Project

General

Profile

Bug #21501 » 12514_v2.diff

Administrator Admin, 2010-06-23 15:12

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)
);
$value = str_replace("' . LF . '", ' | ', $value);
// Fill the markers in the subpart
$textAreaSubpart = t3lib_parsehtml::substituteMarkerArray(
$textAreaSubpart,
......
$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"
typo3/sysext/install/Resources/Private/Templates/GenerateConfigForm.html (working copy)
</li>
<!-- ###TEXTAREA### begin -->
<li class="t3-install-form-label-above">
<label for="###ID###" class="t3-install-strong">###KEY### = ###LABEL###</label>
<label for="###ID###" class="t3-install-strong" title="###VALUE###">###KEY### = ###LABEL###</label>
<textarea id="###ID###" rows="5" cols="60" name="###NAME###">###VALUE###</textarea>
</li>
<!-- ###TEXTAREA### end -->
(2-2/4)