Project

General

Profile

Bug #23303 » 0015289.patch

Administrator Admin, 2010-07-30 15:13

View differences:

t3lib/class.t3lib_browsetree.php (Arbeitskopie)
$rows = $GLOBALS['TYPO3_DB']->exec_SELECTgetRows('domainName,sorting', 'sys_domain',
'pid=' . $GLOBALS['TYPO3_DB']->quoteStr($row['uid'], 'sys_domain'), '', 'sorting', 1);
if (is_array($rows) && count($rows) > 0) {
$title = sprintf('%s [%s]', $title, $rows[0]['domainName']);
$title = sprintf('%s [%s]', $title, htmlspecialchars($rows[0]['domainName']));
}
}
return $title;
typo3/class.browse_links.php (Arbeitskopie)
* @return string Wrapping title string.
*/
function wrapTitle($title,$v,$ext_pArrPages) {
$title = htmlspecialchars($title);
if ($ext_pArrPages) {
$ficon=t3lib_iconWorks::getIcon('pages',$v);
$onClick = "return insertElement('pages', '".$v['uid']."', 'db', ".t3lib_div::quoteJSvalue($v['title']).", '', '', '".$ficon."','',1);";
(2-2/3)