Project

General

Profile

Bug #19622 » bug_9805_dam.diff

Administrator Admin, 2008-11-19 00:52

View differences:

components/class.tx_dam_selectionFolder.php (Arbeitskopie)
// Traverse rows for the tree and print them into table rows:
foreach($treeArr as $k => $v) {
$c++;
$bgColorClass=($c+1)%2 ? 'bgColor' : 'bgColor-10';
// Creating blinking arrow, if applicable:
if ($cmpPath && $GLOBALS['SOBE']->act === 'file' && $cmpPath==$v['row']['path']) {
$arrCol='<td><img'.t3lib_iconWorks::skinImg($GLOBALS['BACK_PATH'],'gfx/blinkarrow_right.gif','width="5" height="9"').' class="c-blinkArrowR" alt="" /></td>';
$bgColorClass='bgColor4';
} else {
$arrCol='<td></td>';
}
......
// Put table row with folder together:
$out.='
<tr class="'.$bgColorClass.'">
<tr>
<td nowrap="nowrap">'.$v['HTML'].$this->wrapTitle(t3lib_div::fixed_lgd_cs($v['row']['title'], $BE_USER->uc['titleLen']), $v['row']).'</td>
'.$arrCol.'
<td width="1%">'.$cEbullet.'</td>
lib/class.tx_dam_selprocbase.php (Arbeitskopie)
// Traverse rows for the tree and print them into table rows:
foreach($treeArr as $k => $v) {
$c++;
$bgColorClass=($c+1)%2 ? 'bgColor' : 'bgColor-10';
// Creating blinking arrow, if applicable:
if ($cmpItem && $GLOBALS['SOBE']->act === 'file' && $cmpItem==$v['row']['uid']) {
$arrCol='<td><img'.t3lib_iconWorks::skinImg($GLOBALS['BACK_PATH'],'gfx/blinkarrow_right.gif','width="5" height="9"').' class="c-blinkArrowR" alt="" /></td>';
$bgColorClass='bgColor4';
} else {
$arrCol='<td></td>';
}
......
// Put table row with folder together:
$out.='
<tr class="'.$bgColorClass.'">
<tr>
<td nowrap="nowrap">'.$v['HTML'].$this->wrapTitle($this->getTitleStr($v['row'],$BE_USER->uc['titleLen']),$v['row']).'</td>
'.$arrCol.'
<td width="1%">'.$cEbullet.'</td>
(1-1/5)