ACC SHELL
var swfu;
window.onload = function() {
swfu = new SWFUpload({
// Backend Settings
upload_url : "/admin/obrazky/ajaxupload",
post_params : {
"PHPSESSID" : "<?=session_id();?>"
}, // File Upload Settings
file_size_limit : "2048", // 2MB
file_types : "*.jpg",
file_types_description : "JPG Images",
file_upload_limit : "0",
// Event Handler Settings - these functions as defined in
// Handlers.js
// The handlers are not part of SWFUpload but are part of my
// website and control how
// my website reacts to the SWFUpload events.
file_queue_error_handler : fileQueueError,
file_dialog_complete_handler : fileDialogComplete,
upload_progress_handler : uploadProgress,
upload_error_handler : uploadError,
upload_success_handler : uploadSuccess,
upload_complete_handler : uploadComplete,
// Flash Settings
flash_url : "/swfupload/swfupload_f9.swf", // Relative to
// this file
custom_settings : {
upload_target : "divFileProgressContainer"
},
// Debug Settings
debug : false
});
};
ACC SHELL 2018