summaryrefslogtreecommitdiffstats
path: root/application/controllers/StatsController.php
diff options
context:
space:
mode:
authorSimon2011-03-30 16:45:03 +0200
committerSimon2011-03-30 16:45:03 +0200
commit08211d1d1f79ccc79b81d1888a64282f5476dc3c (patch)
tree423fe374630a702d18a6bed2508431718333edd7 /application/controllers/StatsController.php
parent'angemeldet als' hinzugefügt (diff)
downloadpbs2-08211d1d1f79ccc79b81d1888a64282f5476dc3c.tar.gz
pbs2-08211d1d1f79ccc79b81d1888a64282f5476dc3c.tar.xz
pbs2-08211d1d1f79ccc79b81d1888a64282f5476dc3c.zip
level für graph hinzugefügt
Diffstat (limited to 'application/controllers/StatsController.php')
-rw-r--r--application/controllers/StatsController.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/application/controllers/StatsController.php b/application/controllers/StatsController.php
index 3aee1d2..253c843 100644
--- a/application/controllers/StatsController.php
+++ b/application/controllers/StatsController.php
@@ -11,11 +11,15 @@ class StatsController extends Zend_Controller_Action
public function graphgroupAction(){
- $userIDsNamespace = Zend_Session::namespaceGet('userIDs');
+ $userIDsNamespace = Zend_Session::namespaceGet('userIDs');
if($userIDsNamespace['groupID'] !=''){
header("Content-Type: image/png");
$n = new Pbs_Graph();
+ $level = $this->_request->getParam('level');
+ if(is_numeric($level) && $level != ''){
+ $n->setHiglightLevel($level);
+ }
$str = $n->graph($userIDsNamespace['groupID']);
echo $str;
}