{if $smarty.foreach.events.total neq 1}
<tr class="pair" style="height: 18px">
<td class="half titre" style="height: 18px; padding-top: 1px; padding-bottom: 1px;">
- {if $category eq 'news'}
+ {if $category eq 'important'}
+ {icon name=error} Informations prioritaires :
+ {elseif $category eq 'news'}
{icon name=bell} Nouvelles annonces :
{elseif $category eq 'end'}
{icon name=clock} Dernières minutes :
<tr>
<th>
<div style="float: left">
- {if $category eq 'news'}
+ {if $category eq 'important'}
+ {icon name=error title="Important"}
+ {elseif $category eq 'news'}
{icon name=bell title="Nouvelle annonce"}
{elseif $category eq 'end'}
{icon name=clock title="Bientôt fini"}
{/if}
</div>
<div style="float:right">
- {if $smarty.session.perms eq 'admin'}
+ {if $smarty.session.perms->hasFlag('admin')}
<a href="admin/events/edit/{$ev.id}">{icon name=page_edit title="Editer cet article"}</a>
{/if}
<a href="events/read/{$ev.id}{if $previd}/newsid{$previd}{/if}" onclick="return readEvent('{$ev.id}')">{icon name=cross title="Cacher cet article"}</a>