Project

General

Profile

Bug #14213 » 0000177-class.tx_indexedsearch.php.diff

Administrator Admin, 2004-07-01 19:42

View differences:

typo3/ext/indexed_search/pi/class.tx_indexedsearch.php 2004-07-01 19:43:16.000000000 +0200
$theRLid = $rlParts[2]?"rl2_".$rlParts[2]:($rlParts[1]?"rl1_".$rlParts[1]:"0");
$sectionName = substr($this->getPathFromPageId($theId),1);
if ($sectionName{0} == '/') $sectionName=substr($sectionName,1);
if (!trim($sectionName)) {
$sectionTitleLinked=$this->pi_getLL("unnamedSection").":";
} else {
$sectionTitleLinked = '<a href="#" onClick="document.'.$this->prefixId.'[\''.$this->prefixId.'[_sections]\'].value=\''.$theRLid.'\';document.'.$this->prefixId.'.submit();return false;">'.$sectionName.':</a>';
$sectionTitleLinked='<a href="#" onClick="document.'.$this->prefixId.'[\''.$this->prefixId.'[_sections]\'].value=\''.$theRLid.'\';document.'.$this->prefixId.'.submit();return false;">'.$sectionName.':</a>';
}
$content.=$this->makeSectionHeader($id,$sectionTitleLinked,count($resultRows));
(2-2/2)