Project

General

Profile

Feature #20304 ยป 10892_pagetree_hover.patch

Administrator Admin, 2009-04-11 15:05

View differences:

typo3/class.webpagetree.php (working copy)
// if this item is the start of a new level,
// then a new level <ul> is needed, but not in ajax mode
if($v['isFirst'] && !($doCollapse) && !($doExpand && $expandedPageUid == $uid)) {
$itemHTML = '<ul>';
$itemHTML = '</div><ul>';
}
// add CSS classes to the list item
......
if($v['isLast']) { $classAttr .= ($classAttr) ? ' last' : 'last'; }
$itemHTML .='
<li id="'.$idAttr.'"'.($classAttr ? ' class="'.$classAttr.'"' : '').'>'.
<li id="'.$idAttr.'"'.($classAttr ? ' class="'.$classAttr.'"' : '').'><div>'.
$v['HTML'].
$this->wrapTitle($this->getTitleStr($v['row'],$titleLen),$v['row'],$v['bank'])."\n";
if(!$v['hasSub']) { $itemHTML .= '</li>'; }
if(!$v['hasSub']) { $itemHTML .= '</div></li>'; }
// we have to remember if this is the last one
// on level X so the last child on level X+1 closes the <ul>-tag
    (1-1/1)