Project

General

Profile

Bug #20722 ยป 0011482_v1.diff

Administrator Admin, 2009-07-31 18:46

View differences:

typo3/class.webpagetree.php
// 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 = '</div><ul>';
$itemHTML = '<ul>';
}
// add CSS classes to the list item
......
$itemHTML .='
<li id="'.$idAttr.'"'.($classAttr ? ' class="'.$classAttr.'"' : '').'><div class="treeLinkItem">'.
$v['HTML'].
$this->wrapTitle($this->getTitleStr($v['row'],$titleLen),$v['row'],$v['bank'])."\n";
$this->wrapTitle($this->getTitleStr($v['row'],$titleLen),$v['row'],$v['bank'])."</div>\n";
if(!$v['hasSub']) { $itemHTML .= '</div></li>'; }
if(!$v['hasSub']) { $itemHTML .= '</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)