Project

General

Profile

Bug #24068 ยป 16405.patch

Administrator Admin, 2010-11-15 20:16

View differences:

t3lib/class.t3lib_pagerenderer.php (revision )
* @return void
*/
public function addJsLibrary($name, $file, $type = 'text/javascript', $compress = FALSE, $forceOnTop = FALSE, $allWrap = '') {
if (!$type) {
$type = 'text/javascript';
}
if (!in_array(strtolower($name), $this->jsLibs)) {
$this->jsLibs[strtolower($name)] = array (
'file' => $file,
......
* @return void
*/
public function addJsFooterLibrary($name, $file, $type = 'text/javascript', $compress = FALSE, $forceOnTop = FALSE, $allWrap = '') {
if (!$type) {
$type = 'text/javascript';
}
if (!in_array(strtolower($name), $this->jsLibs)) {
$this->jsLibs[strtolower($name)] = array (
'file' => $file,
......
* @return void
*/
public function addJsFile($file, $type = 'text/javascript', $compress = TRUE, $forceOnTop = FALSE, $allWrap = '') {
if (!$type) {
$type = 'text/javascript';
}
if (!isset($this->jsFiles[$file])) {
$this->jsFiles[$file] = array (
'type' => $type,
......
* @return void
*/
public function addJsFooterFile($file, $type = 'text/javascript', $compress = TRUE, $forceOnTop = FALSE, $allWrap = '') {
if (!$type) {
$type = 'text/javascript';
}
if (!isset($this->jsFiles[$file])) {
$this->jsFiles[$file] = array (
'type' => $type,
    (1-1/1)