Bug #23705 » 15958_v5.patch
t3lib/class.t3lib_tceforms.php (revision ) | ||
---|---|---|
function getSingleField_typeFlex_draw($dataStruct, $editData, $table, $field, $row, &$PA, $formPrefix = '', $level = 0, $idPrefix = 'ID', $toggleClosed = FALSE) {
|
||
$output = '';
|
||
if (isset($GLOBALS['TCA'][$table]['ctrl']['languageField']) && $row[$GLOBALS['TCA'][$table]['ctrl']['languageField']] > 0) {
|
||
$mayRestructureFlexforms = TRUE;
|
||
} else {
|
||
$mayRestructureFlexforms = $GLOBALS['BE_USER']->checkLanguageAccess(0);
|
||
$mayRestructureFlexforms = $GLOBALS['BE_USER']->checkLanguageAccess(0);
|
||
}
|
||
|
||
// Data Structure array must be ... and array of course...
|
||
if (is_array($dataStruct)) {
|
||
foreach ($dataStruct as $key => $value) { // Traversing fields in structure:
|
- « Previous
- 1
- 2
- Next »