Bug #21105 ยป 12016.diff
t3lib/class.t3lib_pagerenderer.php (working copy) | ||
---|---|---|
if (count($this->cssFiles)) {
|
||
foreach ($this->cssFiles as $file => $properties) {
|
||
$file = t3lib_div::resolveBackPath($file);
|
||
$tag = '<link rel="' . $properties['rel'] . '" type="text/css" href="' . $file . '" media="' . $properties['media'] . '"' . ($properties['title'] ? ' title="' . $properties['title'] . '"' : '') . ' />';
|
||
if ($properties['allWrap'] && strpos($properties['allWrap'], '|') !== FALSE) {
|
||
$tag = str_replace('|', $tag, $properties['allWrap']);
|
||
... | ... | |
if (count($this->jsLibs)) {
|
||
foreach ($this->jsLibs as $name => $properties) {
|
||
$properties['file'] = t3lib_div::resolveBackPath($properties['file']);
|
||
$tag = '<script src="' . $properties['file'] . '" type="' . $properties['type'] . '"></script>';
|
||
if ($properties['allWrap'] && strpos($properties['allWrap'], '|') !== FALSE) {
|
||
$tag = str_replace('|', $tag, $properties['allWrap']);
|
||
... | ... | |
if (count($this->jsFiles)) {
|
||
foreach ($this->jsFiles as $file => $properties) {
|
||
$file = t3lib_div::resolveBackPath($file);
|
||
$tag = '<script src="' . $file . '" type="' . $properties['type'] . '"></script>';
|
||
if ($properties['allWrap'] && strpos($properties['allWrap'], '|') !== FALSE) {
|
||
$tag = str_replace('|', $tag, $properties['allWrap']);
|