--- class.t3lib_tcemain.php.orig Fri Nov 26 17:13:50 2004 +++ class.t3lib_tcemain.php Fri Nov 26 17:24:06 2004 @@ -3361,6 +3361,8 @@ // If $noRecordCheck is set, then the function does not check permissions global $TCA; $uid = intval($uid); + $propArr = $this->getRecordProperties($table, $uid); + $page_propArr = $this->getRecordProperties('pages', $propArr['pid']); if ($TCA[$table] && $uid) { $deleteRow = $TCA[$table]['ctrl']['delete']; if ($noRecordCheck || $this->doesRecordExist($table,$uid,'delete')) { @@ -3396,7 +3398,15 @@ } if (!$GLOBALS['TYPO3_DB']->sql_error()) { - $this->log($table,$uid,3,0,0,''); + $this->log( $table, $uid,3, $propArr['pid'], 0, + "Record '%s' (%s) was deleted from page '%s' (%s)", 0, + array( + $propArr['header'], + $table.':'.$uid, + $page_propArr['header'], + $propArr['pid'] + ), + $propArr['pid']); } else { $this->log($table,$uid,3,0,100,$GLOBALS['TYPO3_DB']->sql_error()); }