diff options
Diffstat (limited to 'manager/application/views/scripts')
6 files changed, 82 insertions, 0 deletions
diff --git a/manager/application/views/scripts/error/error.phtml b/manager/application/views/scripts/error/error.phtml new file mode 100644 index 0000000..1782039 --- /dev/null +++ b/manager/application/views/scripts/error/error.phtml @@ -0,0 +1,28 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <title>Zend Framework Default Application</title> +</head> +<body> + <h1>An error occurred</h1> + <h2><?php echo $this->message ?></h2> + + <?php if ('development' == APPLICATION_ENV): ?> + + <h3>Exception information:</h3> + <p> + <b>Message:</b> <?php echo $this->exception->getMessage() ?> + </p> + + <h3>Stack trace:</h3> + <pre><?php echo $this->exception->getTraceAsString() ?> + </pre> + + <h3>Request Parameters:</h3> + <pre><?php echo var_export($this->request->getParams(), true) ?> + </pre> + <?php endif ?> + +</body> +</html> diff --git a/manager/application/views/scripts/error/permissiondenied.phtml b/manager/application/views/scripts/error/permissiondenied.phtml new file mode 100644 index 0000000..8219e5b --- /dev/null +++ b/manager/application/views/scripts/error/permissiondenied.phtml @@ -0,0 +1,8 @@ +<?php +/** + * @author markus + * $Id: loginresult.phtml 7 2009-11-19 15:03:59Z markus $ + */ +?> +<H1><?php print I18n::_('Permission Denied')?></H1> +<?php print I18n::_('You do not have the permission to perform the requested action'); ?>
\ No newline at end of file diff --git a/manager/application/views/scripts/index/index.phtml b/manager/application/views/scripts/index/index.phtml new file mode 100644 index 0000000..58c9dc9 --- /dev/null +++ b/manager/application/views/scripts/index/index.phtml @@ -0,0 +1,7 @@ +<?php
+/**
+ * @author markus
+ * $Id: index.phtml 25 2009-12-02 15:43:21Z markus $
+ */
+?>
+<H1><?php print I18n::_('Dashboard'); ?></H1>
diff --git a/manager/application/views/scripts/login/index.phtml b/manager/application/views/scripts/login/index.phtml new file mode 100644 index 0000000..57f49ea --- /dev/null +++ b/manager/application/views/scripts/login/index.phtml @@ -0,0 +1,16 @@ +<?php
+/**
+ * @author markus
+ * $Id: index.phtml 36 2009-12-15 15:49:57Z markus $
+ */
+
+// $this->headScript()->appendFile('js/1st.js');
+// $this->headScript()->appendFile('js/2nd.js');
+$this->headLink()->appendStylesheet('/css/login.css');
+
+$this->headLink()->appendStylesheet('/css/form_dl.css');
+?>
+
+<H1><?php print I18n::_('Please log in'); ?></H1>
+<?php print $this->form;?>
+<a href='/login/crt'><?php print I18n::_('Client Cert Login'); ?></a>
\ No newline at end of file diff --git a/manager/application/views/scripts/login/loginresult.phtml b/manager/application/views/scripts/login/loginresult.phtml new file mode 100644 index 0000000..09437ca --- /dev/null +++ b/manager/application/views/scripts/login/loginresult.phtml @@ -0,0 +1,16 @@ +<?php +/** + * @author markus + * $Id: loginresult.phtml 7 2009-11-19 15:03:59Z markus $ + */ + +if ($this->session->authdata['authed']) { +?> +<H1>Willkommen im Club, <?php print $this->session->authdata['authed_username']; ?></H1> +<?php +} +else { +?> +<H1>Bitte loggen Sie sich ein.</H1> +<?php +}
\ No newline at end of file diff --git a/manager/application/views/scripts/logout/index.phtml b/manager/application/views/scripts/logout/index.phtml new file mode 100644 index 0000000..5106390 --- /dev/null +++ b/manager/application/views/scripts/logout/index.phtml @@ -0,0 +1,7 @@ +<?php +/** + * @author markus + * $Id: index.phtml 7 2009-11-19 15:03:59Z markus $ + */ +?> +<H1><?php print I18n::_('You have successfully been logged out'); ?></H1> |