summaryrefslogtreecommitdiff
path: root/manager/application
diff options
context:
space:
mode:
authorMarkus Warg <mw@it-sls.de>2010-04-14 15:20:40 +0200
committerMarkus Warg <mw@it-sls.de>2010-04-14 15:20:40 +0200
commitae053ad0371d46f529a26c2a18953189620b88e4 (patch)
treeaad5ebb03e7138647f950be8960c3f7c84df0020 /manager/application
parentd09a673644f87ee067f62f3de978cb046a02c7a8 (diff)
downloadcacert-mgr-ae053ad0371d46f529a26c2a18953189620b88e4.tar.gz
cacert-mgr-ae053ad0371d46f529a26c2a18953189620b88e4.tar.xz
cacert-mgr-ae053ad0371d46f529a26c2a18953189620b88e4.zip
imap class / mail controller
add imap class to access captured emails add mail controller to framework (display content)
Diffstat (limited to 'manager/application')
-rw-r--r--manager/application/controllers/MailController.php24
-rw-r--r--manager/application/views/scripts/mail/index.phtml7
2 files changed, 31 insertions, 0 deletions
diff --git a/manager/application/controllers/MailController.php b/manager/application/controllers/MailController.php
new file mode 100644
index 0000000..afe902b
--- /dev/null
+++ b/manager/application/controllers/MailController.php
@@ -0,0 +1,24 @@
+<?php
+/**
+ * @author markus
+ * $Id: IndexController.php 6 2009-11-18 14:52:50Z markus $
+ */
+
+require_once(LIBRARY_PATH . '/imap/imapConnection.php');
+
+class MailController extends Zend_Controller_Action
+{
+
+ public function init()
+ {
+ /* Initialize action controller here */
+ }
+
+ public function indexAction()
+ {
+ // action body
+ }
+
+
+}
+
diff --git a/manager/application/views/scripts/mail/index.phtml b/manager/application/views/scripts/mail/index.phtml
new file mode 100644
index 0000000..4cbadc3
--- /dev/null
+++ b/manager/application/views/scripts/mail/index.phtml
@@ -0,0 +1,7 @@
+<?php
+/**
+ * @author markus
+ * $Id: index.phtml 25 2009-12-02 15:43:21Z markus $
+ */
+?>
+<H1><?php print I18n::_('Mail'); ?></H1>