list mails, read mails
[cacert-mgr.git] / manager / application / views / scripts / mail / index.phtml
1 <?php
2 /**
3 * @author markus
4 * $Id: index.phtml 25 2009-12-02 15:43:21Z markus $
5 */
6 $this->headLink()->appendStylesheet('/css/mail.css');
7 ?>
8 <H1><?php print I18n::_('Mail'); ?></H1>
9 <table>
10 <tr>
11 <th><?php print I18n::_('From');?></th>
12 <th><?php print I18n::_('To');?></th>
13 <th><?php print I18n::_('Subject');?></th>
14 <th><?php print I18n::_('Date');?></th>
15 <th><?php print I18n::_('Size');?></th>
16 </tr>
17 <?php
18 foreach ($this->headers as $header) {
19 print " <tr>\n";
20 print " <td><a href=\"" . $header->detailslink . "\">" . $header->fromaddress . "</a></td>";
21 print " <td>" . $header->toaddress . "</td>";
22 print " <td>" . $header->subject . "</td>";
23 print " <td>" . $header->date . "</td>";
24 print " <td>" . $header->Size . "</td>";
25 print " </tr>\n";
26 }
27 ?>
28 </table>