Index: t3lib/class.t3lib_fullsearch.php
===================================================================
--- t3lib/class.t3lib_fullsearch.php (Revision 6782)
+++ t3lib/class.t3lib_fullsearch.php (Arbeitskopie)
@@ -1033,22 +1033,23 @@
*/
function resultRowTitles($row,$conf,$table) {
$SET = $GLOBALS['SOBE']->MOD_SETTINGS;
- $out='
';
+ $out = '';
reset($row);
while(list($fN,$fV)=each($row)) {
- if (t3lib_div::inList($SET['queryFields'], $fN) || (!$SET['queryFields'] && $fN!='pid' && $fN!='deleted')) {
- if (strlen($fV) < 50) $TDparams = ' nowrap';
- else $TDparams = '';
+ if (t3lib_div::inList($SET['queryFields'], $fN) || (!$SET['queryFields'] && $fN != 'pid' && $fN != 'deleted')) {
+ $TDparams = (strlen($fV) < 50) ? ' nowrap' : '';
if ($GLOBALS['SOBE']->MOD_SETTINGS['search_result_labels']) {
- $out.=''.$GLOBALS['LANG']->sL($conf['columns'][$fN]['label']?$conf['columns'][$fN]['label']:$fN,1).' | ';
+ $title = $GLOBALS['LANG']->sL($conf['columns'][$fN]['label'] ? $conf['columns'][$fN]['label'] : $fN, 1);
} else {
- $out.=''.$GLOBALS['LANG']->sL($fN, 1).' | ';
+ $title = $GLOBALS['LANG']->sL($fN, 1);
}
+
+ $out.= '' . $title . ' | ';
}
}
- $out.=' |
-
+ $out.=' |
+
';
return $out;
}