Project

General

Profile

Bug #19658 » file_upload.php.diff

Administrator Admin, 2008-11-28 19:52

View differences:

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>
(1-1/2)