Feature #97821
Updated by Georg Ringer over 2 years ago
Small Change but great Effect. It would be great if we could configure the Icons that are displayed in the list view by Standard or on Click "...". Problem is that many users do not recognize the Replace button in the additional options which is very important for correct FAL use. Change would look something like this: In user(group) tsconfig set up something like this: options.file_list.defaultIcons = view,metadata,copy,cut,translations,delete typo3/sysext/filelist/Classes/FileList.php Line 1129 OLD: <pre> if (in_array($key, ['view', 'metadata', 'translations', 'delete'])) { $output .= $action; continue; } </pre> NEW: <pre> foreach ($cells as $key => $action) { $defaultIcons = array('view', 'metadata', 'translations', 'delete'); $userTsConfig = $GLOBALS['BE_USER']->getTSConfig(); if($userTsConfig['options.']['file_list.']['defaultIcons']) { $defaultIcons =explode(",", $userTsConfig['options.']['file_list.']['defaultIcons']) ; $defaultIcons = array_map('trim', $defaultIcons); } if (in_array($key, $defaultIcons )) { $output .= $action; continue; } </pre>