Bug #17321 » 0005565_4.1.12.patch
./t3lib/class.t3lib_befunc.php 2009-09-12 13:05:52.000000000 +0200 | ||
---|---|---|
// Traverse files:
|
||
$thumbs = explode(',', $row[$field]);
|
||
$thumbData='';
|
||
$missingFiles = array();
|
||
while(list(,$theFile)=each($thumbs)) {
|
||
if (trim($theFile)) {
|
||
$fI = t3lib_div::split_fileref($theFile);
|
||
... | ... | |
$theFile_abs = PATH_site.($uploaddir?$uploaddir.'/':'').trim($theFile);
|
||
$theFile = ($abs?'':'../').($uploaddir?$uploaddir.'/':'').trim($theFile);
|
||
if (!file_exists($theFile_abs)) {
|
||
$thumbData .= '<span style="color:red;">' . $GLOBALS['LANG']->sl('LLL:EXT:lang/locallang_core.xml:labels.fileForThumbMissing') . '</span> ';
|
||
$missingFiles[] = $theFile_abs; // ToDo: how to handle collected missingFiles afterwards?
|
||
continue;
|
||
}
|
||
$check = basename($theFile_abs).':'.filemtime($theFile_abs).':'.$GLOBALS['TYPO3_CONF_VARS']['SYS']['encryptionKey'];
|
||
$params = '&file='.rawurlencode($theFile);
|
||
$params.= $size?'&size='.$size:'';
|
./typo3/sysext/lang/locallang_core.xml 2009-09-12 13:05:14.000000000 +0200 | ||
---|---|---|
<label index="labels.enterSearchString">Search String:</label>
|
||
<label index="labels.enterSearchLevels">This page|1 level down|2 levels down|3 levels down|4 levels down</label>
|
||
<label index="labels.noEditPermission">Sorry, you didn't have proper permissions to perform this change.</label>
|
||
<label index="labels.fileForThumbMissing">File not found!</label>
|
||
<label index="labels.fieldsMissing">The fields marked with a yellow exclamation mark are not yet correctly filled in. Please complete them properly.</label>
|
||
<label index="labels.fieldsChanged">There are unsaved changes in the form!
|
||
Do you want to continue WITHOUT saving?</label>
|