[BUGFIX] TCEFORM language selector: wrong relations
authorThorsten Kahler <thorsten.kahler@dkd.de>
Sun, 5 Jun 2011 18:46:37 +0000 (20:46 +0200)
committerAndreas Wolf <andreas.wolf@ikt-werk.de>
Mon, 6 Jun 2011 10:45:28 +0000 (12:45 +0200)
commit4c2a8d5d73d487bbcc01cc08d5163cd4679075a7
treecb946f7e4c87fddeeb3859dea95717c11117bfb5
parent8baa9ad9512e32ce5a4a6908ec60de499290f5f1
[BUGFIX] TCEFORM language selector: wrong relations

The language selector in the top of BE forms is intended to show (and
switch between) all translations of a certain record. All records in
non-default languages, that are not bound to a record in the default
language are shown as translations of each other.
The patch adds a distinction between translated records and records in
a non-default language to render the dropdowns labels and functions.
Additionally fixes PHPDoc and indentation of
SC_alt_doc::languageSwitch().

Change-Id: I6292578a2e4b3807cb333ff85a6d6309b7d4c754
Resolves: #24958
Reviewed-on: http://review.typo3.org/2533
Reviewed-by: Thorsten Kahler
Tested-by: Thorsten Kahler
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
typo3/alt_doc.php