{**************************************************************************}
{* *}
-{* Copyright (C) 2003-2007 Polytechnique.org *}
+{* Copyright (C) 2003-2010 Polytechnique.org *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
<fieldset id="tod">
{/if}
<legend>{icon name=lightbulb} {if !$tips.special}
- Astuce : {$tips.titre}
+ Astuce : {$tips.title}
+ {if hasPerm('admin') && !$tips.special && !$nochange}
+ <a href="admin/tips/edit/{$tips.id}">{icon name="page_edit" title="Editer"}</a>
+ {/if}
{else}
<span style="color: red; font-weight: bold;">{$tips.titre}</span>
{/if}
{/tidy}
{if !$nochange}
<div class="right">
- <a href="" onclick="Ajax.update_html('tod', 'ajax/tips/{$tips.id}'); return false" style="text-decoration: none">
+ <a href="events" onclick="Ajax.update_html('tod', 'ajax/tips/{$tips.id}'); return false" style="text-decoration: none">
Astuce suivante {icon name=resultset_next title="Astuce suivante"}
</a>
</div>