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
1610 1610
				$tvP[1] = rawurlencode(@sprintf($nMV_label, $evalValue));
1611 1611
			} elseif (isset($PA['fieldTSConfig']['altLabels.'][$evalValue])) {
1612 1612
				$tvP[1] = rawurlencode($this->sL($PA['fieldTSConfig']['altLabels.'][$evalValue]));
1613
			} else {
1614
				$tvP[1] = rawurlencode($this->sL(rawurldecode($tvP[1])));
1615 1613
			}
1616 1614
			$itemArray[$tk] = implode('|',$tvP);
1617 1615
		}
......
2803 2801
				break;
2804 2802
				default:
2805 2803
					while(list(,$pp)=each($itemArray))	{
2806
						$pParts = explode('|',$pp);
2804
						$pParts = explode('|',$pp, 2);
2807 2805
						$uidList[]=$pUid=$pParts[0];
2808 2806
						$pTitle = $pParts[1];
2809 2807
						$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
419 419
				foreach($fieldConfig['config']['items'] as $pvpv)	{
420 420
					foreach($elements as $eKey => $value)	{
421 421
						if (!strcmp($value,$pvpv[1]))	{
422
							$dataAcc[$eKey]=rawurlencode($pvpv[1]).'|'.rawurlencode($pvpv[0]);
422
							$dataAcc[$eKey]=rawurlencode($pvpv[1]).'|'.rawurlencode($this->sL($pvpv[0]));
423 423
						}
424 424
					}
425 425
				}
......
732 732
							foreach($coValue['items'] as $itemKey => $itemCfg)	{
733 733
								foreach($elements as $eKey => $value)	{
734 734
									if (!strcmp($coKey.':'.$itemKey, $value))	{
735
										$dataAcc[$eKey] = rawurlencode($value).'|'.rawurlencode($GLOBALS['LANG']->sl($itemCfg[0]));
735
										$dataAcc[$eKey] = rawurlencode($value).'|'.rawurlencode($this->sL($itemCfg[0]));
736 736
									}
737 737
								}
738 738
							}
(2-2/2)