Project

General

Profile

Feature #22051 ยป 13415.patch

Administrator Admin, 2010-02-03 16:20

View differences:

class.tx_indexedsearch.php (working copy)
if ($row['item_type']) { // External media
if ($row['show_resume']) { // Can link directly.
$title = '<a href="'.htmlspecialchars($row['data_filename']).'">'.htmlspecialchars($this->makeTitle($row)).'</a>';
} else { // Suspicious, so linking to page instead...
$more_link = '<a href="'.htmlspecialchars($row['data_filename']).'">'.$this->pi_getLL('link_more').'</a>';
} else { // Suspicious, so linking to page instead...
$copy_row = $row;
unset($copy_row['cHashParams']);
$title = $this->linkPage($row['page_id'],htmlspecialchars($this->makeTitle($row)),$copy_row);
$more_link = $this->linkPage($row['page_id'],htmlspecialchars($this->pi_getLL('link_more')),$copy_row);
}
} else { // Else the page:
......
$markUpSwParams = array();
}
$title = $this->linkPage($row['data_page_id'],htmlspecialchars($this->makeTitle($row)),$row,$markUpSwParams);
$more_link = $this->linkPage($row['data_page_id'],$this->pi_getLL('link_more'),$row,$markUpSwParams);
}
$tmplContent = array();
$tmplContent['title'] = $title;
$tmplContent['morelink'] = $more_link;
$tmplContent['result_number'] = $this->conf['show.']['resultNumber'] ? $row['result_number'].': ' : '&nbsp;';
$tmplContent['icon'] = $this->makeItemTypeIcon($row['item_type'],'',$specRowConf);
$tmplContent['rating'] = $this->makeRating($row);
    (1-1/1)