diff options
author | MaZderMind | 2016-12-10 18:22:34 +0100 |
---|---|---|
committer | MaZderMind | 2016-12-10 18:22:34 +0100 |
commit | f6c0270d40f6730fe1e1820f2866b08792df1db6 (patch) | |
tree | f0da1effc9f55f2f75dc57fe1ba17419d559b45b /template/allconferences.phtml | |
parent | b227ac0ee80f6de300fed10a34e7393847227cfc (diff) |
rewrite data-model so that every configuration option is accessed through the conference
Diffstat (limited to 'template/allconferences.phtml')
-rw-r--r-- | template/allconferences.phtml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/template/allconferences.phtml b/template/allconferences.phtml index e1fb5e3..bee21d7 100644 --- a/template/allconferences.phtml +++ b/template/allconferences.phtml @@ -6,7 +6,7 @@ <div class="row clearfix"> <? $count = count($conferences) ?> - <? foreach($conferences as $idx => $info): ?> + <? foreach($conferences as $idx => $conference): ?> <? // when we have more then 3 conferences, all but the last 3 will be displayed with 1/3 width if($count - $idx <= ($count % 3)) @@ -24,8 +24,8 @@ "> <div class="panel panel-default"> <div class="panel-body"> - <a href="<?=h($info['link'])?>"><?=h($info['title'])?></a> - <p><?=h($info['description'])?></p> + <a href="<?=h($conference->getLink())?>"><?=h($conference->getTitle())?></a> + <p><?=h($conference->getDescription())?></p> </div> </div> </div> |