<table class="bicol">
<tr>
<th>
- <a href="events?lu={$ev.id}{if $previd}#newsid{$previd}{/if}" style="display:block;float:right">{icon name=cross title="Cacher cet article"}</a>
+ <div style="float:right">
+ {if $smarty.session.perms eq '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}">{icon name=cross title="Cacher cet article"}</a>
+ </div>
{assign var="previd" value=$ev.id}
<a id="newsid{$ev.id}"></a>
{tidy}
<table class="bicol">
<tr>
<th>
+ {if $smarty.session.core_rss_hash}
+ <a href='rss/{$smarty.session.forlife}/{$smarty.session.core_rss_hash}/rss.xml' style="display:block;float:right">
+ {icon name=feed title='fil rss'}
+ </a>
+ {else}
+ <a href='prefs/rss?referer=events' style="display:block;float:right">
+ {icon name=feed_add title='Activer mon fil rss'}
+ </a>
+ {/if}
Sommaire des informations événementielles
</th>
</tr>
<tr class="{cycle values="impair,pair"}">
<td class="half">
•
- <a href="{if !$ev.nonlu}events?nonlu={$ev.id}{/if}#newsid{$ev.id}">
+ <a href="{if !$ev.nonlu}events/unread/{$ev.id}{/if}#newsid{$ev.id}">
{if $ev.nonlu}<strong>{/if}
{tidy}
{$ev.titre|nl2br}
<p>
<a href="events/submit">Proposer une information événementielle</a>
</p>
- {if $smarty.session.core_rss_hash}
- <div class="right">
- <a href='rss/{$smarty.session.forlife}/{$smarty.session.core_rss_hash}/rss.xml'><img src='images/rssicon.gif' alt='fil rss' /></a>
- </div>
- {else}
- <div class="right">
- <a href='prefs/rss?referer=events'><img src='images/rssact.gif' alt='fil rss' /></a>
- </div>
- {/if}
{/if}
{* vim:set et sw=2 sts=2 sws=2: *}