Project

General

Profile

Actions

Bug #17048

closed

A minor bug in Web > List

Added by Tapio Markula over 17 years ago. Updated over 16 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2007-02-27
Due date:
% Done:

0%

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

Description

class.db_list_extra.inc

// Adding "New record" icon:
if (!$GLOBALS['SOBE']->modTSconfig['properties']['noCreateRecordsLink']) {
$theCtrlPanel[]='<a href="#" onclick="'.htmlspecialchars('return jumpExt(\'' . htmlspecialchars($this->backPath . 'db_new.php?id='.$this->id).'\');').'">'.
'<img'.t3lib_iconWorks::skinImg($this->backPath,'gfx/new_el.gif','width="11" height="12"').' title="'.$LANG->getLL('newRecordGeneral',1).'" alt="" />'.
'</a>';
}
nested htmlspecialchars!
return jumpExt(\'' . htmlspecialchars($this->backPath . '... // NOT here anymore!
see for example:
$theCtrlPanel[]='<a href="#" onclick="'.htmlspecialchars('return jumpExt(\''.$this->backPath.'move_el.php?table=pages&uid='.$row['uid'].'\');').'">'.

(issue imported from #M5082)


Files

5082.diff (824 Bytes) 5082.diff Administrator Admin, 2007-10-26 02:29
Actions

Also available in: Atom PDF