summaryrefslogtreecommitdiffstats
path: root/application/views/scripts
diff options
context:
space:
mode:
authorBjörn Geiger2011-07-05 18:22:37 +0200
committerBjörn Geiger2011-07-05 18:22:37 +0200
commitad8c536b1ae5abd12df6d5ad3bc22a33bf9f9ef8 (patch)
treecc12b167db7253889c336b8cb8dd888aa5bffc30 /application/views/scripts
parentminor (diff)
downloadpoolctrl-ad8c536b1ae5abd12df6d5ad3bc22a33bf9f9ef8.tar.gz
poolctrl-ad8c536b1ae5abd12df6d5ad3bc22a33bf9f9ef8.tar.xz
poolctrl-ad8c536b1ae5abd12df6d5ad3bc22a33bf9f9ef8.zip
kleine korrekturen
Diffstat (limited to 'application/views/scripts')
-rw-r--r--application/views/scripts/event/index.phtml7
1 files changed, 4 insertions, 3 deletions
diff --git a/application/views/scripts/event/index.phtml b/application/views/scripts/event/index.phtml
index 4f93671..60f5a33 100644
--- a/application/views/scripts/event/index.phtml
+++ b/application/views/scripts/event/index.phtml
@@ -43,9 +43,10 @@ if(count($this->eventlist)>0) {
?>
<?php
- foreach ($this->eventlist as $pool => $poolEvents): ?>
- <div id='pool<?php echo $poolEvents[0]['pbs_poolID'] ?>' style='display:none;' >
- <h2><?php echo $pool; ?></h2>
+ foreach ($this->poollist as $pool):
+ $poolEvents = $this->eventlist[$pool->getID()]; ?>
+ <div id='pool<?php echo $pool->getID(); ?>' style='display:none;' >
+ <h2><?php echo $pool->getTitle(); ?></h2>
<?php if(count($poolEvents)==0) {
echo "This Pool hasn't events yet";
break;