Project

General

Profile

Bug #14178 ยป 0000112-indexed_search_fix.txt

Administrator Admin, 2004-06-09 15:52

 

function printResultSectionLinks() {
$lines=array();
reset($this->resultSections);
while(list($id,$dat)=each($this->resultSections)) {

// added '.$this -> pi_getPageLink($GLOBALS["TSFE"] -> id).' if you have a <base> it doesn't work without
$lines[]='<li><a href="'.$this -> pi_getPageLink($GLOBALS["TSFE"] -> id).'#'.md5($id).'">'.(trim($dat[0])?htmlspecialchars(trim($dat[0])):$this->pi_getLL("unnamedSection")).' ('.$dat[1].' '.$this->pi_getLL("word_page".($dat[1]>1?"s":"")).')</a></li>';
}
$out = '<ul>'.implode(chr(10),$lines).'</ul>';
return '<div'.$this->pi_classParam("sectionlinks").'>'.$this->cObj->stdWrap($out, $this->conf["sectionlinks_stdWrap."]).'</div>';
}
    (1-1/1)