$cancel = t('Cancel');
$failed = t('Failed');
+ $maximagesize = intval(get_config('system','maximagesize'));
+
$b['addon_text'] .= <<< EOT
<div id="file-uploader-demo1">
'</li>',
debug: true,
+ sizeLimit: $maximagesize,
onSubmit: function(id,filename) {
if (typeof acl!="undefined"){
uploader.setParams( {