Project

General

Profile

Bug #22763 » rfc-14538.diff

Administrator Admin, 2010-06-12 11:49

View differences:

t3lib/class.t3lib_iconworks.php (Arbeitskopie)
$recordType .= '-hideinmenu';
}
// workaround to allow "Page contains" in sysfolders
if($table == 'pages' && $row['module'] && $row['type'] >= 200) {
$recordType = 'contains-' . $row['module'];
}
if(is_array($GLOBALS['TCA'][$table]['ctrl']['typeicon_classes'])) {
if(isset($GLOBALS['TCA'][$table]['ctrl']['typeicon_classes'][$recordType])) {
$iconName = $GLOBALS['TCA'][$table]['ctrl']['typeicon_classes'][$recordType];
(2-2/2)