#21869t3lib_tceforms does not respect mod.SHARED.disableLanguages
Description
When a flexform does not disable inline translation (that is it enables it):
<langdisable>0</langdisable>
all languages are made available. However a page option mod.SHARED.disableLanguages allow languages to be deactivated.
As such the behavior is not respected as when setting langDisable to 1 (CE are localizable with mod.SHARED.disableLanguages taken into account).
Solution: use same code as within tx_cms_layout.php.
(issue imported from #M13068)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.