summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
Diffstat (limited to 'application')
-rw-r--r--application/modules/user/controllers/IndexController.php5
-rw-r--r--application/modules/user/views/scripts/index/index.phtml26
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 ?>