Project

General

Profile

Bug #24706 » 17193_v2.diff

Administrator Admin, 2011-01-21 15:07

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)
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;
}
(2-2/3)