aboutsummaryrefslogtreecommitdiff
path: root/template/allconferences.phtml
diff options
context:
space:
mode:
authorMaZderMind2016-12-10 18:22:34 +0100
committerMaZderMind2016-12-10 18:22:34 +0100
commitf6c0270d40f6730fe1e1820f2866b08792df1db6 (patch)
treef0da1effc9f55f2f75dc57fe1ba17419d559b45b /template/allconferences.phtml
parentb227ac0ee80f6de300fed10a34e7393847227cfc (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.phtml6
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>