summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn Geiger2011-07-05 14:14:42 +0200
committerBjörn Geiger2011-07-05 14:14:42 +0200
commite09858527112e5a0883f1831c4b83b1eeb237954 (patch)
tree40af6a24e31079fb420c291246a8d959a4a3e362
parentFehler in Mapper korrigiert (diff)
downloadpoolctrl-e09858527112e5a0883f1831c4b83b1eeb237954.tar.gz
poolctrl-e09858527112e5a0883f1831c4b83b1eeb237954.tar.xz
poolctrl-e09858527112e5a0883f1831c4b83b1eeb237954.zip
EventView korrigiert
-rw-r--r--application/views/scripts/event/index.phtml13
1 files changed, 7 insertions, 6 deletions
diff --git a/application/views/scripts/event/index.phtml b/application/views/scripts/event/index.phtml
index d35f7c8..ee2d182 100644
--- a/application/views/scripts/event/index.phtml
+++ b/application/views/scripts/event/index.phtml
@@ -6,13 +6,14 @@
<div class='listelement'>
<?php
if(count($this->eventlist)==0)
-echo "There are no events" ?>
-<?php foreach ($this->eventlist as $pool => $poolEvents):
- if(count($poolEvents)==0)
- break;
+ echo "There are no events";
+else
+ foreach ($this->eventlist as $pool => $poolEvents):
+ if(count($poolEvents)==0)
+ break;
?>
<h2><?php echo $pool; ?></h2>
- <?php foreach ($poolEvents as $event): ?>
+ <?php foreach ($poolEvents as $event): ?>
<div class='element'>
<div class='content'>
<div class='actions'>
@@ -71,8 +72,8 @@ echo "There are no events" ?>
</div>
</div>
<div class='clear'></div>
+ <?php endforeach ?>
<?php endforeach ?>
-<?php endforeach ?>
</div>
<br />
<br /> \ No newline at end of file