Project

General

Profile

Bug #24706 » 17193.diff

Administrator Admin, 2011-01-21 14:23

View differences:

typo3/js/extjs/ext.ux.plupload.js (working copy)
new Ext.Toolbar.TextItem({
text: '<i>uploader not initialized</i>',
itemId: 'status'
}),
new Ext.form.Checkbox({
boxLabel: config.allowOverwriteText || 'Allow Overwriting of files',
itemId: 'allowOverwrite'
})
]
});
typo3/js/extjs/PluploadWindow.js (working copy)
id: 't3-plupload-panel',
layout:'fit',
url: top.TYPO3.configuration.PATH_typo3 + 'ajax.php',
runtimes: 'html5,flash,gears,html4',
runtimes: 'html5, flash,gears,html4',
multipart: true,
multipart_params: { },
file_data_name: 'upload_1',
......
statusUploadingText: top.TYPO3.LLL.fileUpload.infoFileUploading,
statusFailedText: top.TYPO3.LLL.fileUpload.errorUploadFailed,
statusDoneText: top.TYPO3.LLL.fileUpload.infoFileFinished,
allowOverwriteText: top.TYPO3.LLL.fileUpload.infoComponentOverrideFiles,
listeners: {
uploadfile: function(uploadpanel, uploader, file) {
var parameters = {
......
'file[upload][1][charset]': 'utf-8',
'ajaxID': 'TYPO3_tcefile::process',
'uploaderType': 'plupload',
"vC": top.TYPO3.configuration.veriCode
"vC": top.TYPO3.configuration.veriCode,
'overwriteExistingFiles': top.Ext.getCmp('t3-plupload-panel').getBottomToolbar().getComponent('allowOverwrite').getValue() ? 1 : 0
};
uploader.settings.max_file_size = top.TYPO3.configuration.FileUpload.maxFileSize+'b';
uploader.settings.multipart_params = parameters;
typo3/sysext/t3skin/stylesheets/visual/module_file_upload.css (working copy)
white-space: nowrap;
}
.plupload {
cursor: pointer;
}
.plupload input {
cursor: pointer;
}
.plupload_emptytext {
font: 11px Arial,Helvetica,sans-serif;
}
(1-1/3)