Actions
Feature #51782
closedallWrap property for CSS and JavaScript files replaces all pipes ("|")
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2013-09-05
Due date:
% Done:
100%
Estimated time:
PHP Version:
5.3
Tags:
Complexity:
easy
Sprint Focus:
Description
When CSS or JavaScript files are wrapped through the ".allWrap" property (@see TSref->Page->includeCSS), all pipe symbols ("|") are replaced with the generated tag.
file1 = fileadmin/templates/style.css file1.allWrap = X | Y | Z
results in
X <link rel="stylesheet" type="text/css" [..] /> Y <link rel="stylesheet" type="text/css" [..] /> Z
This behaviour differs from what we are used to with wraps in TYPO3.
".allWrap" should behave like "stdWrap.wrap", with the addition of a splitChar, e.g: "allWrap /+.splitChar"
Code in
\TYPO3\CMS\Core\Page\PageRenderer->renderCssFiles()
and
\TYPO3\CMS\Core\Page\PageRenderer->renderJavaScriptFiles()
Actions