Project

General

Profile

Bug #15114 » 0001678-lang_limit_move.patch

Administrator Admin, 2006-08-04 01:34

View differences:

t3lib/class.t3lib_tcemain.php (Arbeitskopie)
$destPid = $resolvedPid;
}
// Checking if there is anything else disallowing edit
$editAccess = $this->BE_USER->recordEditAccessInternals($table,$uid);
// Timestamp field:
$updateFields = array();
if ($TCA[$table]['ctrl']['tstamp']) {
......
// If moving is allowed, begin the processing:
if (!count($workspaceAccessBlocked)) {
if ($mayMoveAccess) {
if ($mayMoveAccess && $editAccess) {
if ($destPid>=0) { // insert as first element on page (where uid = $destPid)
if ($mayInsertAccess) {
if ($table!='pages' || $this->destNotInsideSelf($destPid,$uid)) {
(2-2/6)