Project

General

Profile

Bug #15510 » bug_2396_2006-01-30.diff

Administrator Admin, 2006-01-30 21:58

View differences:

TYPO3core.utfjs/t3lib/class.t3lib_tceforms.php 2006-01-31 03:26:39.977610984 +0100
$tvP[1] = rawurlencode(@sprintf($nMV_label, $evalValue));
} elseif (isset($PA['fieldTSConfig']['altLabels.'][$evalValue])) {
$tvP[1] = rawurlencode($this->sL($PA['fieldTSConfig']['altLabels.'][$evalValue]));
} else {
$tvP[1] = rawurlencode($this->sL(rawurldecode($tvP[1])));
}
$itemArray[$tk] = implode('|',$tvP);
}
......
break;
default:
while(list(,$pp)=each($itemArray)) {
$pParts = explode('|',$pp);
$pParts = explode('|',$pp, 2);
$uidList[]=$pUid=$pParts[0];
$pTitle = $pParts[1];
$opt[]='<option value="'.htmlspecialchars(rawurldecode($pUid)).'">'.htmlspecialchars(rawurldecode($pTitle)).'</option>';
TYPO3core.utfjs/t3lib/class.t3lib_transferdata.php 2006-01-31 03:18:41.986276712 +0100
foreach($fieldConfig['config']['items'] as $pvpv) {
foreach($elements as $eKey => $value) {
if (!strcmp($value,$pvpv[1])) {
$dataAcc[$eKey]=rawurlencode($pvpv[1]).'|'.rawurlencode($pvpv[0]);
$dataAcc[$eKey]=rawurlencode($pvpv[1]).'|'.rawurlencode($this->sL($pvpv[0]));
}
}
}
......
foreach($coValue['items'] as $itemKey => $itemCfg) {
foreach($elements as $eKey => $value) {
if (!strcmp($coKey.':'.$itemKey, $value)) {
$dataAcc[$eKey] = rawurlencode($value).'|'.rawurlencode($GLOBALS['LANG']->sl($itemCfg[0]));
$dataAcc[$eKey] = rawurlencode($value).'|'.rawurlencode($this->sL($itemCfg[0]));
}
}
}
(2-2/2)