summaryrefslogtreecommitdiffstats
path: root/application/modules/user/views/scripts
diff options
context:
space:
mode:
authorSimon2011-04-14 13:39:56 +0200
committerSimon2011-04-14 13:39:56 +0200
commit4ef5ef67e07245296fe73d3948d9526338bced63 (patch)
tree9317e60083f3279397c9f48aabc421ad65660457 /application/modules/user/views/scripts
parentEs werden keine Sessions mehr angelegt wenn ein Admin die Bootmenuentries tes... (diff)
downloadpbs2-4ef5ef67e07245296fe73d3948d9526338bced63.tar.gz
pbs2-4ef5ef67e07245296fe73d3948d9526338bced63.tar.xz
pbs2-4ef5ef67e07245296fe73d3948d9526338bced63.zip
Ticket #207 - Graph wird beim verlinken angezeigt
Diffstat (limited to 'application/modules/user/views/scripts')
-rw-r--r--application/modules/user/views/scripts/group/link.phtml13
1 files changed, 12 insertions, 1 deletions
diff --git a/application/modules/user/views/scripts/group/link.phtml b/application/modules/user/views/scripts/group/link.phtml
index 5bb2a9d..1f3fbfa 100644
--- a/application/modules/user/views/scripts/group/link.phtml
+++ b/application/modules/user/views/scripts/group/link.phtml
@@ -2,4 +2,15 @@
<?php
$this->linkForm->setAction($this->url());
echo $this->linkForm;
-?> \ No newline at end of file
+?>
+<div class='bottomimg'><img id='depthimg' /></div>
+
+<script type="text/javascript">
+ $(document).ready(function(){
+ reloadGraph();
+ });
+ function reloadGraph(){
+ i = $("#groupID option:selected").val();
+ $('#depthimg').attr('src','/stats/graphgroup/child/' + i);
+ }
+</script>