diff options
author | Markus Warg <mw@it-sls.de> | 2010-04-14 16:29:09 +0200 |
---|---|---|
committer | Markus Warg <mw@it-sls.de> | 2010-04-14 16:29:09 +0200 |
commit | 2597013887cfb5b2a9c7b0210b4deb0a0276e595 (patch) | |
tree | 53fb36b4d7d7900063a6e62c9ab160a5808d5185 /manager/application/views | |
parent | ae053ad0371d46f529a26c2a18953189620b88e4 (diff) | |
download | cacert-mgr-2597013887cfb5b2a9c7b0210b4deb0a0276e595.tar.gz cacert-mgr-2597013887cfb5b2a9c7b0210b4deb0a0276e595.tar.xz cacert-mgr-2597013887cfb5b2a9c7b0210b4deb0a0276e595.zip |
list mails, read mails
fix smaller issues in imap class
mail controller
list contents of mailbox
read mails
Diffstat (limited to 'manager/application/views')
-rw-r--r-- | manager/application/views/scripts/mail/index.phtml | 21 | ||||
-rw-r--r-- | manager/application/views/scripts/mail/read.phtml | 10 |
2 files changed, 31 insertions, 0 deletions
diff --git a/manager/application/views/scripts/mail/index.phtml b/manager/application/views/scripts/mail/index.phtml index 4cbadc3..faf6bd4 100644 --- a/manager/application/views/scripts/mail/index.phtml +++ b/manager/application/views/scripts/mail/index.phtml @@ -3,5 +3,26 @@ * @author markus
* $Id: index.phtml 25 2009-12-02 15:43:21Z markus $
*/
+$this->headLink()->appendStylesheet('/css/mail.css');
?>
<H1><?php print I18n::_('Mail'); ?></H1>
+<table>
+ <tr>
+ <th><?php print I18n::_('From');?></th>
+ <th><?php print I18n::_('To');?></th>
+ <th><?php print I18n::_('Subject');?></th>
+ <th><?php print I18n::_('Date');?></th>
+ <th><?php print I18n::_('Size');?></th>
+ </tr>
+<?php
+foreach ($this->headers as $header) {
+ print " <tr>\n";
+ print " <td><a href=\"" . $header->detailslink . "\">" . $header->fromaddress . "</a></td>";
+ print " <td>" . $header->toaddress . "</td>";
+ print " <td>" . $header->subject . "</td>";
+ print " <td>" . $header->date . "</td>";
+ print " <td>" . $header->Size . "</td>";
+ print " </tr>\n";
+}
+?>
+</table>
diff --git a/manager/application/views/scripts/mail/read.phtml b/manager/application/views/scripts/mail/read.phtml new file mode 100644 index 0000000..1d64d5e --- /dev/null +++ b/manager/application/views/scripts/mail/read.phtml @@ -0,0 +1,10 @@ +<?php
+/**
+ * @author markus
+ * $Id: index.phtml 25 2009-12-02 15:43:21Z markus $
+ */
+$this->headLink()->appendStylesheet('/css/mail.css');
+?>
+<H1><?php print I18n::_('Read Mail'); ?></H1>
+<?php
+print_r($this->mail_body);
\ No newline at end of file |