{else}
-<h1>
+<h1 id='pagetop'>
Bienvenue {$smarty.session.prenom}
{if $birthday}
et joyeux anniversaire de {$birthday} ans de la part de toute l'équipe !
{if $fiche_incitation}
<p>La dernière mise à jour de ta
- <a href="{rel}/profile/{$smarty.session.forlife}" class="popup2">fiche</a>
+ <a href="profile/{$smarty.session.forlife}" class="popup2">fiche</a>
date du {$fiche_incitation|date_format}.
Il est possible qu'elle ne soit pas à jour.
- Si tu souhaites la modifier, <a href="profil.php">clique ici !</a>
+ Si tu souhaites la modifier, <a href="profile/edit">clique ici !</a>
</p>
{/if}
{if $photo_incitation}
<p>
Tu n'as pas mis de photo de toi sur ta fiche, c'est dommage.
- Clique <a href="{rel}/photo/change">ici</a> si tu souhaites en ajouter une.
+ Clique <a href="photo/change">ici</a> si tu souhaites en ajouter une.
</p>
{/if}
{if $geoloc_incitation > 0}
<p>
- Parmi tes adresses, il y en a {$geoloc_incitation} que nous n'avons pas pu localiser. Clique <a href="{rel}/profil.php?old_tab=adresses">ici</a> pour rectifier.
+ Parmi tes adresses, il y en a {$geoloc_incitation} que nous n'avons pas pu localiser.
+ Clique <a href="profile/edit/adresses">ici</a> pour rectifier.
</p>
{/if}
<br />
<table class="bicol">
<tr>
<th>
- <a href="?lu={$ev.id}{if $previd}#newsid{$previd}{/if}" style="display:block;float:right"><img alt="Cacher" title="Cacher cet article" src="{rel}/images/retirer.gif"/></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}
{$ev.texte|smarty:nodefaults|nl2br}
{/tidy}
<br />
- <p class="smaller"><a href="#" style="display:block;float:right"><img alt="Sommaire" title="Remonter tout en haut" src="{rel}/images/up.png"/></a>Annonce proposée par
- <a href="{rel}/profile/{$ev.forlife}" class="popup2">
+ <p class="smaller"><a href="events#pagetop" style="display:block;float:right"><img alt="Sommaire" title="Remonter tout en haut" src="images/up.png"/></a>Annonce proposée par
+ <a href="profile/{$ev.forlife}" class="popup2">
{$ev.prenom} {$ev.nom} X{$ev.promo}
</a>
</p>
<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}?nonlu={$ev.id}{/if}#newsid{$ev.id}">
+ <a href="events{if !$ev.nonlu}/unread/{$ev.id}{else}#newsid{$ev.id}{/if}">
{if $ev.nonlu}<strong>{/if}
{tidy}
{$ev.titre|nl2br}
</a>
</td>
</tr>
+ {assign var="has_evts" value=true}
{/iterate}
+ {if !$has_evts}
+ <tr>
+ <td class="half">Aucun article actuellement</td>
+ </tr>
+ {/if}
</table>
<p class="smaller">
</p>
<p>
- <a href="{rel}/events/submit">Proposer une information événementielle</a>
+ <a href="events/submit">Proposer une information événementielle</a>
</p>
- {if $smarty.session.core_rss_hash}
- <div class="right">
- <a href='{rel}/rss/{$smarty.session.forlife}/{$smarty.session.core_rss_hash}/rss.xml'><img src='{rel}/images/rssicon.gif' alt='fil rss' /></a>
- </div>
- {else}
- <div class="right">
- <a href='{rel}/prefs/rss?referer=events'><img src='{rel}/images/rssact.gif' alt='fil rss' /></a>
- </div>
- {/if}
{/if}
{* vim:set et sw=2 sts=2 sws=2: *}