Bug #19658 » file_upload.php.diff
typo3/file_upload.php (working copy) | ||
---|---|---|
$code .= '
|
||
<div id="c-select">
|
||
<select name="number" onchange="reload(this.options[this.selectedIndex].value);">';
|
||
for ($a=1;$a<=$this->uploadNumber;$a++) {
|
||
$code.='
|
||
<option value="'.$a.'"'.($this->number==$a?' selected="selected"':'').'>'.$a.' '.$LANG->sL('LLL:EXT:lang/locallang_core.php:file_upload.php.files',1).'</option>';
|
||
for ($a = 1; $a <= $this->uploadNumber; $a++) {
|
||
$code .=
|
||
'<option value="' . $a . '"' . ($this->number == $a ? ' selected="selected"' : '') . '>' . $a . ' ' . ($a == 1 ? $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_common.xml:file', true) : $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_common.xml:files', true)) . '</option>';
|
||
}
|
||
$code.='
|
||
</select>
|