From fca04a6dab252eb9e8c0a92ce3b7e14b32e68d1e Mon Sep 17 00:00:00 2001
From: Sebastian Schmelzer
Date: Wed, 11 Jan 2012 14:36:35 +0100
Subject: format source files
---
.../modules/user/controllers/IndexController.php | 60 ++++++++++------------
1 file changed, 28 insertions(+), 32 deletions(-)
(limited to 'application/modules/user/controllers/IndexController.php')
diff --git a/application/modules/user/controllers/IndexController.php b/application/modules/user/controllers/IndexController.php
index a704261..4bbfe1d 100644
--- a/application/modules/user/controllers/IndexController.php
+++ b/application/modules/user/controllers/IndexController.php
@@ -1,38 +1,34 @@
-hasIdentity()) {
- $this->view->text = 'Your not logged in, please log in first here.';
- }
- else{
- $this->view->text = "You're Welcome";
- $links = array(
- '/user/person' => 'Change your Details',
- '/user/person/request' => 'Request Membership in a Group',
- '/user/config' => 'Create your own Configuration',
- '/user/bootmenu' => 'Create your Bootmenu',
- );
- $this->view->links = $links;
- }
- }
+ public function indexAction() {
+
+ if (!Zend_Auth::getInstance()->hasIdentity()) {
+ $this->view->text = 'Your not logged in, please log in first here.';
+ } else {
+ $this->view->text = "You're Welcome";
+ $links = array(
+ '/user/person' => 'Change your Details',
+ '/user/person/request' => 'Request Membership in a Group',
+ '/user/config' => 'Create your own Configuration',
+ '/user/bootmenu' => 'Create your Bootmenu',
+ );
+ $this->view->links = $links;
+ }
+ }
}
--
cgit v1.2.3-55-g7522