[FEATURE] Improve BE container view helper 63/22063/2
authorFrancois Suter <francois@typo3.org>
Sat, 6 Jul 2013 20:40:09 +0000 (22:40 +0200)
committerFelix Kopp <felix-source@phorax.com>
Sat, 6 Jul 2013 22:07:46 +0000 (00:07 +0200)
commit81244d3727ae950c9a52adc04d7c73689218e46d
treeffc771e4fea1c75a302f873c12f24d0c55e35cd5
parent2219d2280c69b4d39443fb26873b2f1c6096bd0e
[FEATURE] Improve BE container view helper

Improve the features provided by the BE container view helper
so that extensions don't need to provide their own so often.
Added features:

- load several JS and CSS files instead of just one
- load jQuery
- load some inline language labels

Note: the old way of loading a single JS and CSS file is preserved
for backwards compatibility, but marked as deprecated.

With this patch all BE modules in the Core can use the default
BE container view helper. The Extension Manager needs some special
initialization which is moved to a dedicated view helper.

The customized BE container view helpers are removed.

Resolves: #49749
Releases: 6.2
Change-Id: I236134451a31f08afe5886337cfb1144dac7ad90
Reviewed-on: https://review.typo3.org/22063
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Felix Kopp
Tested-by: Felix Kopp
typo3/sysext/beuser/Resources/Private/Layouts/Default.html
typo3/sysext/extensionmanager/Classes/ViewHelpers/Be/ContainerViewHelper.php [deleted file]
typo3/sysext/extensionmanager/Classes/ViewHelpers/Be/TriggerViewHelper.php [new file with mode: 0644]
typo3/sysext/extensionmanager/Resources/Private/Layouts/Main.html
typo3/sysext/fluid/Classes/ViewHelpers/Be/ContainerViewHelper.php
typo3/sysext/lang/Classes/ViewHelpers/Be/ContainerViewHelper.php [deleted file]
typo3/sysext/lang/Resources/Private/Layouts/Default.html
typo3/sysext/reports/Resources/Private/Layouts/Default.html