Project

General

Profile

Bug #19658 » 9859_v4.diff

Administrator Admin, 2008-12-01 23:03

View differences:

typo3/file_upload.php (working copy)
$this->number = t3lib_div::intInRange($this->number,1,10);
$code .= '
<div id="c-select">
<select name="number" onchange="reload(this.options[this.selectedIndex].value);">';
<label for="number">' .
$LANG->sL('LLL:EXT:lang/locallang_core.php:file_upload.php.number_of_files') .
'</label>
<select class="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>';
$code.='<option value="' . $a . '"' .
($this->number == $a ? ' selected="selected"' : '' ) .
'>' . $a . '</option>';
}
$code.='
</select>
......
// Make checkbox for "overwrite"
$code.='
<div id="c-override">
<input type="checkbox" name="overwriteExistingFiles" id="overwriteExistingFiles" value="1" /> <label for="overwriteExistingFiles">'.$LANG->getLL('overwriteExistingFiles',1).'</label>
<input type="checkbox" class="checkbox" name="overwriteExistingFiles" id="overwriteExistingFiles" value="1" /> <label for="overwriteExistingFiles">'.$LANG->getLL('overwriteExistingFiles',1).'</label>
</div>
';
......
$SOBE->main();
$SOBE->printContent();
?>
?>
typo3/sysext/lang/locallang_core.xml (working copy)
<label index="file_upload.php.pagetitle">Upload files</label>
<label index="file_upload.php.submit">Upload files</label>
<label index="file_upload.php.files">files</label>
<label index="file_upload.php.number_of_files">Number of files:</label>
<label index="file_rename.php.pagetitle">Rename</label>
<label index="file_rename.php.submit">Rename</label>
<label index="file_edit.php.pagetitle">Edit</label>
typo3/sysext/t3skin/stylesheets/stylesheet_post.css (working copy)
vertical-align: middle;
margin-right: 5px;
}
.select {
vertical-align: middle;
}
.alignToInputText {
vertical-align: top;
typo3/sysext/t3skin/stylesheets/typo3-file-list.css (working copy)
table#typo3-filelist tr td div.typo3-clipCtrl {
background-color:transparent;
}
div#c-override, div#c-upload {
display: inline;
margin-right: 7px;
}
(2-2/2)