diff options
| author | Simon | 2011-03-14 16:17:48 +0100 |
|---|---|---|
| committer | Simon | 2011-03-14 16:17:48 +0100 |
| commit | d583d0071274a8843b3a3cd7b7ec72d5a9942f53 (patch) | |
| tree | 6fd2437ddefc93f94c0fbc3b1edcedcab02dd04a /application/modules/dev/controllers/AuthController.php | |
| parent | Application in 3 Modules gesplittet, Dev = unsere entwicklungsumgebung, user ... (diff) | |
| download | pbs2-d583d0071274a8843b3a3cd7b7ec72d5a9942f53.tar.gz pbs2-d583d0071274a8843b3a3cd7b7ec72d5a9942f53.tar.xz pbs2-d583d0071274a8843b3a3cd7b7ec72d5a9942f53.zip | |
Zweiter push um die änderungen hinzuzufügen, Trennung der Ansichten
Diffstat (limited to 'application/modules/dev/controllers/AuthController.php')
| -rw-r--r-- | application/modules/dev/controllers/AuthController.php | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/application/modules/dev/controllers/AuthController.php b/application/modules/dev/controllers/AuthController.php index 097417b..32783c9 100644 --- a/application/modules/dev/controllers/AuthController.php +++ b/application/modules/dev/controllers/AuthController.php @@ -1,6 +1,6 @@ <?php -class AuthController extends Zend_Controller_Action +class dev_AuthController extends Zend_Controller_Action { protected $personmapper; private $db = null; @@ -22,9 +22,9 @@ class AuthController extends Zend_Controller_Action print_a('Already logged in.'); } else { if (!isset($_POST["login"])){ - $loginForm = new Application_Form_AuthLogin(); + $loginForm = new dev_Form_AuthLogin(); } else { - $loginForm = new Application_Form_AuthLogin($_POST); + $loginForm = new dev_Form_AuthLogin($_POST); if ($loginForm->isValid($_POST)) { @@ -72,9 +72,9 @@ class AuthController extends Zend_Controller_Action print_a('Already logged in.'); } else { if (!isset($_POST["register"])){ - $registerForm = new Application_Form_AuthRegister(); + $registerForm = new dev_Form_AuthRegister(); } else { - $registerForm = new Application_Form_AuthRegister($_POST); + $registerForm = new dev_Form_AuthRegister($_POST); if ($registerForm->isValid($_POST)) { @@ -116,9 +116,9 @@ class AuthController extends Zend_Controller_Action public function recoverpasswordAction() { if (!isset($_POST["recoverPassword"])){ - $recoverPasswordForm = new Application_Form_AuthRecoverPassword(); + $recoverPasswordForm = new dev_Form_AuthRecoverPassword(); } else { - $recoverPasswordForm = new Application_Form_AuthRecoverPassword($_POST); + $recoverPasswordForm = new dev_Form_AuthRecoverPassword($_POST); # Wiederherstellung funktioniert noch nicht!!! /*if ($recoverPasswordForm->isValid($_POST)) { $recoverPasswordForm->getView()->url(); @@ -166,4 +166,4 @@ class AuthController extends Zend_Controller_Action $this->_helper->redirector('login', 'auth'); } } -}
\ No newline at end of file +} |
