Project

General

Profile

Bug #21283 » 12247.diff

Administrator Admin, 2009-10-15 23:53

View differences:

typo3/sysext/cms/tslib/class.tslib_pagegen.php (working copy)
}
$pageRenderer->addJsLibrary(
htmlspecialchars($key),
htmlspecialchars($GLOBALS['TSFE']->absRefPrefix . $ss),
htmlspecialchars($ss),
htmlspecialchars($type),
$GLOBALS['TSFE']->pSetup['includeJSlibs.'][$key . '.']['compress'] ? TRUE : FALSE,
$GLOBALS['TSFE']->pSetup['includeJSlibs.'][$key . '.']['forceOnTop'] ? TRUE : FALSE,
......
}
$pageRenderer->addJsFooterLibrary(
htmlspecialchars($key),
htmlspecialchars($GLOBALS['TSFE']->absRefPrefix . $ss),
htmlspecialchars($ss),
htmlspecialchars($type),
$GLOBALS['TSFE']->pSetup['includeJSFooterlibs.'][$key . '.']['compress'] ? TRUE : FALSE,
$GLOBALS['TSFE']->pSetup['includeJSFooterlibs.'][$key . '.']['forceOnTop'] ? TRUE : FALSE,
......
$type = 'text/javascript';
}
$pageRenderer->addJsFile(
htmlspecialchars($GLOBALS['TSFE']->absRefPrefix . $ss),
htmlspecialchars($ss),
htmlspecialchars($type),
$GLOBALS['TSFE']->pSetup['includeJS.'][$key . '.']['compress'] ? TRUE : FALSE,
$GLOBALS['TSFE']->pSetup['includeJS.'][$key . '.']['forceOnTop'] ? TRUE : FALSE,
......
$type = 'text/javascript';
}
$pageRenderer->addJsFooterFile(
htmlspecialchars($GLOBALS['TSFE']->absRefPrefix . $ss),
htmlspecialchars($ss),
htmlspecialchars($type),
$GLOBALS['TSFE']->pSetup['includeFooterJS.'][$key . '.']['compress'] ? TRUE : FALSE,
$GLOBALS['TSFE']->pSetup['includeJS.'][$key . '.']['forceOnTop'] ? TRUE : FALSE,
(1-1/3)