diff options
| author | Simon | 2011-01-31 13:55:22 +0100 |
|---|---|---|
| committer | Simon | 2011-01-31 13:55:22 +0100 |
| commit | c142c466c6cc2efaec799334bbf36b514d1d1055 (patch) | |
| tree | b409ba9b63b9d121b5881e92654b79cb182b6a2c /application/views/scripts/index | |
| parent | bootstrap und login funktionieren (diff) | |
| download | pbs2-c142c466c6cc2efaec799334bbf36b514d1d1055.tar.gz pbs2-c142c466c6cc2efaec799334bbf36b514d1d1055.tar.xz pbs2-c142c466c6cc2efaec799334bbf36b514d1d1055.zip | |
authController geänder
Diffstat (limited to 'application/views/scripts/index')
| -rw-r--r-- | application/views/scripts/index/index.phtml | 52 |
1 files changed, 9 insertions, 43 deletions
diff --git a/application/views/scripts/index/index.phtml b/application/views/scripts/index/index.phtml index 4b38f0a..b3c2b57 100644 --- a/application/views/scripts/index/index.phtml +++ b/application/views/scripts/index/index.phtml @@ -1,43 +1,9 @@ -<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 +<?php +echo "already logged in as: " . Zend_Auth::getInstance()->getIdentity(); +echo "<pre>"; +print_r($_SESSION); +echo "</pre>"; +Zend_Debug::dump($_SESSION, $label="_SESSION nach Login: ", $echo=true); + $this->view->loginStatus = "Eingeloggt als " . $this->_userNamespace->username; +?> +<h1>Zend-Framework Index</h1> |
