| | |
| | | 'group' => $COMPOSE_ID, |
| | | 'name' => $filename, |
| | | 'mimetype' => rcube_mime::file_content_type($attach, $filename), |
| | | 'size' => filesize($attach), |
| | | 'path' => $attach, |
| | | ); |
| | | } |
| | |
| | | continue; |
| | | } |
| | | |
| | | $content = sprintf('%s <span class="attachment-size">(%s)</span>', |
| | | rcube::Q($a_prop['name']), $RCMAIL->show_bytes($a_prop['size'])); |
| | | |
| | | $out .= html::tag('li', array( |
| | | 'id' => 'rcmfile'.$id, |
| | | 'class' => rcube_utils::file2class($a_prop['mimetype'], $a_prop['name']), |
| | |
| | | 'aria-label' => $RCMAIL->gettext('delete') . ' ' . $a_prop['name'], |
| | | ), |
| | | $button |
| | | ) . rcube::Q($a_prop['name']) |
| | | ) . $content |
| | | ); |
| | | |
| | | $jslist['rcmfile'.$id] = array( |