Project

General

Profile

Bug #21849 ยป typo3bug-menuconfig-disableitems.patch

Administrator Admin, 2009-12-12 19:27

View differences:

typo3/sysext/extra_page_cm_options/class.tx_extrapagecmoptions.php (working copy)
$localItems['hide'] = $backRef->DB_hideUnhide($table,$backRef->rec,$TCA[$table]['ctrl']['enablecolumns']['disabled']);
if (!in_array('edit_access',$backRef->disabledItems) && is_array($TCA[$table]['ctrl']['enablecolumns']))
$localItems['edit_access'] = $backRef->DB_editAccess($table,$uid);
if (!in_array('edit_pageproperties',$backRef->disabledItems) && $table=='pages' && $backRef->editPageIconSet)
if (!in_array('edit_pageproperties',$backRef->disabledItems) && $table=='pages')
$localItems['edit_pageproperties'] = $backRef->DB_editPageProperties($uid);
}
    (1-1/1)