summaryrefslogtreecommitdiffstats
path: root/application/views/scripts/event
diff options
context:
space:
mode:
Diffstat (limited to 'application/views/scripts/event')
-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;