Project

General

Profile

Bug #23132 ยป 15049.diff

Administrator Admin, 2010-07-08 17:02

View differences:

t3lib/class.t3lib_extfilefunc.php (working copy)
$this->writelog(8,0,1,'File created: "%s"',Array($fI['file']));
return $theNewFile;
} else $this->writelog(8,1,100,'File "%s" was not created! Write-permission problem in "%s"?',Array($fI['file'], $theTarget));
} else $this->writelog(8,1,107,'Fileextension "%s" is not a textfile format! (%s)',Array($fI['fileext'], $extList));
} else $this->writelog(8,1,107,'File extension "%s" is not a textfile format! (%s)',Array($fI['fileext'], $extList));
} else $this->writelog(8,1,106,'Extension of file name "%s" was not allowed!',Array($fI['file']));
} else $this->writelog(8,1,101,'File "%s" existed already!',Array($theNewFile));
} else $this->writelog(8,1,102,'Destination path "%s" was not within your mountpoints!',Array($theTarget.'/'));
......
$this->writelog(9,0,1,'File saved to "%s", bytes: %s, MD5: %s ',Array($fileInfo['file'],@filesize($theTarget),md5($content)));
return TRUE;
} else $this->writelog(9,1,100,'File "%s" was not saved! Write-permission problem in "%s"?',Array($theTarget,$fileInfo['path']));
} else $this->writelog(9,1,102,'Fileextension "%s" is not a textfile format! (%s)',Array($fI['fileext'], $extList));
} else $this->writelog(9,1,102,'File extension "%s" is not a textfile format! (%s)',Array($fI['fileext'], $extList));
} else $this->writelog(9,1,103,'Extension of file name "%s" was not allowed!',Array($fI['file']));
} else $this->writelog(9,1,104,'You are not allowed to edit files!','');
} else $this->writelog(9,1,121,'Destination path "%s" was not within your mountpoints!',Array($fileInfo['path']));
......
return TRUE;
} else $this->writelog(7,1,100,'File "%s" or destination "%s" was not within your mountpoints!',Array($theFile,$theDest));
} else $this->writelog(7,1,101,'You don\'t have full access to the destination directory "%s"!',Array($theDest));
} else $this->writelog(7,1,102,'Fileextension is not "zip"','');
} else $this->writelog(7,1,102,'File extension is not "zip"','');
} else $this->writelog(7,1,103,'You are not allowed to unzip files','');
} else $this->writelog(7,2,104,'Destination "%s" was not a directory',Array($cmds['target']));
} else $this->writelog(7,2,105,'The file "%s" did not exist!',Array($theFile));
t3lib/class.t3lib_tcemain.php (working copy)
clearstatcache();
if (!@is_file($theDestFile)) $this->log($table,$id,5,0,1,"Copying file '%s' failed!: The destination path (%s) may be write protected. Please make it write enabled!. (%s)",16,array($theFile, dirname($theDestFile), $recFID),$propArr['event_pid']);
} else $this->log($table,$id,5,0,1,"Copying file '%s' failed!: No destination file (%s) possible!. (%s)",11,array($theFile, $theDestFile, $recFID),$propArr['event_pid']);
} else $this->log($table,$id,5,0,1,"Fileextension '%s' not allowed. (%s)",12,array($fI['fileext'], $recFID),$propArr['event_pid']);
} else $this->log($table,$id,5,0,1,"File extension '%s' not allowed. (%s)",12,array($fI['fileext'], $recFID),$propArr['event_pid']);
} else $this->log($table,$id,5,0,1,"Filesize (%s) of file '%s' exceeds limit (%s). (%s)",13,array(t3lib_div::formatSize($fileSize),$theFile,t3lib_div::formatSize($maxSize*1024),$recFID),$propArr['event_pid']);
} else $this->log($table,$id,5,0,1,'The destination (%s) or the source file (%s) does not exist. (%s)',14,array($dest, $theFile, $recFID),$propArr['event_pid']);
......
clearstatcache();
if (!@is_file($theDestFile)) $this->log($table, $id, 5, 0, 1, "Copying file '%s' failed!: The destination path (%s) may be write protected. Please make it write enabled!. (%s)", 16, array($theFile, dirname($theDestFile), $recFID), $propArr['event_pid']);
} else $this->log($table, $id, 5, 0, 1, "Copying file '%s' failed!: No destination file (%s) possible!. (%s)", 11, array($theFile, $theDestFile, $recFID), $propArr['event_pid']);
} else $this->log($table, $id, 5, 0, 1, "Fileextension '%s' not allowed. (%s)", 12, array($fI['fileext'], $recFID), $propArr['event_pid']);
} else $this->log($table, $id, 5, 0, 1, "File extension '%s' not allowed. (%s)", 12, array($fI['fileext'], $recFID), $propArr['event_pid']);
} else $this->log($table, $id, 5, 0, 1, "Filesize (%s) of file '%s' exceeds limit (%s). (%s)", 13, array(t3lib_div::formatSize($fileSize), $theFile,t3lib_div::formatSize($maxSize * 1024),$recFID), $propArr['event_pid']);
// If the destination file was created, we will set the new filename in the value array, otherwise unset the entry in the value array!
typo3/sysext/belog/mod/locallang.xml (working copy)
<label index="msg_1_5_3">Too few items in the list of values. (%s)</label>
<label index="msg_1_5_10">Could not delete file '%s' (does not exist). (%s)</label>
<label index="msg_1_5_11">Copying file '%s' failed!: No destination file (%s) possible!. (%s)</label>
<label index="msg_1_5_12">Fileextension '%s' not allowed. (%s)</label>
<label index="msg_1_5_13">Filesize (%s) of file '%s' exceeds limit (%s). (%s)</label>
<label index="msg_1_5_12">File extension '%s' is not allowed. (%s)</label>
<label index="msg_1_5_13">File size (%s) of file '%s' exceeds limit (%s). (%s)</label>
<label index="msg_1_5_14">The destination (%s) or the source file (%s) does not exist. (%s)</label>
<label index="msg_1_5_15">Copying to file '%s' failed! (%s)</label>
<label index="msg_1_5_16">Copying file '%s' failed!: The destination path (%s) may be write protected. Please make it write enabled!. (%s)</label>
    (1-1/1)