Index: t3lib/class.t3lib_tcemain.php =================================================================== --- t3lib/class.t3lib_tcemain.php (revision 7023) +++ t3lib/class.t3lib_tcemain.php (working copy) @@ -4072,6 +4072,13 @@ global $TCA; $delRec = t3lib_BEfunc::getRecord($table, $id); + + //Hook for manipulating delete records array + if (is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['deleteAction'])) { + foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['deleteAction'] as $classRef) { + $hookObj = t3lib_div::callUserFunction($classRef, $delRec, $this); + } + } if (is_array($delRec)) { // Record asked to be deleted was found: Index: typo3/alt_clickmenu.php =================================================================== --- typo3/alt_clickmenu.php (revision 7023) +++ typo3/alt_clickmenu.php (working copy) @@ -278,6 +278,14 @@ // Get permissions $lCP = $BE_USER->calcPerms(t3lib_BEfunc::getRecord('pages',($table=='pages'?$this->rec['uid']:$this->rec['pid']))); + + //Hook for disabling Items in Click Menu + if (is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/alt_clickmenu.php']['disableItems'])) { + foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/alt_clickmenu.php']['disableItems'] as $classRef) { + $_params = array($uid, &$this->disabledItems, $table); + $hookObj = t3lib_div::callUserFunction($classRef, $_params, $this); + } + } // View if (!in_array('view',$this->disabledItems)) { Index: typo3/alt_doc.php =================================================================== --- typo3/alt_doc.php (revision 7023) +++ typo3/alt_doc.php (working copy) @@ -640,6 +640,13 @@ // Get the ids: $ids = t3lib_div::trimExplode(',',$cKey,1); + + //Hook for filtering ids array + if (is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/alt_doc.php']['filterIDs'])) { + foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/alt_doc.php']['filterIDs'] as $classRef) { + $hookObj = t3lib_div::callUserFunction($classRef, $ids, $this); + } + } // Traverse the ids: foreach($ids as $theUid) {