diff options
| author | Simon | 2011-03-26 22:09:11 +0100 |
|---|---|---|
| committer | Simon | 2011-03-26 22:09:11 +0100 |
| commit | 93f4bc38f2075720ca2467c0f5e10bc0a1c3bbc0 (patch) | |
| tree | cfa8f16411ff2a40b333adfaa469cf2dc1d1507b /application | |
| parent | footer fix (diff) | |
| download | pbs2-93f4bc38f2075720ca2467c0f5e10bc0a1c3bbc0.tar.gz pbs2-93f4bc38f2075720ca2467c0f5e10bc0a1c3bbc0.tar.xz pbs2-93f4bc38f2075720ca2467c0f5e10bc0a1c3bbc0.zip | |
User-Startseite Layout angepasst, GroupGraph angepasst
Diffstat (limited to 'application')
| -rw-r--r-- | application/modules/user/controllers/IndexController.php | 5 | ||||
| -rw-r--r-- | application/modules/user/views/scripts/index/index.phtml | 26 |
2 files changed, 13 insertions, 18 deletions
diff --git a/application/modules/user/controllers/IndexController.php b/application/modules/user/controllers/IndexController.php index e61f012..f795b16 100644 --- a/application/modules/user/controllers/IndexController.php +++ b/application/modules/user/controllers/IndexController.php @@ -23,10 +23,7 @@ class User_IndexController extends Zend_Controller_Action } $this->view->links = $links; - $ggMapper = new Application_Model_GroupGroupsMapper(); - $userIDsNamespace = Zend_Session::namespaceGet('userIDs'); - print_a('Your Parent Groups', $ggMapper->getParentGroups($userIDsNamespace['membershipID'])); - print_a('Your Child Groups',$ggMapper->getChildGroups($userIDsNamespace['membershipID'])); + } } diff --git a/application/modules/user/views/scripts/index/index.phtml b/application/modules/user/views/scripts/index/index.phtml index 0f1fab5..aa98393 100644 --- a/application/modules/user/views/scripts/index/index.phtml +++ b/application/modules/user/views/scripts/index/index.phtml @@ -1,18 +1,16 @@ <h1>Welcome</h1> -<div class='infobox'>infobox: <?php echo $this->text;?></div> -<div class='okbox'>okbox: <?php echo $this->text;?></div> -<div class='warningbox'>warningbox: <?php echo $this->text;?></div> -<div class='errorbox'>errorbox: <?php echo $this->text;?></div> -<?php print_a($this->links);?> - -<?php if(count($this->links)>0 && is_array($this->links)): ?> -<ul> -<?php foreach($this->links as $link => $text):?> -<li><a href='<?php echo $link;?>'><?php echo $text;?></a></li> - -<?php endforeach ?> -</ul> -<img src='/stats/graphgroup/' /> +<div class='dashboard'> + <h2>What do you want to do?</h2> + <?php if(count($this->links)>0 && is_array($this->links)): ?> + <ul> + <?php foreach($this->links as $link => $text):?> + <a href='<?php echo $link;?>'><li><?php echo $text;?></li></a> + <?php endforeach ?> + </ul> + <div class='bottomimg'> + <img src='/stats/graphgroup/' /> + </div> +</div> <?php endif ?> |
