Bug #20722 ยป 0011482_v1.diff

Administrator Admin, 2009-07-31 18:46

View differences:

typo3/class.webpagetree.php
222 222
			// if this item is the start of a new level,
223 223
			// then a new level <ul> is needed, but not in ajax mode
224 224
			if($v['isFirst'] && !($doCollapse) && !($doExpand && $expandedPageUid == $uid))	{
225
				$itemHTML = '</div><ul>';
225
				$itemHTML = '<ul>';
226 226
			}
227 227

  
228 228
			// add CSS classes to the list item
......
232 232
			$itemHTML .='
233 233
				<li id="'.$idAttr.'"'.($classAttr ? ' class="'.$classAttr.'"' : '').'><div class="treeLinkItem">'.
234 234
					$v['HTML'].
235
					$this->wrapTitle($this->getTitleStr($v['row'],$titleLen),$v['row'],$v['bank'])."\n";
235
					$this->wrapTitle($this->getTitleStr($v['row'],$titleLen),$v['row'],$v['bank'])."</div>\n";
236 236

  
237 237

  
238
			if(!$v['hasSub']) { $itemHTML .= '</div></li>'; }
238
			if(!$v['hasSub']) { $itemHTML .= '</li>'; }
239 239

  
240 240
			// we have to remember if this is the last one
241 241
			// on level X so the last child on level X+1 closes the <ul>-tag
    (1-1/1)