diff options
Diffstat (limited to 'application/views/scripts')
| -rw-r--r-- | application/views/scripts/error/error.phtml | 28 | ||||
| -rw-r--r-- | application/views/scripts/index/index.phtml | 43 |
2 files changed, 71 insertions, 0 deletions
diff --git a/application/views/scripts/error/error.phtml b/application/views/scripts/error/error.phtml new file mode 100644 index 0000000..1997506 --- /dev/null +++ b/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 (isset($this->exception)): ?> + + <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/application/views/scripts/index/index.phtml b/application/views/scripts/index/index.phtml new file mode 100644 index 0000000..4b38f0a --- /dev/null +++ b/application/views/scripts/index/index.phtml @@ -0,0 +1,43 @@ +<style> + a:link, + a:visited + { + color: #0398CA; + } + + span#zf-name + { + color: #91BE3F; + } + + div#welcome + { + color: #FFFFFF; + background-image: url(http://framework.zend.com/images/bkg_header.jpg); + width: 600px; + height: 400px; + border: 2px solid #444444; + overflow: hidden; + text-align: center; + } + + div#more-information + { + background-image: url(http://framework.zend.com/images/bkg_body-bottom.gif); + height: 100%; + } +</style> +<div id="welcome"> + <h1>Welcome to the <span id="zf-name">Zend Framework!</span></h1> + + <h3>This is your project's main page</h3> + + <div id="more-information"> + <p><img src="http://framework.zend.com/images/PoweredBy_ZF_4LightBG.png" /></p> + <p> + Helpful Links: <br /> + <a href="http://framework.zend.com/">Zend Framework Website</a> | + <a href="http://framework.zend.com/manual/en/">Zend Framework Manual</a> + </p> + </div> +</div>
\ No newline at end of file |
