Project

General

Profile

Actions

Bug #15161

closed

Doubled text entries like 'Modified: modified:' in templates (V 2.1.3)

Added by Thomas Murphy about 19 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
Indexed Search
Target version:
-
Start date:
2005-10-29
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

The labels for the additional information in the results are doubled.
This happens because in function makeInfo(), line 1917 the info items are already prefixed with the labels, and in the function printResultRow(), line 1408 the labels are again attached to the template markers:

// Description text
$markerArray['###TEXT_ITEM_SIZE###'] = $this->pi_getLL('res_size','',1);
$markerArray['###TEXT_ITEM_CRDATE###'] = $this->pi_getLL('res_created','',1);
$markerArray['###TEXT_ITEM_MTIME###'] = $this->pi_getLL('res_modified','',1);
$markerArray['###TEXT_ITEM_PATH###'] = $this->pi_getLL('res_path','',1);

In the template "template_traditional" & "template_css", line 178 , these markers then produce the false output:

###TEXT_ITEM_SIZE### ###SIZE###

(issue imported from #M1739)

Actions

Also available in: Atom PDF