diff options
| author | Björn Geiger | 2011-01-31 14:44:39 +0100 |
|---|---|---|
| committer | Björn Geiger | 2011-01-31 14:44:39 +0100 |
| commit | b8d385ae2f1b792c7d111ebf3fb9020fd01b7d73 (patch) | |
| tree | 3c9cb9ed9ac7cc2a5d7abffdda9071eed02dd193 /application/views/scripts | |
| parent | Fehler in SQL korrigiert (diff) | |
| parent | Merge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2 (diff) | |
| download | pbs2-b8d385ae2f1b792c7d111ebf3fb9020fd01b7d73.tar.gz pbs2-b8d385ae2f1b792c7d111ebf3fb9020fd01b7d73.tar.xz pbs2-b8d385ae2f1b792c7d111ebf3fb9020fd01b7d73.zip | |
Merge branch 'master' of git.openslx.org:lsfks/master-teamprojekt/pbs2
Diffstat (limited to 'application/views/scripts')
| -rw-r--r-- | application/views/scripts/auth/login.phtml | 5 | ||||
| -rw-r--r-- | application/views/scripts/index/index.phtml | 52 | ||||
| -rw-r--r-- | application/views/scripts/person/index.phtml | 1 |
3 files changed, 14 insertions, 44 deletions
diff --git a/application/views/scripts/auth/login.phtml b/application/views/scripts/auth/login.phtml index c3b3a55..0618564 100644 --- a/application/views/scripts/auth/login.phtml +++ b/application/views/scripts/auth/login.phtml @@ -1,6 +1,9 @@ <?php $this->loginForm->setAction($this->url()); echo $this->loginForm; -#var_dump($this); + +echo "<pre>"; +print_r($_SESSION); +echo "</pre>"; ?> 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> diff --git a/application/views/scripts/person/index.phtml b/application/views/scripts/person/index.phtml new file mode 100644 index 0000000..7a96e97 --- /dev/null +++ b/application/views/scripts/person/index.phtml @@ -0,0 +1 @@ +<br /><br /><center>View script for controller <b>Person</b> and script/action name <b>index</b></center>
\ No newline at end of file |
