$('#file_newfolder_name').blur();
});}
});
+ $('#emptyfolder').remove();
});
$('#file_newfolder_name').click(function(){
clone.insertBefore(form);
form.hide();
}
+ $('#emptyfolder').remove();
});
//add multiply file upload attribute to all browsers except konqueror (which crashes when it's used)
mime='file';
}
return OC.imagePath('core','mimetypes/'+mime+'.png');
-}
\ No newline at end of file
+}
- <?php if(!$_['files']) echo '<span id="emptyfolder">Nothing in here. Upload something!</span><style>.file_upload_filename { background-color:#ffc100; border:#dda600 1px solid; }</style>';
+ <?php if(!$_['files']) echo '<span id="emptyfolder">Nothing in here. Upload something!<style>.file_upload_filename { background-color:#ffc100; border:#dda600 1px solid; }</style></span>';
foreach($_['files'] as $file):
$simple_file_size = simple_file_size($file['size']);
$simple_size_color = 200-intval($file['size']/(1024*1024)*2); // the bigger the file, the darker the shade of grey