Project

General

Profile

Bug #23951 ยป 16261.diff

Administrator Admin, 2010-11-05 12:15

View differences:

t3lib/class.t3lib_tceforms.php (working copy)
$item .= '<span class="t3-tceforms-input-wrapper" onmouseOver="if (document.getElementById(\'' . $inputId .
'\').value) {this.className=\'t3-tceforms-input-wrapper-hover\';} else {this.className=\'t3-tceforms-input-wrapper\';};" onmouseOut="this.className=\'t3-tceforms-input-wrapper\';">';
}
// old function "checkbox" now the option to set the date / remove the date
if (isset($config['checkbox'])) {
$item .= t3lib_iconWorks::getSpriteIcon('actions-input-clear', array('tag' => 'a', 'class' => 't3-tceforms-input-clearer', 'onclick' => 'document.getElementById(\'' . $inputId . '\').value=\'\';' . implode('', $PA['fieldChangeFunc'])));
}
$PA['fieldChangeFunc'] = array_merge(
array('typo3form.fieldGet' => 'typo3form.fieldGet(' . $paramsList . ');'),
$PA['fieldChangeFunc']
);
// old function "checkbox" now the option to set the date / remove the date
if (isset($config['checkbox'])) {
$item .= t3lib_iconWorks::getSpriteIcon('actions-input-clear', array('tag' => 'a', 'class' => 't3-tceforms-input-clearer', 'onclick' => 'document.getElementById(\'' . $inputId . '\').value=\'\';' . implode('', $PA['fieldChangeFunc'])));
}
$mLgd = ($config['max'] ? $config['max'] : 256);
$iOnChange = implode('', $PA['fieldChangeFunc']);
    (1-1/1)