3 * compose_attachments.tpl
7 * The following variables are available in this template:
9 * @copyright © 1999-2006 The SquirrelMail Project Team
10 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
12 * @package squirrelmail
13 * @subpackage templates
16 /** extract template variables **/
19 /** Begin template **/
22 <table cellspacing="0" class="table1">
24 <td class="fieldName" style="width: 1%; white-space: nowrap;">
25 <?php echo _("New") .' '. _("Attachment");?>:
27 <td class="fieldValue">
28 <input type="file" name="attachfile" size="48">
30 <input type="submit" name="attach" value="<?php echo _("Attach"); ?>" />
33 if($max_file_size != -1) {
35 <input type="hidden" name="MAX_FILE_SIZE" value="<?php echo $max_file_size; ?>" />
36 (<?php echo _("Max."); ?> <?php echo humanReadableSize($max_file_size); ?>)
43 foreach ($attachments as $attach) {
45 <tr class="attachment">
46 <td class="fieldName" style="width: 1%">
47 <input type="checkbox" name="delete[]" value="<?php echo $attach['Key']; ?>" />
49 <td class="fieldValue">
50 <?php echo $attach['FileName']; ?> - <?php echo $attach['ContentType']; ?> (<?php echo humanReadableSize($attach['Size']); ?>)
56 if (count($attachments) > 0) {
60 <input type="submit" name="do_delete" value="<?php echo _("Delete selected attachments"); ?>" />