[TYPO3-templavoila] Translation flags in page module: default flag always shown even if not available for user

Andreas Kiessling kiessling at pluspol.info
Thu Oct 7 14:27:19 CEST 2010


before i file a bug report, maybe i am missing something:
When i have an editor who is restricted to certain languages (and does 
not have the default language), the flag for the default language is 
shown. I click on it and get a blank page, cannot even close it, because 
there is no form for the onclick to submit.

In line 132 in class.tx_templavoila_mod1_localization.php there is a 
check which always enables the default language flag here:

if ($languageArr['uid']<=0 || 
$BE_USER->checkLanguageAccess($languageArr['uid']))	{

The only drawback i see when i remove the first statement, is that the 
editor can not view the "default page" only in the backend. Any reasons 
not to change this behaviour?


More information about the TYPO3-project-templavoila mailing list