Bug #17057 » 5094_vg2.patch
D:/patchdir/new/class.t3lib_befunc.php Fri Apr 27 21:47:50 2007 | ||
---|---|---|
if ($TCA[$table]['ctrl']['label_alt'] && ($TCA[$table]['ctrl']['label_alt_force'] || !strcmp($t,''))) {
|
||
$altFields=t3lib_div::trimExplode(',',$TCA[$table]['ctrl']['label_alt'],1);
|
||
$tA=array();
|
||
$tA[]=$t;
|
||
if ($TCA[$table]['ctrl']['label_alt_force']) {
|
||
foreach ($altFields as $fN) {
|
||
$t = trim(strip_tags($row[$fN]));
|
||
if (!empty($t)) $tA[] = $t;
|
||
if (!empty($t)) $tA[] = $t;
|
||
foreach ($altFields as $fN) {
|
||
$t = trim(strip_tags($row[$fN]));
|
||
if (strcmp($t,'')) {
|
||
$t = t3lib_BEfunc::getProcessedValue($table,$fN,$t);
|
||
if (!$TCA[$table]['ctrl']['label_alt_force']) {
|
||
break;
|
||
}
|
||
$tA[] = $t;
|
||
}
|
||
}
|
||
if ($TCA[$table]['ctrl']['label_alt_force']) {
|
||
$t=implode(', ',$tA);
|
||
}
|
||
}
|
- « Previous
- 1
- …
- 3
- 4
- 5
- Next »