|
|
|
|
@ -1,4 +1,5 @@ |
|
|
|
|
<?php foreach($_['files'] as $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>'; |
|
|
|
|
foreach($_['files'] as $file): |
|
|
|
|
$simple_file_size = simple_file_size($file['size']); |
|
|
|
|
$simple_size_color = 200-intval($file['size']/(1024*1024)*5); |
|
|
|
|
if($simple_size_color<0) $simple_size_color = 0; |
|
|
|
|
|