Skip to content

Commit 237caa9

Browse files
committed
Module/News: Smarty 5 compatibility
1 parent ef03ea6 commit 237caa9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

application/modules/news/views/articles.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
</div>
2020

2121
{foreach from=$articles key=key item=article}
22-
<article class="pagebody news-article {if $is_single}is-single{/if} {if $article.comments != -1}has-comments{/if} {if $article.tags}has-tags{/if} {if key(reset($articles)) == $key}first-item{/if} {if !isset($articles[$key + 1])}last-item{/if}">
22+
<article class="pagebody news-article {if $is_single}is-single{/if} {if $article.comments != -1}has-comments{/if} {if $article.tags}has-tags{/if} {if $item@first}first-item{/if} {if $item@last}last-item{/if}">
2323
<div glow><div glow-lines></div></div>
2424

2525
<div class="row">

0 commit comments

Comments
 (0)