Bug #17844 » 20071124_tceforms.patch
t3lib/class.t3lib_tceforms.php (working copy) | ||
---|---|---|
// If the field is NOT a palette field, then we might create an icon which links to a palette for the field, if one exists.
|
||
if (!$PA['palette']) {
|
||
if ($PA['pal'] && $this->isPalettesCollapsed($table,$PA['pal'])) {
|
||
$paletteContent = $this->getPaletteFields($table, $row, $PA['pal'],1);
|
||
if ($PA['pal'] && $this->isPalettesCollapsed($table,$PA['pal']) && trim($paletteContent) != '') {
|
||
list($thePalIcon,$palJSfunc) = $this->wrapOpenPalette('<img'.t3lib_iconWorks::skinImg($this->backPath,'gfx/options.gif','width="18" height="16"').' border="0" title="'.htmlspecialchars($this->getLL('l_moreOptions')).'" alt="" />',$table,$row,$PA['pal'],1);
|
||
} else {
|
||
$thePalIcon = '';
|