Project

General

Profile

Bug #19659 » 9860_v2.diff

Administrator Admin, 2008-12-01 23:01

View differences:

typo3/file_newfolder.php (working copy)
$this->number = t3lib_div::intInRange($this->number,1,10);
$code .= '
<div id="c-select">
<label for="number">' .
$LANG->sL('LLL:EXT:lang/locallang_core.php:file_newfolder.php.number_of_folders') .
'</label>
<select name="number" onchange="reload(this.options[this.selectedIndex].value);">';
for ($a=1;$a<=$this->folderNumber;$a++) {
$code.='
<option value="'.$a.'"'.($this->number==$a?' selected="selected"':'').'>'.$a.' '.$LANG->sL('LLL:EXT:lang/locallang_core.php:file_newfolder.php.folders',1).'</option>';
$code .= '<option value="' . $a . '"' .
($this->number == $a ? ' selected="selected"' : '') .
'>' . $a . '</option>';
}
$code.='
</select>
typo3/sysext/lang/locallang_core.xml (working copy)
<label index="file_newfolder.php.folders">folders</label>
<label index="file_newfolder.php.newfile_submit">Create file</label>
<label index="file_newfolder.php.newfile">Create new textfile</label>
<label index="file_newfolder.php.number_of_folders">Number of folders:</label>
<label index="file_clipupload.php.warning_head">Upload path error</label>
<label index="file_clipupload.php.warning">No upload-folder is found. You should create a TEMP-folder (&quot;_temp_&quot;) in the root of one of your mounts first!</label>
<label index="mess.redraw">Redrawing the page will discard the current data. Do you want to continue?</label>
(2-2/2)